-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
5 lines (5 loc) · 81.8 KB
/
main.blocks
1
2
3
4
5
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="`;Sq~RL0My{y_dQsfHK,">y</variable><variable id="JNVxikvJ4vCX8W`u~zi,">currentPiece</variable><variable id="(RLpn)K?UK;Tub)|imA+">x</variable><variable id="t?z$moT$}oPvM%*|_qyS">currentX</variable><variable id="!$(;s!/r6[J_LqBI%QtQ">currentY</variable><variable id="OD?O.vpHIf;s2!a(O}Z-">y2</variable><variable id="cyFE/mWPs?fQh#}`00HP">x2</variable><variable id="O3ZKFyx-su_=wT+I7/_S">y3</variable><variable id="Sh;15%-2`Iz(qDc/kbCA">x3</variable><variable id="M)y^O3^e:8ZkU88C7T`{">newX</variable><variable id=";$T|$UY[qcbnA~dZk;62">newY</variable><variable id="FJ}@:1/[9e:Sq}fOCxzP">grid</variable><variable id="1j[G;+:X4ptJC{r5tgMQ">x4</variable><variable id="bwQ}Yr{WCWr[{Q9+OZb;">newPiece</variable><variable id="=O),8U8z|*_|jrK,dq4:">y5</variable><variable id="15-%kPt)?v}1{4r1cxLD">x5</variable><variable id="o1y4i;rj!2D4UB}#K,x2">x6</variable><variable id="*WEz#[+#a9EJY{mda+r*">newPiece2</variable><variable id="pnEODOpTT9-{3ZjA!WM^">y7</variable><variable id="$UTL]fOk5Zj[7U#0nIRd">x7</variable><variable id="jQBWp@CWXP)86Zg/f.g=">rotationDirection</variable><variable id="6OkDsBgoWWA+DWH;KThw">y8</variable><variable id="vq5H2bI1;:7TcqLn23I.">x8</variable><variable id="VeQusqcQ4rzAHseJY9hm">y9</variable><variable id="8ro,D=A9:W+D8TECF~77">fullLine</variable><variable id="P~Aq.;_8F6e[,{~XA-RS">x9</variable><variable id="rQmgO$^Q[Oo%xu%6vlf+">col2</variable><variable id="=sn@1?O9,o*r{CjavuW}">tetris</variable><variable id="4y4ygIW=Zh})f::%J;`z">gameOver</variable><variable id="29%u/TYZ-64GlHQ`VaUX">interval</variable><variable id="_vJeH+.=N*U,j_(=9y:d">songGrid</variable><variable id="JG-0Abwke=X/gur5r;m:">row2</variable><variable id=",]7i!Ftu/:0U|IiP{TjQ">note</variable><variable id="gS02tF(8[EAq.5oVUGp3">notes</variable></variables><block type="pxt-on-start" id="E-@]xaPKSrOwBeCn-dQ[" x="0" y="0"><statement name="HANDLER"><block type="typescript_statement" id="q]C=DBG]*|j?xe9g9da6" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let rotationDirection = 0" numlines="1" declaredvars="rotationDirection"></mutation><comment pinned="false" h="80" w="160">0 = no rotation, 1 = right, -1 = left</comment><next><block type="variables_set" id="[C#%L5)Q;7XtQ$_x~4~}"><field name="VAR" id="=sn@1?O9,o*r{CjavuW}">tetris</field><comment pinned="false" h="80" w="160">Z piece
S piece
O piece
I piece
L piece</comment><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="EXubahJUHXg6wpJ-1ENk" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="(7=h7gHcw12s_^-snDmn"><mutation items="2" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id=";ZpkB]lpIIgj2=]EdM;H"><mutation items="3" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="Be;j0R!.8|;YSI0n[$Id"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id="e!*qO,gm.%]F`WPp}J_W"><field name="NUM">1</field></shadow></value><value name="ADD2"><shadow type="math_number" id="{J}vMXt%#!J:2o(9K)%l"><field name="NUM">0</field></shadow></value></block></value><value name="ADD1"><block type="lists_create_with" id="pfg1`mu(F_4?iw3[~4kR"><mutation items="3" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="B6Wak[mQ|Q9!XM42!iwU"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="NLig9U)h[[;tMN8]r3?Z"><field name="NUM">1</field></shadow></value><value name="ADD2"><shadow type="math_number" id="x9tzS+8rXv4)Q~2rOThO"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="ADD1"><block type="lists_create_with" id="%FB+[~R5v7N=FW}wp%@Q"><mutation items="2" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="!dxD[FCK[;OEAx~%Af90"><mutation items="3" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="+reHP{[Pck1ItZDMKYwo"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="QXl-$z6^eT_fIB3j9kkb"><field name="NUM">1</field></shadow></value><value name="ADD2"><shadow type="math_number" id="#oVE@ur#=Ea:3EK||!oG"><field name="NUM">1</field></shadow></value></block></value><value name="ADD1"><block type="lists_create_with" id="#kSqW+1:]NY3f]X~GeR="><mutation items="3" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="lTI,n%;b*a#,hwIut?7$"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id="/sd:o]il}:46!!:S|lGT"><field name="NUM">1</field></shadow></value><value name="ADD2"><shadow type="math_number" id="d._v?}]-V!Twx;!s_rBu"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="ADD2"><block type="lists_create_with" id="s#1UVQ,Uu/UEL~Ys[o9l"><mutation items="2" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="GjozcP?kU:)1ew}70F^`"><mutation items="2" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="F`fUH)*B12(}clKu3V*^"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id="2=Oqkcm-p//3!/v2QQ6*"><field name="NUM">1</field></shadow></value></block></value><value name="ADD1"><block type="lists_create_with" id="I9JN*-lu9h5)z;+5v[Aj"><mutation items="2" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="cs`rOPf;Zomp=Xg;orNo"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id=",#TDu+?a=j(6PQxUsBko"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="ADD3"><block type="lists_create_with" id="_[Ru@{9u?oA(nzk}%5qq"><mutation items="1" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="IUlNeAw]3ggkxVI28p9^" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="dz8RPGJZ:o5@-DNoJ*IC"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id="IyqE}F?w_?=Sm}{1J}#P"><field name="NUM">1</field></shadow></value><value name="ADD2"><shadow type="math_number" id="*YDX`B#=w)qHx00i@p,%"><field name="NUM">1</field></shadow></value><value name="ADD3"><shadow type="math_number" id="[~NwPNi:WU~P*CL.pwB1"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="ADD4"><block type="lists_create_with" id="M4)_Ke_I`XsS}!zE=x%a"><mutation items="2" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="jKiq^MEKToSp?X3zG]4V"><mutation items="3" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="c]$qoq)6jK0Vk$!=wk*?"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id=".9Z#,5[exJi!![f7Cd$i"><field name="NUM">1</field></shadow></value><value name="ADD2"><shadow type="math_number" id="rbu$xS4nv?f/F*k[Rurj"><field name="NUM">1</field></shadow></value></block></value><value name="ADD1"><block type="lists_create_with" id="ieI`hK).fI5EEUEJ4Jy9"><mutation items="3" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="#W|M:vq(~A[:C$RcBBk%"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id=",kVQ!U`4ihg-2366u=1-"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="RYF~c*5!J/m4gn.Eb-DX"><field name="NUM">0</field></shadow></value></block></value></block></value></block></value><next><block type="variables_set" id="PK!W`:=OV`_?d]l*BXKl"><field name="VAR" id="FJ}@:1/[9e:Sq}fOCxzP">grid</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="T4+`seSdOh@wOwXrR2:j" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="]6?S:utjt=_.]#B-ax2)" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="9:/11qR{:?I49X3x/^O9"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="ii~JCC+[oA(UC}.p,k*}"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="xqz)u)cJs=LxlS$_(t0,"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number" id="Y/,NeMCM+j~!H8{Hl$yd"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id=".kGl(EeqJUX3OgMBoC|;"><field name="NUM">0</field></shadow></value></block></value><value name="ADD1"><block type="lists_create_with" id="Tkwdq;7Mr(lT@).G`wL8" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="oECo.8pYJ|Kga!dpU7Tz"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="do3E]gr~#sLKBQ9x;fb_"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="nQ{YjT;pPos%{G2$n@xD"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number" id="L_7z3[NS~BBfW-e37qa}"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id="ZdL:wVfb8hH:.4Ir]}Ak"><field name="NUM">0</field></shadow></value></block></value><value name="ADD2"><block type="lists_create_with" id="(eV5pC_5ydO;9*!w6)0C" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="L+%K%HgV+3840Z.%n+i#"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="x[-QM9Of_4q).NqBJ$:c"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="6P@!O-m-eZL9iAM`Ja]T"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number" id="k/zBFt||J#.6,fJ|I;84"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id="Px^+NlO0Nii7=rwnrfJ8"><field name="NUM">0</field></shadow></value></block></value><value name="ADD3"><block type="lists_create_with" id="q.d{O~c]o=;.Z(}/S|%D" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="VbJS|6TE[|Y~vmZz?sh~"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="*`*(^zr2PrBn++bC]MJf"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="IlOMv7tP27tm8s?gYNhh"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number" id="9%9yV+)j;gd?.|j_^*ci"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id="BUBcVUySUrI.f*l%5IAR"><field name="NUM">0</field></shadow></value></block></value><value name="ADD4"><block type="lists_create_with" id="97#XM.}TTsH@9YV6+v-:" inline="false"><mutation items="5" horizontalafter="3"></mutation><value name="ADD0"><shadow type="math_number" id="AT7OxjRQY/X.GS=.d-c,"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="vnIs?ML:xMq2xKL[DR*6"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id=",p2`Mk=p$fy3S}rQaX#N"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number" id="Ud;GL3Ld@rC5`/WO!mMy"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id="5u$*g7g]VOfXnLSWHqlc"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="variables_set" id="^c`C`5`Vonj0V:/{eym("><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="hKgV|-8vz7S-RfD6A_5g"><value name="LIST"><block type="variables_get" id="CNi?^-f0FSWHr{}oLdcL"><field name="VAR" id="=sn@1?O9,o*r{CjavuW}">tetris</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random_deprecated" id="VEzmP#x|6W5PJtD?f1z."><value name="min"><shadow type="math_number" id="e|-[c*8PeTE[7aRXf}G_"><field name="NUM">0</field></shadow></value><value name="limit"><block type="math_arithmetic" id="p(YGqC3cu4[i^.`jKa6~"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="e`IU]|KKCoBiq2GoO07)"><value name="VALUE"><block type="variables_get" id="NI~0JR2waa=9_M4@j#ck"><field name="VAR" id="=sn@1?O9,o*r{CjavuW}">tetris</field></block></value></block></value><value name="B"><shadow type="math_number" id="9U5lT,]@|b^otOi7t04`"><field name="NUM">1</field></shadow></value></block></value></block></value></block></value><next><block type="variables_set" id="O*]/:bGJ0WPe2bvBurK{"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field><value name="VALUE"><shadow type="math_number" id="i~~S]8n7FQUL,qKBj5CS"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="*cRcFNmjjhS-9os%QR.!"><field name="VAR" id="29%u/TYZ-64GlHQ`VaUX">interval</field><value name="VALUE"><shadow type="math_number" id="g(.ykwUPZ/#d4Zp8l*1g"><field name="NUM">1000</field></shadow></value><next><block type="typescript_statement" id="xz9-]sB[]QH1d}6@T.~z" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let notes: { [key: string]: number } = {" line1=" 'A': Note.A," line2=" 'B': Note.B," line3=" 'C': Note.C," line4=" 'D': Note.D," line5=" 'E': Note.E," line6=" 'F': Note.F," line7=" 'G': Note.G" line8="}" numlines="9" declaredvars="notes"></mutation><next><block type="variables_set" id="f7|+N)FkGgL@kk*:+#E)"><field name="VAR" id="_vJeH+.=N*U,j_(=9y:d">songGrid</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="(.}K|eFAt_^;z.h]bI?i" inline="false"><mutation items="10" horizontalafter="3"></mutation><value name="ADD0"><block type="lists_create_with" id="n*8EVD(pr8w=yN{Mn46P" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="$1J#DJi{HsC%l~kTJqkN"><field name="TEXT">E</field></shadow></value><value name="ADD1"><shadow type="text" id="YYxZ^Y@af3q^txiCf9vq"><field name="TEXT">B</field></shadow></value><value name="ADD2"><shadow type="text" id="`j{ISx%Z9)W^lRMhRT3p"><field name="TEXT">C</field></shadow></value><value name="ADD3"><shadow type="text" id="~A!De|F_8F#eP*r,,rjo"><field name="TEXT">D</field></shadow></value></block></value><value name="ADD1"><block type="lists_create_with" id="9v|86wfLjx~7|[={u_qy" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="W)laZjp|7:Kv^TsA}jX!"><field name="TEXT">E</field></shadow></value><value name="ADD1"><shadow type="text" id="lMj9gXcAXD70tr=yw$BZ"><field name="TEXT">D</field></shadow></value><value name="ADD2"><shadow type="text" id="-f~5[{z2-_JC~C?dRP$e"><field name="TEXT">C</field></shadow></value><value name="ADD3"><shadow type="text" id="56xJ)D)0)4;Mfo5o3P!A"><field name="TEXT">B</field></shadow></value></block></value><value name="ADD2"><block type="lists_create_with" id="s3JBT!;m}PIft?w8H(w^" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="j[n%7ux1_,++r4(Tj$;Z"><field name="TEXT">A</field></shadow></value><value name="ADD1"><shadow type="text" id="7D,K^YW}jS;lFiM5dqmq"><field name="TEXT">A</field></shadow></value><value name="ADD2"><shadow type="text" id="8c#WVG*R=)Leyq^;I}6/"><field name="TEXT">C</field></shadow></value><value name="ADD3"><shadow type="text" id="khrR.@IuBpW-$G?a{h{$"><field name="TEXT">E</field></shadow></value></block></value><value name="ADD3"><block type="lists_create_with" id="{[Qomf?*qSRE!LlUJy}a" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="RlF|fRh`Mvi-k2:ZC,+w"><field name="TEXT">E</field></shadow></value><value name="ADD1"><shadow type="text" id="LjOO.id0G-IN4yU^7,Es"><field name="TEXT">D</field></shadow></value><value name="ADD2"><shadow type="text" id="gRcO5kS;)_@0u2pi,roo"><field name="TEXT">C</field></shadow></value><value name="ADD3"><shadow type="text" id="dFL`(XU9y8zwH(Q!]c3k"><field name="TEXT">B</field></shadow></value></block></value><value name="ADD4"><block type="lists_create_with" id="%ewQS%@{O[4S|/J-QL!-" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="-q*q)h}AF)/oP1SG1Zgf"><field name="TEXT">A</field></shadow></value><value name="ADD1"><shadow type="text" id="B4a95Jvt-/R3E1T?dQul"><field name="TEXT">B</field></shadow></value><value name="ADD2"><shadow type="text" id="v_mNL;pE^DZf2jO}P::]"><field name="TEXT">C</field></shadow></value><value name="ADD3"><shadow type="text" id="SQd30,I?^r=/_{o=%-T7"><field name="TEXT">D</field></shadow></value></block></value><value name="ADD5"><block type="lists_create_with" id="pc2_8@FYkYO9wz5/iv|g" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="^2_fc1webEgN=oFu{$-_"><field name="TEXT">E</field></shadow></value><value name="ADD1"><shadow type="text" id="Ga@B]C6kM.7A*fY%]Er|"><field name="TEXT">C</field></shadow></value><value name="ADD2"><shadow type="text" id="_[?+E]-zUMz:lO,wsUZC"><field name="TEXT">A</field></shadow></value><value name="ADD3"><shadow type="text" id="0;*z=,h`I(;PBP2ct#8@"><field name="TEXT">A</field></shadow></value></block></value><value name="ADD6"><block type="lists_create_with" id="S(@K05xoI.W8Pt.~.@eH" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="jaI6sY^8@3pxMX2+;@[-"><field name="TEXT">D</field></shadow></value><value name="ADD1"><shadow type="text" id="DJhj@Gb$Z:^v8z^#ESf+"><field name="TEXT">F</field></shadow></value><value name="ADD2"><shadow type="text" id="jn}*a_(u5YdrvKi!s1ZA"><field name="TEXT">A</field></shadow></value><value name="ADD3"><shadow type="text" id="vU$Chk[1xK`Q4q($R7Tb"><field name="TEXT">D</field></shadow></value></block></value><value name="ADD7"><block type="lists_create_with" id="$i~2+*(3{T?wo$6!b9N0" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="UR$z5_.f[C6XLhehQV()"><field name="TEXT">G</field></shadow></value><value name="ADD1"><shadow type="text" id="dmtUNFlue2r3wnPN/cXJ"><field name="TEXT">F</field></shadow></value><value name="ADD2"><shadow type="text" id="t0Y%,GG7`BUDb`r5[:e`"><field name="TEXT">E</field></shadow></value><value name="ADD3"><shadow type="text" id="v|4L29`n7RILWwW|nJsW"><field name="TEXT">C</field></shadow></value></block></value><value name="ADD8"><block type="lists_create_with" id=",v8M$%M/o?iJT7[d,~~i" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id=",0S$W)=.a3hUt58=$a6M"><field name="TEXT">E</field></shadow></value><value name="ADD1"><shadow type="text" id="voO3%{A?E#_g7WPE(JOh"><field name="TEXT">E</field></shadow></value><value name="ADD2"><shadow type="text" id="=h0bP^7*:VvQElO_a`Po"><field name="TEXT">G</field></shadow></value><value name="ADD3"><shadow type="text" id=";2H.5gn+-xX]K_.LdJ8y"><field name="TEXT">B</field></shadow></value></block></value><value name="ADD9"><block type="lists_create_with" id="Eptn4OeqWx-.0P@s}vH," inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><shadow type="text" id="8gu{#~|^ES|{1V)ZoaK2"><field name="TEXT">A</field></shadow></value><value name="ADD1"><shadow type="text" id="%7hayLk*#}Xe}Mk+$KER"><field name="TEXT">G</field></shadow></value><value name="ADD2"><shadow type="text" id="@=)f_+}gB1KZu!=[oP1O"><field name="TEXT">F</field></shadow></value><value name="ADD3"><shadow type="text" id=":bl:zT.7ldh%FY3Y/_79"><field name="TEXT">E</field></shadow></value></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="du[/R4_+{[on-SWle}W#" x="1075" y="0"><field name="NAME">Button.AB</field><statement name="HANDLER"><block type="function_call" id="p7zQ*5GB[bUz@ADw$CkA"><mutation name="rotatePiece" functionid="Loj:a]=;LVaMziS|u-]u"></mutation></block></statement></block><block type="device_button_event" id="-;pW[Zx#q;])9|H.LP~%" x="1355" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="function_call" id="-3s?,[yH%z|lA^%3bHe$"><mutation name="movePiece" functionid="TRIVUS0|Q%4q;hG^cwHd"><arg name="dx" id="6siczldstjl026tk6y8d" type="number"></arg><arg name="dy" id="evievr4torddjyzlqhft6b" type="number"></arg></mutation><value name="6siczldstjl026tk6y8d"><shadow type="math_number" id="^I%-z5R;r,$tm6]@p5Q%"><field name="NUM">-1</field></shadow></value><value name="evievr4torddjyzlqhft6b"><shadow type="math_number" id="ceb*vfY(dUZYc;{fdx$z"><field name="NUM">0</field></shadow></value></block></statement></block><block type="device_button_event" id=":Q^M0iBHhTUY8f_`Q7e." x="1650" y="0"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="function_call" id="ORS(NB^5Hj$9kY=#Gz*Q"><mutation name="movePiece" functionid="TRIVUS0|Q%4q;hG^cwHd"><arg name="dx" id="6siczldstjl026tk6y8d" type="number"></arg><arg name="dy" id="evievr4torddjyzlqhft6b" type="number"></arg></mutation><value name="6siczldstjl026tk6y8d"><shadow type="math_number" id="s~PldRWI?|VJ6N#kc:q)"><field name="NUM">1</field></shadow></value><value name="evievr4torddjyzlqhft6b"><shadow type="math_number" id=";$B%Z|#4?!,995Q#XBcD"><field name="NUM">0</field></shadow></value></block></statement></block><block type="device_forever" id="/,^}Vq:lfAWf?~MZY[_8" x="1946" y="0"><statement name="HANDLER"><block type="controls_if" id="W~dJ(nz4*=%U7%$v).;7"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="NvYM0sP+bk%*,xrg6Wb,"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="e;d-rPI3h(;V|0W]zO(f"><field name="VAR" id="4y4ygIW=Zh})f::%J;`z">gameOver</field></block></value></block></value><statement name="DO0"><block type="device_pause" id="jr,sFb=c4w2hQy=aQQ:R"><value name="pause"><shadow type="timePicker"></shadow><block type="variables_get" id="~+v3MG3CG@*?4!(n6]j}"><field name="VAR" id="29%u/TYZ-64GlHQ`VaUX">interval</field></block></value><next><block type="function_call" id="*U27.A_{:G?UKC[Odf-V"><mutation name="movePiece" functionid="TRIVUS0|Q%4q;hG^cwHd"><arg name="dx" id="6siczldstjl026tk6y8d" type="number"></arg><arg name="dy" id="evievr4torddjyzlqhft6b" type="number"></arg></mutation><value name="6siczldstjl026tk6y8d"><shadow type="math_number" id="*_FEj!T[(JiTXB7H{_wO"><field name="NUM">0</field></shadow></value><value name="evievr4torddjyzlqhft6b"><shadow type="math_number" id="g!W@wpXE7,vm]pQ$D7Rx"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></statement></block><block type="device_forever" id="!9TI|VOqLsoBMEp86m7L" x="2299" y="0"><statement name="HANDLER"><block type="controls_if" id="!LSocG=q5mYSsvovAiS4"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="zH0fU1R7.^Y#`0*hI^^X"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="dN-|bkiGRWgpZO3N/p_U"><field name="VAR" id="4y4ygIW=Zh})f::%J;`z">gameOver</field></block></value></block></value><statement name="DO0"><block type="function_call" id="IUNh5`F`5espI(~N%{Bo"><mutation name="playSong" functionid="-h1n,cZEJ:ceaLJ0|^f9"></mutation><next><block type="device_pause" id="npA^|aPnX7!Kr@nZY#;M"><comment pinned="false" h="80" w="160">Adjust the pause to match the length of the custom theme</comment><value name="pause"><shadow type="timePicker" id="gHiISjntu1hij,v=}r5T"><field name="ms">8000</field></shadow></value></block></next></block></statement></block></statement></block><block type="typescript_statement" id="Qr,xAL{c2k?Yrd@hc;wR" disabled="true" editable="false" x="2652" y="0"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="input.onButtonPressed(Button.B, function () {" line1=" rotationDirection = -1 // Set direction to rotate left" line2="})" numlines="3"></mutation></block><block type="typescript_statement" id="?VPnF(*^3h[%Ad0+hbT!" disabled="true" editable="false" x="3223" y="0"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="input.onButtonPressed(Button.A, function () {" line1=" rotationDirection = 1 // Set direction to rotate right" line2="})" numlines="3"></mutation></block><block type="function_definition" id="`uFYXKsO;+fpM^YXrtW}" x="3794" y="0"><mutation name="rotatePieceRight" functionid="Qnn]ott6vbF[lMR-Rhbu"></mutation><field name="function_name">rotatePieceRight</field><statement name="STACK"><block type="pxt_controls_for" id="o=V`5*A7^ABnjCk!8TgD"><value name="VAR"><shadow type="variables_get_reporter" id="orpF=W(VjUHwSa.T|9@,"><field name="VAR" id="1j[G;+:X4ptJC{r5tgMQ">x4</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="K^pvuM`2znn:-Jpkn#/`"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="n5-(Bd#Z*$V4Cvh-X#x{"><value name="VALUE"><block type="lists_index_get" id="^o=P?[p/MUZ(C#)Z{Wix"><value name="LIST"><block type="variables_get" id="-hKW5#rvY{6awnB5O`4o"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number" id="O~)Rj#f5_)J1]^]v`8FO"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="?@SMArp;.DKp#2,$wjNh"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="array_push" id="*JRNh,}P};10IzQ0YxB^"><value name="list"><block type="variables_get" id="bcN3~sx1pL;EGUexFGjO"><field name="VAR" id="bwQ}Yr{WCWr[{Q9+OZb;">newPiece</field></block></value><value name="value"><block type="lists_create_with" id="*Ii=nUIVn|DI|9+b)OMX"><mutation items="0" horizontalafter="3"></mutation></block></value><next><block type="controls_repeat_ext" id="s:SCT`4NTWkj_0R8ph4D"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="lists_length" id="|dZ.xrF)HHxCL7sG$SW6"><value name="VALUE"><block type="variables_get" id="Uu(GTLMO|HB#uocSd?$J"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><statement name="DO"><block type="array_push" id="|hB8S6rm@bqoReK{os?l"><value name="list"><block type="lists_index_get" id="j,Ai6Wd0=co~]w]fDDnP"><value name="LIST"><block type="variables_get" id="`Ge}./T+OE)^6/__nziz"><field name="VAR" id="bwQ}Yr{WCWr[{Q9+OZb;">newPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=",;5(.VA{tAj+~KDU%I]K"><field name="VAR" id="1j[G;+:X4ptJC{r5tgMQ">x4</field></block></value></block></value><value name="value"><shadow type="math_number" id="??RX0W^BO[G$@`S])^-~"><field name="NUM">0</field></shadow></value></block></statement></block></next></block></statement><next><block type="pxt_controls_for" id="+rsfxsp]E}UR8m1kY.G("><value name="VAR"><shadow type="variables_get_reporter" id="+2^0SSJ6kHq}Z=aZ-_0!"><field name="VAR" id="=O),8U8z|*_|jrK,dq4:">y5</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="=/5g];2iklsaW^ByuA|k"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="c~.OV@%![ANe2kUpi5Z5"><value name="VALUE"><block type="variables_get" id="W6KBW3rFmDS%Ai$NgUD1"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number" id="Yrm2x+#x`ETXzs-V+kqT"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for" id="Pa2j2F#VbqHW-0[~_zy*"><value name="VAR"><shadow type="variables_get_reporter" id="DX0LKNkc..DevYDxZ[%F"><field name="VAR" id="15-%kPt)?v}1{4r1cxLD">x5</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="=a9x9eAbB,3|7l(8-U-%"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="Y[pCB::Mcq4$mkq6y9-Q"><value name="VALUE"><block type="lists_index_get" id=")]}xX*EDr!{T#I0t3X`t"><value name="LIST"><block type="variables_get" id="Ge=$ALP0LB7NP^C)Rf$%"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="J=A=fg@C_`,TP.[9*GQO"><field name="VAR" id="=O),8U8z|*_|jrK,dq4:">y5</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="MO|Y^vmr5H+/#^K.!My*"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="lists_index_set" id="?(+G^Lqh*{LB{bQ(ev`L"><value name="LIST"><block type="lists_index_get" id="AFw?FQV{cd2]d1p!s[rJ"><value name="LIST"><block type="variables_get" id="IlaR{Ng*?}xu,P*,{/?."><field name="VAR" id="bwQ}Yr{WCWr[{Q9+OZb;">newPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="`m`VM8wSG54FIPwYRs89"><field name="VAR" id="15-%kPt)?v}1{4r1cxLD">x5</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="nv|]%Q_d/U|?nFtt[e+3"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id=")|WG;I;rr%zS8UPaU.=$"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="(NSna+m@9jFnTp#({T4B"><value name="VALUE"><block type="variables_get" id="?!B_#l^/z$n;RZATU(gd"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="XUjG8?}Y{{=rVfE$u%OD"><field name="VAR" id="=O),8U8z|*_|jrK,dq4:">y5</field></block></value></block></value><value name="B"><shadow type="math_number" id="WQ(7DgioE^,ZF)nF2QzG"><field name="NUM">1</field></shadow></value></block></value><value name="VALUE"><block type="lists_index_get" id="5_[yi*p)dq|wOQjstp0z"><value name="LIST"><block type="lists_index_get" id="KqkJiO+9UaT)d;{i];g."><value name="LIST"><block type="variables_get" id="F8qN(hJKcJHj9m`5EU%#"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="8A=Fq[%X=%?mQH|{^,rk"><field name="VAR" id="=O),8U8z|*_|jrK,dq4:">y5</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="s*X^+SF$cb|7y|a:NPnp"><field name="VAR" id="15-%kPt)?v}1{4r1cxLD">x5</field></block></value></block></value></block></statement></block></statement><next><block type="controls_if" id="Kmm.BCHmeTu_K1)VIL)%"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="V^RDQaD(+_LK*W;.1*QO"><mutation name="canMove" functionid="gQ]c!,U5=3f4=**R!A[X"><arg name="dx" id="tig1mffg428tsbtfpxb0k" type="number"></arg><arg name="dy" id="a4c6tkw8z9ro3ljb88sk" type="number"></arg></mutation><value name="tig1mffg428tsbtfpxb0k"><shadow type="math_number" id="o142`[u!G1K%HE7j+adO"><field name="NUM">0</field></shadow></value><value name="a4c6tkw8z9ro3ljb88sk"><shadow type="math_number" id="+lQ,e_~^aNXtZ|kr^~tM"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="R7pG2g}fx*(LOq2XJDGj"><mutation name="clearPiece" functionid="OKVc;MXmZkvT|=_Y^0=/"></mutation><next><block type="variables_set" id="djiTmy-=i|o^SL?KeNkX"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="C(2!@%^)Njokzjb;!5$x"><field name="VAR" id="bwQ}Yr{WCWr[{Q9+OZb;">newPiece</field></block></value><next><block type="function_call" id="p_rbtxm}#})L_xs|@dXu"><mutation name="drawPiece" functionid="S_aX~a{R`_|AgcsGY!cE"></mutation></block></next></block></next></block></statement></block></next></block></next></block></statement></block><block type="function_definition" id="Oxhe0:eLuu/:wjZl(W+2" x="5516" y="0"><mutation name="rotatePieceLeft" functionid="zG:rnAQ3u~_L~KIbwt=z"></mutation><field name="function_name">rotatePieceLeft</field><statement name="STACK"><block type="pxt_controls_for" id="#G@Bf6`+hiU@@S2;HtU#"><value name="VAR"><shadow type="variables_get_reporter" id="P6+)YBw,gDu@86HCqoRe"><field name="VAR" id="o1y4i;rj!2D4UB}#K,x2">x6</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="*TqfG%]umwx~K45#I=Lv"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="ajUf$(EGy@bq!xpZ`q2/"><value name="VALUE"><block type="lists_index_get" id="cY;V*ygeyQCaorLL8)i|"><value name="LIST"><block type="variables_get" id="}KHJa-,4UOiau9a1h,Mk"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number" id="`+mxM{zA~x3Rgr$)5q)*"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="2m9:.t?i@_B$w6?2LI%]"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="array_push" id="Scx89Xl?Dw1R;/j8c~2/"><value name="list"><block type="variables_get" id="R!2jZFeVIjK!t?[!tqK8"><field name="VAR" id="*WEz#[+#a9EJY{mda+r*">newPiece2</field></block></value><value name="value"><block type="lists_create_with" id="Dy}Ru,u)ZN~Sug-re`iw"><mutation items="0" horizontalafter="3"></mutation></block></value><next><block type="controls_repeat_ext" id="qL2EknH[k-nq.)t}PsLC"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="lists_length" id=":Gk=JjV9SVZuhq4I:pJ@"><value name="VALUE"><block type="variables_get" id="0.@6(*#kI-d3[+e/mtQ2"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><statement name="DO"><block type="array_push" id="KOPS?al%Kwv)_emlfZ=`"><value name="list"><block type="lists_index_get" id="gV[6u^m8b}mWKXS9dJG4"><value name="LIST"><block type="variables_get" id="t8c-^k!3_)68hcd1Vc`0"><field name="VAR" id="*WEz#[+#a9EJY{mda+r*">newPiece2</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="NBLr=yHy~0C]FhJO^nRU"><field name="VAR" id="o1y4i;rj!2D4UB}#K,x2">x6</field></block></value></block></value><value name="value"><shadow type="math_number" id="MJ%HY;sa.3h8_hv1Kx^x"><field name="NUM">0</field></shadow></value></block></statement></block></next></block></statement><next><block type="pxt_controls_for" id="z~jnp`wl?$kr.QEMV$!+"><value name="VAR"><shadow type="variables_get_reporter" id="y^N]aCEr7jDl4m2oufh]"><field name="VAR" id="pnEODOpTT9-{3ZjA!WM^">y7</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="55Tc;-j%Q:++eXo_iz_P"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="TKpA4xq2r9d?lT(^Sln{"><value name="VALUE"><block type="variables_get" id="q]YJRW!b9[F*-V]H=cK."><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number" id=",kq^@2zN1:j/l8DAWbV?"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for" id=",X{^2-ec=OoXL9/s*j$`"><value name="VAR"><shadow type="variables_get_reporter" id="t;V`iI!x1=qQVnrd9GS8"><field name="VAR" id="$UTL]fOk5Zj[7U#0nIRd">x7</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="2A/Ebg,a_]rAW|6[X=;2"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="YI1Jn(HrMIrbs:IZY}wb"><value name="VALUE"><block type="lists_index_get" id="|?D6D|usXV:BJMp!Q5Tz"><value name="LIST"><block type="variables_get" id="Db8p6nd/Zd~7dZu2PKif"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="qf_{YyHRVIhTy!Ef2cT4"><field name="VAR" id="pnEODOpTT9-{3ZjA!WM^">y7</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="imJmr7e_X+.g}9~l,uxq"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="lists_index_set" id="E.79OV/[;Y:@Gb[Jk~(X"><value name="LIST"><block type="lists_index_get" id="VTz$}K~-vT2fqCnor$NJ"><value name="LIST"><block type="variables_get" id="]6[8t5)m5y-4.T:ukRNd"><field name="VAR" id="*WEz#[+#a9EJY{mda+r*">newPiece2</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="]?B|B(*jy6F[WFRwr_rP"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="wP%Rl%iUWwnuPJ97FbOI"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="{6VN2EX.-qNsn+:4DZNt"><value name="VALUE"><block type="lists_index_get" id="=u0f%t9^eL#9fg;C]]ug"><value name="LIST"><block type="variables_get" id="~`XM-Vb7)%6m!*EO7L@+"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="F=6@x}Z2yf~?hQOhb,t-"><field name="VAR" id="pnEODOpTT9-{3ZjA!WM^">y7</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="(b?}}VG-cIUaQeGoV3{G"><field name="VAR" id="$UTL]fOk5Zj[7U#0nIRd">x7</field></block></value></block></value><value name="B"><shadow type="math_number" id="H=F;UwoiNwU]$ffFGMx@"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="kwDyDEKTsk`]-=aM3ZzY"><field name="VAR" id="pnEODOpTT9-{3ZjA!WM^">y7</field></block></value><value name="VALUE"><block type="lists_index_get" id="!#L[HA6NHkw;t*b)=Hj5"><value name="LIST"><block type="lists_index_get" id="?3=P=V6gv;iUb$fMl,dr"><value name="LIST"><block type="variables_get" id="DvS!Mo_2$Nx3W`~?P%eY"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="SG}}C(HP%IPbJ8NTr$XH"><field name="VAR" id="pnEODOpTT9-{3ZjA!WM^">y7</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="HlZLx{%F4S`ppo4I/2]_"><field name="VAR" id="$UTL]fOk5Zj[7U#0nIRd">x7</field></block></value></block></value></block></statement></block></statement><next><block type="controls_if" id="#)gm1yu$4rX3mayKKWgf"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="RMH8AlgUBwX|b%[@T1@)"><mutation name="canMove" functionid="gQ]c!,U5=3f4=**R!A[X"><arg name="dx" id="tig1mffg428tsbtfpxb0k" type="number"></arg><arg name="dy" id="a4c6tkw8z9ro3ljb88sk" type="number"></arg></mutation><value name="tig1mffg428tsbtfpxb0k"><shadow type="math_number" id="6J`Mda)gG|NbrOv[FXyZ"><field name="NUM">0</field></shadow></value><value name="a4c6tkw8z9ro3ljb88sk"><shadow type="math_number" id="Hb.cWN/SQow4*xyve}Pm"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="N{[ELP)qaE+LV(iJ1{qc"><mutation name="clearPiece" functionid="OKVc;MXmZkvT|=_Y^0=/"></mutation><next><block type="variables_set" id="Sfv+:[OYr4lEsrf/enzF"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="8~{s(;.I*%{28,0EKU8h"><field name="VAR" id="*WEz#[+#a9EJY{mda+r*">newPiece2</field></block></value><next><block type="function_call" id=",26SnhOA*?2icpD8,gzE"><mutation name="drawPiece" functionid="S_aX~a{R`_|AgcsGY!cE"></mutation></block></next></block></next></block></statement></block></next></block></next></block></statement></block><block type="function_definition" id="G}CfYGyR,NYjvGP9,8;L" x="0" y="5381"><mutation name="playSong" functionid="-h1n,cZEJ:ceaLJ0|^f9"></mutation><field name="function_name">playSong</field><statement name="STACK"><block type="pxt_controls_for_of" id=",xndbo=Z*ujt-zS@ZU?|"><value name="VAR"><shadow type="variables_get_reporter" id="[TI=uW3vqWD=;,INWa{~"><field name="VAR" id="JG-0Abwke=X/gur5r;m:">row2</field></shadow></value><value name="LIST"><block type="variables_get" id="oOz1f1QYPv0`pie[Mce)"><field name="VAR" id="_vJeH+.=N*U,j_(=9y:d">songGrid</field></block></value><statement name="DO"><block type="pxt_controls_for_of" id="GgVB@mTOamm4@=0)ZvDq"><value name="VAR"><shadow type="variables_get_reporter" id="/]tn43ekFZN:s%H=E6_q"><field name="VAR" id=",]7i!Ftu/:0U|IiP{TjQ">note</field></shadow></value><value name="LIST"><block type="variables_get" id="+M{]90rxIP1nI@9vusjh"><field name="VAR" id="JG-0Abwke=X/gur5r;m:">row2</field></block></value><statement name="DO"><block type="controls_if" id=")]baHV/Q135$qT$;F5@I"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="f~S=rQ@qJ#H9ibf.sBJK"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="o(KhpNZhAeu%W2X4D)4|"><value name="LIST"><block type="variables_get" id=".j0tE$i==S!2T/6FrqB{"><field name="VAR" id="gS02tF(8[EAq.5oVUGp3">notes</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="/|dmW2dR.Oq(YG2LkSG9"><field name="VAR" id=",]7i!Ftu/:0U|IiP{TjQ">note</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="typescript_expression" id="hSZ}ZqGP21P=?c=^rmhr" editable="false"><field name="EXPRESSION">undefined</field></block></value></block></value><statement name="DO0"><block type="device_play_note" id="Zx-_e!9.%sJ51Mv$}_%r"><value name="note"><shadow type="device_note"></shadow><block type="lists_index_get" id="5V0n:@.o%~J*k7c_j@*i"><value name="LIST"><block type="variables_get" id="nXx?}c{%r{Q.J_K[p8Ak"><field name="VAR" id="gS02tF(8[EAq.5oVUGp3">notes</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="G]6;(H!K/}bZ_dW!Bmz|"><field name="VAR" id=",]7i!Ftu/:0U|IiP{TjQ">note</field></block></value></block></value><value name="duration"><shadow type="device_beat" id="4F%G|+OS[qr[9+ZxgGCx"><field name="fraction">BeatFraction.Quarter</field></shadow></value><next><block type="device_pause" id="4Kr}Q--;nt58(e.4xAoY"><comment pinned="false" h="80" w="160">Adjust timing between notes as needed</comment><value name="pause"><shadow type="timePicker" id="q}%W88h=_gC3Z8zsC7[D"><field name="ms">200</field></shadow></value></block></next></block></statement></block></statement></block></statement></block></statement></block><block type="function_definition" id="@~]0XG{d@I:=k0*x=jP5" x="742" y="5381"><mutation name="drawPiece" functionid="S_aX~a{R`_|AgcsGY!cE"></mutation><field name="function_name">drawPiece</field><comment pinned="false" h="80" w="160">0 = no rotation, 1 = right, -1 = left</comment><statement name="STACK"><block type="pxt_controls_for" id=")+F1|KWNo{/Eevt46Kgf"><value name="VAR"><shadow type="variables_get_reporter" id="-PGFK`~1WpGR,|}r`d~p"><field name="VAR" id="`;Sq~RL0My{y_dQsfHK,">y</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="o@WYVC?,n`$,-Cb(iEy@"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="rB^:h.I=!f=sSVN@)Od%"><value name="VALUE"><block type="variables_get" id="#86uBB9`/lk.b$tYt*n`"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number" id="i^:$?6z):WF6^x4iZn5s"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for" id="DOp$}B@IQz2@G8u)v=-5"><value name="VAR"><shadow type="variables_get_reporter" id="1qx3Z-LQyC5:T/U#i_X#"><field name="VAR" id="(RLpn)K?UK;Tub)|imA+">x</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="u)@g[)vF`EcPU+AMM1yJ"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="AeNp15S^*vFVPXokN%9I"><value name="VALUE"><block type="lists_index_get" id="?YuK0(VeTgDuVNWAvDdH"><value name="LIST"><block type="variables_get" id=":#-G09ku11LL)?ID[G-B"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="he3|Dg(CHPULBP%2s:u|"><field name="VAR" id="`;Sq~RL0My{y_dQsfHK,">y</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="qM}7J^|Vq%HjUIL1;]@!"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="controls_if" id="?JM8JTCed4EfS*30B~*."><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="sz+wxgb6_-?sJD`;MaI_"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="f0LJj!/45+ulV^%zi6jZ"><value name="LIST"><block type="lists_index_get" id="5:4uZ4j/#ZQi.(U[P_YF"><value name="LIST"><block type="variables_get" id="pqX21~;w0%N.9-krRg||"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="jx}W2uP`+`M$IqTaGV2:"><field name="VAR" id="`;Sq~RL0My{y_dQsfHK,">y</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="LL#LIt/Eb@wHv-F|%SLQ"><field name="VAR" id="(RLpn)K?UK;Tub)|imA+">x</field></block></value></block></value><value name="B"><shadow type="math_number" id="$6%7zy;aXNp;v]HYf%M."><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="device_plot" id="`%Gqiavuw.*1z[L~5n~M"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="A)yGg:9A#;_|_]=qc(IM"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Rr1/{DMn,lYM`fWhqE0x"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="TSLv{:jtpZL7gGETIxA-"><field name="VAR" id="(RLpn)K?UK;Tub)|imA+">x</field></block></value></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="#}DvgL^B:H-C:9SKv9b9"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="i%mio(XX,5eGN14=gH4D"><field name="VAR" id="!$(;s!/r6[J_LqBI%QtQ">currentY</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="CEkJ5(DXA:sa6hu-]+)*"><field name="VAR" id="`;Sq~RL0My{y_dQsfHK,">y</field></block></value></block></value></block></statement></block></statement></block></statement></block></statement></block><block type="function_definition" id="-GDQm*~4UzGy2x#o^QQ*" x="1649" y="5381"><mutation name="clearPiece" functionid="OKVc;MXmZkvT|=_Y^0=/"></mutation><field name="function_name">clearPiece</field><statement name="STACK"><block type="pxt_controls_for" id="ws}6d~89z(=T,7)e=rzT"><value name="VAR"><shadow type="variables_get_reporter" id="F4hrl#{(AW{HkJsMfm[9"><field name="VAR" id="OD?O.vpHIf;s2!a(O}Z-">y2</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="68[Z^#t1_:Tjp51FE@{U"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="Dfzx1z`)Ahb_C{_EJq1:"><value name="VALUE"><block type="variables_get" id="{a%^Bh{{]=bP4X|t4hFo"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number" id="3K.j$CyDu2~38(9Qgj8f"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for" id="O63X5NOtDj%[|P4ArZ(v"><value name="VAR"><shadow type="variables_get_reporter" id="VNT1nxNX+$h6j2FQOg9+"><field name="VAR" id="cyFE/mWPs?fQh#}`00HP">x2</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="Cw}KuEgd3i_VL;Cd~N^1"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="@Oo8pwbAVEI^AMn4.3uU"><value name="VALUE"><block type="lists_index_get" id="d2gb[2$AAZ+,L#zaiB%j"><value name="LIST"><block type="variables_get" id="V-X9rAu:~3~WGZ@v80Z}"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="M(n8a:TUr{TC=d2SUgI,"><field name="VAR" id="OD?O.vpHIf;s2!a(O}Z-">y2</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="Yz~dV}VK)m/Dhai?(S^z"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="controls_if" id="C@@WZP=1I{_%8o/hwhxT"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="56[1z!PVX;.eb,pNQ/`I"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="yzzc@)4NoHJVnZLXzADZ"><value name="LIST"><block type="lists_index_get" id="YchY^G3H5C6KIx41uk36"><value name="LIST"><block type="variables_get" id="l8z(Oxcgwy~y@Y,HD3?Q"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="DZnn|+g];pN6huhEOdi7"><field name="VAR" id="OD?O.vpHIf;s2!a(O}Z-">y2</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="2@;Ch$6~;T@hKFGwgnv-"><field name="VAR" id="cyFE/mWPs?fQh#}`00HP">x2</field></block></value></block></value><value name="B"><shadow type="math_number" id="0/7R}%`#k)p:;Lq|zkD8"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="device_unplot" id="B,##}[un@)U_QBzm=Tnt"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id=";(]YdDfzcx}x~f%=Y[)z"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=")m(7(Jq,2pRwup1!q`p@"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="SW6hxk#QK|hDB:4:`ya9"><field name="VAR" id="cyFE/mWPs?fQh#}`00HP">x2</field></block></value></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="XLkb}%!dS%eTd@z9Gezt"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="E3OvS%Z{,nRnGs7SPzj0"><field name="VAR" id="!$(;s!/r6[J_LqBI%QtQ">currentY</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ZyD|h=VMR.$jCs{tMNMs"><field name="VAR" id="OD?O.vpHIf;s2!a(O}Z-">y2</field></block></value></block></value></block></statement></block></statement></block></statement></block></statement></block><block type="function_definition" id="5rJ~7!`NYtO92k|61DUy" x="2573" y="5381"><mutation name="canMove" functionid="gQ]c!,U5=3f4=**R!A[X"><arg name="dx" id="tig1mffg428tsbtfpxb0k" type="number"></arg><arg name="dy" id="a4c6tkw8z9ro3ljb88sk" type="number"></arg></mutation><field name="function_name">canMove</field><statement name="STACK"><block type="pxt_controls_for" id="A[Xk5oxZ)Y;V2J;?*t7("><value name="VAR"><shadow type="variables_get_reporter" id="d5o4bX*}1zq@-gyQBi^V"><field name="VAR" id="O3ZKFyx-su_=wT+I7/_S">y3</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="F(C:RdlICVQ7T)SW|RwM"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="LkuaD^3P:OH-d@(,g7n6"><value name="VALUE"><block type="variables_get" id="DK`A*t9Ma{;sT{ItL}Nn"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number" id="CP`cN,CK.S1uJz.eybO#"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for" id="yWRY:0zvDyK[F@1]!Zjd"><value name="VAR"><shadow type="variables_get_reporter" id="]awYmy-R5fpxo~wjKbLW"><field name="VAR" id="Sh;15%-2`Iz(qDc/kbCA">x3</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="a=2IGE4xWu-V~(?KR(iz"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="}m~5IL2Kb%R,5}~n_kss"><value name="VALUE"><block type="lists_index_get" id="6w87PMGu-kH:w1c5tpV*"><value name="LIST"><block type="variables_get" id="DLSfI$.a.32IB{rOpi2o"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="yvaMOK^su?kj*Y!)BTsE"><field name="VAR" id="O3ZKFyx-su_=wT+I7/_S">y3</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="l._((VD#~c]k5%gzky[s"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="controls_if" id="~)iXin.Ebla{_}eb`P?K"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="0VZS4cbA9C;SeR0:.=^."><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="w555e3;UlY?@~,G=RgQx"><value name="LIST"><block type="lists_index_get" id="ir`nRy;$7cB$vl:;7R~-"><value name="LIST"><block type="variables_get" id="XNy*b+4PS=3QRkhSQB/}"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%p?nKVpo+|WFm@T!t!c["><field name="VAR" id="O3ZKFyx-su_=wT+I7/_S">y3</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="yB6{kS0=AI0R2M9nzr=1"><field name="VAR" id="Sh;15%-2`Iz(qDc/kbCA">x3</field></block></value></block></value><value name="B"><shadow type="math_number" id="bq~V5_~v.dLzGveHd1oO"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="^;Ll/s]|C#lw#NK/%JTU"><field name="VAR" id="M)y^O3^e:8ZkU88C7T`{">newX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="hgze^N[wq9cgZJHWKU{{"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="F*EcnKrfSx6l(]k6LHwN"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="J3whf2ph]a+TPf:O8hFZ"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="o{*)#zFLlpmk17I|:zNl"><field name="VAR" id="Sh;15%-2`Iz(qDc/kbCA">x3</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="vYnJu`R34^X`^SSTe6G@"><field name="VALUE">dx</field></block></value></block></value><next><block type="variables_set" id="5ysq{M!V4,;oz#X/c8Q3"><field name="VAR" id=";$T|$UY[qcbnA~dZk;62">newY</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="w2qcU/}Zg?Pr:[G.fZKH"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="rrgDX*QB6A?@Rx`OWw0z"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="#FuWZJ*E=lB{[%k]O.JO"><field name="VAR" id="!$(;s!/r6[J_LqBI%QtQ">currentY</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="taa*I#J+w9n,FPmyUHta"><field name="VAR" id="O3ZKFyx-su_=wT+I7/_S">y3</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="a^j*G;d4eq~3t~kT]w$R"><field name="VALUE">dy</field></block></value></block></value><next><block type="controls_if" id="WNl5E{|_^GOIB*f|5FPV"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="-R/|kR@Px/vK-^ie5%IE"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="y?Vw?Wpl-E2g3sP)}P6X"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="[email protected];LYm*Y72D2Zfn4yo"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="zCizO{H3:cj4PTgmC7zr"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="s$FO{}y^U~ID4E`_p[be"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="?YKJYCub%F,H#L-4/(ej"><field name="VAR" id="M)y^O3^e:8ZkU88C7T`{">newX</field></block></value><value name="B"><shadow type="math_number" id="j7hwaW#XUH~xbu;_V#G."><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="UdKq5;7heI;tUW-]Ojm+"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="e)5oyI#}erF,2tq%5PRp"><field name="VAR" id="M)y^O3^e:8ZkU88C7T`{">newX</field></block></value><value name="B"><shadow type="math_number" id="0uBT4F^8D]C}-;PyUHub"><field name="NUM">5</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="B8|wXWS$[A~gy:s!]iEM"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="L4ftw.*nD{SO6(N:Y{uE"><field name="VAR" id=";$T|$UY[qcbnA~dZk;62">newY</field></block></value><value name="B"><shadow type="math_number" id="6.2JYn?FY|^XR|w?cQM0"><field name="NUM">0</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="jRAdVD/fYsg;Jn:Xf#(X"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="1|j2U-K,}0^$U+@SY3+D"><field name="VAR" id=";$T|$UY[qcbnA~dZk;62">newY</field></block></value><value name="B"><shadow type="math_number" id="?ts8sn`SE8FWX)*vvj%)"><field name="NUM">5</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="DML!}RA+1EiTDG,`O`I)"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="gCF8-+HLu:(MKdM%{{9e"><value name="LIST"><block type="lists_index_get" id="VH15}SPq9TFtqbgi+X8g"><value name="LIST"><block type="variables_get" id="7lBp5^W7/Sp0dmx-C_)O"><field name="VAR" id="FJ}@:1/[9e:Sq}fOCxzP">grid</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="z[8vp4+SDfFcq$zTkyS~"><field name="VAR" id=";$T|$UY[qcbnA~dZk;62">newY</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="DD*EYaO.P~w=04zMJ1qc"><field name="VAR" id="M)y^O3^e:8ZkU88C7T`{">newX</field></block></value></block></value><value name="B"><shadow type="math_number" id="eK)x`*LeIF]X-j[3f=F0"><field name="NUM">1</field></shadow></value></block></value></block></value><statement name="DO0"><block type="function_return" id=".#z@-x_[-MAF{r`_Uvq4"><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="logic_boolean" id="]V][R^zHdr6_/VL(BO@l"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></statement></block></statement></block></statement><next><block type="function_return" id="Y=S$!Cd@w*;:@?!7(7B9"><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="logic_boolean" id="qnn(woaBU_*}h~6(;~ns"><field name="BOOL">TRUE</field></block></value></block></next></block></statement></block><block type="function_definition" id="F9f5l9Jpv~yF4EF/?%Mp" x="4732" y="5381"><mutation name="movePiece" functionid="TRIVUS0|Q%4q;hG^cwHd"><arg name="dx" id="6siczldstjl026tk6y8d" type="number"></arg><arg name="dy" id="evievr4torddjyzlqhft6b" type="number"></arg></mutation><field name="function_name">movePiece</field><statement name="STACK"><block type="controls_if" id=";rQT9ZgVh%B3o,XDux#x"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id=".J2uyXF_p:hfZt=og;~|"><mutation name="canMove" functionid="gQ]c!,U5=3f4=**R!A[X"><arg name="dx" id="tig1mffg428tsbtfpxb0k" type="number"></arg><arg name="dy" id="a4c6tkw8z9ro3ljb88sk" type="number"></arg></mutation><value name="tig1mffg428tsbtfpxb0k"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="@US,e.M^DBwqoK#h7muT"><field name="VALUE">dx</field></block></value><value name="a4c6tkw8z9ro3ljb88sk"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id=".2WDA1fz/dYE=o^F-z:0"><field name="VALUE">dy</field></block></value></block></value><statement name="DO0"><block type="function_call" id="JuKL1ymhl{g[{NuQPI?X"><mutation name="clearPiece" functionid="OKVc;MXmZkvT|=_Y^0=/"></mutation><next><block type="variables_change" id="Tbi%r)pil#[R=Dw_X=!;"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="{-+//!?6Snyl[TH8=;NW"><field name="VALUE">dx</field></block></value><next><block type="variables_change" id=";Lk(]*pd~j4JXDbk2-[/"><field name="VAR" id="!$(;s!/r6[J_LqBI%QtQ">currentY</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="2HdBWO|i@Li[X]nTk6ZZ"><field name="VALUE">dy</field></block></value><next><block type="function_call" id="exu70aqv@Ft[=~LvaVYh"><mutation name="drawPiece" functionid="S_aX~a{R`_|AgcsGY!cE"></mutation></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="%a(XIW2d_}~ry+BuTB^3"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id=".zXM`NV?O@Zo$ZT+wp_l"><field name="VALUE">dy</field></block></value><value name="B"><shadow type="math_number" id="0%6+Knq.}qMuA!zwQ}xV"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="u[XcE4%8uhTRi{Ci^CZ-"><mutation name="lockPiece" functionid="fn?F@q9QvJ80AS`=NJTr"></mutation><next><block type="function_call" id="BUJ|yaTJO,*$T7E~Ksah"><mutation name="clearLines" functionid="[?]8:99.fzr+cv+Q_Tjv"></mutation><next><block type="function_call" id="Qe~N(n$sCYpjFP]NaIfR"><mutation name="spawnNewPiece" functionid="J,F!tXLH.pCm4JX59Cim"></mutation></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="oEy9ejtaiMcCarN)HG%," x="5151" y="5381"><mutation name="rotatePiece" functionid="Loj:a]=;LVaMziS|u-]u"></mutation><field name="function_name">rotatePiece</field><statement name="STACK"><block type="controls_if" id="JYmX7KJZDyVwdUh#P.hs"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="fFWulr?tJbdB,lm.DCZ?"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="BO#7.MI{[o_k-Co=1$-M"><field name="VAR" id="jQBWp@CWXP)86Zg/f.g=">rotationDirection</field></block></value><value name="B"><shadow type="math_number" id=":TV@jnRPHi-m-SQnnIg0"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="d=rcA#rM[?*v7ijZ^SnS"><mutation name="rotatePieceRight" functionid="Qnn]ott6vbF[lMR-Rhbu"></mutation></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="}rWRN+Gy6mfp$,fhr;(m"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="7.dv~O=]/5H#oo]t6vW4"><field name="VAR" id="jQBWp@CWXP)86Zg/f.g=">rotationDirection</field></block></value><value name="B"><shadow type="math_number" id="W3:p::O9W*cSW8(zZWzo"><field name="NUM">-1</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="aQF9d/RGGqBlnS}f`n/,"><mutation name="rotatePieceLeft" functionid="zG:rnAQ3u~_L~KIbwt=z"></mutation></block></statement><next><block type="variables_set" id="{Esqg4Ue_:Han!7U4~/^"><field name="VAR" id="jQBWp@CWXP)86Zg/f.g=">rotationDirection</field><comment pinned="false" h="80" w="160">Reset rotation direction after rotation</comment><value name="VALUE"><shadow type="math_number" id="}^gB}^LyDAssQ?JZ}e(x"><field name="NUM">0</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="7ODJKlDEdtSiqv?W.0e_" x="5715" y="5381"><mutation name="lockPiece" functionid="fn?F@q9QvJ80AS`=NJTr"></mutation><field name="function_name">lockPiece</field><statement name="STACK"><block type="pxt_controls_for" id="v,EPU?A*nlmSmf#~Y9C`"><value name="VAR"><shadow type="variables_get_reporter" id="iFY|2$24$T]}9EeXbu4p"><field name="VAR" id="6OkDsBgoWWA+DWH;KThw">y8</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="|y89yK7VFu|zNK=8:ln["><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="ikHX`fPRPs?r9bz_S3o3"><value name="VALUE"><block type="variables_get" id="5*1_@/mH:!DKPXb46h?Q"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value></block></value><value name="B"><shadow type="math_number" id="zbv#lN%%ocjpX6AkB5U{"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for" id="EZQMweV$,8SFTKAtaZIl"><value name="VAR"><shadow type="variables_get_reporter" id="_;xAGFJL76]mQu0Xq4$a"><field name="VAR" id="vq5H2bI1;:7TcqLn23I.">x8</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="?ikz@TAj#z#$n@_X:sXT"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="qKg5~GhA8B;I6=jp$!x2"><value name="VALUE"><block type="lists_index_get" id="j_qflH^w::xnK;;-_fok"><value name="LIST"><block type="variables_get" id="1Zh*3qZ$B=KyhrJc[`H?"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="/T8A~0u.?xfP:0yHGx:X"><field name="VAR" id="6OkDsBgoWWA+DWH;KThw">y8</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="}GT_+rz5^MMwR|c8owqp"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="controls_if" id="G0f@YIN=y6ZEeXtw[NK+"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=":_}5yv={D*a+iyc$G)?J"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="uqrzh/_}k]xVy6xZif3;"><value name="LIST"><block type="lists_index_get" id="T*S0nMI2MtPhjuRn;05j"><value name="LIST"><block type="variables_get" id=",R71Os$Cv|``-qvQJ5Dn"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="bxB].2(/X_KnhTPH_0U5"><field name="VAR" id="6OkDsBgoWWA+DWH;KThw">y8</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="FU+EBSY[tm%;iX-=Tc5`"><field name="VAR" id="vq5H2bI1;:7TcqLn23I.">x8</field></block></value></block></value><value name="B"><shadow type="math_number" id="|mcYUCaJ!}_V+}y%7q}8"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="}%BX#^sdL+Hc]9lHr*SP"><value name="LIST"><block type="lists_index_get" id="OaXstWDC:[m=BoOL(SuG"><value name="LIST"><block type="variables_get" id="n_1o#@B`C=|;:)tdmwE3"><field name="VAR" id="FJ}@:1/[9e:Sq}fOCxzP">grid</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="{^-C?Gmyzi=%QE#lUa=)"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="FZncJ1bR~d5%v$`Yb?D/"><field name="VAR" id="!$(;s!/r6[J_LqBI%QtQ">currentY</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="f]UDXyQh5aPmI%4gykNY"><field name="VAR" id="6OkDsBgoWWA+DWH;KThw">y8</field></block></value></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="n8iujz}Trnjvh3?rocGv"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Cbd6}bskL{=V=V%9S4-o"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Vh/7bn,:rtt{A?OXxrsW"><field name="VAR" id="vq5H2bI1;:7TcqLn23I.">x8</field></block></value></block></value><value name="VALUE"><shadow type="math_number" id=",ysf`m8BheQT{fGNdTrr"><field name="NUM">1</field></shadow></value></block></statement></block></statement></block></statement></block></statement></block><block type="function_definition" id="jM|{{S^V]$R9vb[5i/lL" x="0" y="6176"><mutation name="clearLines" functionid="[?]8:99.fzr+cv+Q_Tjv"></mutation><field name="function_name">clearLines</field><statement name="STACK"><block type="pxt_controls_for" id="o_6Fo}y%9JG6+KvjK37P"><value name="VAR"><shadow type="variables_get_reporter" id="Si@UbiK^~));)gkSJxHq"><field name="VAR" id="VeQusqcQ4rzAHseJY9hm">y9</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_number" id="5o|ObqM[(4v[EYpEkt*`"><field name="NUM">4</field></block></value><statement name="DO"><block type="variables_set" id="gm$)s2^C6hpA/c|^bvTN"><field name="VAR" id="8ro,D=A9:W+D8TECF~77">fullLine</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_boolean" id="+:irhKR!,sK_k=vl^y!P"><field name="BOOL">TRUE</field></block></value><next><block type="pxt_controls_for" id="c@,y4i]JT80fL/c1SHFu"><value name="VAR"><shadow type="variables_get_reporter" id="P,z]DN*m1V_hIM#bZEio"><field name="VAR" id="P~Aq.;_8F6e[,{~XA-RS">x9</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_number" id="ISVAVHaZ4uiF?8@uTj}:"><field name="NUM">4</field></block></value><statement name="DO"><block type="controls_if" id="Z^QzD++gkAQ2hW$T)/a["><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="?[liE]nOAE#Y0u~/W5q,"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="R2N!9~g6.$:EH^f3|v^)"><value name="LIST"><block type="lists_index_get" id="S^`?V.-Jwp5yY0bxT|lY"><value name="LIST"><block type="variables_get" id="oD72Op(3UsR845eh;},f"><field name="VAR" id="FJ}@:1/[9e:Sq}fOCxzP">grid</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ryi)L9p??#GXH.iVf=rf"><field name="VAR" id="VeQusqcQ4rzAHseJY9hm">y9</field></block></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Q+?XE;LxL3Lco:gMs]OH"><field name="VAR" id="P~Aq.;_8F6e[,{~XA-RS">x9</field></block></value></block></value><value name="B"><shadow type="math_number" id="BJC;=PX@@QPyCmxRrQYb"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="bV07b?Z;sx`42vLrZ;kE"><field name="VAR" id="8ro,D=A9:W+D8TECF~77">fullLine</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_boolean" id="I_JgTQwpG3iv.!5N.xZ}"><field name="BOOL">FALSE</field></block></value><next><block type="break_keyword" id="r8XvcN)ZBFT1RW,3EpNL"></block></next></block></statement></block></statement><next><block type="controls_if" id="z76nYAK+;zLyLhYjjjl?"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="g*GYpLoE)kv.XPxDyL]v"><field name="VAR" id="8ro,D=A9:W+D8TECF~77">fullLine</field></block></value><statement name="DO0"><block type="typescript_statement" id="e_@l)/=3bdV^P`WwQrrN" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="for (let row = y9; row > 0; row--) {" line1=" for (let col = 0; col < 5; col++) {" line2=" grid[row][col] = grid[row - 1][col]" line3=" }" line4=" }" numlines="5"></mutation><next><block type="pxt_controls_for" id="r(-v+wh[qEJzN)3y(!sr"><value name="VAR"><shadow type="variables_get_reporter" id="YUPDMRP5[1;s#5$5nV0s"><field name="VAR" id="rQmgO$^Q[Oo%xu%6vlf+">col2</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_number" id="dH|-Kn~TXub@O!0y@Sz*"><field name="NUM">4</field></block></value><statement name="DO"><block type="lists_index_set" id="K+[T8rO)!v5[yRioP`R`"><value name="LIST"><block type="lists_index_get" id="gqmnR0rE*U=p|vju:p;n"><value name="LIST"><block type="variables_get" id="O2q}e|z9+Ug%nvWPuYy8"><field name="VAR" id="FJ}@:1/[9e:Sq}fOCxzP">grid</field></block></value><value name="INDEX"><shadow type="math_number" id="uUdf`r+j.CXX1:5$v-)m"><field name="NUM">0</field></shadow></value></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="[OgC9Qh2EX(#zxSQ}cX4"><field name="VAR" id="rQmgO$^Q[Oo%xu%6vlf+">col2</field></block></value><value name="VALUE"><shadow type="math_number" id="mPryl=JFTmrh#:8WFl2f"><field name="NUM">0</field></shadow></value></block></statement></block></next></block></statement></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="]?l/x@^q0|iIyxhL$x{o" x="854" y="6176"><mutation name="spawnNewPiece" functionid="J,F!tXLH.pCm4JX59Cim"></mutation><field name="function_name">spawnNewPiece</field><statement name="STACK"><block type="variables_set" id="@7K_nDmxA#n5*FO=TzBA"><field name="VAR" id="JNVxikvJ4vCX8W`u~zi,">currentPiece</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="C.Zh!2?Slm+t3GiB:,Nl"><value name="LIST"><block type="variables_get" id=";rkH{b%.vXWV@0*-?VUu"><field name="VAR" id="=sn@1?O9,o*r{CjavuW}">tetris</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random_deprecated" id="SL_]Q4]FTaiu`j(nNot@"><value name="min"><shadow type="math_number" id="fHZYZ-7+S~;60Eb2FGc3"><field name="NUM">0</field></shadow></value><value name="limit"><block type="math_arithmetic" id="6JvF]lDKB!yB5=B1n3Ux"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="_r+D8p`y*vDUTW[kEiid"><value name="VALUE"><block type="variables_get" id="a3C4tSsFj:5%NV8$$0*e"><field name="VAR" id="=sn@1?O9,o*r{CjavuW}">tetris</field></block></value></block></value><value name="B"><shadow type="math_number" id="y+UilCvN0dA/*N?JSP*w"><field name="NUM">1</field></shadow></value></block></value></block></value></block></value><next><block type="variables_set" id="=ZZ5HeTL#rfBVG,L_n6?"><field name="VAR" id="t?z$moT$}oPvM%*|_qyS">currentX</field><value name="VALUE"><shadow type="math_number" id="2EA_l~mkg@pA3!nA)l4K"><field name="NUM">1</field></shadow></value><next><block type="variables_set" id="7m[bZ|VXvh9:2@QQE0S#"><field name="VAR" id="!$(;s!/r6[J_LqBI%QtQ">currentY</field><value name="VALUE"><shadow type="math_number" id="pi|QDjqzM`8wzW~?KAG@"><field name="NUM">0</field></shadow></value><next><block type="controls_if" id="Nd_vRZleOs@Kc%DR5_Y["><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="Zf|`n$6Uyf`7.RbDXzkF"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="JJs}M4sU`J1+gaX{1=%4"><mutation name="canMove" functionid="gQ]c!,U5=3f4=**R!A[X"><arg name="dx" id="tig1mffg428tsbtfpxb0k" type="number"></arg><arg name="dy" id="a4c6tkw8z9ro3ljb88sk" type="number"></arg></mutation><value name="tig1mffg428tsbtfpxb0k"><shadow type="math_number" id="aaKI(lyu^=G~PM82bdQh"><field name="NUM">0</field></shadow></value><value name="a4c6tkw8z9ro3ljb88sk"><shadow type="math_number" id=",n==X?^Y5y|A%deJwE4^"><field name="NUM">0</field></shadow></value></block></value></block></value><statement name="DO0"><block type="variables_set" id=";NQkt|moz[qw3ypz]mrk"><field name="VAR" id="4y4ygIW=Zh})f::%J;`z">gameOver</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_boolean" id="n+F@||Wy`:xo86)9_*?3"><field name="BOOL">TRUE</field></block></value><next><block type="device_print_message" id="jx`cfXx]X]|6B8B:yMZX"><value name="text"><shadow type="text" id="%=@!C;$1T3flVlfkcL0#"><field name="TEXT">Game Over</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="function_call" id="cg[ZvV]Og`_Mm,rcsEU{"><mutation name="drawPiece" functionid="S_aX~a{R`_|AgcsGY!cE"></mutation></block></statement></block></next></block></next></block></next></block></statement></block></xml>