-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 36.6 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 36.6 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="1-(Dc*ria#z7HpW~!ECO">startGame</variable><variable id="+?[SkEalt-YRY_LR0GZp">player</variable><variable id="Wxk(:E:O(ot/D^m$iekp">enemy</variable><variable id="j#UGAWy7rEbktbt9qY=+">enemy_2</variable><variable id="*wLm%)|_yX.+W~wUk$kn">playerAlive</variable><variable id="7P}Y(0L+nN3d`Zh,)*F;">gameOver</variable><variable id="$NB`8H3I1dnWIS);5V,[">win</variable><variable id="}Az@6`?pUD4kLLvHT!cX">bullet</variable><variable id="+hTj@/oXI1L907UX-MX_">menu</variable><variable id="{wol7rK,uB]Ih4@%h2bv">x1</variable><variable id="XEFGf:D6X8:6MQD3+2[K">x2</variable></variables><block type="pxt-on-start" id="v,:rz-]Q!.qF6L3}8rl%" x="0" y="0"><statement name="HANDLER"><block type="typescript_statement" id="[lxmxU.s/Yei1G;s2qGM" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let x1" numlines="1" declaredvars="x1"></mutation><next><block type="typescript_statement" id="%KjB;Isaa^%sZjmRPAJ]" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let x2" numlines="1" declaredvars="x2"></mutation></block></next></block></statement></block><block type="device_button_event" id="1/mh]f-`OYorHwUfmq/_" x="205" y="0"><field name="NAME">Button.A</field><comment pinned="false" h="80" w="160">player movement A</comment><statement name="HANDLER"><block type="controls_if" id="d;5g,I+7gjo-Q.F4,*xv"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="reX!u-NBBWLlZ8U_x#v^"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="X#rLS[A#br$:ThPsx8pz"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field></block></value><value name="B"><shadow type="math_number" id="pS!`9!R:}:f*86he,)iI"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="Cm7)s];)V2B0`Bcfw;}M"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="/wfF7%2Ff!#-7ruHdL#j"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="ITuH4GBmzV}^!RXUpDFm"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="s4Z|s5!0R6p7SwFc#CFN"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value></block></value><value name="B"><shadow type="math_number" id="2hH$v4{GJok:%B6C]lh8"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="game_sprite_set_property" id="@4_o^F^*GZX-cu6986We"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="S4{e[iMo@I75{}kE|TyT"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value><value name="value"><shadow type="math_number" id="a3Nk_4EOJX:M|Q;H~{r5"><field name="NUM">4</field></shadow></value></block></statement><statement name="ELSE"><block type="game_sprite_change_xy" id="%FW;Kh?HfD]Qr^nVYF{2"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id=")b9{iG1WWwf=Ye8IcvFH"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value><value name="value"><shadow type="math_number" id="UO;=-]C=?]B|}wWt=l01"><field name="NUM">-1</field></shadow></value></block></statement><next><block type="music_playable_play" id="Du*jATKbqBF_*0Y+xjG7"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable"></shadow><block type="music_tone_playable" id="H*;=w)T7{v{:UOLh]g;O"><value name="note"><shadow type="device_note" id="BF!or,R?E/tR,V*ll3qe"><field name="name">156</field></shadow></value><value name="duration"><shadow type="device_beat" id="Qgu^_|B5I[oN%}g/E3UQ"><field name="fraction">BeatFraction.Sixteenth</field></shadow></value></block></value></block></next></block></statement></block></statement></block><block type="device_button_event" id="3EY@$[b#]Rl^gW4+ejp5" x="772" y="0"><field name="NAME">Button.AB</field><comment pinned="false" h="80" w="160">shooting bullet</comment><statement name="HANDLER"><block type="controls_if" id="sDvmapV=bOj7m@*S7.%z"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="VRR7A=z;iU%W5n:=[*{{"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=";W?*5q}PvsxY+z2-^}BQ"><field name="VAR" id="*wLm%)|_yX.+W~wUk$kn">playerAlive</field></block></value><value name="B"><shadow type="math_number" id="/K[L15KX_I`cRoH7oOU4"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="music_playable_play" id="]7NfCMAuXFmA]-~q6TBy"><field name="playbackMode">music.PlaybackMode.InBackground</field><value name="toPlay"><shadow type="music_string_playable"></shadow><block type="soundExpression_createSoundExpression" id="=DIup|KOq8APZm@`lCdg" inline="true"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><field name="waveShape">WaveShape.Triangle</field><field name="effect">SoundExpressionEffect.None</field><field name="interpolation">InterpolationCurve.Curve</field><value name="startFrequency"><shadow type="math_number_minmax" id="3X!1RKAMI}iMP4o)oQfp"><mutation min="0" max="5000" label="Number" precision="0"></mutation><field name="SLIDER">2313</field></shadow></value><value name="endFrequency"><shadow type="math_number_minmax" id="xFI{qhfbaM,J92tA=WR}"><mutation min="0" max="5000" label="Number" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="duration"><shadow type="math_number_minmax" id="vZ{v;^*R={Su{!ttTKii"><mutation min="1" max="9999" label="Number" precision="0"></mutation><field name="SLIDER">200</field></shadow></value><value name="startVolume"><shadow type="math_number_minmax" id="li7sW/9~qK?Ve(0qy3PB"><mutation min="0" max="255" label="Number" precision="0"></mutation><field name="SLIDER">255</field></shadow></value><value name="endVolume"><shadow type="math_number_minmax" id="2zg_=2oY$`AX%g%S0uM/"><mutation min="0" max="255" label="Number" precision="0"></mutation><field name="SLIDER">0</field></shadow></value></block></value><next><block type="variables_set" id="_fndCBpnC9^k@lb1QIFJ"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="D/iXw5qP0VY+kL|B9~*2"><value name="x"><block type="game_sprite_property" id="5o4}L+zl.mjmbU-,g{,5"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id=".j;CT]amc`D;HNg*+[ue"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value></block></value><value name="y"><block type="game_sprite_property" id="yD)=H2u_Oisw@0W=a]b^"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="bpNpMb=#WOC}P.NRF%Mv"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value></block></value></block></value><next><block type="controls_repeat_ext" id="np[96jK/?x=PZiw57I#b"><value name="TIMES"><shadow type="math_whole_number" id="U[v60$~iEt)[~VBR==SD"><field name="NUM">5</field></shadow></value><statement name="DO"><block type="game_sprite_change_xy" id="$x_0=A=!!:vl($f84Nzk"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="v|PlTFxW=l{%vuNYMAVa"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field></block></value><value name="value"><shadow type="math_number" id="]|K[53AhIQjY-l/$km]("><field name="NUM">-1</field></shadow></value><next><block type="controls_if" id="|H%iiLi5wdLcIZi4x4E`"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_touching_sprite" id="q[F5s$cd2DkS#h@PM=s("><value name="sprite"><block type="variables_get" id="JC(Q)7.G8[SA~37OCP?{"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field></block></value><value name="other"><block type="variables_get" id="A_6d*[b.ZpygqNU?3ibf"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value></block></value><statement name="DO0"><block type="game_delete_sprite" id="HdElkf:RO`~2sQa_{Ld}"><value name="this"><block type="variables_get" id="2O-ij/rz*6/i1lS6A$`F"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field></block></value><next><block type="game_delete_sprite" id="clVW_c]Yyy;JKil:EuDJ"><value name="this"><block type="variables_get" id="YDy[.;Lww{;rO~wpjhDa"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="game_add_score" id="oyv)t^6pzx5#@_=o/g2v"><value name="points"><shadow type="math_number" id="C9#*qF*#DvH/9cygd}wn"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_touching_sprite" id="w/1;%YVFendf3@8vgnKW"><value name="sprite"><block type="variables_get" id="1J$:G6i8)(%8v4R,^C+,"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field></block></value><value name="other"><block type="variables_get" id="ave;aOE[WW}1:dh2KjW`"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value></block></value><statement name="DO1"><block type="game_delete_sprite" id="9TE[NyMQZ|1uA)`s_^v~"><value name="this"><block type="variables_get" id="{UW_[_J[,KOpoyZ]wv0%"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field></block></value><next><block type="game_delete_sprite" id="nB8]E`Z6HA]vj(7TQt|}"><value name="this"><block type="variables_get" id="DE#DLQR9Uz14)`/N,1Vl"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><next><block type="game_add_score" id="0f0Sk-^QN1ia.1Xsk*cq"><value name="points"><shadow type="math_number" id="-8$pYd[/aB9IMQ-QAhEl"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement><next><block type="typescript_statement" id="n~PN|]ATCP!N{HEUFZ1M" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="pause(20)" numlines="1"></mutation></block></next></block></next></block></statement><next><block type="game_delete_sprite" id="S4ln@R.n5nvb[1D?WF@,"><value name="this"><block type="variables_get" id="i5IFdp{HWdBy(KtM3fQG"><field name="VAR" id="}Az@6`?pUD4kLLvHT!cX">bullet</field></block></value></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="abgRb/u^pmf%QvyLqJGS"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="`Yb,eEI]23AL;)EXo%TZ"><field name="VAR" id="$NB`8H3I1dnWIS);5V,[">win</field></block></value><value name="B"><shadow type="math_number" id="{v%4UwXO|A(7gRf4=T|0"><field name="NUM">1</field></shadow></value></block></value><statement name="DO1"><block type="control_reset" id="C,@7]I2*VCGzVZ3nf!vx"><next><block type="variables_set" id="aN.Zd/mEPI(vCN$`}aba"><field name="VAR" id="$NB`8H3I1dnWIS);5V,[">win</field><value name="VALUE"><shadow type="math_number" id="LXb,;@*xL`O,D%zU:}m*"><field name="NUM">0</field></shadow></value></block></next></block></statement></block></statement></block><block type="device_button_event" id="RfN:Fbz,zP|_C#W`b6fM" x="1582" y="0"><field name="NAME">Button.B</field><comment pinned="false" h="80" w="160">player movement B</comment><statement name="HANDLER"><block type="controls_if" id="F8BaE6rlTZ9iFTv)/{UT"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="l^8*I3k:nTzw|ToU$OzQ"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=":4m0{W`8:wLup.i|5IY?"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field></block></value><value name="B"><shadow type="math_number" id="_bwOi$h(^(#hcW8b~X%6"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="I3HDbqkF}%v#spbjljfg"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="$7YUcbp@=/$j@d?8gdYv"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="8Z_wE9O|`3@Ck2I?{|(n"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="SC-?KC7;:sVwAhS;=1}^"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value></block></value><value name="B"><shadow type="math_number" id="jo3QQlr+,Hk}AG#7xfXf"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="game_sprite_set_property" id="^`u@W`p.;42N^D%BnP-c"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="=TvQDGCa*^ZmNj0yyI$+"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value><value name="value"><shadow type="math_number" id="h#OdOul73:~NY|QBi22h"><field name="NUM">0</field></shadow></value></block></statement><statement name="ELSE"><block type="game_sprite_change_xy" id=")-}ukx!%a{UZbtr7k?-e"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="pLBu@SH,P5Z4fZ(4kJ#6"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value><value name="value"><shadow type="math_number" id="gdI{pV0dRYm{blbRufn,"><field name="NUM">1</field></shadow></value></block></statement><next><block type="music_playable_play" id="gJ$?eG%_ln5Mk+xGB7c3"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable"></shadow><block type="music_tone_playable" id="6]d?*+g=PT.h;j$XHq}2"><value name="note"><shadow type="device_note" id="FdQ=IqUMF#fvUATvs%(P"><field name="name">156</field></shadow></value><value name="duration"><shadow type="device_beat" id="=EzW_b8tfC46y6/psp%c"><field name="fraction">BeatFraction.Sixteenth</field></shadow></value></block></value></block></next></block></statement></block></statement></block><block type="device_forever" id="sIy,U{D`fnymv3vr5JS:" x="2149" y="0"><statement name="HANDLER"><block type="controls_if" id="]6wL)%bIMOcl!B3B.?%z"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="-UGw2leC)3+wU._u?wEY"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="dxJW!QlYspm[L8F5Ntvf"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ILo9viwhmG3,P[j9d.,p"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field></block></value><value name="B"><shadow type="math_number" id="wqC+5:k24sA5eghZTl7;"><field name="NUM">0</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="+oGIN({%cN^r.:oHjKsm"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="E[Xiw`Y~C4/2ygiaupoE"><field name="VAR" id="+hTj@/oXI1L907UX-MX_">menu</field></block></value><value name="B"><shadow type="math_number" id="2w/I2xAR,Wz-v:={W!{P"><field name="NUM">1</field></shadow></value></block></value></block></value><statement name="DO0"><block type="device_print_message" id="y%~wrQ;m-DhI7:O5`^_;"><value name="text"><shadow type="text" id="uv-i7wg2@M^(IFRXm8q3"><field name="TEXT">DEFENDER</field></shadow></value><next><block type="device_pause" id="GX%J4lQ(8bl*a[!!]=.+"><value name="pause"><shadow type="timePicker" id="MO5.,FDCi4)fE{ylP0Iq"><field name="ms">200</field></shadow></value></block></next></block></statement></block></statement></block><block type="device_gesture_event" id="K~SXlF!Jw;roX*x()L4D" x="2904" y="0"><field name="NAME">Gesture.Shake</field><comment pinned="false" h="80" w="160">on_off settings</comment><statement name="HANDLER"><block type="device_stop_animation" id="WId-R,YVXJbvu*b8?i}f"><comment pinned="false" h="80" w="160">startGame</comment><next><block type="controls_if" id="e(:m)?N}D+b*4?wk8~HJ"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="OoAdSF9886:^^x*Glm`z"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="EkOQi:]R6p#,7(+%J|s7"><field name="VAR" id="+hTj@/oXI1L907UX-MX_">menu</field></block></value><value name="B"><shadow type="math_number" id="JmC%wq@k,rMsj1*VFRWf"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="Gg62p??8fRo;Avw@%tnc"><field name="VAR" id="+hTj@/oXI1L907UX-MX_">menu</field><value name="VALUE"><shadow type="math_number" id="W6JlpxjVil)Xl5rK!GkK"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="uHH}-faS2P]L$Dmmc}8/"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field><value name="VALUE"><shadow type="math_number" id="RG[$f%p5qDx@V8AxJL5v"><field name="NUM">1</field></shadow></value><next><block type="device_clear_display" id="UUrfB2d%NpsI0:Dx+T]I"><next><block type="device_stop_animation" id="2k=opn%`HnlGB)3TapI="><next><block type="function_call" id="dWmCTN;jAyIM;N7RQlPI"><mutation name="enemyWave" functionid="sIayO%PC_JRX/,}Iv-4a"></mutation></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_operation" id="o#mH},0N$A`:.8SazWR="><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="OFl(Ofk4vw;:LwzXH*h("><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Epa,U^(wH;2k:B-v-3M-"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field></block></value><value name="B"><shadow type="math_number" id="y5#`^UhN+n/xfzGoWMsU"><field name="NUM">0</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="gk5KLTYzwT;gKxS%mY6s"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="{9_yNfY[VC9L54Yg.#=$"><field name="VAR" id="+hTj@/oXI1L907UX-MX_">menu</field></block></value><value name="B"><shadow type="math_number" id="B%w@2-hl8/NS_mb:03,R"><field name="NUM">0</field></shadow></value></block></value></block></value><statement name="DO1"><block type="variables_set" id="BmvNISN8PBVb(ZgjKULr"><field name="VAR" id="+hTj@/oXI1L907UX-MX_">menu</field><value name="VALUE"><shadow type="math_number" id="$QiFEC7M:BqBL@-`ymve"><field name="NUM">1</field></shadow></value></block></statement></block></next></block></statement></block><block type="function_definition" id="f8}IlCrJab9K}d(H,ep[" x="0" y="1069"><mutation name="enemyWave" functionid="sIayO%PC_JRX/,}Iv-4a"></mutation><field name="function_name">enemyWave</field><statement name="STACK"><block type="device_pause" id="H0DjP`Fgi@@[ZfSh2aRI"><value name="pause"><shadow type="timePicker" id="E#}uA7_5lF;C6jFKT]u%"><field name="ms">100</field></shadow></value><next><block type="variables_set" id="Y)OLhBS5%lf[c6[Yo^0?"><field name="VAR" id="*wLm%)|_yX.+W~wUk$kn">playerAlive</field><value name="VALUE"><shadow type="math_number" id="Od/Arx9{MkF]5K,.IIb/"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="~Me0F89~TXdMVYQ/5GUE"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id=",FvHL:hNzB5I6wLjAlXw"><value name="x"><block type="device_random" id="uCCGl9a6TmF}gfe|tq.T"><value name="min"><shadow type="math_number" id="m3[ut^-$V1xSVl*)G0bI"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="Oz]_(gUVJx81Q*kqbBQn"><field name="NUM">4</field></shadow></value></block></value><value name="y"><shadow type="math_number" id="Tc/rgL2A:wtW5OJC)OC}"><field name="NUM">4</field></shadow></value></block></value><next><block type="game_set_score" id="9n(ey_P4#:cYp^d0=Mvs"><value name="points"><shadow type="math_number" id="czcYwh,~DdbvW8=qS|lG"><field name="NUM">0</field></shadow></value><next><block type="device_while" id="%!6-3Po9@$M:V/i(CVVF"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="o-%GK}}_Djfq~pd1AJYD"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_score" id="aHABMWtG*5ez_1I.x6NQ"></block></value><value name="B"><shadow type="math_number" id="fGMT6d21^p?%|+cN+)sf"><field name="NUM">20</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="V037l[3`NS0ppe`1lqac"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="_:e-/2B%T%K/F*f0iNgx"><value name="x"><block type="typescript_expression" id="q*uR8NMKq9@r-}k.@3g6" editable="false"><field name="EXPRESSION">x1 = randint(1, 4)</field></block></value><value name="y"><shadow type="math_number" id="uPQ,Mb0n/pXLeRndJju!"><field name="NUM">0</field></shadow></value></block></value><next><block type="variables_set" id="GXs(dBNvL9enHu.3Kk`0"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="k;G3C^^^{8.ga:7atxwv"><value name="x"><block type="typescript_expression" id="OI)h#]?onvn.D9Q6+66X" editable="false"><field name="EXPRESSION">x2 = randint(1, 4)</field></block></value><value name="y"><shadow type="math_number" id="{PWH{QQFg9;gZT+u.=T7"><field name="NUM">0</field></shadow></value></block></value><next><block type="controls_if" id="6p]1Y]3I87mxMJzt4hOL"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="M*bL2nGfShu/U,|OX4NV"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="2}Yf3*Ku4+|hEVekIYka"><field name="VAR" id="{wol7rK,uB]Ih4@%h2bv">x1</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="|av7s._aM(B0q,=Ml+2("><field name="VAR" id="XEFGf:D6X8:6MQD3+2[K">x2</field></block></value></block></value><statement name="DO0"><block type="game_delete_sprite" id="G5x4il8R*IJvKL?xA_l?"><value name="this"><block type="variables_get" id="FA]=-k_y-E]nJp2)l|%L"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="variables_set" id="{V.R]Z#!S=K]QRF.-C6o"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="Rlr7/sp*6jBBI|fd*+22"><value name="x"><block type="typescript_expression" id="m8C40}}Xlxhmk:[{c3d?" editable="false"><field name="EXPRESSION">x1 = randint(1, 4)</field></block></value><value name="y"><shadow type="math_number" id="u(]W{|oO:^su3U%.bGEy"><field name="NUM">0</field></shadow></value></block></value></block></next></block></statement><next><block type="device_pause" id="CTNq$wi`DB5qFO`:vT[)"><value name="pause"><shadow type="timePicker" id="G*]]~i2!-JBSF6;V*7HW"><field name="ms">200</field></shadow></value><next><block type="controls_repeat_ext" id="!L-Aai]gT4W]rTze#Kuj"><value name="TIMES"><shadow type="math_whole_number" id="llf:ZS8lJFO^vYV#;S1R"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="game_sprite_change_xy" id=".|6^1r7MGK:SjM-5_flh"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="r(%zI1tjJ8*tm#[FycNu"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><value name="value"><shadow type="math_number" id="0h6{?zNJ$Y]UcbNuv?7B"><field name="NUM">1</field></shadow></value><next><block type="game_sprite_change_xy" id="up/f~-6jqOHELmgpMlB_"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="H9i*c,^gQAiwG~lZ;%HF"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><value name="value"><shadow type="math_number" id="9i[w^Te-gX~7$AoQ.Gy*"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="yWBEV8zu-56C=[Vv*oaZ"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_touching_sprite" id="X$LI2jFs}kS%5l0vjb|8"><value name="sprite"><block type="variables_get" id="Y@IrCA!U]%suuU_K(?qR"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><value name="other"><block type="variables_get" id="HSQReX8@oncNCL|fXT+_"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value></block></value><statement name="DO0"><block type="game_delete_sprite" id="-x,Q_B#6NcX[G1`@f2nI"><value name="this"><block type="variables_get" id="7aJ-%(ID0;;3`[aUnFk["><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="function_call" id="Q9-8?N@97-GI!p=JRE8["><mutation name="lose" functionid="Rbe?]z-R{nFw_cs,eoi~"></mutation><next><block type="break_keyword" id="S2MF~xI{J:SR|t]15hZm"></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_touching_sprite" id="H;lHReg__ckGnGV,$`$)"><value name="sprite"><block type="variables_get" id=",-(/o8V~oCFDZGzpZKta"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><value name="other"><block type="variables_get" id="hCWNrNoJ*ZSl+pux!wXG"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value></block></value><statement name="DO1"><block type="game_delete_sprite" id="Q~5IgOpHyafjLh[L^0,}"><value name="this"><block type="variables_get" id="bLXRq]M_#VD{mbH2`1s?"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><next><block type="function_call" id="6_{3]@j/l}f`8s,d(hbF"><mutation name="lose" functionid="Rbe?]z-R{nFw_cs,eoi~"></mutation><next><block type="break_keyword" id="s1q*/NlcE)|6q:YRKUb)"></block></next></block></next></block></statement><next><block type="music_playable_play" id="8[;q`j54qLWV,OzbQqly"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable"></shadow><block type="music_tone_playable" id="1_G/rrK^|BDaSaj2VBu^"><value name="note"><shadow type="device_note" id="~OgX^@DJ@1cDt#B@hXL9"><field name="name">156</field></shadow></value><value name="duration"><shadow type="device_beat" id="g^-adziuE/G=|dsO/A]x"><field name="fraction">BeatFraction.Sixteenth</field></shadow></value></block></value><next><block type="device_pause" id="[5OJl0;B`b@o6NJ9hDjp"><value name="pause"><shadow type="timePicker" id="`lkw/+@kJ0|*x}Z5$/^)"><field name="ms">500</field></shadow></value><next><block type="controls_if" id="DC{1W~LaT|[MEKo9G,50"><mutation elseif="2"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=":bpjf5{ZB}yrAq@w45[G"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="3Pb;krCa#eTxzh/-{Gy["><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field></block></value><value name="B"><shadow type="math_number" id="29kbq}Pn8lge0a_w?];L"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="game_delete_sprite" id="S[ioNC=Fj:L*/K4PW7*-"><value name="this"><block type="variables_get" id="B8se-#1f@AyE:k!#hrlq"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="game_delete_sprite" id="JCmwzN1]-u!%7.9vgdGZ"><value name="this"><block type="variables_get" id="T7G{k$vg2b)D*NVwbG8W"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><next><block type="break_keyword" id="Cv$@Y$o*/[fvsk4_I`K~"></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="#,5ja~E%*eScw.d(R@=Q"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_is_deleted" id="?b?Hw?a5(Qs,M{9k}4@m"><value name="sprite"><block type="variables_get" id="9:A5Z]EM4icVJ7m#q8Ny"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_is_deleted" id="{^G(+SNXT~u|OHgQ_N=`"><value name="sprite"><block type="variables_get" id="JgIuMPs9/cAx%RIIzSyB"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value></block></value></block></value><statement name="DO1"><block type="break_keyword" id="Q0nE-c.q9PAv$dB,U|Z)"></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="T2Rnp8.e=hmJ4.G=PC99"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="T?p30+lMlwEa/AxwUEhF"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="Ka9.S4`:5@0!Fz5~*Fgd"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="o46p=o%wE,/K`?F1OwKx"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value></block></value><value name="B"><shadow type="math_number" id="$1{32~R?#A{%BK}Q-`eI"><field name="NUM">4</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=")Z.WEZ9E3nhQz%M@F6y,"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="(q~|,N`NIM:?/:;awvFH"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="M!{Rn=Teh]dsGK2:GX()"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value></block></value><value name="B"><shadow type="math_number" id="O8nuSG2d{*sWWn5*ZZ:~"><field name="NUM">4</field></shadow></value></block></value></block></value><statement name="DO2"><block type="function_call" id="ACI~(kLU!Iv5KG?rX.X:"><mutation name="lose" functionid="Rbe?]z-R{nFw_cs,eoi~"></mutation><next><block type="break_keyword" id="xVV.Mj}Y6rN1t$[5mWZ2"></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="game_delete_sprite" id="y6e-YL[LU~/([+s(n)H+"><value name="this"><block type="variables_get" id=";sSRcnANnMvy;@4go=24"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="game_delete_sprite" id="+DzxovPQc=dp;h8q_T4n"><value name="this"><block type="variables_get" id="gomt%y~lKIpX*~+06WXy"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="variables_set" id="`];LQ.raV?4_0Go?qkVd"><field name="VAR" id="$NB`8H3I1dnWIS);5V,[">win</field><value name="VALUE"><shadow type="math_number" id="(/etwL/lShYZZNVr%$Cb"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="#;sk?1za#v~-3WAR+[ZT"><field name="VAR" id="*wLm%)|_yX.+W~wUk$kn">playerAlive</field><value name="VALUE"><shadow type="math_number" id="b00e!f=NOr8u4U%cB+Ib"><field name="NUM">0</field></shadow></value><next><block type="game_delete_sprite" id="q)=(9)x]8@telf#Kyu{S"><value name="this"><block type="variables_get" id="QH+?jPSL^CVwc8?zC!1#"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value><next><block type="game_delete_sprite" id="1%d{M_Qch$^OV#yR/tMj"><value name="this"><block type="variables_get" id="`]pRe^ypCXlUG+623J#w"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="game_delete_sprite" id="/I_IQZ^$@$gqpcXCOx{`"><value name="this"><block type="variables_get" id="%U9eXCp.S,YodW@A;o]W"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><next><block type="variables_set" id="@`yhklKVQpJ?y}V,.i6q"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field><value name="VALUE"><shadow type="math_number" id="2rux4V1tMAZac4kU25?,"><field name="NUM">0</field></shadow></value><next><block type="controls_if" id="i=2)2qT=rfrM}OPAx[a@"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="#dDQkn}^cE%o9{lgIlp|"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="g2n]U#|K=D2)b9qa,NwU"><field name="VAR" id="$NB`8H3I1dnWIS);5V,[">win</field></block></value><value name="B"><shadow type="math_number" id="x[?esR{,L9X+*8FZeG8%"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="controls_repeat_ext" id="5TAPCqjOv^|SD+atlDuH"><value name="TIMES"><shadow type="math_whole_number" id="Zns=[F^7f!zQGl:+sg?q"><field name="NUM">5</field></shadow></value><statement name="DO"><block type="typescript_statement" id="_@zqUrH{xkqIbn,F/r^~" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="basic.showAnimation(`" line1=" 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0" line2=" 0 0 0 0 0 0 1 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 " line3=" 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0" line4=" 0 0 0 0 0 0 1 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0" line5=" 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0" line6=" `, 100)" numlines="7"></mutation></block></statement><next><block type="device_print_message" id="0#%:j]Q9Msh5w[{-MN0H"><value name="text"><shadow type="text" id="EEZ/^:0Epuj.{o2.~|g#"><field name="TEXT">YOU WON</field></shadow></value></block></next></block></statement></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="4^n9KiT2kBds%J7yt}#r" x="1019" y="1069"><mutation name="lose" functionid="Rbe?]z-R{nFw_cs,eoi~"></mutation><field name="function_name">lose</field><statement name="STACK"><block type="game_delete_sprite" id="Fm1*YDfszTob*;Hx]A/Y"><value name="this"><block type="variables_get" id=":xFFG[qG!@Bkl%(`UnZR"><field name="VAR" id="Wxk(:E:O(ot/D^m$iekp">enemy</field></block></value><next><block type="game_delete_sprite" id="Ig+h:JBPuEY?cGoaL7:5"><value name="this"><block type="variables_get" id=",K!,-vm$/U!TE*Hk0Ep5"><field name="VAR" id="j#UGAWy7rEbktbt9qY=+">enemy_2</field></block></value><next><block type="game_delete_sprite" id="i#U]`4euFGtJ9P[r2TP1"><value name="this"><block type="variables_get" id="EZYif;`rVa_t}A-Bj:^_"><field name="VAR" id="+?[SkEalt-YRY_LR0GZp">player</field></block></value><next><block type="variables_set" id="6PkPTf1||5A--3B)^y2]"><field name="VAR" id="1-(Dc*ria#z7HpW~!ECO">startGame</field><value name="VALUE"><shadow type="math_number" id="mC%gzoAk?xUwL6kDaq!1"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="5EoLa]Wz*(mKY8SAJvXR"><field name="VAR" id="*wLm%)|_yX.+W~wUk$kn">playerAlive</field><value name="VALUE"><shadow type="math_number" id="zRx*}[1g]SMaRG/Jttaa"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="UOj{X-k?f+Dv?a#`[mlT"><field name="VAR" id="7P}Y(0L+nN3d`Zh,)*F;">gameOver</field><value name="VALUE"><shadow type="math_number" id="t:Qv6xq96nmYp^udv2-G"><field name="NUM">1</field></shadow></value><next><block type="game_game_over" id="8{XCafyx=Bmf:95ZtkkO"></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>