-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.blocks
44 lines (42 loc) · 155 KB
/
main.blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="ag6SAm?KpQp;{Tsy%:~^">listX</variable><variable id="r|`1W[jN_gBMbQgn82:`">listY</variable><variable id="0TrQD6Rx=|FobS,hOT5~">efekt</variable><variable id="l#ah;#fwSSla{up|?RV%">paliwo</variable><variable id="02VoW*MH-~t136zHQC%i">score</variable><variable id="Nk+LJ?YE?X,Xi}7GBVoc">rx</variable><variable id="f[wR;l=C::(}RAH-PFY!">ry</variable><variable id="M~at63nJ@8v-Y+[OB*kv">robot</variable><variable id="rM=O@AezHR|d],,q;!0m">crashedastronaut</variable><variable id="*wXfEE3y_U1-oE%^s|}w">kierunek</variable><variable id="X1hVT@+8~4-%l;*k)[Je">x1</variable><variable id="bSVKtlBaanxBw{$VgTHi">x2</variable><variable id=")b1F-:v8d,[email protected]">y1</variable><variable id="+a}O$]LG;WNi.wI,tP-`">y2</variable><variable id="*sD/)CnTRCxvSh4HRtsZ">rozmiarBaku</variable><variable id="tNR=_WJ=*5A|`{TKV0_8">porazka</variable><variable id="*X6;Qbn/@vNV_!%mRZ!1">sukces</variable><variable id="4Hu?WRWjdl!,xtjGU$3B">oldry</variable><variable id="GlCK}0OpIpRcLdD3H5*-">oldrx</variable><variable id="7/A%%m/O-==j9i097plT">wizual</variable><variable id="/xkRz8=U`;;Juhe|XGSF">pausa</variable><variable id="VWJ_XHT*LuK+FztFKc8k">index82</variable><variable id="$/hs[vKdpd6f4dvvyR[?">nX</variable><variable id="uZliFGXlk9sLYN|/y?+V">nY</variable><variable id="VfejDl3`H3F;pHs1]M(C">x12</variable><variable id="bqnK8722!(s,rWt(9%uW">x22</variable><variable id="O9u;9z6fmqXCRSxHiH3D">y12</variable><variable id="@#i6-x~kFv|||fK3/_lk">y22</variable><variable id="j]nxVu#9mc~b$-H#O3vk">sy</variable><variable id="gC}0ApLKwrLGaDm.G[CH">sx</variable><variable id="y%[[f,l5.e-{ezkh*ujA">krawedzie</variable></variables><comment id="gJO=@[U^4%(Ai2p9HU3b" data="3" x="1060" y="20" h="120" w="480">szybkie poruszanie robotem / very fast calculation</comment><comment id="tX@J?p8ch^1mnV3jp9,6" data="2" x="1060" y="153" h="120" w="480">wizual=0 do wielokrotnych symulacji, wizual=1 porusza wolniej robotem i prezentuje wyniki</comment><comment id="S{}*}GbrdRtpA5?d63k;" data="1" x="1060" y="286" h="120" w="370">astrunauta/astronaut - uzywamy sprite</comment><comment id="H_ge4w!toH*Xt@aVHwhx" data="0" x="1060" y="419" h="120" w="220">robot - uzywamy sprite</comment><block type="pxt-on-start" id="xRRgvHNlG#rZ^u`HECiY" x="20" y="20"><statement name="HANDLER"><block type="variables_set" id="9Q^:FZ]P%k}`F|UG,v,N"><field name="VAR" id="j]nxVu#9mc~b$-H#O3vk">sy</field><value name="VALUE"><shadow type="math_number" id="a:NQ|EdXTz_-br#_Cs=7"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="cXbg=ORn:VU^Ougn|o^|"><field name="VAR" id="gC}0ApLKwrLGaDm.G[CH">sx</field><value name="VALUE"><shadow type="math_number" id="RH)ujj(%v+/TtLY(1Lrb"><field name="NUM">0</field></shadow></value><next><block type="typescript_statement" id="6hUl)[$|UaL{Ty*C(ae{" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let sukces = 0" numlines="1" declaredvars="sukces"></mutation><next><block type="variables_set" id="EwH6z:cSFb8ldqkfqDS%"><field name="VAR" id="ag6SAm?KpQp;{Tsy%:~^">listX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="OW;/FRFK%a@oWLtg$rDK"><mutation items="0"/></block></value><next><block type="variables_set" id="B@1T`6b6B7CA48gQ)2!O"><field name="VAR" id="r|`1W[jN_gBMbQgn82:`">listY</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="%[email protected]^T|#JDx6{j"><mutation items="0"/></block></value><next><block type="variables_set" id="|u2!@WSSG7}5H1hQS?px"><field name="VAR" id="*sD/)CnTRCxvSh4HRtsZ">rozmiarBaku</field><comment pinned="false" h="80" w="160" relx="10" rely="10">tutaj ustaw pojemność baku robota / here put fuel max volume</comment><value name="VALUE"><shadow type="math_number" id="x;Z5p:T5r@H1oE=@Lf#E"><field name="NUM">15</field></shadow></value><next><block type="variables_set" id="G-Prgx[2)XHA3#cp{S`z"><field name="VAR" id="7/A%%m/O-==j9i097plT">wizual</field><value name="VALUE"><shadow type="math_number" id="9O*l6x7DSMqm48H7zF#-"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="~6$h5#==SiIKBQ~#)YKz"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="z7A.s+|wxZ=*b7B:8_:7"><field name="VAR" id="7/A%%m/O-==j9i097plT">wizual</field></block></value><statement name="DO0"><block type="variables_set" id="tEH%CoRy?MWxP#w5/Afz"><field name="VAR" id="/xkRz8=U`;;Juhe|XGSF">pausa</field><comment pinned="false" h="80" w="160" relx="10" rely="10">jesli flaga ustawiona na "true/1" to pokazuj wolniej / if flag set to "true/1" show robot moves</comment><value name="VALUE"><shadow type="math_number" id="g2NEfwv[@y_UN^v-edYk"><field name="NUM">200</field></shadow></value></block></statement><next><block type="variables_set" id="v+PN}+(Hd-2kC]48_K$v"><field name="VAR" id="l#ah;#fwSSla{up|?RV%">paliwo</field><comment pinned="false" h="80" w="160" relx="10" rely="10">uzupełnij paliwo / refuel</comment><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="pioE4xt6@o|R)c2Eg7vK"><field name="VAR" id="*sD/)CnTRCxvSh4HRtsZ">rozmiarBaku</field></block></value><next><block type="variables_set" id="!.f?o._^BB2M}NLTI?#2"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id="aYDc?I-wlB2aN2$:DAWa"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id=":uK_}ObL,D):Di:%KQZ#"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="qfZ-oscV75woSG^kSMcC"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="?t.[!:+u)HQNH8l4vs}Y"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="Z16(^Ut_ls0}#nziIRTq"><value name="x"><block type="variables_get" id="$//_(bEOsPA(M!0,TMvY"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><value name="y"><block type="variables_get" id="_$]CfrPf]F%jy:^.f8qs"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value></block></value><next><block type="variables_set" id="bp7|M(!z9pUn~A}3/^s,"><field name="VAR" id="y%[[f,l5.e-{ezkh*ujA">krawedzie</field><value name="VALUE"><shadow type="math_number" id="ot^[U*KeWRQDAk%J%y{*"><field name="NUM">0</field></shadow></value><next><block type="game_sprite_set_property" id="O%UKQ{Z9S;6y]`W+rRXG"><field name="property">LedSpriteProperty.Blink</field><comment pinned="false" h="80" w="160" relx="10" rely="10">robot nie miga / does not blink</comment><value name="sprite"><block type="variables_get" id="L$#!?$O1RJ7]}hWs$rEL"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><shadow type="math_number" id="A^n0UgtyIN1:VI)OUY`?"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="Hj#Hl6_7z4J89f1M2Z|H"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="F{=8d|b6H.xU8D!^OD?v"><value name="x"><block type="device_random" id="cm_35c(;xfryG.c;[Xpy"><value name="min"><shadow type="math_number" id="e/~h56.jL/|TssV9AleA"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="ZxH%JS)?*AixZKM)nwMH"><field name="NUM">4</field></shadow></value></block></value><value name="y"><block type="device_random" id="Rl$iXjpW%gX@/WjE7h`y"><value name="min"><shadow type="math_number" id="W8aLHLk#Rmv@N;Tf6Rie"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="j#oO,/cb8g{W+A-lZz)G"><field name="NUM">4</field></shadow></value></block></value></block></value><next><block type="game_sprite_set_property" id="w7@r^elz0jR]ZE%IZ`V/"><field name="property">LedSpriteProperty.Blink</field><value name="sprite"><block type="variables_get" id="qGXcOvC=TK%*@mKkGeXS"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value><value name="value"><shadow type="math_number" id="^u8bI4dm|P|5~;krQU[_"><field name="NUM">400</field></shadow></value><next><block type="function_call" id="leM-f=ax^3J~HsIIZX?X"><mutation name="doStart" functionid="u0NwQ038npVzu9ZotkDB"><arg name="robotx" id="ffecirvfb65klld9labb" type="number"/><arg name="roboty" id="fhk6eg0rfus4sbeloa88" type="number"/><arg name="crashx" id="sbtimw20bfj3wqstdg9kad" type="number"/><arg name="crashy" id="ttlxz8vqvi00qzqtccg9" type="number"/><arg name="fuelmax" id="tovyus7lrclxnt2wobq8u" type="number"/></mutation><value name="ffecirvfb65klld9labb"><shadow type="math_number" id="=mKY~aQuQEvz1CG-t$f."><field name="NUM">1</field></shadow></value><value name="fhk6eg0rfus4sbeloa88"><shadow type="math_number" id="rv[rklGO+J5=,ZXCY|5;"><field name="NUM">1</field></shadow></value><value name="sbtimw20bfj3wqstdg9kad"><shadow type="math_number" id="[~uV9KaMzqk1Q78@]TOV"><field name="NUM">1</field></shadow></value><value name="ttlxz8vqvi00qzqtccg9"><shadow type="math_number" id="D)QVR2Ph:JR+.y(_-|82"><field name="NUM">1</field></shadow></value><value name="tovyus7lrclxnt2wobq8u"><shadow type="math_number" id="n2g;M/1$V+iZ~Yw@u}ep"><field name="NUM">20</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="xhAk_=xJL/fPL|JPWFZa" x="1585" y="20"><mutation name="doStart" functionid="u0NwQ038npVzu9ZotkDB"><arg name="robotx" id="ffecirvfb65klld9labb" type="number"/><arg name="roboty" id="fhk6eg0rfus4sbeloa88" type="number"/><arg name="crashx" id="sbtimw20bfj3wqstdg9kad" type="number"/><arg name="crashy" id="ttlxz8vqvi00qzqtccg9" type="number"/><arg name="fuelmax" id="tovyus7lrclxnt2wobq8u" type="number"/></mutation><field name="function_name">doStart</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Funkcja ustawia na odpowiednim miejscu robota i rozbitego astronautę oraz ile maksymalnie paliwa posiada robot
Function sets x,y coordinates of robot and crashed astronaut as well as max fuel available for robot</comment><value name="ffecirvfb65klld9labb"><shadow type="argument_reporter_number" id="$r2mDUU]8~C(cGHZxC{U"><field name="VALUE">robotx</field></shadow></value><value name="fhk6eg0rfus4sbeloa88"><shadow type="argument_reporter_number" id="?Hh87A|av@*=L~r|hsBJ"><field name="VALUE">roboty</field></shadow></value><value name="sbtimw20bfj3wqstdg9kad"><shadow type="argument_reporter_number" id="AZ2dp_]8R4%*Ox/^npbn"><field name="VALUE">crashx</field></shadow></value><value name="ttlxz8vqvi00qzqtccg9"><shadow type="argument_reporter_number" id="e#Z00Y^hO[S,};l35-[p"><field name="VALUE">crashy</field></shadow></value><value name="tovyus7lrclxnt2wobq8u"><shadow type="argument_reporter_number" id="kLvA9w-F(jd%_pzC2[`A"><field name="VALUE">fuelmax</field></shadow></value><statement name="STACK"><block type="variables_set" id=";:tX*J+Cc)w,_6_i~5S+"><field name="VAR" id="ag6SAm?KpQp;{Tsy%:~^">listX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="!Z;2mR^.4^/wT|4n82lJ"><mutation items="0"/></block></value><next><block type="variables_set" id="n86+aRHJIyqu[bjW.#5g"><field name="VAR" id="r|`1W[jN_gBMbQgn82:`">listY</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="pdjS=S.qW{R|zR69TKOw"><mutation items="0"/></block></value><next><block type="variables_set" id="OsTx`][tlD3TzTxiuBx#"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field><comment pinned="false" h="80" w="160" relx="10" rely="10">0-Puste/robot run
1-Brakło paliwa / empty fuel
2-Wygrałeś / Winner</comment><value name="VALUE"><shadow type="math_number" id="V-tLbHlXLx%6)B7[S8lh"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="5}^%Hf?Yngmotk55)PBe"><field name="VAR" id="l#ah;#fwSSla{up|?RV%">paliwo</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="}%I*9V}K~GU(D6NnwLZ:"><field name="VALUE">fuelmax</field></block></value><next><block type="variables_set" id="nipAJD@PWq0%`}^(@ko}"><field name="VAR" id="02VoW*MH-~t136zHQC%i">score</field><value name="VALUE"><shadow type="math_number" id="#3AUaK#zbQK[5wk$!mBS"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="0-1).[H(HlaO()ym1@{~"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="l.7Q`_~E2vxjk1NLiRw#"><field name="VALUE">robotx</field></block></value><next><block type="variables_set" id="V#5;@:.v~3!@m_*@7SbO"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="L4ACkxvcLZ`lI.GJl!sk"><field name="VALUE">roboty</field></block></value><next><block type="game_sprite_set_property" id="Mh*1[%4=+yQ_wXr`W{ph"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="):6iE/X:URSprt/qv*~G"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><block type="variables_get" id="RTI(6)svR+}i(|6tLF(W"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="game_sprite_set_property" id="UD(?d=:bm=_XwzZGJ34#"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="qywI?*#FI#NIP^L+}hNh"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><block type="variables_get" id="@,EXdBL%]l}!CQppGh3p"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="game_sprite_set_property" id="+t!,ytdKGG^a7-ft@xAU"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="RfjKwdsAlLTp`Vlfrdv/"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value><value name="value"><block type="argument_reporter_number" id=",$-/b;b%qK}FW9|yfWJR"><field name="VALUE">crashx</field></block></value><next><block type="game_sprite_set_property" id="w~mD+7z[#!BwOcx;z@g7"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="B|`@J!A=UD3./B%D$q)3"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value><value name="value"><block type="argument_reporter_number" id="V69A$S7F#@3Y4w)o_E#Y"><field name="VALUE">crashy</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="R]?I$$Ev!{V~C5~j*5)h" x="2300" y="20"><mutation name="dosilentNight" functionid="rHd;{/LcdoQ[TKrn;ZCp"/><field name="function_name">dosilentNight</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Wstawka na święta</comment><statement name="STACK"><block type="device_show_leds" id="YK0BL[9.Tf^wc6nyax9}"><field name="LEDS">`
. . # . .
. # # # .
. # # # .
# # # # #
. . # . .
`</field><next><block type="device_pause" id="Thc]Z%tia6[u.)K{T+2l"><value name="pause"><shadow type="timePicker" id="[mnyIWK@u8tK8gq;CEO7"><field name="ms">1000</field></shadow></value><next><block type="device_set_tempo" id="1Jx!X_~{2:CL}5MG/,Aa"><value name="value"><shadow type="math_number_minmax" id="13lx!_,b!ZY^!rAp~jQb"><mutation min="4" max="400" label="Number" precision="0"/><field name="SLIDER">55</field></shadow></value><next><block type="controls_repeat_ext" id="kKHXs!T}7k9^NHrR1$CJ"><value name="TIMES"><shadow type="math_whole_number" id="xOjHx6Y;WwJnn$m]b4UH"><field name="NUM">2</field></shadow></value><statement name="DO"><block type="device_play_note" id="U/AXyZ9Q4oc3;7%?Jbjo"><value name="note"><shadow type="device_note" id="%S![kSB!yS9UzshqEc7U"><field name="name">392</field></shadow></value><value name="duration"><shadow type="device_beat" id="Mo5rOq^(M(;f#(:{1^+L"><field name="fraction">BeatFraction.Whole</field></shadow></value><next><block type="device_play_note" id="g4CtLuGjUXIa/^gyZq(k"><value name="note"><shadow type="device_note" id="CXph;7_1ay#AbqV)?spy"><field name="name">440</field></shadow></value><value name="duration"><shadow type="device_beat" id="dtLRv6y=)brBQfTSBB;6"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_play_note" id="ZG,tE5t@GljPXU4k4THj"><value name="note"><shadow type="device_note" id="|2.;lC%.Gk-!L[0I([SZ"><field name="name">392</field></shadow></value><value name="duration"><shadow type="device_beat" id="Jk${sK6V9I(Gg}[nGpaj"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_play_note" id="=O#;`VEn@m}4sidnQ7R]"><value name="note"><shadow type="device_note" id="!E(,t7NEye}*jDQrKPFg"><field name="name">330</field></shadow></value><value name="duration"><shadow type="device_beat" id="wm5Bj{Un@9sDr9z$zvps"><field name="fraction">BeatFraction.Whole</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="device_play_note" id="3Kdt/}W#s4xJF8JlRXWA"><value name="note"><shadow type="device_note" id="xpm@;NLOC2T|4Ioouv0,"><field name="name">587</field></shadow></value><value name="duration"><shadow type="device_beat" id="IZa7hH#PAGog7Z3/0?R}"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_play_note" id="+d]~QH6;f/swh9#r$pdh"><value name="note"><shadow type="device_note" id="$RwQTK3d+@m}KbmOxp(i"><field name="name">587</field></shadow></value><value name="duration"><shadow type="device_beat" id="@~YAb6`a|s~^J:~cM1ie"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_play_note" id="T$]c]YsisV55vK6ZZ2nG"><value name="note"><shadow type="device_note" id="5V9XN$;_UWFptr*][4tC"><field name="name">494</field></shadow></value><value name="duration"><shadow type="device_beat" id="E6~zM?@8ZLeT?0vy+5n{"><field name="fraction">BeatFraction.Whole</field></shadow></value><next><block type="device_play_note" id="+N9MIrCQP(Z.LG5[Mnmy"><value name="note"><shadow type="device_note" id="#D*#Xa2)Lt|t=(z?ur5D"><field name="name">523</field></shadow></value><value name="duration"><shadow type="device_beat" id="{Id.=b#q[)T7ywW7o9=n"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_play_note" id="#W}pVQk-Y%YYI?sr+ZON"><value name="note"><shadow type="device_note" id=".h:%p0l=KWa1fTDh^^hq"><field name="name">523</field></shadow></value><value name="duration"><shadow type="device_beat" id="y~5BFrk37lW0[XL9*4o+"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_play_note" id="69f8H~q2t=*141[Y8P]o"><value name="note"><shadow type="device_note" id="=-v)Jjh#;`MUVgdmt8-D"><field name="name">392</field></shadow></value><value name="duration"><shadow type="device_beat" id="Nj/nj]n$Jb,yTK)n6H|4"><field name="fraction">BeatFraction.Half</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="]/y+`NjQS[Bg0Co+vJ;B" x="2849" y="20"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><field name="function_name">doFDown</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes down for "ile" steps</comment><value name="t8m0a1ronhcfwlyl61jep"><shadow type="argument_reporter_number" id="r57w#muV~7(~8%i.gMli"><field name="VALUE">ile</field></shadow></value><statement name="STACK"><block type="controls_repeat_ext" id="Sx8ZgGcn-dhenH(.;L9R"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="CFUkh}^AxT$9=2B1OF(="><field name="VALUE">ile</field></block></value><statement name="DO"><block type="function_call" id="AJF8l]~CS+CaXo(%Z{_*"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/></block></statement></block></statement></block><block type="function_definition" id="}F7kPQ=9^84q!0@2{!Dm" x="3189" y="20"><mutation name="doPrzemek" functionid="dC{~qBw{kJx5!bWh{eIn"/><field name="function_name">doPrzemek</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Przemek - snail, slimak</comment><statement name="STACK"><block type="variables_set" id="Zeh7YqE#3g^%=d/NIlD%"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="MFkj:)dj$|UvKKTQ%dYz"><mutation name="doRadar" functionid="gcPTgC6dx)n13^bni??~"/></block></value><next><block type="controls_if" id="|gG)4;5{fo;H_]*6yxug"><mutation elseif="4"/><comment pinned="false" h="80" w="160" relx="10" rely="10">slimak idzie w prawo i w górę</comment><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="aX+2f,)@OUyjMki7tshj"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Lto@PMK4]dB`q.r9|`(x"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="G~jQINRAV$8M|NG!$g.~"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="iphCPKK{y3Jv}^No8:H!"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">slimak idzie w gore i prawo</comment><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="RxlaCFcVjRW,Is^leJ*2"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="+_2lX]5Tu1Bu(|/RSN3P"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="w0nnWl|U5s!.ipxt6_Q}"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="y_?Nf^tDzxHra?}0iXeb"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="MD+t!jU:%A1}2Z`om_0;"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="[fH3KRtT5oU@jfZdh:U6"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="/So9JOoK}QmA}jh2f=Z="><field name="NUM">3</field></shadow></value><next><block type="function_call" id="w.6+}Ob[H4L,^TvQt#cB"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="p,-C*a[Z6pF36@Aa|0/K"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="`Ocx@=K.^:fX,0P@jFNh"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="(,}04D9^6I67_9I`-}+K"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="(nyLE--$iex!y)s*`su8"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="S.C.a5.PmBlJ2cZtVjaV"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="S?/C5^o4*Y|[b9|mC/`;"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/><next><block type="function_call" id="pb0{n$=EmsP//GW*J1!U"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Y?-Odx4Z^DQ%@8UXTEtw"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=":fa3/[email protected]}b%VgA"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="eqBy|a3if5QwSn~FENit"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="m.geD2Zpe@AxbZ8m20(5"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">slimak idzie w prawo i w gore</comment><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="LrR4*nv?o+h5;Y9j-435"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="+a)N]XP!Rk8,Jt{ohb-R"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="^U?K=VNe?Tm|1gAO2S?L"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="ogLKfO6RINdqeDc[+*;S"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="(=A!D^wDZB?tw_2ty@)q"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="dO:b?N)+gh[}No2SRk`x"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="-){T~=E25A6+|E|~gk]!"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="z|I#d9[5,KPY3as7n6q:"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="k%98/8F?G}k*[9nLVdu4"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="|OD|(G{ZyXn)fSQa7b6D"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="%[F)GJuNHq=R?jyGuVty"><field name="NUM">2</field></shadow></value><next><block type="function_call" id=",n:/Dl2+4oFg_HBWaZb}"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="i5SR0f0%~e=}]?E:|sNW"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="*)885``3N1-@eNIf!/QV"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/><next><block type="function_call" id="S8XGkI!/0@KF-D`hCt`g"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="Y~!GW};t,bne}8@{Lx6|"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="5LON*d)?8)dzzxF5P4~c"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="G.Rv.S;5tWR8kD6QF,Z_"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="?`CTodLZ2ejRu_#8(7jN"><field name="NUM">3</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="i5wLf+f;0r,a|$Z6$!E0"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="HK4!k%*B6tBr(T{)%3gE"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="g*!4`F(Sehex1t!(W_/W"><field name="NUM">4</field></shadow></value></block></value></block></value><statement name="DO2"><block type="function_call" id="7aSs.@t`[FB}Q-H*dR#M"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">slimak idzie w dol i w prawo</comment><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id=";ui}Uod6hVc3Q?kHi`{q"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="|UYRPr9:U$rXjzA,,Z[}"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="/^K?[#SHrKjlzQXJ|6Sr"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="f)}$P/Im`n`F]d}[{b0L"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="Nf[(j=odoMBjcwvU]ARk"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="Gqm}wgCML=@%jhh.e,rB"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="pfLE;ez;]E|9PY7pIj7w"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="/,60)eeh/$ym*R$r+tGV"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="vy5:WWa)%4kC?LmJ[*ka"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="pYIiu,7eONIln_*,##$x"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="bTwog|wgzyQf+btk+Erc"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="yb%}Xh#%xe|:+5P$c9#,"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="H^64+3xLxf1b]H^Q7h}E"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="yWO2PLGWC]D:nM7Y?O%;"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/><next><block type="function_call" id="{,T8pDAGL3BdIgW0@3h8"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="I_I(j7=28,tkib^1ur9S"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="]ssp=E+A)a-F9Q37D1fi"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="^eb0.|$j]Bc~!WM4+G^G"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="%qskd,@=?D1rx#Y95Pvl"><field name="NUM">5</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="}oMaov~361UqB!Y/s#%f"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="XNW/|9-U/S6AQs,im-B@"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="us/9h:W]axpYEDV2=Gi,"><field name="NUM">6</field></shadow></value></block></value></block></value><statement name="DO3"><block type="function_call" id="B!Tkx_h?V$aqGn9iSjd:"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">slimak idzie w dol i w lewo</comment><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="98e|4NlKof*Lv+X6Ban+"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="zi:gQwYx5*8Z.R#_@!x_"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="TH+_|#ao.O?!Pe(Is(z`"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="+=+1If/C,|1kbJrOAi*g"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="-8wP1HDC~jx+b,#=*x_d"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="ROFlK)4[iV!T)tQ:Rxt}"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="mA{d@aR|Pgx7mof1r)5h"><field name="NUM">3</field></shadow></value><next><block type="function_call" id=",BAvqvI1.?mUMISD$DfP"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="I$9%p/![m2ZU.X.(tHhw"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="w]hC#{eOK*H[fqyoCW1w"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="ghZRkgl6(GmBX(p3yD5H"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="mF,dQ:Rb=8qdQMZ=TrKM"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="G`UopLbnd!PG%pf[J/6b"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="T@Wdjy-~s)?lq,[vc9q|"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/><next><block type="function_call" id="9s)U8CZ1U#[7?(6XGr[@"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF4"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="N0DMJ.]b7BeyK1;Q9tE9"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="NQA)!IJMUW=D{V:j6,nr"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="rY(89;WO0f^:dQ`.;{Ow"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="7O#WyCcMI%f$^x+S8]`F"><field name="NUM">7</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="cQXQGDWHR=:ZWeP)4*Jh"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="|Z0OmTya#W8*Nx{?bOrY"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="ZoieYGWj5#l+BV2@8FFX"><field name="NUM">8</field></shadow></value></block></value></block></value><statement name="DO4"><block type="function_call" id="Wy/!R*E-r)SgDm}y/[yX"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">slimak idzie w gore i w lewo</comment><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="owDVEf-B:o)xqh.?ryY6"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="wsp!!33Nx/MYyv1/.#?V"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="vD3lJWO=?UYr)kUBVe^-"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="s;*?FQ-j9PHW@$kmW{w^"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="t1O%TH$-`M@Vn6B;Klo~"><field name="NUM">4</field></shadow></value><next><block type="function_call" id="Ct@!r@7zmcIq#A35k*=`"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="x*rG-fu,Q(kpZ|?$eBsN"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="iHIPFT/F{e3YfG`-%@9g"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="leR/m}{Cwb%.RLq!an;i"><field name="NUM">3</field></shadow></value><next><block type="function_call" id="iYQ7i?9jO9N1]0Pog;.="><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="5TlF@7?8m8G1|)!C4v.b"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="(WdABQ}[X}y~b0drGBe="><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="+YtWC8EHgSiUx-Q:*`jL"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="CJy,2jEr;HUB*Pau7Pg~"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/><next><block type="function_call" id="fJlFBm#hf@EHM32rR8$("><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block><block type="function_definition" id="`^`=]O|9BzDs#q/0HqyV" x="5898" y="-78"><mutation name="doRadarX" functionid="h{p)qwI%DSt{yddsfysD"><arg name="sx" id="8tpey1n1u9romu9e7luhoj" type="number"/><arg name="sy" id="niza3ebof1fnpa608681x" type="number"/><arg name="rx" id="6xivh5c6nh4ns5741sar" type="number"/><arg name="ry" id="0atov010iu1dibvr11dyk" type="number"/></mutation><field name="function_name">doRadarX</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Funkcja RadarX() - na wejściu otrzymuje współrzędne astronauty sx,sy oraz robota rx,ry
pokazuje kierunek w którym znajduje się rozbity astronauta
Function RadarX() - presents clockwise potential astronaut crash place.
Zwracane wartości - robot umiejscowiony w środku planszy (0) - w zależności w której części planszy jest astronauta
- zwracana jest odpowiednia cyfra
Returnig values - robot place id the middle of the screen (0) - depending where astronaut is crashed
- proper number is returned
88122
88122
77033
66544
66544
// Jak działa funkcja radar:
// what are the calculations?
// "sx=rx" "sy>ry" 5
// "sx=rx" "sy<ry" 1
// "sy=ry" "sx<rx" 7
// "sy=ry" "sx>ry" 3
// "sy<ry" "sx>rx" 2
// "sy>ry" "sx>rx" 4
// "sy>ry" "sx<rx" 6
// "sy<ry" "sx<rx" 8</comment><value name="8tpey1n1u9romu9e7luhoj"><shadow type="argument_reporter_number" id="!Bd-Y9J}V6)yNY5f/4nQ"><field name="VALUE">sx</field></shadow></value><value name="niza3ebof1fnpa608681x"><shadow type="argument_reporter_number" id="=us7/X1dy*)36jYibvsv"><field name="VALUE">sy</field></shadow></value><value name="6xivh5c6nh4ns5741sar"><shadow type="argument_reporter_number" id="b;bvXy-%nc!Q?~YmBp5("><field name="VALUE">rx</field></shadow></value><value name="0atov010iu1dibvr11dyk"><shadow type="argument_reporter_number" id="?5u2t8W{`a+FHLqj;A9A"><field name="VALUE">ry</field></shadow></value><statement name="STACK"><block type="controls_if" id="h1rlk9rNhG)qF~=tnH3}"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="[uN)A#/fjaFC=6}bslbW"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Mi_CweL8!$91tR0eU^0Y"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="cj.]`+}!8TS`pHRX*EAN"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="O?oe,#89*NWXPK3(QTmr"><field name="VALUE">rx</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="7D87uyS)Kloms(++JHaV"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="j0t^M}}_28_TwZMxxW:S"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="ywV%b2Tcf2*!Mc[,FI$~"><field name="VALUE">ry</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="BNz:32VuTfz!ZjqIlk?!"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="3U83m/Ux.wYVDS~Ugub["><field name="NUM">5</field></shadow></value></block></statement><next><block type="controls_if" id="0_CzjNGcGk[-sgvCVqI0"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id=":xqU:M}d8BDg#;Rb5Ju."><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="{gx:`R75AqOD!$aE/7,!"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="{~Dfde@0)oGewZ-eXV9W"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="_J4Pd]#e)Ry`/p{/Lu~2"><field name="VALUE">rx</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="sF45^8*Sg0Jz+H#quSjz"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="34#:bw(`oF_OMiTNtBT!"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="A_En;#wu/8EhVv$+{[s!"><field name="VALUE">ry</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="4nqc-Orawy9}zg`|WG#S"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="OgxVihy]1V@BG~`$e%mj"><field name="NUM">1</field></shadow></value></block></statement><next><block type="controls_if" id="QFe8:dmzzpB)Wd#6{MLj"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="EY}k8h2MN^_P7LoLU$Pd"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="reyn#py9gRPVXCW(D6*9"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="pn@{DK]bzR@NHfecAZrm"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="NxqU$I*TV$NJ!@5PgyI5"><field name="VALUE">ry</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="BDel_I4QA06w][WQQizw"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="%G{ky9,N^9/#n[[yXNPq"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="^2}F{,%G5Uno`W6]-{*7"><field name="VALUE">rx</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="M]PzOLm9dj#wv=JGLjwK"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="Cc*PbW%?aa;D8OYt+`Vd"><field name="NUM">7</field></shadow></value></block></statement><next><block type="controls_if" id="?;2otY}rhTo[ZLk2p+MZ"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="HpNVFyOo$r}wPAGmiVK#"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="F/I[TZ8$R5I,IRa?WRkG"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="[jy%bIb^UvtRwthe(){_"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="qm7#oD8d7gbSu3JSS|,I"><field name="VALUE">ry</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="lUHUM$;RdIsVI8=MB@}s"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="$64$S@dkKE{`X3)3ugB?"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="50Y36Dw?~PWOU[7}Elw9"><field name="VALUE">rx</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="MPV/[r~jBVVF:vBtHf$/"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="06[+G`uey$XlNiNWp$h9"><field name="NUM">3</field></shadow></value></block></statement><next><block type="controls_if" id="zH)iBz3^@FGHRxlPL{8#"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="@5)NAWq+~)6L2qf$D@BH"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="CU]jhgZ_GhAWw6|`D--8"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="-|HMT71n(,Y5.Gu*t=?r"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="UUg{CdY)9X;fd}}C3]b2"><field name="VALUE">ry</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=",51UHdM`)Gk7V?F{B#`3"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="JRBg=RHpl1GS+f5~3pYb"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="hAjh9.Z)Eje:i[FkTw7_"><field name="VALUE">rx</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="X|PCJ^hg/vc2Kt_oX=Zb"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="w`jQ[EN8P-/hp{[_UYRj"><field name="NUM">2</field></shadow></value></block></statement><next><block type="controls_if" id="pVsN81Z`lhxRI_}{77mv"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="UL-}9#/?0.P7?E)JFB}]"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="f-sT]5XRk+JAi^t{+RsZ"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="-~z1N_0w%ZO_6vy6Ziy$"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="H5-worz/B|KwboYM}m|l"><field name="VALUE">ry</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="-4HzIt]f5kb:UP(b(Zfk"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="P!~PPe^,.hN-8RpWIS*,"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="iwZB9(#%#EVen5Dq5qJl"><field name="VALUE">rx</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="3|$cs?NnTT)552wB*bSi"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="hJ_`{bi%7O5v.zL]^DQi"><field name="NUM">4</field></shadow></value></block></statement><next><block type="controls_if" id="ak1JC|F(}0n?bw%j+|%@"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="3BW,QJy?ZFd~]FtkTtth"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Dg]Vxc[+XVqIwsP4A|X9"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="lNQ#M54Mh7=^2-XqEH(#"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="2y{#HCBob|t-`dz*KX,V"><field name="VALUE">ry</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="*MnY1Tn*o3)8m!(afBqn"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="9-PQ).U3:*yu:kjv[xMS"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="QirOhx3|?yyYLXSEKf*#"><field name="VALUE">rx</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="vK:^:?/IfBcF@G,7)AM$"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id=":5xjGZ{smKy*j*hFxzu{"><field name="NUM">6</field></shadow></value></block></statement><next><block type="controls_if" id="53GP),2xtpALFsfeuFf{"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="iY_yyPZmX|pJT,4j/tSq"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="qmBaq@Wfa_pOlo+IN+82"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="GO60m-HOblv,M*y{eH5{"><field name="VALUE">sy</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="/_V+TMYVmovboXhfatvt"><field name="VALUE">ry</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="TJ2u%q`DY3q7OaHkTm^B"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="Z9W/rV_Uuh=#ywJo-x9/"><field name="VALUE">sx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="R|}wO#uQ,K2weMoH*R6:"><field name="VALUE">rx</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="!Q4Etxls:wLS$`~KDE%)"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="Ka~2*zpOs=gQ%4r]QCv_"><field name="NUM">8</field></shadow></value></block></statement><next><block type="function_return" id="`Y83u@=mQ%GKOfj.Dzs8"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id=".I1.[p=ygBy]r@5{NX|C"><field name="NUM">0</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id=")9[z4t7LS0jUNbEfMWPU" x="4075" y="20"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><field name="function_name">doFRight</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes right for "ile" steps</comment><value name="19mcmvrg7fr6doe5bx35"><shadow type="argument_reporter_number" id="3U::Ie{2bHU+(IVS*cg%"><field name="VALUE">ile</field></shadow></value><statement name="STACK"><block type="controls_repeat_ext" id="0P01Pq1yhUdEugwR9/nG"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="2v}(A.x3[Um/k[FR)qn7"><field name="VALUE">ile</field></block></value><statement name="DO"><block type="function_call" id="=a@:FL}BfFkB|?+DenR{"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></statement></block></statement></block><block type="function_definition" id="klHMtkr1*F;vLP7AD@gF" x="4424" y="20"><mutation name="doWszystkieOpcje" functionid="ItlHnf_?pPkuLqFm2yEy"/><field name="function_name">doWszystkieOpcje</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Funkcja ustawia wszystkie możliwe pozycje robota oraz miejsce rozbicia sie astronauty, nalewa też paliwa do baku robota
Function sets all possible positions of robot & astronaut, refuels robot as well</comment><statement name="STACK"><block type="pxt_controls_for" id="KG7!^o(hgzrvCm)5ZFvj"><comment pinned="false" h="80" w="160" relx="10" rely="10">four loops/cztery pętle</comment><value name="VAR"><shadow type="variables_get_reporter" id="91KZeX0_:%795BY.GaPq"><field name="VAR" id="X1hVT@+8~4-%l;*k)[Je">x1</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="#COD3X/M@~9C?l)xN|Q}"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="pxt_controls_for" id="I,2*8xGYYS3:A?so-;ca"><value name="VAR"><shadow type="variables_get_reporter" id="vV)MJ,avPe@e;Y$:u6-!"><field name="VAR" id="bSVKtlBaanxBw{$VgTHi">x2</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="K0`xULKHCOB-X2FU[bhn"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="pxt_controls_for" id="s2#l^TkYTyG@{4DAnryB"><value name="VAR"><shadow type="variables_get_reporter" id="9dd*2eJPw-SO}?iqkNpW"><field name="VAR" id=")b1F-:v8d,[email protected]">y1</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="NLzP4N(zhKver7}8o$zg"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="pxt_controls_for" id="2e)QzbrW;9W.]uENunGo"><value name="VAR"><shadow type="variables_get_reporter" id="_Zk25Edw(5~nd!EN.hR*"><field name="VAR" id="+a}O$]LG;WNi.wI,tP-`">y2</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="$pq;S#5uO$)J:v}FzD#Q"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="controls_if" id="nh6Ov*aAfMCt3[{wTr/Y"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="z{hUFCFzRTLI*f`t@Pca"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="|vMdaNUXGYb7I8|`Y{)+"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="+@*Aw:kx}Z]j4S^u7{bg"><field name="VAR" id="X1hVT@+8~4-%l;*k)[Je">x1</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="8Bv4W2;NYtg2{aZ3^`p6"><field name="VAR" id="bSVKtlBaanxBw{$VgTHi">x2</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="C2zGz{6`}35Op}BgqoD,"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="yWjjDCn.^GJm/`bk1E0|"><field name="VAR" id=")b1F-:v8d,[email protected]">y1</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="m,7#IXkoDO_oohr0RZ+j"><field name="VAR" id="+a}O$]LG;WNi.wI,tP-`">y2</field></block></value></block></value></block></value><statement name="ELSE"><block type="function_call" id="Q3=-qr+7E!XA3HXP{*r/"><mutation name="doStart" functionid="u0NwQ038npVzu9ZotkDB"><arg name="robotx" id="ffecirvfb65klld9labb" type="number"/><arg name="roboty" id="fhk6eg0rfus4sbeloa88" type="number"/><arg name="crashx" id="sbtimw20bfj3wqstdg9kad" type="number"/><arg name="crashy" id="ttlxz8vqvi00qzqtccg9" type="number"/><arg name="fuelmax" id="tovyus7lrclxnt2wobq8u" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">tylko jeśli astronauta nie rozbił się w bazie robota/avoid crashing astronaut in robot base</comment><value name="ffecirvfb65klld9labb"><shadow type="math_number" id="sv~P)Nmp+JlW`vNrJp0l"><field name="NUM">1</field></shadow><block type="variables_get" id="MoH?W1r~{.146+Mi*S#?"><field name="VAR" id="X1hVT@+8~4-%l;*k)[Je">x1</field></block></value><value name="fhk6eg0rfus4sbeloa88"><shadow type="math_number" id="c)jP#)rT9}IjhUE-Zf!N"><field name="NUM">1</field></shadow><block type="variables_get" id="YBif:8;j4.w|W!`mNE13"><field name="VAR" id=")b1F-:v8d,[email protected]">y1</field></block></value><value name="sbtimw20bfj3wqstdg9kad"><shadow type="math_number" id="iwFPE]$*@f,N{-w)z`)b"><field name="NUM">1</field></shadow><block type="variables_get" id="Ub=DEo*Y;6fO4ZZF=AgJ"><field name="VAR" id="bSVKtlBaanxBw{$VgTHi">x2</field></block></value><value name="ttlxz8vqvi00qzqtccg9"><shadow type="math_number" id="m*l+t#z%swL[SS2@=sdF"><field name="NUM">1</field></shadow><block type="variables_get" id="yo#1/Rl*jz)-5DY3q]#-"><field name="VAR" id="+a}O$]LG;WNi.wI,tP-`">y2</field></block></value><value name="tovyus7lrclxnt2wobq8u"><shadow type="math_number" id="En)/#r~jC2B10dH~[kj*"><field name="NUM">1</field></shadow><block type="variables_get" id="n{kHVitmO*]9?:{E)Kl4"><field name="VAR" id="*sD/)CnTRCxvSh4HRtsZ">rozmiarBaku</field></block></value><next><block type="function_call" id="^o~Og(|bBJbHQ4p$-y@f"><mutation name="doPrzemek" functionid="dC{~qBw{kJx5!bWh{eIn"/><comment pinned="false" h="80" w="160" relx="10" rely="10">tutaj wstawiamy funkcję poruszającą robotem
here put robot steering function</comment><next><block type="controls_if" id="ExxFpM=`/WWOG%CHm^sD"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="n{@f(Xk+h2Ya}AW2WKU|"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=";,jewpkQCOc-*t-%-S)O"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="Hr]n5H5siY^a%TJF?Kv9"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="variables_change" id="{ayV8ealjIlzRwPb/_b4"><field name="VAR" id="tNR=_WJ=*5A|`{TKV0_8">porazka</field><comment pinned="false" h="80" w="160" relx="10" rely="10">braklo paliwa/ empty fuel</comment><value name="VALUE"><shadow type="math_number" id="xP`I[pMtR@S%Xc$jM4.:"><field name="NUM">1</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="[En.5qXtKjF/)L_#fr|R"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mZk`FEZ:k(aR,hSvsnZ,"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="?Zf/M-:n/2G|Y)XtbmB="><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="variables_change" id="I6LIW^AV)}wq_hy_N_o)"><field name="VAR" id="*X6;Qbn/@vNV_!%mRZ!1">sukces</field><comment pinned="false" h="80" w="160" relx="10" rely="10">odnaleziony!!!/success - found!!!</comment><value name="VALUE"><shadow type="math_number" id="U}.x:pUgg}_crm9)}%cv"><field name="NUM">1</field></shadow></value></block></statement></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block><block type="function_definition" id="l`!8s6*DVKrjXAaFj.EV" x="5537" y="20"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><field name="function_name">doFUp</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes up for "ile" steps</comment><value name="becuylm5bwkw3kgtdae1b"><shadow type="argument_reporter_number" id="f{J/L.:g^E4AAXXL|R@/"><field name="VALUE">ile</field></shadow></value><statement name="STACK"><block type="controls_repeat_ext" id="{;u-foVUo|7?c=)=h6xE"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="B.8@m,,$a_:6^XmhN@T|"><field name="VALUE">ile</field></block></value><statement name="DO"><block type="function_call" id="!-_rDhyj=sBTKiXpX93r"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/></block></statement></block></statement></block><block type="function_definition" id="]eYNDR@`uQF3HC_aC,)B" x="6576" y="20"><mutation name="doMaks" functionid="R},lpfRb1?fx{;]bo{qd"/><field name="function_name">doMaks</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Maks</comment><statement name="STACK"><block type="controls_repeat_ext" id="Xr1QQ=~tCVT*r21!`Ols"><value name="TIMES"><shadow type="math_whole_number" id="68U;4yJV=Sn!(hpBkN5_"><field name="NUM">100</field></shadow></value><statement name="DO"><block type="variables_set" id="yQ?Um^}k0+47+*^:3mJ#"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="k^mATKzY$5-,@M1x:$0f"><mutation name="doRadar" functionid="gcPTgC6dx)n13^bni??~"/></block></value><next><block type="controls_if" id="=4:C:NqCurW(NK]e|xs`"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="PMfSK**.#UkSw?(0rC`#"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="T1v[0%L{3SV:lfzE/uTg"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="2w`R9?xI#qd^;~Ku-oC6"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mDL*NvcCV)0^`B@^t:SV"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="U%swhSY]U5e`)%`BkN1?"><field name="NUM">2</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="!Z)=sy7$);voRg5ChZ^]"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="nPPvF*aD;-jgh,Z0SAlC"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="JY|hNVA[53j,Urt6c-@x"><field name="NUM">3</field></shadow></value></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="RQC?_]G^pjzE3k~SruGN"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Y|e;geQ}]5S:HdRbmq^;"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="zK*EfhXGH9ihWeFE`ARD"><field name="NUM">4</field></shadow></value></block></value></block></value><statement name="DO0"><block type="controls_repeat_ext" id="^10hewdx;hlmWP#z?%ym"><value name="TIMES"><shadow type="math_whole_number" id=",_rNp.t2iGM~H,{Z8K/L"><field name="NUM">2</field></shadow></value><statement name="DO"><block type="function_call" id="@+/#7~`np%N8h3{cZihC"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="pGK1$W_s{R_bx3dtCjq5"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="%BhYtSO/*]X{guua~5_m"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="!,}[tM0P;1WyS%t2Dg4t"><field name="NUM">1</field></shadow></value><next><block type="function_call" id=",CjXS|C,(o.Q0W1---ae"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="vJ7X_K0(-h=da(J$SJu]"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="ys~h3i5ZY:;2cARXZ.~."><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="qLadTCmtF%qOO/jkIOdJ"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement></block></statement><statement name="ELSE"><block type="controls_repeat_ext" id="VNvVw#=NR~7]XJZZBLDC"><value name="TIMES"><shadow type="math_whole_number" id="do/+kc$IhUMi6)/zd)/m"><field name="NUM">2</field></shadow></value><statement name="DO"><block type="function_call" id="zN_R[hoV:0r`?!$:u9_@"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="?Ef[-Ty;)_*-roCA*BDk"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="[iE^X+0`FT#/uA#sh%;L"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id=":cCT-]|/fJ?oU8X$!gTZ"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="LA]rT#3c3*m9%T1jgbFy"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="on_g;(!KH8V0vk8@)8OX"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="Mf31*}upeIbIsq7J*:c="><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="}I8iokeMbedctbQcrJBx"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="?w:xdqQa72z?xXNGEJ@C"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="D@J)V0mb=0CX$kZ/m+g1"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="hYUL?iwM.B1Jo[A^?JF_"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="YWWeqd$(P#2HDs$*|7w,"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="N|27_:tPV.|br[Zkd~xd"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="eQj^MR+f/hY?Um@VZNS="><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement><next><block type="function_call" id="@k{R1*%evwac7DXrC6w2"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="mA=n0gfC5`X5D)#H8s!;"><field name="NUM">4</field></shadow></value></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="kkD)6~Pmb$;YK+KGQ,vG" x="-246" y="2642"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/><field name="function_name">doRight</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes 1 step right, checks if astronaut found</comment><statement name="STACK"><block type="controls_if" id="(L9!JvtH)0_y)=pqChQz"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="fS_?e0_K^s#(ks5_6VwU"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="0!yRRIbS,P96WqTV_fZc"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="b0I1zQ=4tl|Eg64wpWm$"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="C2DMVMV8)wTxkFr|*Dnl"><field name="VAR" id="4Hu?WRWjdl!,xtjGU$3B">oldry</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="o84*sR=Ii0W?AVu3XYC2"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="variables_set" id="kQyrX?aa#vQ}1[byE`WO"><field name="VAR" id="GlCK}0OpIpRcLdD3H5*-">oldrx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Hm|T3k2oF=!eUFHCm0`_"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="variables_change" id="Z]RD4)Our9i8FqeYTz5W"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id="nO:XMC`b}_h]xkTSkN%p"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="@TuYiU]X{Qgh9Im3[cKa"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Fl:6)pN^V!uX)C5f5Y8W"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="z%CjWnD79`5s[hexL$pn"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><value name="B"><shadow type="math_number" id="@%g/qHrfF]$X|5#%/]@Q"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="VGwKBl`X:V9{2o2Sec~|"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="eV(|%Op4:=;=qhvM+@4q"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Tbpdb)qAB!Ix(;m{,!qt"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="7Z`bS~SKNi.7$,%WO80,"><field name="NUM">0</field></shadow><block type="variables_get" id="oZ]bS;SN5Dkrl^lu`)px"><field name="VAR" id="y%[[f,l5.e-{ezkh*ujA">krawedzie</field></block></value><value name="B"><shadow type="math_number" id="LlnHcyXn~koIYM[uOP[:"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="/4BLszD#6PO9VDL3(dY|"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id="RZOcnxiyQALtI~meq:^w"><field name="NUM">0</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="Hh:V1}gc7q#%BAJN+rhY"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id="uIbFZ/5w7p(FB0wNLvkJ"><field name="NUM">4</field></shadow></value></block></statement></block></statement><next><block type="game_sprite_set_property" id="{?A96^n?]T}Q8YUgZ?6Z"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="fl;7Ba8smVL{)i{a_7kV"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><block type="variables_get" id="9X#FcaU0XeGzgGvM=+it"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="function_call" id="/LUDY7xK]NfM9cz*Nu%M"><mutation name="doCheckSkarb" functionid="w1glN}R=|sDYYq!d~1mE"/></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="G%_dt3dTwk+j}RHivWsd" x="527" y="2711"><mutation name="doMichalina" functionid="hXvr2FLUkVNl6*IC(qMx"/><field name="function_name">doMichalina</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Michalina - line & down, linijka i w dol</comment><statement name="STACK"><block type="controls_repeat_ext" id="*Iho%yirYHfG8c^%hPi3"><value name="TIMES"><shadow type="math_whole_number" id="GUvRF;_Q6NE_q18na}$$"><field name="NUM">100</field></shadow></value><statement name="DO"><block type="variables_set" id="`3hBN^6O10.u{(%w24hg"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="gc:ET+|H/)CfRX2Io+%]"><mutation name="doRadar" functionid="gcPTgC6dx)n13^bni??~"/></block></value><next><block type="controls_if" id="^zfwEPH~`%80CiA4nTm!"><mutation elseif="7"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="G2syex5,-KTf+|z?`Bvs"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="@vwID03JYVH4x$iH??l:"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="PPz^C)7.|f;`RBgmu%CW"><field name="NUM">3</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="[^zk_5|DgcY1/IxJ*fpX"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="]$u2O_r/#ThIi!+Uy]=g"><field name="NUM">4</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="=/pJ[esYMc7Y!K=9!Ts+"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="v{Xy4]g^MP9G;?+s2=i="><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="hiP7dH^A:!:dB[vFJ:P^"><field name="NUM">7</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="mP~Jw,O2*K1xZD/uDkk1"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="pFrYS0CZ#IqG8-BtRdty"><field name="NUM">4</field></shadow></value></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="rFFxAJS@q/!L:Ya;Sr*?"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="E^W(v*;.F$9=D#95{fi9"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="c@=o+0Ctrpg]4=,|SZ|G"><field name="NUM">1</field></shadow></value></block></value><statement name="DO2"><block type="function_call" id="=uXt$NuK8Pe%P*gnS8rN"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="Di!96~xQ3:iLO6D8YJV8"><field name="NUM">4</field></shadow></value></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=".Yo0;VXnn]2vL*}6AqnH"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="YbrSy2G597FJ;ZhAk)!2"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="zhw|TOiPQQVp*vAf)e`w"><field name="NUM">5</field></shadow></value></block></value><statement name="DO3"><block type="function_call" id="p/+^F2HGvmDXOpwGvln7"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="uF$M+C6C`Kti;Es@^Ka."><field name="NUM">4</field></shadow></value></block></statement><value name="IF4"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="2ddvdY-s9t4DLf2J,X[x"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="l,D}[w/!cEVcYh6DcPnn"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="(LJXrqaGy;Rw7$j`};mb"><field name="NUM">2</field></shadow></value></block></value><statement name="DO4"><block type="function_call" id="EKzb_EQ{u!|M|J{fED/."><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/><next><block type="function_call" id="r4Qg:7P:ESnR-L*i.7t("><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></next></block></statement><value name="IF5"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="3aG/x)+;%m~Od3!ZUCii"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="^D#-CF^=5xJg3IeS|;c`"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="_6.VlveIYPj|51@cAXpt"><field name="NUM">8</field></shadow></value></block></value><statement name="DO5"><block type="function_call" id="C]{~4r4MfcMXaOuH,:=J"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/><next><block type="function_call" id="0v_ugh8YGX/E?G,a6M7%"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/></block></next></block></statement><value name="IF6"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="70X3GZSeY0O.RPU?kR`b"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="K/h0mUm9Cj3+bgIx,|DH"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="a`?7)W={UPozX[}ygn~4"><field name="NUM">4</field></shadow></value></block></value><statement name="DO6"><block type="function_call" id="4S.7|iHEwFm/97uiTTd7"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/><next><block type="function_call" id="/.uwVG,?iB;D8I_1P0(]"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></next></block></statement><value name="IF7"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="MhQQwSrxC=xcLTrSQw[m"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="i(w#z6XRlv!pP~wsR9hL"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="TZ_K(dO#(7_Ono:6.Gg/"><field name="NUM">6</field></shadow></value></block></value><statement name="DO7"><block type="function_call" id="1ec#8e||c?w+CuFTgycY"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/><next><block type="function_call" id="%F|M;WA9.z-e]ci4CtX0"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/></block></next></block></statement></block></next></block></statement></block></statement></block><block type="function_definition" id="=maX@%T3V5(q-KFV`@!2" x="1150" y="2711"><mutation name="doCheckSkarb" functionid="w1glN}R=|sDYYq!d~1mE"/><field name="function_name">doCheckSkarb</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Funkcja sprawdza czy robot znalazł rozbitego astronautę, zużywa paliwo robota na wykonanie kroku, prezentuje wynik
jeśli znalazł astronautę - serduszko, jeśli brakło paliwa - czaszkę (w zależności od parametru wizual = true)
Function checks if robot found crashed astronaut, deduct robot fuel, show results - hear for success, skull for emty Melodies.Fuel
(depending on the "wizual" flag = true)</comment><statement name="STACK"><block type="variables_change" id="Mr[R:58?@92hjZ7ycO=D"><field name="VAR" id="02VoW*MH-~t136zHQC%i">score</field><comment pinned="false" h="80" w="160" relx="10" rely="10">one more step</comment><value name="VALUE"><shadow type="math_number" id="u5Nh}6WIiK$5Qcp2g[BC"><field name="NUM">1</field></shadow></value><next><block type="variables_change" id="[Wgk6z=ojQQCASG^Onc;"><field name="VAR" id="l#ah;#fwSSla{up|?RV%">paliwo</field><comment pinned="false" h="80" w="160" relx="10" rely="10">less fuel</comment><value name="VALUE"><shadow type="math_number" id="5/?h0$$p)E,%cE2wp:~]"><field name="NUM">-1</field></shadow></value><next><block type="controls_if" id="mE8/|UL+L:S.FU*+f;cV"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="g`cUI+)Y)vp4(71uha4x"><field name="VAR" id="7/A%%m/O-==j9i097plT">wizual</field></block></value><statement name="DO0"><block type="device_pause" id="AQnt^0x2#+Bh5.tmv$zM"><comment pinned="false" h="80" w="160" relx="10" rely="10">wait - for better presentation</comment><value name="pause"><shadow type="timePicker"/><block type="variables_get" id="HF+2!,)Pki^AA?XG(G!Y"><field name="VAR" id="/xkRz8=U`;;Juhe|XGSF">pausa</field></block></value></block></statement><next><block type="controls_if" id="TxISEkQRx+~WNmG.Ymf3"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=")=1iw_#|S]0X79wJBEN["><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="1b./@5u9b:P?0V!7!94m"><field name="VAR" id="l#ah;#fwSSla{up|?RV%">paliwo</field></block></value><value name="B"><shadow type="math_number" id="D^o9r0*oPsbz*#]pj/b`"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="rNpQWA@PzqJs/:%5eN^J"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field><comment pinned="false" h="80" w="160" relx="10" rely="10">empty fuel
set flag - empty fuel - robot will not move anymore</comment><value name="VALUE"><shadow type="math_number" id="IYmKmGWQLY2aSj8q5hPK"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="7:GRG8*k+S^=3zgk!/_e"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="ZTp_$BAAwlF:~b8#JO28"><field name="VAR" id="7/A%%m/O-==j9i097plT">wizual</field></block></value><statement name="DO0"><block type="basic_show_icon" id="y]^$7PSo%.zR([3`-4]5"><field name="i">IconNames.Skull</field></block></statement></block></next></block></statement><next><block type="controls_if" id="y^%kOFQh,HNkH{,m|$W`"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="03`mn5nqLw$w$/fl,pvs"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="4g$HM%xDgjGz)$:Tm1x!"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="YJzH$7T1jrA[hf1!?T@T"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="w1,9,mq9p@~dnP}NR!)r"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="7@KT!.rypo#f*,+{cSx`"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="e~uGD(oo4*og%npcd9,E"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="pP}qLdL=J7pfSot8%LoE"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="82fq4a_oi13W/;_A@#q2"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id=",pFpfgJ{.9OGK/;i=eR6"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="variables_set" id="GU_/R.iAQe4;CIQn]mSC"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field><comment pinned="false" h="80" w="160" relx="10" rely="10">astronaut found! Success! set flag - success - robot will not move anymore</comment><value name="VALUE"><shadow type="math_number" id="=SFKfqoLjM+1xX-zw:my"><field name="NUM">2</field></shadow></value><next><block type="controls_if" id="a)]#j_%cDyoPMo]?rYK+"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="B(H),)0Xlpf/-(`HZENO"><field name="VAR" id="7/A%%m/O-==j9i097plT">wizual</field></block></value><statement name="DO0"><block type="basic_show_icon" id="}i*%IwSZEY0hww2=Kphx"><field name="i">IconNames.Heart</field><next><block type="controls_if" id="b:csNmZM:Dno~IA7OR3w"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="fE5tKC//KJ*_@T0/uwMO"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="Uj;OvO:JRmNaaHaj_UBy"><value name="min"><shadow type="math_number" id="P.4ga/ky]|~o}*R]=LEJ"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="mA7)@JepWcSu!Xz?ci5L"><field name="NUM">5</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="TEd7Ejb)mZ(`1duU}r86"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id=":s00=tO7REkgSv(ri?h@"><mutation name="dosilentNight" functionid="rHd;{/LcdoQ[TKrn;ZCp"/></block></statement></block></next></block></statement></block></next></block></statement><next><block type="controls_if" id="A+xS|.kx$;1o;3fY{8dX"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Qsx?54Gx}4:?*VtQ$Z6]"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="tr?48R=WC4ct9]iRJ}rC"><mutation name="doSprawdz" functionid="_EZ+okE$0D_t[Eya,HNi"><arg name="X" id="im8ud7xie1amq7jd0buh" type="number"/><arg name="Y" id="xntmtnxedp3nmymrsl1c" type="number"/></mutation><value name="im8ud7xie1amq7jd0buh"><shadow type="math_number" id="m5RahQkP,PI_1c6tNjOo"><field name="NUM">1</field></shadow><block type="game_sprite_property" id="Ip106n_^.svFe@%T^UX2"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="N@Q{^I-RnI`2-%XSR_]P"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value><value name="xntmtnxedp3nmymrsl1c"><shadow type="math_number" id="hFSPI%?5HLpd-A[C-.?|"><field name="NUM">1</field></shadow><block type="game_sprite_property" id="PIGH47J%8]C[:l1SFo+}"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="]zFBE|tt(U-K6E#46Cj4"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="=ivklOg:G$X5Qn5qHoh$"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="array_push" id="NxMI](H|}2eqN-E7PY;^"><value name="list"><block type="variables_get" id="s[Pn|ISVH!.fq*rdyzR/"><field name="VAR" id="ag6SAm?KpQp;{Tsy%:~^">listX</field></block></value><value name="value"><block type="game_sprite_property" id="BZNJg2[muxni3!d+4O,)"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="=IoECH:-!pNYDv(y~,K("><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value><next><block type="array_push" id="qZOO(@:~gX5Xq{JRdi#N"><value name="list"><block type="variables_get" id="5dVI?h.p51GzOMx}MCEi"><field name="VAR" id="r|`1W[jN_gBMbQgn82:`">listY</field></block></value><value name="value"><block type="game_sprite_property" id="!3[}f3iu-*0T9*%Gy$T["><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="K)zHEA:,|cvvCQG{OUFT"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id=",uS1AaB!~WtA-h!Cr:)7" x="2320" y="2711"><mutation name="doSprawdz" functionid="_EZ+okE$0D_t[Eya,HNi"><arg name="X" id="im8ud7xie1amq7jd0buh" type="number"/><arg name="Y" id="xntmtnxedp3nmymrsl1c" type="number"/></mutation><field name="function_name">doSprawdz</field><value name="im8ud7xie1amq7jd0buh"><shadow type="argument_reporter_number" id="o*uH0)q$9ur,UiB+s/,N"><field name="VALUE">X</field></shadow></value><value name="xntmtnxedp3nmymrsl1c"><shadow type="argument_reporter_number" id="mFNz5;d65}nSWl$NrfPQ"><field name="VALUE">Y</field></shadow></value><statement name="STACK"><block type="controls_if" id=":zOqLtr_gbDmy9^od1Tz"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=";Tr]J~1]6u]DS%.M%Jna"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="wd.S9LZEAxql0ho-I}]r"><value name="VALUE"><block type="variables_get" id="2!!x6YT^@T}.^:m7HI+`"><field name="VAR" id="ag6SAm?KpQp;{Tsy%:~^">listX</field></block></value></block></value><value name="B"><shadow type="math_number" id="e|U(7Ve|5Jy7/hi74)fm"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="pxt_controls_for" id="#RaoD9H`Hi%^7y-Ak(:+"><value name="VAR"><shadow type="variables_get_reporter" id="F](yAl_Z_bf#/UREL2a}"><field name="VAR" id="VWJ_XHT*LuK+FztFKc8k">index82</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="lists_length" id="{wxPDrixCyp;0Y)-z{ke"><value name="VALUE"><block type="variables_get" id=":%2@rGHSYa,d(^5GxD{I"><field name="VAR" id="ag6SAm?KpQp;{Tsy%:~^">listX</field></block></value></block></value><statement name="DO"><block type="controls_if" id="4zef{?}]vgj3L,G162?3"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="!HQ88L~*RgzlAM?+$ELP"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="r;rXm:e:n+{5=#+Df*`w"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="IUvqXwYRQd~/bqIfE1g?"><value name="LIST"><block type="variables_get" id="/xep}skrJzQ%o:o26@5/"><field name="VAR" id="ag6SAm?KpQp;{Tsy%:~^">listX</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=":Q8Gj33odq~L%dRw-qKr"><field name="VAR" id="VWJ_XHT*LuK+FztFKc8k">index82</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="^P-dhe|VfH=OJ%a{5g5^"><field name="VALUE">X</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="#,]eV0Zkzs$iAwjtEyOb"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="cGp//jrRuwKPX|Y9{sxv"><value name="LIST"><block type="variables_get" id=".s`cZ-4!PNv!s%tYG{`["><field name="VAR" id="r|`1W[jN_gBMbQgn82:`">listY</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="NMt6op@F(IsJ,g@O`)sb"><field name="VAR" id="VWJ_XHT*LuK+FztFKc8k">index82</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="HciAT:.YfWA*--y^y(7P"><field name="VALUE">Y</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="#V1@[$a7~|cf!37=Qbu`"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="Z%:B]JaZ#%{ytwXycjCL"><field name="NUM">1</field></shadow></value></block></statement></block></statement></block></statement><next><block type="function_return" id="$t{Q]0jO2xhvfKKtLx|F"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="!k4rvg$pk]!HUVDA1e=H"><field name="NUM">0</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="EJo?+Gilx=r]Q#%XqR.]" x="3756" y="2711"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><field name="function_name">doFLeft</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes left for "ile" steps</comment><value name="pmirva4wtido9p8lmwrbk"><shadow type="argument_reporter_number" id="enYxgNG%j2=JR2zgNFi,"><field name="VALUE">ile</field></shadow></value><statement name="STACK"><block type="controls_repeat_ext" id="]AcZx.JRJd5+vr[h@b{q"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="YYXP8$-/73LVw5.)@W^?"><field name="VALUE">ile</field></block></value><statement name="DO"><block type="function_call" id="^/*|*|=+~DHKK9W)--qX"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/></block></statement></block></statement></block><block type="function_definition" id="wbe8i93]URq_#rN?.xej" x="4097" y="2711"><mutation name="doRadar" functionid="gcPTgC6dx)n13^bni??~"/><field name="function_name">doRadar</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Funkcja wywołuje funkcję radarX() podając współrzędne robota oraz rozbitego astronauty - tak aby nie trzeba było
każdorazowo zastanawiać się gdzie jest robot i game.addLife(0)
Function calls RadarX() providing coordinates of robot and astronaut</comment><statement name="STACK"><block type="function_return" id="]`tqKC-J*@*sNJeEa#(p"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="(D${cb(p2/rSc39C#gG0"><mutation name="doRadarX" functionid="h{p)qwI%DSt{yddsfysD"><arg name="sx" id="8tpey1n1u9romu9e7luhoj" type="number"/><arg name="sy" id="niza3ebof1fnpa608681x" type="number"/><arg name="rx" id="6xivh5c6nh4ns5741sar" type="number"/><arg name="ry" id="0atov010iu1dibvr11dyk" type="number"/></mutation><value name="8tpey1n1u9romu9e7luhoj"><shadow type="math_number" id="FRhm$^sCaMSHI-(I68KB"><field name="NUM">1</field></shadow><block type="game_sprite_property" id="YL0EA5(].`k$GM:hsjK;"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="jc^k%vy+($%!bFU^@wP^"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value><value name="niza3ebof1fnpa608681x"><shadow type="math_number" id="=Fgca{]*r^K[^1a2xv#I"><field name="NUM">1</field></shadow><block type="game_sprite_property" id="zc2Hq`2xLuue3rs_~n4S"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id=":Ii?Mb5^C[3QI6Xg4wn`"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value><value name="6xivh5c6nh4ns5741sar"><shadow type="math_number" id="yHiO:Dhe}@wvXlU?f8^."><field name="NUM">1</field></shadow><block type="game_sprite_property" id="e{E!JYn:7)4UMf1oq/5U"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="]M+*9?}9:%:a0%87|4EE"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value></block></value><value name="0atov010iu1dibvr11dyk"><shadow type="math_number" id="9j^cJZ8YWb1/GW^mY;E]"><field name="NUM">1</field></shadow><block type="game_sprite_property" id="1)}g87G]^+LoIMY8B|Et"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="~[!|7c}D*wNXM}7Kpa{_"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value></block></value></block></value></block></statement></block><block type="function_definition" id="6-=4%+y4u1-=+XYsMECj" x="5229" y="2711"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/><field name="function_name">doDown</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes 1 step down, checks if astronaut found</comment><statement name="STACK"><block type="controls_if" id="O,ua#8$+K]zcS=RPJ:rX"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="1J~#~txH-K(YCkKTBL7y"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="i16{-`F?RnwjPxmMrbzp"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="W]3xJ9b%y`CZ(o.iu@D3"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="HnNYYgC8;btl6e4Nf-`m"><field name="VAR" id="4Hu?WRWjdl!,xtjGU$3B">oldry</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="h|98#buWV$M@UMHnV0w+"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="variables_set" id="Y+yXi3q+b%OI2}Rq4mYm"><field name="VAR" id="GlCK}0OpIpRcLdD3H5*-">oldrx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="N_he.x27EF~*t5ZE+iw@"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="variables_change" id="Uw1x4_fd`ODLcvv{sZ8M"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="en+Z#6lL,OZBwP.b)XKs"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id=".hr6]EB~[jN/:]*~qJfW"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="[+AL?24rErJO2,oKPyg^"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="VB*w(wzvE|egw7HP{6bl"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><value name="B"><shadow type="math_number" id="4ZPNqxR9e7K3!VE[}}{I"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="%=Nz))[iaeV9xcu-xV4n"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="R5X!6p!VXfctW-GgZ1uE"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="ec4vo)(szL5QM;`1hz6~"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="{O8?JIB|K{}z1!9=%Rgw"><field name="NUM">0</field></shadow><block type="variables_get" id="SoQ;@xUV_kwG7RX5ETZ9"><field name="VAR" id="y%[[f,l5.e-{ezkh*ujA">krawedzie</field></block></value><value name="B"><shadow type="math_number" id="m-p*h0jKJ+Tp@n1c-9ah"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="tL~I0K1eom0W={u~eVv9"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="[^Uw|qj?E`%},Q^(^$1C"><field name="NUM">0</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="u-QQmD:bn%.`w%l!jw9X"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="1g;*U~4*Loo(a)/w}l?Q"><field name="NUM">4</field></shadow></value></block></statement></block></statement><next><block type="game_sprite_set_property" id="z%}wjunSw2x8^bV{8m)E"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="BU=/8gTwT/?v:F11Da1P"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><block type="variables_get" id="e#2xVd#3R01RjL(~/hD2"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="function_call" id="q*RwOTJ38XBxb3phMCV7"><mutation name="doCheckSkarb" functionid="w1glN}R=|sDYYq!d~1mE"/></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="s];H/Lmy}sv*}31MMh$Q" x="5808" y="2711"><mutation name="doAdam" functionid="E.9Uu}(%o=8kpFyrU1RG"/><field name="function_name">doAdam</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Adam - total randomized, calkiem losowo + Radar</comment><statement name="STACK"><block type="controls_repeat_ext" id=":dH8fw@$#%b7W2%ertlC"><value name="TIMES"><shadow type="math_whole_number" id="-b/#;?(7mzp4,B*cQ*IR"><field name="NUM">100</field></shadow></value><statement name="DO"><block type="variables_set" id="/Hy%}|BMdajd0RKOnZAS"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id=".QmG`}Cs3I`nE^_9!s/L"><value name="min"><shadow type="math_number" id="ce|ZrtGB}7`e0HHROE7f"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="vG1)!wYOg_gWXzPrP/Wt"><field name="NUM">15</field></shadow></value></block></value><next><block type="controls_if" id="YB/Sjnh]PAQf]C]4@kTH"><mutation elseif="8"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=":n97nqkR,0//,B^X7{P("><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="^)h}mL,FQ%2=Ij]*$3eW"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="zsGC:EYtz-nl0X2^I!ai"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="ESyYz#L}Up!uBD3e.6Ib"><field name="VAR" id="$/hs[vKdpd6f4dvvyR[?">nX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="``rgFZ7KvLP:Waa=.1^L"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="#t:RPU$mh`E(%ABO?z)|"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value><next><block type="variables_set" id="JifActF-(r!|,p_8A,NO"><field name="VAR" id="uZliFGXlk9sLYN|/y?+V">nY</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="o*we+4WzX3K;Bo$V+Zu!"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="Xp4:suBl9UK3IRL4F*dN"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="o)*_nLi8gtfDJ4[`8MXP"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value></block></value><value name="B"><shadow type="math_number" id="@fNo?_9~gjYel|OO5+$d"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if" id="QjCJnvFtw?Wd)tEIEgt_"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="2GEHXM~k~`.:##49[KGg"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="anjL4/nA23K!=gW[y@kP"><field name="VAR" id="uZliFGXlk9sLYN|/y?+V">nY</field></block></value><value name="B"><shadow type="math_number" id="*dVN,ybHX*hzY-7:u~lz"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id=",M8slr3iW#.UboMeX]3,"><field name="VAR" id="uZliFGXlk9sLYN|/y?+V">nY</field><value name="VALUE"><shadow type="math_number" id="`H3z$O40ERnyDZ)HRG,S"><field name="NUM">0</field></shadow></value></block></statement><next><block type="controls_if" id="X_|CH3=n}NtW+9:x#?nM"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="!o9dr2W_!aiLi-G,Rtqn"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="mj/-[s^S{iF*l4Xw6TYA"><mutation name="doSprawdz" functionid="_EZ+okE$0D_t[Eya,HNi"><arg name="X" id="im8ud7xie1amq7jd0buh" type="number"/><arg name="Y" id="xntmtnxedp3nmymrsl1c" type="number"/></mutation><value name="im8ud7xie1amq7jd0buh"><shadow type="math_number" id="Vb|U#:o{@Ce#DI[8F|E="><field name="NUM">1</field></shadow><block type="variables_get" id="j76k}wuExHp7(wg*+/.G"><field name="VAR" id="$/hs[vKdpd6f4dvvyR[?">nX</field></block></value><value name="xntmtnxedp3nmymrsl1c"><shadow type="math_number" id="gn2@vZ(|^gttiYU*W`dU"><field name="NUM">1</field></shadow><block type="variables_get" id="vu9J]95mMhS10L2=)zk$"><field name="VAR" id="uZliFGXlk9sLYN|/y?+V">nY</field></block></value></block></value><value name="B"><shadow type="math_number" id="]X9dh;VlLCy^3ka8z19c"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="(B}vDX0G##h**YY8v*{:"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/></block></statement><statement name="ELSE"><block type="variables_set" id="Fb5~vl*lpOKO,_3y10Oc"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="@FK=H,^?MZUKaR^!~eN|"><value name="min"><shadow type="math_number" id="R%f[a8::l4pA=5Qt(*EY"><field name="NUM">2</field></shadow></value><value name="limit"><shadow type="math_number" id="~y$+95wWu6#.wAq39`sw"><field name="NUM">15</field></shadow></value></block></value></block></statement></block></next></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="AY;UQ2,I3%m?#fm))ER%"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="YAQlWL,92T@;cethLKp^"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="ee7}5f|z]a(u.(tRCs*o"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="4c%RO$/FGW(if^?5xQeR"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Hbqf`jVd]F63Rw!,%sM5"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="PR{XStR~qN?63!n;e72s"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id=",ndSSTL],eBq8A5HOLmg"><field name="NUM">3</field></shadow></value></block></value><statement name="DO2"><block type="function_call" id="4f_6Fi5q6TnR(P=OO)r."><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="4,:WRlw]Z1Lg#@!0pm$`"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="GM~a5U~ek1Ze63LM9azi"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="JM3SoG$^kgFX%8[c:EtU"><field name="NUM">4</field></shadow></value></block></value><statement name="DO3"><block type="function_call" id="P.N}@aVrRzx3:ocT$|KQ"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/></block></statement><value name="IF4"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="?TYjz681dI}lI:?@jA!,"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="l1t7m0P_|l5QeqyWjsFU"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="`QNdX9Q*/I3::CQ|dn~#"><field name="NUM">5</field></shadow></value></block></value><statement name="DO4"><block type="function_call" id="zJykxJjLJa[8`|H2~I3Q"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="aqs*OIVch::WJlV4fWB~"><field name="NUM">1</field></shadow><block type="device_random" id="]n55Za-?C=AmTBMh0,uc"><value name="min"><shadow type="math_number" id="V|[email protected]^3eQ)0^H0A"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="!A^gh9P~j+G7$=4_+L8r"><field name="NUM">3</field></shadow></value></block></value></block></statement><value name="IF5"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="z6=8{oWB*,~7u4yl1FW/"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="e)z{;kR[A[L3%*t:J}W("><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="Tg0h0GN.x$,S#k.vlnXX"><field name="NUM">6</field></shadow></value></block></value><statement name="DO5"><block type="function_call" id="?phF^/W*ENgi|nr^E]?~"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="|Eb1*DL1B(E8~B?eceQ?"><field name="NUM">1</field></shadow><block type="device_random" id="qHQ6TS!=zXQww@tUWaXh"><value name="min"><shadow type="math_number" id="0C~j|ww#IA`Y#T8G:Wzx"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="]92APa]P|TPhezj.UD(["><field name="NUM">3</field></shadow></value></block></value></block></statement><value name="IF6"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="m:]lwQ_hSDuT*1+Wdyy)"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="BAURIrA,k*r[2f^lw2{0"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="LgwQAUip@Z69[ez~O,S!"><field name="NUM">7</field></shadow></value></block></value><statement name="DO6"><block type="function_call" id="|w!vBH[gNibsl=,plR[P"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="c+e5l7vsMyuX#R4U}TPN"><field name="NUM">1</field></shadow><block type="device_random" id="l2PU`#h8Q92h|o0LfsZq"><value name="min"><shadow type="math_number" id="Y*3:e{=p|Wk6?6L#+QXy"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="(FD/6qqm|Mw3}3Pe_(`S"><field name="NUM">3</field></shadow></value></block></value></block></statement><value name="IF7"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="P5ZMSO%}-HnytYca5B@F"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="a!%sCM84n-Lq(2FOHMO$"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="Bw4GtUD{li85c/X/ZY/J"><field name="NUM">8</field></shadow></value></block></value><statement name="DO7"><block type="function_call" id="CI%VALSN;fcr@N2P}4)3"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="BG-^k#MXmVr:YN-m(cLH"><field name="NUM">1</field></shadow><block type="device_random" id="jx]TW}pNRp;@`F6-(=C/"><value name="min"><shadow type="math_number" id="iI`]ltHWCEG~pR}pf5hV"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="xU2t.2D*wt5SkQWns2ck"><field name="NUM">3</field></shadow></value></block></value></block></statement><value name="IF8"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="6-8aY_gMqy6V`K(ECV6E"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="A4|bT!7^sqSf@=+yXX0t"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="334j}!$*Jlz=-|`d102Y"><field name="NUM">9</field></shadow></value></block></value><statement name="DO8"><block type="variables_set" id="%)gM/pBI_tuu/jOS?D6D"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="R-n-GY!nD0m9O~Q_/}S="><mutation name="doRadar" functionid="gcPTgC6dx)n13^bni??~"/></block></value><next><block type="controls_if" id="H168ghSP-!:wG^!4lqt!"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=":F[9!/2fDxzW,~v*7Toh"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="|w+Hl:D6(ks3g!N9/#BF"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="8ya,%iQ5adi4VBWL(T^S"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="M~kN{4HeBKczbIKNT^0U"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="VpjU|AG@?7Q=4=(fZt?i"><field name="NUM">4</field></shadow></value></block></statement><next><block type="controls_if" id="m6;DO}P:)[s8n00Sz@9C"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="6MT~]6^;cc1BjS__P-v)"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Ja,fBs_D2fGkgW!^hCf0"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="v~Yl1d2b3.,zcBq!xJQL"><field name="NUM">3</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="VB+1eycjTN^CO6ld!tXD"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="1OPD96kJ(IFnzW0]bTaS"><field name="NUM">4</field></shadow></value></block></statement><next><block type="controls_if" id=".aX3$O$fp;uZ|~h2bJrp"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="iy%Ld`A;;bS(?t4V$IOV"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=")dcl=/,x`%#BVDqh_Iu%"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="U=f-@YIZch}Z=bz1C=%T"><field name="NUM">5</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="!#J5s5ZXwu87RWA]@Ae("><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="a(lT[Ys[/,s)5|^8^I[2"><field name="NUM">4</field></shadow></value></block></statement><next><block type="controls_if" id="|p*k{:Fc$6Gz$odL00?J"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="F+3pA/3D?x8SataAUg;`"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="~Q/3QLX.+qHVjZ^i_+%u"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="szp%f.$gd..G+mf:C?J0"><field name="NUM">7</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="=Ln%G/En7`dWYF//`xTp"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="}xmND?#QHmB7klyXO:zQ"><field name="NUM">4</field></shadow></value></block></statement><next><block type="controls_if" id="cLbbDN{4S?_c8Wfm|g)$"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="UK(7t^kv/*0Rk;JIiT7F"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="jM)r{+L_aMDy|!`$hi%m"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="3z`=zUqu2gJt/U9#7bgt"><field name="NUM">2</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="$5uY%c5fDa~aS?2Q9wj5"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/><next><block type="function_call" id="HfYYBKA;$hQUu:m~Az`6"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></next></block></statement><next><block type="controls_if" id="=%NK:JQj4OJHQ_pA0]iP"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="dl24.x@=uk1fUc9Js9}V"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="*B4tK0E5IT~q;eE2$n)c"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="$i2;ZO6J=](~vZKBjohq"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="pBZi{@;lvkk0SP#@tjpZ"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/><next><block type="function_call" id="/Lc-29`?b2lWi^daO!Qg"><mutation name="doRight" functionid="]5jL,Duj$@FDX4t-d!mA"/></block></next></block></statement><next><block type="controls_if" id="g(JUbRuj+xs3S8Wx)zBB"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Q$ZmaZF(E7#|.1:/k3^2"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="$D[?={#t9u}%8*Z=Z#93"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="i=WvWE8@+;p8AS3[~B1L"><field name="NUM">6</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="QWTy)Ahqx)YD}[X(7mN5"><mutation name="doDown" functionid="Fid~xY-|5ijX:Y_-a0rZ"/><next><block type="function_call" id="zy6J,f[`$ps=8$.e-cqh"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/></block></next></block></statement><next><block type="controls_if" id="x!hwB=k)n^i_z%!XN.;4"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Mh#0`CUL1TNO.`ZTxJ=v"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=",F)4C!5|i8;h^s0e.f(@"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="1vy`-1sypL{6F/V(Mhe9"><field name="NUM">8</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="]n:5Cqh^?sH0{@}Qs!-w"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/><next><block type="function_call" id="_d%g?cvKTn.1P4#D59n4"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></statement></block><block type="function_definition" id="@5Qhz-86m(9`=)7ay|Qv" x="6608" y="2711"><mutation name="doLosujRobotiRozbitek" functionid="S37*J7w!H#uZ]~Nx{8Z~"/><field name="function_name">doLosujRobotiRozbitek</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Funkcja losuje pozycję robota oraz miejsce rozbicia sie astronauty, nalewa też paliwa do baku robota
Function rendomize position of robot & astronaut, refuels robot as well</comment><statement name="STACK"><block type="variables_set" id="k8/E$gy?$^4oC,tU*Ex%"><field name="VAR" id="VfejDl3`H3F;pHs1]M(C">x12</field><comment pinned="false" h="80" w="160" relx="10" rely="10">randomize</comment><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="#X}7xy%~8i`G?6a9^;Bm"><value name="min"><shadow type="math_number" id="/B9A|4O$f(1]=ofzoh-P"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="-iOH-OzHH$Z]hf}3dO?G"><field name="NUM">4</field></shadow></value></block></value><next><block type="variables_set" id="P2].PN-}%pD}8FO:qvRM"><field name="VAR" id="bqnK8722!(s,rWt(9%uW">x22</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="tSK#+s}`wi`Lmi#dj(H6"><value name="min"><shadow type="math_number" id="YD}UgcHY}nJSz^7F63Su"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="jMBT-qw=rpqPfgOS[rU9"><field name="NUM">4</field></shadow></value></block></value><next><block type="variables_set" id="VhN#2]GK|D!~nl.Xt;yW"><field name="VAR" id="O9u;9z6fmqXCRSxHiH3D">y12</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="8Flh8@azG%K;9($X;$4A"><value name="min"><shadow type="math_number" id="c(R^-,g]2!dLjry_fifo"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="+MqU*D#vM(ys^20vKm#)"><field name="NUM">4</field></shadow></value></block></value><next><block type="variables_set" id="QQ;%|269tn[,(yc63sxV"><field name="VAR" id="@#i6-x~kFv|||fK3/_lk">y22</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="WDp-R`l(*?rdz4kW]?;:"><value name="min"><shadow type="math_number" id="7~O[2U_](jEaXVNt/pTn"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="vMW]Yi^]HPF6=uGm:AV7"><field name="NUM">4</field></shadow></value></block></value><next><block type="device_while" id="!-*IxtKBz,!)smVkwk)d"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="JST#(MQq2uxn{v/3]X/}"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="u]8r~g:l9$R5,K/k:,;="><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Xo.T|3`GN6N0SuLF]f3r"><field name="VAR" id="VfejDl3`H3F;pHs1]M(C">x12</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="!{QG^maL)9All1!9Rc[p"><field name="VAR" id="bqnK8722!(s,rWt(9%uW">x22</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="s}?nf?^iS*ntql+E-Vix"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="{+x?N:}:R2nh`VT8.LmG"><field name="VAR" id="O9u;9z6fmqXCRSxHiH3D">y12</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="NlllDmBgM8Ei[S5ZJh~K"><field name="VAR" id="@#i6-x~kFv|||fK3/_lk">y22</field></block></value></block></value></block></value><statement name="DO"><block type="controls_if" id=",0z1H+0Rls=W+zABB@6F"><mutation elseif="1"/><comment pinned="false" h="80" w="160" relx="10" rely="10">avoid crashing astronaut in the robot base</comment><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="f,W}A4(B99}{poDe/ejA"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="wpP[mKe}7LQPA|ui(YUi"><field name="VAR" id="VfejDl3`H3F;pHs1]M(C">x12</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="PDOQ.b%H[EILz)$|rFr:"><field name="VAR" id="bqnK8722!(s,rWt(9%uW">x22</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="u.53[/ttLE`[z{U[37p9"><field name="VAR" id="VfejDl3`H3F;pHs1]M(C">x12</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="n,2R}{*OqFh3M(nKwoEZ"><value name="min"><shadow type="math_number" id="xr9?8}}0?FHW4:)S@=x:"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="](Y=F!bJ+e2CQXgL;}}w"><field name="NUM">4</field></shadow></value></block></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="*eXC/y#fk*r)@L%kk`yp"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="!NaFCuxtFo^#Yc3Klc}`"><field name="VAR" id="O9u;9z6fmqXCRSxHiH3D">y12</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="D!=a1p/PS|V{tMNqEau7"><field name="VAR" id="@#i6-x~kFv|||fK3/_lk">y22</field></block></value></block></value><statement name="DO1"><block type="variables_set" id="$t{@p970u(UyYQIu|_D."><field name="VAR" id="O9u;9z6fmqXCRSxHiH3D">y12</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="F=Vd(Y1B(pvM(359k/3_"><value name="min"><shadow type="math_number" id="?/kr@w+cWSklO704:|hh"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="~hUg;aEnl:[O?^XI7,5E"><field name="NUM">4</field></shadow></value></block></value></block></statement></block></statement><next><block type="function_call" id=",~h7QlFB~+-hUc5.%eSG"><mutation name="doStart" functionid="u0NwQ038npVzu9ZotkDB"><arg name="robotx" id="ffecirvfb65klld9labb" type="number"/><arg name="roboty" id="fhk6eg0rfus4sbeloa88" type="number"/><arg name="crashx" id="sbtimw20bfj3wqstdg9kad" type="number"/><arg name="crashy" id="ttlxz8vqvi00qzqtccg9" type="number"/><arg name="fuelmax" id="tovyus7lrclxnt2wobq8u" type="number"/></mutation><comment pinned="false" h="80" w="160" relx="10" rely="10">sets the starting positions</comment><value name="ffecirvfb65klld9labb"><shadow type="math_number" id="3})z_Po_*y)?KpaS%z.Y"><field name="NUM">1</field></shadow><block type="variables_get" id="P%-$_qd!hxaFq98-M]vx"><field name="VAR" id="VfejDl3`H3F;pHs1]M(C">x12</field></block></value><value name="fhk6eg0rfus4sbeloa88"><shadow type="math_number" id="gX-,cz=!y{(Sot+chWir"><field name="NUM">1</field></shadow><block type="variables_get" id="cYJ.^d}ag#:j{qO5h0V6"><field name="VAR" id="O9u;9z6fmqXCRSxHiH3D">y12</field></block></value><value name="sbtimw20bfj3wqstdg9kad"><shadow type="math_number" id="[mn78}`T#F%#Y-{BYqx]"><field name="NUM">1</field></shadow><block type="variables_get" id="GNW/clo5C-2yGDvop%}^"><field name="VAR" id="bqnK8722!(s,rWt(9%uW">x22</field></block></value><value name="ttlxz8vqvi00qzqtccg9"><shadow type="math_number" id="XF@B`l(~gEt|t]wJ+Yv,"><field name="NUM">1</field></shadow><block type="variables_get" id="aQ10jD1%xd7dk1iLT0g!"><field name="VAR" id="@#i6-x~kFv|||fK3/_lk">y22</field></block></value><value name="tovyus7lrclxnt2wobq8u"><shadow type="math_number" id="b@R6u2$CGZ;c6P)4d$36"><field name="NUM">1</field></shadow><block type="variables_get" id="ke3$Bl*ylNel6??~QXwj"><field name="VAR" id="*sD/)CnTRCxvSh4HRtsZ">rozmiarBaku</field></block></value><next><block type="function_call" id="V,IadSl]8wBp[#Jy(lAa"><mutation name="doMaks" functionid="R},lpfRb1?fx{;]bo{qd"/><comment pinned="false" h="80" w="160" relx="10" rely="10">tutaj wstawiamy naszą funkcję sterującą robotem
place here robot steering function</comment><next><block type="controls_if" id="p8Tt8QR$A#2e`k7XHzjn"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="S!0jIj1k,Z,K!X_2Vn9p"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Ik;6w`(us;s|vwGU$LlB"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="T;u0T_*/)/z`D]lXTnjv"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="variables_change" id="]2Nlzm5`nG$FZjr{A`^k"><field name="VAR" id="tNR=_WJ=*5A|`{TKV0_8">porazka</field><comment pinned="false" h="80" w="160" relx="10" rely="10">jesli braklo paliwa / emptu fuel</comment><value name="VALUE"><shadow type="math_number" id="|GjmFxp]oiH}]#/w[PO1"><field name="NUM">1</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="l;SA,D#wPsb.2yF`JsMx"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="*8c1$6Y|H]n9,A(l)s#@"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="d)t]Pb0g*:2I`i,xm1Ua"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="variables_change" id="I`X5^nJt-#,qh*n!Y3CE"><field name="VAR" id="*X6;Qbn/@vNV_!%mRZ!1">sukces</field><comment pinned="false" h="80" w="160" relx="10" rely="10">uratowany! / astronaut found!</comment><value name="VALUE"><shadow type="math_number" id="QlVFCqf`GcP]/SPEzNKy"><field name="NUM">1</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_change" id="ggf%1fU@K@4^@Ib/fWsZ"><field name="VAR" id="tNR=_WJ=*5A|`{TKV0_8">porazka</field><comment pinned="false" h="80" w="160" relx="10" rely="10">jesli braklo paliwa / emptu fuel</comment><value name="VALUE"><shadow type="math_number" id="1*m=I/kaMn?Bf3JdFG~{"><field name="NUM">1</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="5^|H88TnUjr(U$O9w.Vk" x="20" y="5682"><mutation name="doRafal" functionid="#YE/y|CkXA.vA2OF1yUJ"/><field name="function_name">doRafal</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Rafal - losowo ale pojedynczo</comment><statement name="STACK"><block type="controls_repeat_ext" id="n^1EO;k~.(,2gF;-SLX3"><value name="TIMES"><shadow type="math_whole_number" id="e3Gz)cl^sg[M,JV)$/vB"><field name="NUM">100</field></shadow></value><statement name="DO"><block type="variables_set" id="]Y_et]pfWKq~1aH*2}QW"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="MnaJ^Bc;J.2]hICI#3_N"><value name="min"><shadow type="math_number" id="UzYA/Xzoj+~$Hn}plQoN"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="Sv[(Oeux7dvFMN`NgS5S"><field name="NUM">2</field></shadow></value></block></value><next><block type="controls_if" id="jrr_{9AhN!aM(K%9Z)K7"><mutation elseif="3"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="pnti6xWa*/pV!nYgri:f"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="_yZ?]/wu0XUz`HO:ZNzG"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="6q.En!:6F(@vYJnoH@Sw"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="!s]xJ}BRw}Ev5L3J1lpc"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="l#U,.2c)Gb1^Z}Cu`tKR"><field name="NUM">1</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="fD5fX{*xd|9.%sLv3AU#"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="+CDe#*C.8So{pR]pnCnq"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="N?Mye`qPm?op+nmEQWwF"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="2rEu43Z=2QapQS{ks,~k"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id=".?|}0R_S|OlQngU]rJ-l"><field name="NUM">1</field></shadow></value></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="txMz-*E):x5thC4FU7x5"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="FaxYVMlHldW=]3l@8:@+"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="[rv-0WM5=[irmd}f@g+@"><field name="NUM">3</field></shadow></value></block></value><statement name="DO2"><block type="function_call" id="Oon*7X}m#b~YRQqg!A=a"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="AP1Ht-Qiu)+Fp8?CVNu2"><field name="NUM">1</field></shadow></value></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="_=hm+pzquy6x^wp.V9R`"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="q}t-W`Z|y33UCsucD2cY"><field name="VAR" id="*wXfEE3y_U1-oE%^s|}w">kierunek</field></block></value><value name="B"><shadow type="math_number" id="8N|#r869rAugCykCBs+U"><field name="NUM">4</field></shadow></value></block></value><statement name="DO3"><block type="function_call" id="[ic~#.L[`0v|CK}o@wpA"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="S52wQ%.Rah~$~%Hjl/*4"><field name="NUM">1</field></shadow></value></block></statement></block></next></block></statement></block></statement></block><block type="function_definition" id="XtEtM1q-46@TC+LC;`8i" x="649" y="5682"><mutation name="doLeft" functionid="nQ)X[%o@XRN~7bw(GFYi"/><field name="function_name">doLeft</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes 1 step left, checks if astronaut found</comment><statement name="STACK"><block type="controls_if" id="{?FyRw^4_(XkT_SG0oN5"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="?YJFwxpyWZC!2]/=3*AA"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="M0?jQNOJY1!rAl(b}(cC"><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="C*JXP1C=4Bra6xTs83IW"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="bi?t,ueK,_xfvUu_c7,Z"><field name="VAR" id="4Hu?WRWjdl!,xtjGU$3B">oldry</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%v_3m@lU7w}F;4Y*xvGD"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="variables_set" id="9Vj#?5_LCr3l*FRN!QHc"><field name="VAR" id="GlCK}0OpIpRcLdD3H5*-">oldrx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="?8^?FL^!%ix4@Gx^Syl$"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="variables_change" id="T]HY3TDVZ~3En|$Tiz5e"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id="_H}n=9o7|]TmI+.6lamk"><field name="NUM">-1</field></shadow></value><next><block type="controls_if" id="u1h}MT@Y;U|8ae`)lJj9"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="0^K6RMv1G5jaS}U[8y}Y"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="MzF^!]RA4e,-+.qMq?w}"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><value name="B"><shadow type="math_number" id="J:u1zP4tAiBn75#7S8/%"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="NGy9tuV)EK2E/rPlE`Dh"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="Y=J-Rz3c+o=+4.IMHA!i"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="GGk+6(T0n|u.%}NZ9i5k"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id=")6tC9uwI??bga^w?8Ct^"><field name="NUM">0</field></shadow><block type="variables_get" id="gg%$cQ7-@HKL1K4_3Ye;"><field name="VAR" id="y%[[f,l5.e-{ezkh*ujA">krawedzie</field></block></value><value name="B"><shadow type="math_number" id="IzDV=#|geOSpZOZ~k*~6"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="*-zyki#o9hSJ%n?)}8q+"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id=":M-ZpGzJsObwcdI#_f|U"><field name="NUM">4</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="n-muiS:4gsoCCGhvo1+U"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field><value name="VALUE"><shadow type="math_number" id="p1!|euX`#PSW;W)?Y`kb"><field name="NUM">0</field></shadow></value></block></statement></block></statement><next><block type="game_sprite_set_property" id="4sWm1;K_4VLGisla;fsN"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="D-35y=45GjpQ5G}E+dCo"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><block type="variables_get" id=":c3+9p69,3kiJOh0oF=*"><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="function_call" id="V_5X-_u88).(/.}x7wRQ"><mutation name="doCheckSkarb" functionid="w1glN}R=|sDYYq!d~1mE"/></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="(hFx4+eSF#sa~bW3q2Q~" x="1156" y="5682"><mutation name="doMichal" functionid="97`!ddQ6IHI|mxO:SLjO"/><field name="function_name">doMichal</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Michal - szlaczki</comment><statement name="STACK"><block type="controls_repeat_ext" id="6ki(Nc!7mrTa#pW#kkC~"><value name="TIMES"><shadow type="math_whole_number" id="U%;{%;`^nA5XuDT1h)t6"><field name="NUM">100</field></shadow></value><statement name="DO"><block type="function_call" id="CJo|W7)Twgu!O|_-(X-("><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="uVQg?nEEvz.PKg_JuW*H"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="n9iL~knT#8WKF3fqh2{W"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="RC~h27+8r{-e0wwnG0])"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="|PLw4wQyd~h;6$.MYQOV"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="@TWrU[tn5jXcn%-|6qPw"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="t}yoO8q+oS8okhxoYT5E"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="+J[EUeO3;=67/ATN7^@X"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="Fl-_^qkV5xE$y]:WOJHz"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="`CJI-yETf+8*ZPN)vX0k"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="KE/+k.{*@$kd(B/]Vzjb"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id=")d9:!!yJp)hcyFCdgq1b"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="w5_c]_?tmQ8i^?Uv7({7"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="Wy3=XbzCI/rZ6/.uy1c]"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="nZ:tU^J[P^Az(o?v=z}J"><mutation name="doFRight" functionid="57D#^OEoI}:UmgMD6]Md"><arg name="ile" id="19mcmvrg7fr6doe5bx35" type="number"/></mutation><value name="19mcmvrg7fr6doe5bx35"><shadow type="math_number" id="!l}M;`#dMvvJH*)I8T-M"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="}SN1q*Q=v:O*hv,8?8c4"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="^(e*foaM+s7Uks})xNZi"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="QehFQa4rUQ^/Iw0b1jHW"><mutation name="doFUp" functionid=",,NAgtiu9ncfsr.cZZ!j"><arg name="ile" id="becuylm5bwkw3kgtdae1b" type="number"/></mutation><value name="becuylm5bwkw3kgtdae1b"><shadow type="math_number" id="eJEi@cKvbzJT0,BxYlzR"><field name="NUM">2</field></shadow></value><next><block type="function_call" id=",dKfs4$;y11Q:Kc1~:mP"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id=";q:]8}Ja!HM/!!EX!ZtZ"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="WU~ELCBJwaboi?XW][is"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="IzPX;ZPdxs%,UDdKKJ+!"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="=WOZ%LiBz-`R*_1e!7oS"><mutation name="doFDown" functionid="gi9]H6B.?_thw@:mqPl2"><arg name="ile" id="t8m0a1ronhcfwlyl61jep" type="number"/></mutation><value name="t8m0a1ronhcfwlyl61jep"><shadow type="math_number" id="6Z!_dCvW.n4Rync%?fO`"><field name="NUM">2</field></shadow></value><next><block type="function_call" id="[XU+]%!7$i!Y}h3b3#g,"><mutation name="doFLeft" functionid="qc,;R~$OW+jQ%09T?ZIZ"><arg name="ile" id="pmirva4wtido9p8lmwrbk" type="number"/></mutation><value name="pmirva4wtido9p8lmwrbk"><shadow type="math_number" id="]Y[]Y?/mzS}oRW}DcX)r"><field name="NUM">2</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id=":)Pezs@[Qx8Ca2jN_lzU" x="1532" y="5682"><mutation name="doUp" functionid="K:wvR|WDzreIPdsqP3$J"/><field name="function_name">doUp</field><comment pinned="false" h="80" w="160" relx="10" rely="10">Robot goes 1 step up, checks if astronaut found</comment><statement name="STACK"><block type="controls_if" id="`xev$//F~cx/G{M20F7m"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="l-(@|zZ12[2caVf*(V*,"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="B?T}FeUpox=K7LLHz_W="><field name="VAR" id="0TrQD6Rx=|FobS,hOT5~">efekt</field></block></value><value name="B"><shadow type="math_number" id="V~ZSzf*rSW2zNoI:SNyL"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="L9:lvrri@x)M}P$lHih("><field name="VAR" id="4Hu?WRWjdl!,xtjGU$3B">oldry</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="1h!`w{I]/{+LmJ65}mqx"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="variables_set" id="}uBt8LGIs2}|QfmjYjIL"><field name="VAR" id="GlCK}0OpIpRcLdD3H5*-">oldrx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="|iHv9V5bVpM,u9j`S0u."><field name="VAR" id="Nk+LJ?YE?X,Xi}7GBVoc">rx</field></block></value><next><block type="variables_change" id="2)iWQL.yobHdk4p;DBc$"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="Dl?)Pc@?*`ASsUV|/,x!"><field name="NUM">-1</field></shadow></value><next><block type="controls_if" id="O#!Z%$~U@}xRk[ze@?LN"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="zJ_R$Pa}u*Y597e=?R;="><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%rp2pvr60*ghAylEWr!d"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><value name="B"><shadow type="math_number" id="rc|+AKp}[email protected])=Bug"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="A!]eDa3rp6Td8.W;xABj"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="{AGW=Q1D[k)2{Nc/GoU#"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="/W,4QJbzpxm]Tm+oj#Pd"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="Mo@[{oPOvsT`HJO2.~Uh"><field name="NUM">0</field></shadow><block type="variables_get" id="x2bX1Z0DXLQf8LLsmS$2"><field name="VAR" id="y%[[f,l5.e-{ezkh*ujA">krawedzie</field></block></value><value name="B"><shadow type="math_number" id="Q)!RmkV!YL9`/M.i1?by"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="L+Ox)j:xhZ(JT-Y9P[]C"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="2x47FWc?D_U{S[:P[N_F"><field name="NUM">4</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="xbdJ[Z[8eE}$(mYiM/+_"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field><value name="VALUE"><shadow type="math_number" id="{}ST(]?:GHY/F:@feqrw"><field name="NUM">0</field></shadow></value></block></statement></block></statement><next><block type="game_sprite_set_property" id="LNlV,yOm3^r!y9=3?):("><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="%$}=0HZws!l9^ze;_U]4"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><value name="value"><block type="variables_get" id="ZC[{Cb)7{fRsUBj^rfsn"><field name="VAR" id="f[wR;l=C::(}RAH-PFY!">ry</field></block></value><next><block type="function_call" id="BeCbdJj)5y/h:237*B$%"><mutation name="doCheckSkarb" functionid="w1glN}R=|sDYYq!d~1mE"/></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block><block type="device_forever" id="[![~,^dey+hKNFp|2(3b" x="2040" y="5682"><statement name="HANDLER"><block type="controls_repeat_ext" id="[2PN@l_|*At4#(2f.t85"><comment pinned="false" h="80" w="160" relx="10" rely="10">tutaj wstawiasz wywolanie funkcji sprawdzajacej efektywnosc algorytmu</comment><value name="TIMES"><shadow type="math_whole_number" id="Y-]E^7%x1d?q9Mp!h%ar"><field name="NUM">1000</field></shadow></value><statement name="DO"><block type="function_call" id="r5rJj?fnup_BVhFE}uL-"><mutation name="doLosujRobotiRozbitek" functionid="S37*J7w!H#uZ]~Nx{8Z~"/></block></statement><next><block type="game_delete_sprite" id="%*j/OH4UOC_!!|3QV#Wo"><comment pinned="false" h="80" w="160" relx="10" rely="10">remove robot from memory</comment><value name="this"><block type="variables_get" id="9Lj36!I{N)W$U9azE;|-"><field name="VAR" id="M~at63nJ@8v-Y+[OB*kv">robot</field></block></value><next><block type="game_delete_sprite" id="nukXHa3#]j]Rst6Dlh%v"><comment pinned="false" h="80" w="160" relx="10" rely="10">remove astronaut from memory</comment><value name="this"><block type="variables_get" id="nVeDAsDIe+RV[=~U.*J3"><field name="VAR" id="rM=O@AezHR|d],,q;!0m">crashedastronaut</field></block></value><next><block type="device_clear_display" id="?4ZuZKG3hPl.Q|f0aq/a"><next><block type="device_while" id="*F`}_IP,RX}4(S-oq$H("><value name="COND"><shadow type="logic_boolean" id="YJ7Oim|R2b@.]z3fz7IC"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="device_print_message" id="t~tf;`b4HZvC4eF08~[,"><comment pinned="false" h="80" w="160" relx="10" rely="10">present results - pokaz ile razy odnalazł astrunautę i ile razy brakło paliwa
porazka/failure</comment><value name="text"><shadow type="text" id="vq7CSTzMgY%#!g.=^I~{"><field name="TEXT">F:</field></shadow></value><next><block type="device_show_number" id="(AY#ti{Nq?:V;A/-E6}s"><value name="number"><block type="variables_get" id=".JjTSE(4l;SgYFH-^Ev{"><field name="VAR" id="tNR=_WJ=*5A|`{TKV0_8">porazka</field></block></value><next><block type="device_print_message" id="u%N~Tlb~SCbY51hN1W^V"><comment pinned="false" h="80" w="160" relx="10" rely="10">sukces/success</comment><value name="text"><shadow type="text" id="RBf$j$mdVZPl69CdK4d`"><field name="TEXT">S:</field></shadow></value><next><block type="device_show_number" id="=bSs^a]RUj)LrG2WM64}"><value name="number"><block type="variables_get" id="Y6[Isa(DnrrV!Y@fxiU4"><field name="VAR" id="*X6;Qbn/@vNV_!%mRZ!1">sukces</field></block></value><next><block type="device_print_message" id="H?tpo3BE;e;]hybWGF+8"><comment pinned="false" h="80" w="160" relx="10" rely="10">efekt/effect</comment><value name="text"><block type="text_join" id=")@KY*{wnq:RMLg/qskjD"><mutation items="3"/><value name="ADD0"><shadow type="text" id="]V7V]iQ_:Gu4/8s,TlgE"><field name="TEXT">E:</field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT"/></shadow><block type="typescript_expression" id="JI[y8^j8!@o*7#I?~!,L" editable="false"><field name="EXPRESSION">Math.floor(sukces/10).toString()</field></block></value><value name="ADD2"><shadow type="text" id="vZu-p$,Slkq{4]ePqL`_"><field name="TEXT">%</field></shadow></value></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block></xml>