-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 51.5 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id="uVB}_J6_un,iy^dm2RDR">Segment</variable><variable type="KIND_SpriteKind" id=")wN`^ecqdm!Pa{?i#gcQ">Player</variable><variable type="KIND_SpriteKind" id=":].`*RL+^@./4]E!tK][">Projectile</variable><variable type="KIND_SpriteKind" id="/L;x*xV6,Eez1Vu${#3n">Food</variable><variable type="KIND_SpriteKind" id="|g0T9=Lo{Jaj3s[7a%xe">Enemy</variable><variable id="e]?oM_Uo:%DnvljayHZ/">Head</variable><variable id="5X1~=TcfO3U!g^s)D2nB">depth</variable><variable id="Ell6S1kmL1}Joa7p2/}8">newSegment</variable><variable id="rrac=O,9QDc9apE)gP:)">lastSegment</variable><variable id="N9ya%BK=!%Zh*]2?CXEs">mySprite</variable><variable id="3@aFfa/gxChv:F-AyMu]">segmentCount</variable><variable id=",wN7E]kjGGICKY}AnOz)">otherSprite</variable><variable id="6pS4L{o7XPi9f=*t_7kX">left</variable><variable id=",$V$W=D3;D*~BUX0D+KL">right</variable><variable id="b|84vWEAH0:X-~7sG{_V">up</variable><variable id="U6:=`[]l~{|6Mbg+Ud_2">down</variable><variable id="h`C$3}tU%UL.buC]c(:8">stop</variable><variable id="3x1TlTwYG2MVQLsjdKI`">XV</variable><variable id="z*N(Q[{b@+KW;-,8^*?0">YV</variable><variable id="Q^#I1Jj)cE||Z9{#mMwR">HeadImage</variable><variable id="khA#]:mC:p5dMlluPE_W">SegmentImage</variable><variable id="9Ve,CB7[-,oT7R)`}^jK">newDirection</variable><variable id="y*S85dUo.Vhg~sH32JPa">directionsList</variable><variable id="6xhv,1`W/#c-Lx_iW-+}">value</variable><variable id="_m{vbY}E_e+t9fG(cK2b">i</variable><variable id="Hl^DKo1WDg^T3xeb6-Cp">SPEED</variable><variable id="p`}2flF`]Ko5o)MCB.CO">leadingSegment</variable><variable id="9cWnb%,UZ$H?H:_qG;ty">segmentOffset</variable><variable id=")yp5mq.[jit#nKR1^=,}">lastX</variable></variables><block type="pxt-on-start" id="s)Ah4j)iigGt[-AH{@W)" x="-499" y="-778"><statement name="HANDLER"><block type="variables_set" id="Y;^FI.S-;Jh:.*Z86{_Y"><field name="VAR" id="5X1~=TcfO3U!g^s)D2nB">depth</field><value name="VALUE"><shadow type="math_number" id="G$T/7[0hMB,s4E=Gt9T."><field name="NUM">100</field></shadow></value><next><block type="gamesetbackgroundcolor" id=";e^Qan^(6}9Fr;n6sEe7"><value name="color"><shadow type="colorindexpicker" id="ACi,.JNp`q(]1([email protected]"><field name="index">12</field></shadow></value><next><block type="variables_set" id="%Lla%/T8Y5@{OmSzhog6"><field name="VAR" id="Hl^DKo1WDg^T3xeb6-Cp">SPEED</field><value name="VALUE"><shadow type="math_number" id="ZJsMV0tau)z|D]wmm3}+"><field name="NUM">80</field></shadow></value><next><block type="variables_set" id="Mf(RtA+MZ~/]_,5L2zWG"><field name="VAR" id="h`C$3}tU%UL.buC]c(:8">stop</field><value name="VALUE"><shadow type="math_number" id="qa@%OemqHm9lAyHFevlz"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="a(;z3u[:+beHO?Wj*k[/"><field name="VAR" id="b|84vWEAH0:X-~7sG{_V">up</field><value name="VALUE"><shadow type="math_number" id="10G)2Dz(@*]GU0v-NBgU"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="mSofIJx.4yghg5%ge|l6"><field name="VAR" id="U6:=`[]l~{|6Mbg+Ud_2">down</field><value name="VALUE"><shadow type="math_number" id="$HW-CrZ;V]T$LCO?|aDj"><field name="NUM">2</field></shadow></value><next><block type="variables_set" id="gqgpYl6(RKW7a#J^TFlr"><field name="VAR" id="6pS4L{o7XPi9f=*t_7kX">left</field><value name="VALUE"><shadow type="math_number" id="c%k5e*(DMcphck$9YwTU"><field name="NUM">3</field></shadow></value><next><block type="variables_set" id="u|7SxK,7.G(=saQO4G1M"><field name="VAR" id=",$V$W=D3;D*~BUX0D+KL">right</field><value name="VALUE"><shadow type="math_number" id="en1VeDK/1].i=~zhT1oi"><field name="NUM">4</field></shadow></value><next><block type="variables_set" id="Z?My0r!/+sc)~X`fQ)x7"><field name="VAR" id="3x1TlTwYG2MVQLsjdKI`">XV</field><value name="VALUE"><block type="lists_create_with" id="c@|*CDjF6{g^g~RlffSy" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="+y.dqRK+@VYLU|mj;c:5"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="##}ufuC0e{|}M`w(S=pm"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="xgmdV0TL;J1p_]+Qd}/#"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number"><field name="NUM">-100</field></shadow><block type="math_arithmetic" id="(I]Ukv1d@^J4Jlu?SglA"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="yW9Ny9$tUCtD$7C8/s1R"><field name="NUM">0</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="`$dDh(Empdxb-Ac1$js4"><field name="VAR" id="Hl^DKo1WDg^T3xeb6-Cp">SPEED</field></block></value></block></value><value name="ADD4"><shadow type="math_number"><field name="NUM">100</field></shadow><block type="variables_get" id="RCll5#dG2yB~sjLYdaOL"><field name="VAR" id="Hl^DKo1WDg^T3xeb6-Cp">SPEED</field></block></value></block></value><next><block type="variables_set" id="@}G:!uUS|~91pM~]LJ4P"><field name="VAR" id="z*N(Q[{b@+KW;-,8^*?0">YV</field><value name="VALUE"><block type="lists_create_with" id="b:6T.ZF8VO)`Y]oV~Al5" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="vfvP2TQpe)C4.,K+#pL#"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number"><field name="NUM">-100</field></shadow><block type="math_arithmetic" id="Xyy,PuRL-QMUIp?%x=GB"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="{`wq=94/qXt01pu13e?]"><field name="NUM">0</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="-Y/M%*,GZr,~ELHX`^cr"><field name="VAR" id="Hl^DKo1WDg^T3xeb6-Cp">SPEED</field></block></value></block></value><value name="ADD2"><shadow type="math_number"><field name="NUM">100</field></shadow><block type="variables_get" id="jIh1;Ch2OON?p,p4JPK#"><field name="VAR" id="Hl^DKo1WDg^T3xeb6-Cp">SPEED</field></block></value><value name="ADD3"><shadow type="math_number" id="gS1x%1Gx|T1_9yNTNBgz"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id="tQ+U2:]m0nU^n!Kc*V=j"><field name="NUM">0</field></shadow></value></block></value><next><block type="variables_set" id="tJnx(!c[40{3c7O8qhgv"><field name="VAR" id="Q^#I1Jj)cE||Z9{#mMwR">HeadImage</field><value name="VALUE"><block type="lists_create_with" id="@8hP~z9^n3LwV$4!B{uI" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="screen_image_picker" id="Kui:x98@)4y7k0j7,]{a"><field name="img">assets.image`Head4`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image11"}}</data></block></value><value name="ADD1"><shadow type="math_number" disabled="true"><field name="NUM">-100</field></shadow><block type="screen_image_picker" id="G)aK`lxHo9MncI^ot_rX"><field name="img">assets.image`Head4`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image11"}}</data></block></value><value name="ADD2"><shadow type="math_number" disabled="true"><field name="NUM">100</field></shadow><block type="screen_image_picker" id="%G`BkY=in@`ME?|W$JS*"><field name="img">assets.image`Head8`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image17"}}</data></block></value><value name="ADD3"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="screen_image_picker" id="gHtxopwp?49m0,YkTV^="><field name="img">assets.image`Head6`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image15"}}</data></block></value><value name="ADD4"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="screen_image_picker" id="ku_!4/d^n4okY}ntYOe4"><field name="img">assets.image`Head7`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image16"}}</data></block></value></block></value><next><block type="variables_set" id="|CaO}).qvZt+:*sH0^6S"><field name="VAR" id="khA#]:mC:p5dMlluPE_W">SegmentImage</field><value name="VALUE"><block type="lists_create_with" id="LU`T**0%$2z3DRyC*]gY" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="screen_image_picker" id="O5^VCahaVvS/BNbE_#)^"><field name="img">assets.image`segmentB0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image13"}}</data></block></value><value name="ADD1"><shadow type="math_number" disabled="true"><field name="NUM">-100</field></shadow><block type="screen_image_picker" id="+aO6TWGf|@:hIG7Jx?a%"><field name="img">assets.image`segmentB0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image13"}}</data></block></value><value name="ADD2"><shadow type="math_number" disabled="true"><field name="NUM">100</field></shadow><block type="screen_image_picker" id="m]jN2~qEGS##mLwRc;4@"><field name="img">assets.image`segmentB0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image13"}}</data></block></value><value name="ADD3"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="screen_image_picker" id="[k1aqlfSRAlF0V!MVVLr"><field name="img">assets.image`segmentB1`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image14"}}</data></block></value><value name="ADD4"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="screen_image_picker" id="X^$7{w%hU.:r$BzX6KFE"><field name="img">assets.image`segmentB1`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image14"}}</data></block></value></block></value><next><block type="variables_set" id="Nn8qhIz.?zDX?:i`Q]1,"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Q!rA(DqXq_zFQChhMzk7"><field name="VAR" id="h`C$3}tU%UL.buC]c(:8">stop</field></block></value><next><block type="variables_set" id="YFv.=gtEk.9y9#-w%Okm"><field name="VAR" id="y*S85dUo.Vhg~sH32JPa">directionsList</field><value name="VALUE"><block type="lists_create_with" id="}`w8}k)-IXNNcV$S_B%?"><mutation items="1" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Uw#u;@uG-,g/*{x-:*mW"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field></block></value></block></value><next><block type="variables_set" id="HvTmjX*a{(mO.~w$WNQ}"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="uEC[^@72^sNDq5Y3[Wv+"><value name="img"><shadow type="screen_image_picker"><field name="img">assets.image`Head0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image6"}}</data></shadow><block type="lists_index_get" id="H5;(:F:hzJ{Dk-/OfSG!"><value name="LIST"><block type="variables_get" id="=g?9G9l2T{]_qw4B%Pn1"><field name="VAR" id="Q^#I1Jj)cE||Z9{#mMwR">HeadImage</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id="}JG1tkp}O7$)fx5T,.@+"><field name="VAR" id="h`C$3}tU%UL.buC]c(:8">stop</field></block></value></block></value><value name="kind"><shadow type="spritekind" id="H/CYfW{G^^.Z7K?`CAet"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="spritesetpos" id="qZyWHE5L9ieB~rgoZY3e"><value name="sprite"><block type="variables_get" id="$t2p;GqiA|,@MKHc;^x9"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><value name="x"><shadow type="positionPicker" id="o^b:1K:2h.APKVjt7rj%"><field name="index">80</field></shadow></value><value name="y"><shadow type="positionPicker" id="]bTZO{?k}wd@JECX4NA1"><field name="index">61</field></shadow></value><next><block type="Sprite_blockCombine_set" id="90ubo*takVryQgp`f:;s"><field name="property">Sprite.z</field><value name="mySprite"><block type="variables_get" id="Y[!7X0k|NnYV!ZVpR5j|"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><value name="value"><block type="variables_get" id="%IO9@sza1OiJ@a0)(x}w"><field name="VAR" id="5X1~=TcfO3U!g^s)D2nB">depth</field></block></value><next><block type="spritesetsetflag" id="nBrWflLO*Xg|y1w8qD0J"><field name="flag">SpriteFlag.AutoDestroy</field><value name="sprite"><block type="variables_get" id="y*=IIat4AVJhz|Vp,D#Z"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><value name="on"><shadow type="toggleOnOff" id="OpP2YL}HFvY_3o{]+^2u"><field name="on">true</field></shadow></value><next><block type="variables_set" id="3/jP]q091}ajl69{f-n5"><field name="VAR" id="rrac=O,9QDc9apE)gP:)">lastSegment</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="U:y[Gsr]ntz)wDuvhh?6"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><next><block type="controls_repeat_ext" id="8SA6^F#2+8RGjZ(c*SZ4"><value name="TIMES"><shadow type="math_whole_number" id="qHvrGfZ@1YB;.gk7_Vx("><field name="NUM">5</field></shadow></value><statement name="DO"><block type="function_call" id="dF,[|V:)%2Q?l^vFvt;y"><mutation name="addFood" functionid="2KC9U4bhbAv(Tr0aIPpZ"></mutation></block></statement><next><block type="variables_set" id="oO1OMYn}`z_ucKCg8D]G"><field name="VAR" id="9cWnb%,UZ$H?H:_qG;ty">segmentOffset</field><value name="VALUE"><shadow type="math_number" id="K9d%A1bLcTI;aSJso@1/"><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></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="spritesoverlap" id="T6oy*4mPhVu)LW#0tP)Z" x="0" y="-780"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="~Zg;IFGdKvEUPUF@`/$O"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="|4_J8Fe~mszNa^|,6qTD"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="b(ZL(9vYybxqeR;saYE/"><mutation typename="Sprite"></mutation><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="]*%}[8k*T%mB=iHqDq_U"><field name="MEMBER">Segment</field></shadow></value><statement name="HANDLER"><block type="gameOver2" id="%-nY{eMIO$+!6FLL[=H%"><value name="win"><shadow type="toggleWinLose" id="Zp7u75%w6ak~].h+P3(T"><field name="win">false</field></shadow></value></block></statement></block><block type="function_definition" id="42,sSEETwgk6PGf5_t=O" x="1020" y="-800"><mutation name="addSegment" functionid="2%wDm%4bj;]J[C,lVYA+"></mutation><field name="function_name">addSegment</field><statement name="STACK"><block type="hudChangeScoreBy" id="^KOw{lO(1UT@Cj4MsK@Z"><value name="value"><shadow type="math_number" id="Z{de2nkwY$s*X+=_3gL)"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="5?]s~re]Nc2aivAh3bEZ"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="To@1K]p5tl%+R/EXA;E="><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="hudScore" id="jb{nCY3:mvbg}jiLMBJQ"></block></value><value name="B"><shadow type="math_number" id="/0/M?P[9V+@?D:N:G3$("><field name="NUM">18</field></shadow></value></block></value><statement name="DO0"><block type="variables_change" id="yfB?`3Y_Z(A-2F3`t_},"><field name="VAR" id="5X1~=TcfO3U!g^s)D2nB">depth</field><value name="VALUE"><shadow type="math_number" id="+,t_LNa3i@K]|UT`RnJK"><field name="NUM">-1</field></shadow></value><next><block type="variables_set" id="Opl2.ZBL_a$|9wG,-Toy"><field name="VAR" id="Ell6S1kmL1}Joa7p2/}8">newSegment</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="7a%~F@1Q*O]Z0aw]9]Im"><value name="img"><shadow type="screen_image_picker" id="x5(P8)kIn@NhRHvAm}P)"><field name="img">assets.image`segmentB0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image13"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="ktr=LU{{dzf(f.*r+Exx"><field name="MEMBER">Segment</field></shadow></value></block></value><next><block type="controls_if" id="xp/]7rN1^ml@91GfOPFa"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="qLNm,D0Gmi6~fX~?o(}w"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="hudScore" id="Ny/bc/(yS6B5A,ICE)-}"></block></value><value name="B"><shadow type="math_number" id="?#_x+FkNM*B8.m^cBcmD"><field name="NUM">3</field></shadow></value></block></value><statement name="DO0"><block type="spritesetsetflag" id="+v!*t.$zTjpYyx%{~Yd9"><field name="flag">SpriteFlag.Ghost</field><value name="sprite"><block type="variables_get" id="Rx3VYGq+#?%$%io6,r=1"><field name="VAR" id="Ell6S1kmL1}Joa7p2/}8">newSegment</field></block></value><value name="on"><shadow type="toggleOnOff" id="LdbHXOJ(PRe[skzC:XQ}"><field name="on">true</field></shadow></value></block></statement><next><block type="spritesetpos" id="Tdy2ChhbDJ!?=M}Cp)=,"><value name="sprite"><block type="variables_get" id="9`h4ek0KUhueEk5nl-or"><field name="VAR" id="Ell6S1kmL1}Joa7p2/}8">newSegment</field></block></value><value name="x"><shadow type="positionPicker"><field name="index">0</field></shadow><block type="Sprite_blockCombine_get" id="ACI2;(v.SRJwCeDNg(Hc"><field name="property">Sprite.x</field><value name="mySprite"><block type="variables_get" id="3q9I+n.vPy#@avXg~KaW"><field name="VAR" id="rrac=O,9QDc9apE)gP:)">lastSegment</field></block></value></block></value><value name="y"><shadow type="positionPicker"><field name="index">60</field></shadow><block type="Sprite_blockCombine_get" id="1g:;CnF%Jfy{/8AAoQHg"><field name="property">Sprite.y</field><value name="mySprite"><block type="variables_get" id="{$8Y?W}8+9@tR}a~uztd"><field name="VAR" id="rrac=O,9QDc9apE)gP:)">lastSegment</field></block></value></block></value><next><block type="Sprite_blockCombine_set" id="am!AA$G.gcl)Yqr,8v*i"><field name="property">Sprite.z</field><value name="mySprite"><block type="variables_get" id="~4p*NK;D,l`+xfC,IAdF"><field name="VAR" id="Ell6S1kmL1}Joa7p2/}8">newSegment</field></block></value><value name="value"><block type="variables_get" id="NBipcSpnBnu7h;PS0]u5"><field name="VAR" id="5X1~=TcfO3U!g^s)D2nB">depth</field></block></value><next><block type="variables_set" id="cWV3KzgM8R*7,J*R:/rl"><field name="VAR" id="rrac=O,9QDc9apE)gP:)">lastSegment</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="L~Pk)INs/(_9f(t8U.v3"><field name="VAR" id="Ell6S1kmL1}Joa7p2/}8">newSegment</field></block></value><next><block type="array_push" id="oX!eyVQFD2PBSaSKQ(U4"><value name="list"><block type="variables_get" id="Bsd*UMUY6(WN$+I2lCrP"><field name="VAR" id="y*S85dUo.Vhg~sH32JPa">directionsList</field></block></value><value name="value"><block type="variables_get" id="w1]UsXpA$)w/]RZ2O%?^"><field name="VAR" id="h`C$3}tU%UL.buC]c(:8">stop</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block><block type="spritesondestroyed" id="?(iJM-5`_Y9YQ1JlYHMj" x="0" y="-620"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="rvh3d=~vb%[email protected]"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="`+/$^mIoDM96B!q+8d}9"><field name="MEMBER">Player</field></shadow></value><statement name="HANDLER"><block type="gameOver2" id="?chGaDl2QKP!o^y5)KEb"><value name="win"><shadow type="toggleWinLose" id="giU#d*Wq:+jE}tC:OmOW"><field name="win">false</field></shadow></value></block></statement></block><block type="function_definition" id="aw{^ZJ_e5p0UH:(xHqML" collapsed="true" x="1020" y="-600"><mutation name="addFood" functionid="2KC9U4bhbAv(Tr0aIPpZ"></mutation><field name="function_name">addFood</field><statement name="STACK"><block type="controls_if" id="^iocs2dx_}.wAnNFYU5K"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="UGSv^nZ$S,jBFFf#W|rg"><field name="OP">AND</field><value name="A"><block type="percentchance" id="el+4Q2s7peRtSQ#CIPGA"><value name="percentage"><shadow type="math_number_minmax" id="q=z-fJ;EW8_KP_-37ung"><mutation min="0" max="Infinity" label="Percentage" precision="0"></mutation><field name="SLIDER">15</field></shadow></value></block></value><value name="B"><block type="logic_compare" id=";R|Yl3aL3~1Q[As(ex,c"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="hudScore" id="p1;Jo!#:jc]HBgaJ%pT3"></block></value><value name="B"><shadow type="math_number" id="_~rX0A9U1HSHS0ldv26b"><field name="NUM">0</field></shadow></value></block></value></block></value><statement name="DO0"><block type="variables_set" id="yr0:`jaPU|BUVG_Z@}bs"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id=";!8%dfa~kVzQh;?NGH:D"><value name="img"><shadow type="screen_image_picker" id="qB%XJ2e]Vl981bx/W4uD"><field name="img">assets.image`poison`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image1"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="a269/=YQ}AY-kQ.P-/fs"><field name="MEMBER">Enemy</field></shadow></value></block></value><next><block type="function_call" id="tyNxl6c~I,OGl1Jlhx|6"><mutation name="randomizeFood" functionid="}YEW1xnBA!]elncgHrGn"><arg name="mySprite" id="0.{Bb,J-vG,4Q5[A7f8y" type="Sprite"></arg></mutation><value name="0.{Bb,J-vG,4Q5[A7f8y"><shadow type="variables_get" id="JUf%J%.vm6bZ]Xnq1K8D"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field></shadow></value><next><block type="controls_if" id="$U2lXdpx/)9PG*6#6kI`"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="spriteoverlapswith" id="dd4k4cI3$=ZfDa!Kw1b%"><value name="sprite"><block type="variables_get" id="NLikmKFLtBz/4KBcb3T/"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field></block></value><value name="other"><block type="variables_get" id="~Ek#IxEH7[hdD!lOoHWA"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value></block></value><statement name="DO0"><block type="spritedestroy2" id="6kv=Q5oY)hd#^FPzDb/`"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><field name="effect">effects.spray</field><value name="sprite"><block type="variables_get" id="K7o;4.Z(5pGqroCMkZWb"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field></block></value><value name="duration"><shadow type="timePicker" id="sqBDg+$!Vg($`)fzJ3-v"><field name="ms">500</field></shadow></value></block></statement><next><block type="function_call" id="K9{A=6WD}0!1^*:l]wHX"><mutation name="addFood" functionid="2KC9U4bhbAv(Tr0aIPpZ"></mutation></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="QrID!QXlZ0(e(WuW}T-T"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="kglN4^)zV1o#`rsGq0uQ"><value name="img"><shadow type="screen_image_picker" id="qnWkF^Z~uFecHQY.;]Du"><field name="img">assets.image`food`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image2"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="zE?o]w`QxK-pM9R|s+4/"><field name="MEMBER">Food</field></shadow></value></block></value><next><block type="function_call" id="!tM(Jop4G(r}.hwIAmZ;"><mutation name="randomizeFood" functionid="}YEW1xnBA!]elncgHrGn"><arg name="mySprite" id="0.{Bb,J-vG,4Q5[A7f8y" type="Sprite"></arg></mutation><value name="0.{Bb,J-vG,4Q5[A7f8y"><shadow type="variables_get" id="wULh?G(M,HaF+rs~4]^o"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field></shadow></value></block></next></block></statement></block></statement></block><block type="spritesoverlap" id="+y*#udnZ:~`rv?r:N:]$" x="0" y="-440"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="IR|iqK7OqA=z`3]E^?Rk"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="an3rbND@2GOddUm(kO/J"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="Nv?jsRyBRd_N?L*j*|S-"><mutation typename="Sprite"></mutation><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="F}cZD[#.BP`|7*a[2^0`"><field name="MEMBER">Food</field></shadow></value><statement name="HANDLER"><block type="spritedestroy2" id="L4EF7^kmJqX2y6su5_h6"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="effect">effects.disintegrate</field><value name="sprite"><block type="argument_reporter_custom" id="vLyzRNxACgpzv)ucQ@w5"><mutation typename="Sprite"></mutation><field name="VALUE">otherSprite</field></block></value><value name="duration"><shadow type="timePicker" id="gUxqjQfwdx!7~UsuSTAD"><field name="ms">100</field></shadow></value><next><block type="function_call" id="NvG6?BrQL20uWmHvx1X]"><mutation name="addSegment" functionid="2%wDm%4bj;]J[C,lVYA+"></mutation><next><block type="function_call" id="Isr%S1c$|F_4y+itvjDm"><mutation name="addFood" functionid="2KC9U4bhbAv(Tr0aIPpZ"></mutation><next><block type="function_call" id="$_YTE$8d]?{YJV565;YO"><mutation name="killPoison" functionid="8HZ#pk~)QipnaRdo46UY"></mutation></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="Bodia}:;E6(CXu77gr]^" collapsed="true" x="1020" y="-420"><mutation name="killPoison" functionid="8HZ#pk~)QipnaRdo46UY"></mutation><field name="function_name">killPoison</field><statement name="STACK"><block type="controls_if" id="wMsLRkOyNn*Lm[HRt~AH"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="j8s3s$o@pky|`/qVLf1("><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_modulo" id="))rk+2e`Muj/juOVKYes"><value name="DIVIDEND"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="hudScore" id="nY|NuEFta^gh8.R%7w^t"></block></value><value name="DIVISOR"><shadow type="math_number" id="y-Ju7J^b]Hb}Ogf}Sm(8"><field name="NUM">10</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="6(9|eFc?#{mspk1c)/cH"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="sprites_destroy_all_sprites_of_kind" id="t)7|^$xaKmh?n,!3BQ4#"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="effect">effects.disintegrate</field><value name="kind"><shadow type="spritekind" id="|aN)dt}2]Vh?AlvZ/FJ("><field name="MEMBER">Enemy</field></shadow></value><value name="duration"><shadow type="timePicker" id="x5+.RqMtoz|7re,WKY~N"><field name="ms">500</field></shadow></value></block></statement></block></statement></block><block type="function_definition" id="@;-qa:86B;a!Yc@uO|FE" collapsed="true" x="1040" y="-240"><mutation name="randomizeFood" functionid="}YEW1xnBA!]elncgHrGn"><arg name="mySprite" id="0.{Bb,J-vG,4Q5[A7f8y" type="Sprite"></arg></mutation><field name="function_name">randomizeFood</field><statement name="STACK"><block type="spritesetpos" id="l$#0`?%QtQ/6],j_YfhM"><value name="sprite"><block type="variables_get" id="e!ytX6pt$;pcOt)LsWKT"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field></block></value><value name="x"><shadow type="positionPicker"><field name="index">0</field></shadow><block type="device_random" id=";{P!tv/hMMFJN][#BH!/"><value name="min"><shadow type="math_number" id="?/rV4:DC2`CvYG,3dLpW"><field name="NUM">5</field></shadow></value><value name="limit"><shadow type="math_number" id="b)-ZPa3?DliRg0ANXdG^"><field name="NUM">155</field></shadow></value></block></value><value name="y"><shadow type="positionPicker"><field name="index">0</field></shadow><block type="device_random" id="0|Vpb.?_~A9mV9Qu97=,"><value name="min"><shadow type="math_number" id="TQl8^Y|qiuAD6~Vim}*q"><field name="NUM">5</field></shadow></value><value name="limit"><shadow type="math_number" id="Ai`Gd@s-YF7/`LL]is~b"><field name="NUM">115</field></shadow></value></block></value></block></statement></block><block type="spritesoverlap" id="(;$HN#4-uN?lMRh/phk%" x="0" y="-140"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="A-P-ESJiM=7z[j}}ao),"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="0$}D$u=:|c?eXw155`wc"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="E#7c-jyD9Qj(?@03:F,T"><mutation typename="Sprite"></mutation><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="@48,4ym1LsV65hZW#d=+"><field name="MEMBER">Enemy</field></shadow></value><statement name="HANDLER"><block type="gameOver2" id="uun]9=j=$LE{rUK35P;u"><value name="win"><shadow type="toggleWinLose" id="MjAvQ#B=xKHztLtF*QET"><field name="win">false</field></shadow></value></block></statement></block><block type="function_definition" id="O!HhG*T0xx()~57XrpF+" collapsed="true" x="1040" y="-60"><mutation name="setHeadDirection" functionid="}S;nEakXOw1t#n%iPqIU"><arg name="direction" id="=nDK)8]HG^QPiU*[~$?v" type="number"></arg></mutation><field name="function_name">setHeadDirection</field><statement name="STACK"><block type="spritesetvel" id="XK*oLL8E7$]Nt*f[=%5d"><value name="sprite"><block type="variables_get" id="G@4YD9Q;Y:O~.cCc/b8a"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><value name="vx"><shadow type="spriteSpeedPicker"><field name="speed">0</field></shadow><block type="lists_index_get" id="Mxsw%b3g+qw_dfHJY]t="><value name="LIST"><block type="variables_get" id="/|1z3rB:J!XBrK[H{2K:"><field name="VAR" id="3x1TlTwYG2MVQLsjdKI`">XV</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="2#_e=mMr8f8lsOTf-eO6"><field name="VALUE">direction</field></block></value></block></value><value name="vy"><shadow type="spriteSpeedPicker"><field name="speed">-100</field></shadow><block type="lists_index_get" id="9k8+f;{zoQzrCQv441@u"><value name="LIST"><block type="variables_get" id="L]]Dp+7]dpiRO1+%ozNw"><field name="VAR" id="z*N(Q[{b@+KW;-,8^*?0">YV</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="md(~s}]1n}JCB2V+)f9A"><field name="VALUE">direction</field></block></value></block></value><next><block type="spritesetimage" id="s_gXr2pCMq|B[e2{SPEo"><value name="sprite"><block type="variables_get" id="lkw_lUXO9;IWfi?8xN7d"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><value name="img"><shadow type="screen_image_picker"><field name="img">assets.image`Head0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image6"}}</data></shadow><block type="lists_index_get" id="r$}i6-sM}]OzJhJZnn!r"><value name="LIST"><block type="variables_get" id="q}cq@P~hR:a,b)xI!A^b"><field name="VAR" id="Q^#I1Jj)cE||Z9{#mMwR">HeadImage</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="c/{U*|TjE`BvEi^Ab{R3"><field name="VALUE">direction</field></block></value></block></value></block></next></block></statement></block><block type="gameinterval" id="V6j3eu.LrvO*MrSTbzF+" x="0" y="0"><value name="period"><shadow type="timePicker" id="-gSR[V42zHG6n[`Nieoq"><field name="ms">100</field></shadow></value><statement name="HANDLER"><block type="array_unshift_statement" id="%[ydf?8MXsA?]Y:JxF8-"><value name="list"><block type="variables_get" id="BON(KiCoCb%=J?LE4pgv"><field name="VAR" id="y*S85dUo.Vhg~sH32JPa">directionsList</field></block></value><value name="value"><block type="variables_get" id="OT$j~d_yF@2O`mO;+~dm"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field></block></value><next><block type="array_pop_statement" id=",eQf)3vg=iZhk[}(^K~1"><value name="list"><block type="variables_get" id="ixQ27:^M:]b/As7:v%B-"><field name="VAR" id="y*S85dUo.Vhg~sH32JPa">directionsList</field></block></value><next><block type="function_call" id="sTpI63LiDQSTL-tA+RiH"><mutation name="setHeadDirection" functionid="}S;nEakXOw1t#n%iPqIU"><arg name="direction" id="=nDK)8]HG^QPiU*[~$?v" type="number"></arg></mutation><value name="=nDK)8]HG^QPiU*[~$?v"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id=";H/Ii{o*^h@Qf%?T6vSw"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field></block></value><next><block type="variables_set" id="{`Wo(/dZtV/y`TG^()Di"><field name="VAR" id="_m{vbY}E_e+t9fG(cK2b">i</field><value name="VALUE"><shadow type="math_number" id="5vB3v(rt.(Cd5MV{blz9"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="M**]WD5Fxc|J02_h5h97"><field name="VAR" id="p`}2flF`]Ko5o)MCB.CO">leadingSegment</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="}(MIB_M?+SSf#?lCfxRp"><field name="VAR" id="e]?oM_Uo:%DnvljayHZ/">Head</field></block></value><next><block type="pxt_controls_for_of" id="+I:Y:QH$dJ_w55!cH@Rt"><value name="VAR"><shadow type="variables_get_reporter" id=":sm+S!{g,m#DHW4])Zd:"><field name="VAR" id="6xhv,1`W/#c-Lx_iW-+}">value</field></shadow></value><value name="LIST"><shadow type="variables_get"><field name="VAR" id="2^Nn~eg[[G/7~kBBHf;w">list</field></shadow><block type="allOfKind" id="u0P`Qp)I6R?=,cbEmDu!"><value name="kind"><shadow type="spritekind" id="(0}3eB~XYWaBLyaiI{[r"><field name="MEMBER">Segment</field></shadow></value></block></value><statement name="DO"><block type="function_call" id="|+yF[c?L`TI88H}bJ8=?"><mutation name="setSegmentDirection" functionid="yV.Ri%]s*PLx}OK2x8@r"><arg name="direction" id="Y)%NS(3I||=I42zEEe6!" type="number"></arg><arg name="segment" id="L=a16{uS#QW7|zQbWLOx" type="Sprite"></arg><arg name="leader" id="I,;cZvv}/`0kL4u4,kLR" type="Sprite"></arg></mutation><value name="Y)%NS(3I||=I42zEEe6!"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="lists_index_get" id="#dgjUcDhp*JJyN.d1qH,"><value name="LIST"><block type="variables_get" id="]_?T$/4n!P|Q9o2sZ`FC"><field name="VAR" id="y*S85dUo.Vhg~sH32JPa">directionsList</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="=)G+5`zy^wJ`8pbXPusp"><field name="VAR" id="_m{vbY}E_e+t9fG(cK2b">i</field></block></value></block></value><value name="L=a16{uS#QW7|zQbWLOx"><shadow type="variables_get"><field name="VAR" id="N9ya%BK=!%Zh*]2?CXEs">mySprite</field></shadow><block type="variables_get" id="qn.m;qzJcgcw]8ZRL@1G"><field name="VAR" id="6xhv,1`W/#c-Lx_iW-+}">value</field></block></value><value name="I,;cZvv}/`0kL4u4,kLR"><shadow type="variables_get" id="DV$tbDnOm$^1#K,:(S{("><field name="VAR" id="p`}2flF`]Ko5o)MCB.CO">leadingSegment</field></shadow></value><next><block type="variables_change" id="lk`XBa.t;!V1N5YNASKU"><field name="VAR" id="_m{vbY}E_e+t9fG(cK2b">i</field><value name="VALUE"><shadow type="math_number" id="pkwL6L}O`VpT$vtdxm?R"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="bH;jrEHV;mzB:,[vhe$7"><field name="VAR" id="p`}2flF`]Ko5o)MCB.CO">leadingSegment</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="P8$wOW?7jl(kF{d$6PyA"><field name="VAR" id="6xhv,1`W/#c-Lx_iW-+}">value</field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="~mYtX_!,e8?#i1hI-Nf7" collapsed="true" x="1040" y="120"><mutation name="setSegmentDirection" functionid="yV.Ri%]s*PLx}OK2x8@r"><arg name="direction" id="Y)%NS(3I||=I42zEEe6!" type="number"></arg><arg name="segment" id="L=a16{uS#QW7|zQbWLOx" type="Sprite"></arg><arg name="leader" id="I,;cZvv}/`0kL4u4,kLR" type="Sprite"></arg></mutation><field name="function_name">setSegmentDirection</field><statement name="STACK"><block type="spritesetvel" id="AQhoN0[z}2|;JG/dI-Vs"><value name="sprite"><block type="argument_reporter_custom" id="qy+)OJbYe%sWjAS`Uu5!"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="vx"><shadow type="spriteSpeedPicker"><field name="speed">0</field></shadow><block type="lists_index_get" id="g8hhE4!cES93UXgV^LqI"><value name="LIST"><block type="variables_get" id="z+L56VM9NjdhkZi#c*]6"><field name="VAR" id="3x1TlTwYG2MVQLsjdKI`">XV</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="FN$J(hqEZ-Yp2wr6WLkC"><field name="VALUE">direction</field></block></value></block></value><value name="vy"><shadow type="spriteSpeedPicker"><field name="speed">-100</field></shadow><block type="lists_index_get" id="-j[.p$[(dRte}[email protected]"><value name="LIST"><block type="variables_get" id="3mjymvRZ6gb[X5HB8CAL"><field name="VAR" id="z*N(Q[{b@+KW;-,8^*?0">YV</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="OFgG6+b;O?e,quavatmq"><field name="VALUE">direction</field></block></value></block></value><next><block type="spritesetimage" id="Bba?x)BhSI$z6;Wr*,cW"><value name="sprite"><block type="argument_reporter_custom" id="gqa%n$9I]|1xiilI4Ngb"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="img"><shadow type="screen_image_picker"><field name="img">assets.image`Head0`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image6"}}</data></shadow><block type="lists_index_get" id="^pz1tkg64l1q0iZD=T6U"><value name="LIST"><block type="variables_get" id="1CldfiEDI,3:,XG;[Yth"><field name="VAR" id="khA#]:mC:p5dMlluPE_W">SegmentImage</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="=zNxWlWf|:N}_X.=j?zZ"><field name="VALUE">direction</field></block></value></block></value><next><block type="controls_if" id="|CZ?OLtp{@J_nJ8xk8Vk"><mutation elseif="3" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="q[Qgk,w`~m,7WEnSwe8X"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="XE[XM(H{T7-n(ib$!ICN"><field name="VALUE">direction</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="v9,uTJa/l|.LrU=AOZD}"><field name="VAR" id="b|84vWEAH0:X-~7sG{_V">up</field></block></value></block></value><statement name="DO0"><block type="Sprite_blockCombine_set" id="!Lg)]S#tux7kRbZMkcxX"><field name="property">Sprite.x@set</field><value name="mySprite"><block type="argument_reporter_custom" id="wD4*o%sPlQwjnh%~Kc6F"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="th3*YQ8Jn*)o0]G_p8Z^"><field name="property">Sprite.x</field><value name="mySprite"><block type="argument_reporter_custom" id="#O!Ne5SONq#j1Xa;gzNf"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><next><block type="Sprite_blockCombine_set" id="^mW/NmAOc;+[5Eh)W8w:"><field name="property">Sprite.top@set</field><value name="mySprite"><block type="argument_reporter_custom" id="4(){v$vKfmoEY(si61gN"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="|4]Kr(Ksb$Yl:!MuaQvJ"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="S-9saQczvR?|O{K}%q5V"><field name="property">Sprite.bottom</field><value name="mySprite"><block type="argument_reporter_custom" id="j1lp6Fv)_Sv8[!@EBaNI"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=":~eRo~qH_hmV_g_-2eCB"><field name="VAR" id="9cWnb%,UZ$H?H:_qG;ty">segmentOffset</field></block></value></block></value></block></next></block></statement><value name="IF1"><block type="logic_compare" id="_njq?O9YLXXnKmDH(jC;"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="^8;Kb~4~*]q@a,I5vA{)"><field name="VALUE">direction</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="N}]YP985PL`ex_XwSacl"><field name="VAR" id="U6:=`[]l~{|6Mbg+Ud_2">down</field></block></value></block></value><statement name="DO1"><block type="Sprite_blockCombine_set" id="1`Vs,UTdBq5~N?r^;%6?"><field name="property">Sprite.x@set</field><value name="mySprite"><block type="argument_reporter_custom" id="`X~i;?0LU$=DYJu2?uFq"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="=Yds^OeL_DYq9^!P_:Be"><field name="property">Sprite.x</field><value name="mySprite"><block type="argument_reporter_custom" id="~}yQJRm9cFRQk2a5}$ka"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><next><block type="Sprite_blockCombine_set" id="+@1C/_CH]9Upb*Za.4{-"><field name="property">Sprite.bottom@set</field><value name="mySprite"><block type="argument_reporter_custom" id="9U%eqXbh3Sq`kC/QT8[V"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="{.TLbPAMwMBwd5`a$kcN"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="r:1CeCqw3;uI@T6YLY=0"><field name="property">Sprite.top</field><value name="mySprite"><block type="argument_reporter_custom" id="%fChS,7yr]6}bi26=k5b"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="N?ELi;`4Dcj^$kJ}Fbd)"><field name="VAR" id="9cWnb%,UZ$H?H:_qG;ty">segmentOffset</field></block></value></block></value></block></next></block></statement><value name="IF2"><block type="logic_compare" id=",K1@^#2R,D+3~Z@hYtw."><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="W:@25|fjpDFN5nh@=X}e"><field name="VALUE">direction</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Z|S|B2^+c*5R2!-nunTn"><field name="VAR" id="6pS4L{o7XPi9f=*t_7kX">left</field></block></value></block></value><statement name="DO2"><block type="Sprite_blockCombine_set" id="v?Gr@eAj]Hh@ZJ@3mpgq"><field name="property">Sprite.left@set</field><value name="mySprite"><block type="argument_reporter_custom" id="Rn[L5PQ`i4%S/LeHtsjc"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="{qPs@jID3FUmOb;/1onN"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="?v2Njqzn217%OhL81,E="><field name="property">Sprite.right</field><value name="mySprite"><block type="argument_reporter_custom" id="~q3kpfdZucNxs9hylQ$("><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="!.ZT/U{91jzVd~C`ogeE"><field name="VAR" id="9cWnb%,UZ$H?H:_qG;ty">segmentOffset</field></block></value></block></value><next><block type="Sprite_blockCombine_set" id="O|N-n|BXLmJ524ji?(tl"><field name="property">Sprite.y@set</field><value name="mySprite"><block type="argument_reporter_custom" id="lj5Ycv9C)z65S9$8J1Lx"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="$CD7+MLr=2n#2Uul0G@]"><field name="property">Sprite.y</field><value name="mySprite"><block type="argument_reporter_custom" id="q]8~?|+-iTO@WK{U5%9s"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value></block></next></block></statement><value name="IF3"><block type="logic_compare" id="yZ;h/LN~49ZLBigNvt`$"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="E[XIDPJcO=;g{ZpBz5)/"><field name="VALUE">direction</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="^iB?|atR,nPy-Upnt.^N"><field name="VAR" id=",$V$W=D3;D*~BUX0D+KL">right</field></block></value></block></value><statement name="DO3"><block type="Sprite_blockCombine_set" id="F=8^|5HWt~CMKb@5[+%3"><field name="property">Sprite.right@set</field><value name="mySprite"><block type="argument_reporter_custom" id="jkZdQ@6=(h1$x^0F1`E]"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="`Ev=o8i2WBH5Xwhp~5e^"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="$el(-``:F6S?;/rwlMbF"><field name="property">Sprite.left</field><value name="mySprite"><block type="argument_reporter_custom" id="_Xxbb#c{_F@aaDEIsf3v"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="/a=%$PyRiF8z,4UPbp3`"><field name="VAR" id="9cWnb%,UZ$H?H:_qG;ty">segmentOffset</field></block></value></block></value><next><block type="Sprite_blockCombine_set" id="ppQk8),hvWRrkA.|AAAz"><field name="property">Sprite.y@set</field><value name="mySprite"><block type="argument_reporter_custom" id="4CTVzy+4D*BjlY|a`BPq"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="value"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="lIzR;wL/;+@zS)l~/#+h"><field name="property">Sprite.y</field><value name="mySprite"><block type="argument_reporter_custom" id="bn2Qo#RN/q^SWReB7-n`"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value></block></next></block></statement><statement name="ELSE"><block type="spritesetpos" id="4`?qFowlluhz[D/rRtl]"><value name="sprite"><block type="argument_reporter_custom" id="ZW#3nO`DBTZ=^aNm.u^}"><mutation typename="Sprite"></mutation><field name="VALUE">segment</field></block></value><value name="x"><shadow type="positionPicker"><field name="index">0</field></shadow><block type="Sprite_blockCombine_get" id="$,Fma%ZYn!?EGg/oBKrP"><field name="property">Sprite.x</field><value name="mySprite"><block type="argument_reporter_custom" id="4l[y;,rLp,{tXZ;=irzh"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value><value name="y"><shadow type="positionPicker"><field name="index">0</field></shadow><block type="Sprite_blockCombine_get" id="$aZQyOTYS{bIqeyc7[CZ"><field name="property">Sprite.y</field><value name="mySprite"><block type="argument_reporter_custom" id="UFeXL7bk*)8A]i4/.81`"><mutation typename="Sprite"></mutation><field name="VALUE">leader</field></block></value></block></value></block></statement></block></next></block></next></block></statement></block><block type="keyonevent" id="[Ml)dYzcP|HCv7T`QYTz" x="10" y="570"><field name="button">controller.up</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="variables_set" id="V[vQptkvxzuxi;$LiDEw"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mb[}g|cQ=tV=/GGUdg5x"><field name="VAR" id="b|84vWEAH0:X-~7sG{_V">up</field></block></value></block></statement></block><block type="keyonevent" id="r;?(R,7Ann2]DFm+IASW" x="430" y="570"><field name="button">controller.left</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="variables_set" id="b@q`)Jp`-)LFX:`%Yox7"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="_hZo*$98`B6?R.nt/HWZ"><field name="VAR" id="6pS4L{o7XPi9f=*t_7kX">left</field></block></value></block></statement></block><block type="keyonevent" id="Q{!$r5pZco9;8[oo;@BX" x="-10" y="730"><field name="button">controller.down</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="variables_set" id="5ou1/SMu`|T}}~lj|?$("><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="4?8O%4P`XzPN4faJ4SxA"><field name="VAR" id="U6:=`[]l~{|6Mbg+Ud_2">down</field></block></value></block></statement></block><block type="keyonevent" id="8^RRaqgmHQ%]zB@?*PCo" x="430" y="730"><field name="button">controller.right</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="variables_set" id="PymV(kseRMMwii_Y)8,S"><field name="VAR" id="9Ve,CB7[-,oT7R)`}^jK">newDirection</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%66RE=5#I`[Vi}3?ho[#"><field name="VAR" id=",$V$W=D3;D*~BUX0D+KL">right</field></block></value></block></statement></block></xml>