-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.blocks
35 lines (35 loc) · 229 KB
/
main.blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id="E?q7SjkU)A^8b`zxD~2k">Player</variable><variable type="KIND_SpriteKind" id="3G6MV.1KxXHwaAptH%+6">Projectile</variable><variable type="KIND_SpriteKind" id="rLuG5sVc|d+M!ap?td7]">Food</variable><variable type="KIND_SpriteKind" id="?v3YdWx4LN25RR3Ub,NC">Enemy</variable><variable type="KIND_SpriteKind" id="p7]JVbdZgUei9%vZkg6T">Piece</variable><variable type="KIND_SpriteKind" id="hZ00pzAnj:-nu,!u3f#%">Text</variable><variable id="}_f@%y:V3.#A0dM_dWi3">controls_enabled</variable><variable id="wjMIPH`VLP-lS@|mu:FA">sprite_cursor</variable><variable id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</variable><variable id="Z-xg+9rcWY~NPU3N_?l+">chess_tiles</variable><variable id="_Ux(`m-.oH.4ECm4_cqk">chess_images</variable><variable id="~-|X!R!Bb?r559KX`?wq">chess_names</variable><variable id="FGhiO|C:J(p?FZ3dd5!E">index</variable><variable id="6}!xgp6Q9,BGdDE-3KoU">location</variable><variable id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</variable><variable id="8!*f#foavDPzg9qRI)aU">sprite_selected</variable><variable id="_Ezuu;M#ASL|=m`qXcFg">in_game</variable><variable id="c~uK$w4D_*6;WtW@wz]5">sprite</variable><variable id="o*XxuG1a8bGjJ@1gxOi=">local_moves</variable><variable id="]*R8%s*^ejC)CiaSg#}D">available_moves</variable><variable id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</variable><variable id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</variable><variable id="Y%17RBQ;d(MJ}Hugg8;)">local_direction</variable><variable id="a3l:zFIBL}SGEGsO!*Y%">all_directions</variable><variable id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</variable><variable id="A~+xDrA@|Dya25wEX3+{">attacked_locations</variable><variable id="H(MxD@0PV|Sk0d.c.0LD">local_attacked_locations</variable><variable id="YLm4=eVyN9+nl2)/hl,d">current_player</variable><variable id=";dy.:ARYqReE(0B`bT#]">mySprite</variable></variables><block type="function_definition" id="A)(MsWCU(plY:UnK1yL9" x="-11010" y="70"><mutation name="get_all_attacked_positions" functionid="^z5m=uQA~t]b.@PfkD0F"><arg name="white" id="@j-OG[EPz1W.2P}@3{0X" type="boolean"/></mutation><field name="function_name">get_all_attacked_positions</field><value name="@j-OG[EPz1W.2P}@3{0X"><shadow type="argument_reporter_boolean" id=".JxdjfKUV}y~U??s6G3T"><field name="VALUE">white</field></shadow></value><statement name="STACK"><block type="variables_set" id="?YGhPP?:.FV@]K.y-In@"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field><value name="VALUE"><block type="lists_create_with" id="%DzwdP;h_*/zfb1h#BH("><mutation items="0" horizontalafter="3"/></block></value><next><block type="pxt_controls_for_of" id="bw!I?;@N8gS~99K`]9B{"><value name="VAR"><shadow type="variables_get_reporter" id="N+.q)$CQxDY`q}7@-*r)"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></shadow></value><value name="LIST"><shadow type="variables_get" id="m`Ui5fNT1MQR#c01pB)@"><field name="VAR" id="RE(aJxe#c|mk{3k{F-oT">list</field></shadow><block type="allOfKind" id="6(*eS7EhFrtx%?bA!`A{"><value name="kind"><shadow type="spritekind" id="|C4|bK[P~EmwiOn9erf~"><field name="MEMBER">Piece</field></shadow></value></block></value><statement name="DO"><block type="controls_if" id="d)[hIGe*qyc+h$@I,0`?"><value name="IF0"><shadow type="logic_boolean" id="~}~m=)yp+*m;L}v,L~zU"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="^oMXY_x6h[QKe0Hi$M!z"><field name="OP">NEQ</field><value name="A"><shadow type="math_number" id="r6{R.f6)CtlQ:rcHp6-#"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="%s02UzY;b1{=8|Py$H[r"><value name="sprite"><block type="variables_get" id="CT~J|95JH3Gq+OkNumF@"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="_1M_gkg%~UA:E3tOm@3*"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="y|;?~GLgv|R53mu%kbXy"><field name="NUM">0</field></shadow><block type="argument_reporter_boolean" id=";~+UUyk6o[i8y%Ed?Oi:"><field name="VALUE">white</field></block></value></block></value><statement name="DO0"><block type="continue_keyword" id="G=juJN6`/!^(kPq{U.:-"/></statement><next><block type="controls_if" id=",[_b-*BW?7i69g9}DE-p"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean" id="wac0?.iMcqk-!%);{9]9"><field name="BOOL">TRUE</field></shadow><block type="string_includes" id="W*vI/W^efjqOPI`B}vGC"><value name="this"><shadow type="text" id="IzD4K]35Tyy7i*?nn3qg"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="/f%._:I1sd`I@96|WM:L"><value name="sprite"><block type="variables_get" id="(Y#h`lg0s5Ri^u6-+FPs"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="y3Soj`{hP3gOJw:fse:g"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="p0vuShDwI=[AXx63ONiA"><field name="TEXT">pawn</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="/w+[n@O]XNOY1=zNF:E1"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="spriteDataGetBoolean" id="a@,UAT}t^k%ki%)/nPUM"><value name="sprite"><block type="variables_get" id="Xdi}s85b0Q_p/$#Ldd!}"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="+;eT6rQE^XBNu!hH;SOR"><field name="TEXT">is_white</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="XEy$K4S|J?^U:z]bQhq:"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id=";8Qgb%aZ+UmcC5F1EItl"><value name="direction"><shadow type="direction_editor" id="}8o/Gk!C(vaGYLF`sfb0"><field name="direction">CollisionDirection.Left</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="ED)kJ0#iSbnFN{HQ}=g{"><value name="direction"><shadow type="direction_editor" id="?Q3lgV7=}$``k]-.R{3D"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="~6+MPZ$QYCT2o`|xREjb"><value name="s"><block type="variables_get" id="J1m{gHZps/7UG5`k,aWn"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="0.V_;3QA1{?xhw[cpwim"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="?z%_:ucG!(0Y~lG%A`~k"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="jAEp))Fy3rNF(;X2;-O6"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="f^_u*FI[HU!ADi[R~*WO"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id=".0.5JJ9J|Iu`DoErM:a2"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="m`fLS--)j!$Yy5uHZhYj"><value name="list"><block type="variables_get" id="w:d,!!$`,++YL!0N.s/^"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value><value name="value"><block type="variables_get" id=":v~i:@n-I^YM55L%c0?H"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><next><block type="variables_set" id="[.QJJAr/nJl$`4%E%*oV"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="|I%Tl*k*.H$5^dP3oluH"><value name="direction"><shadow type="direction_editor" id="7W?1|UM%_3X+!TVi-_$-"><field name="direction">CollisionDirection.Right</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="?-Sktb;utw2bO(K1F1]m"><value name="direction"><shadow type="direction_editor" id="w}6=7r7T6jvd]zkI/EOh"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="}{Vk/Prm,lH`*nqffTih"><value name="s"><block type="variables_get" id="Tb=+pVIN^f/f12O$+O18"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="4.;!LEt4YyAZN9R4@gQ0"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="wtv$n/=5[9Rk1syPfw:f"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="hVIgw#asm]:#Q}N`77C="><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="P`0|)o;HYcmMp(XPs|mx"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="NbQzovF@M3^tASLrjo@~"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="cj*Op60/F*a}7e]`x+50"><value name="list"><block type="variables_get" id="CYK0}Cpe9D`2giBqs^8*"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value><value name="value"><block type="variables_get" id="$BgZ3VG;I4K5Lqa:D{BI"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="|6b[H*)VTAjv-rc~RN}Q"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="x[FT^*g}%Oe!pSW:x]*2"><value name="direction"><shadow type="direction_editor" id="u:aHHV5E1IN;bbUtyfl,"><field name="direction">CollisionDirection.Left</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="e=4prU*v1b0dgd}vSJwo"><value name="direction"><shadow type="direction_editor" id="Pgl:-yF110KzduF|+08o"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="8mi!jUcPO_LZcdJWHU6,"><value name="s"><block type="variables_get" id="l|AYt/G#9k5mMmj0UiZ1"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="vXF$mh(#Rf2FmFmYBYI["><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id=",/.}upTLto!U89B)$(kt"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="3=r-1E._F_](Fi=xbvtI"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="ygw5?Pcs}{U|MG^H0k2K"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="^/e+N75SMn@!w[Oay2`R"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="W6b*L1u1/fn5l+=`0/kd"><value name="list"><block type="variables_get" id="Wef/temT!*2q/Hi?K7O+"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value><value name="value"><block type="variables_get" id="QvG:jV)um*F(7[^%|YdU"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><next><block type="variables_set" id="^E1%o^YkEN4c;(2{)l?H"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="cgutP@(ZSSnUP!,L05nC"><value name="direction"><shadow type="direction_editor" id="Tm{,81b4~B=n(wiA}nwB"><field name="direction">CollisionDirection.Right</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="0.9}=IqmSQiU:+7R,vZ7"><value name="direction"><shadow type="direction_editor" id="d$z+jF)vj|j3P5!6Xxh*"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id=".=a(}3WD.!VvA(Ai6qzi"><value name="s"><block type="variables_get" id="Pe3Sr=!gp!WYbQAPlmR9"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="-)+m*k#:TC-!gozk*1Iq"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id=")%:Ma3k`sB.($t+@f(D;"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="}zACDC_GXM%-?2}75aZ8"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="(t.|h|#Mu10:7}/=;hNR"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="Bm`x||;G]U[T5hK6=^#E"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="~,qBhy_k;B1|x6.,klh$"><value name="list"><block type="variables_get" id="b/6mXa:%htz0}8`e[jX6"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value><value name="value"><block type="variables_get" id="]f,bF1P/g.UykMZ?*C/6"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></next></block></next></block></next></block></statement></block></statement><value name="IF1"><block type="string_includes" id="It2ku{n9=vSQ?fwHE+R!"><value name="this"><shadow type="text"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="6@~Ok]gsLr-=xaU~DIJ0"><value name="sprite"><block type="variables_get" id="Aq:x8hlf}dB(MYMG8et`"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="3Jy./x7A~@D~yM{e}eWE"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="0s}OnXk^u_i/D7*ro{xx"><field name="TEXT">king</field></shadow></value></block></value><statement name="DO1"><block type="variables_set" id="Vlog/]N$!8}GZjNMF-i!"><field name="VAR" id="H(MxD@0PV|Sk0d.c.0LD">local_attacked_locations</field><value name="VALUE"><shadow type="math_number" id="r:hf,Mu[/^%ibf}3U`l4"><field name="NUM">0</field></shadow><block type="function_call_output" id="SU%[2%U$OL1EAiIMbaF!"><mutation name="calculate_move_for_king" functionid="{01q%2#/DZUGiE1y_/B,"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="check_attacked_locs" id="kbZ.3r-G56%_:1Y?*cUg" type="boolean"/><arg name="local_moves" id="vrJ(C`yag*v2qfNue:5}" type="Array"/></mutation><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="variables_get" id="v$U=uz7GfPx^WI;kall^"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></shadow></value><value name="kbZ.3r-G56%_:1Y?*cUg"><shadow type="logic_boolean" id="W#E3wgxRoO-=k.2YNJ;k"><field name="BOOL">FALSE</field></shadow></value><value name="vrJ(C`yag*v2qfNue:5}"><shadow type="variables_get" id=";_IF~37;m6Oco?!Mx)g{"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow></value></block></value><next><block type="pxt_controls_for_of" id=".Z/V4w~UdrIv+so_{XGF"><value name="VAR"><shadow type="variables_get_reporter" id="J$RjsMY;j:4`p~;U]oic"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="c2/tSBxzXSa}tvZs8$iv"><field name="VAR" id="H(MxD@0PV|Sk0d.c.0LD">local_attacked_locations</field></shadow></value><statement name="DO"><block type="array_push" id="%#+1x64`qy%6V]_W3jC~"><value name="list"><block type="variables_get" id="Lg1Y}0`p6x_3UZ:$YN5-"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value><value name="value"><block type="variables_get" id="FwPGb4Tmld~[H$|0cK!k"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></statement></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="#(YTU:swl6NXA?~es$R]"><field name="VAR" id="H(MxD@0PV|Sk0d.c.0LD">local_attacked_locations</field><value name="VALUE"><shadow type="math_number" id="8KanCsyV?lz){s3gpiV?"><field name="NUM">0</field></shadow><block type="function_call_output" id="C!*eT:P+2SC@kr#JcssO"><mutation name="calculate_move" functionid=".Em2+uNAaR6(bJVXjD}d"><arg name="piece" id="9Dgu*wVnMzeUfoP|6:[`" type="Sprite"/></mutation><value name="9Dgu*wVnMzeUfoP|6:[`"><shadow type="variables_get" id="Av]_BpvE)H!D=_N@@c1t"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></shadow></value></block></value><next><block type="pxt_controls_for_of" id="Or[epMq14Yu($,(5YWdq"><value name="VAR"><shadow type="variables_get_reporter" id="U+,hPD-/]48J_haCc)1s"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="Af;?wkZ!g*.V+4MyQ:rd"><field name="VAR" id="H(MxD@0PV|Sk0d.c.0LD">local_attacked_locations</field></shadow></value><statement name="DO"><block type="array_push" id="(_u4#SJ%i2.5`LDYGYqh"><value name="list"><block type="variables_get" id="ImNNGWz*oP[B(S:{Ehns"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value><value name="value"><block type="variables_get" id="TT|-3[:}vdwVS!!RI:$."><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></statement></block></next></block></statement></block></next></block></statement><next><block type="function_return" id="9HS,j+)zY3QmE@+$_CdK"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="iE2sj;D?|0U5cb4$rE]u"><field name="NUM">0</field></shadow><block type="variables_get" id="nz$/rlVY@PRD_I)Tb9o]"><field name="VAR" id="^/KB6;jS-elOc5t%-Z6s">local_attacked_positions</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id="`8#%(WPSN4{[v{V1]IFF" x="-8980" y="60"><mutation name="calculate_move_for_bishop" functionid="t*4sIb9l@Y{$$W]##^|Z"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="local_moves" id="1.2B;*iMja@8N+2E$_`)" type="Array"/></mutation><field name="function_name">calculate_move_for_bishop</field><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="argument_reporter_custom" id="yL[o+9b=sWlaY4_6.m61"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name="1.2B;*iMja@8N+2E$_`)"><shadow type="argument_reporter_array" id="wqB0w0y{Js(x)OwYe8_@"><field name="VALUE">local_moves</field></shadow></value><statement name="STACK"><block type="variables_set" id="TF;{YFG?D7CO`i;YMOM?"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="3_80Qsz6rLU;=z#X+O$5"><mutation items="0" horizontalafter="3"/></block></value><next><block type="pxt_controls_for" id="#(@lJQ58_;@oAH_VX?HZ"><value name="VAR"><shadow type="variables_get_reporter" id="OYQBl03~,A~mp9X7t2JF"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="8HnmC{JB}4?*:^0@XJTs"><field name="NUM">4</field></shadow><block type="math_arithmetic" id="0t[(NIQ-Mw.QU(ZAQ87v"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="1TN;WGC[!~^E0:0|90$#"><field name="NUM">0</field></shadow><block type="lists_length" id="~s0vR|QISlyl.$rBO=^~"><value name="VALUE"><block type="variables_get" id="dh[6U2GqtZi=W42f~1-i"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value><value name="B"><shadow type="math_number" id="c)e!*R0Cjob~FC|m33h-"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="X[$Eqxs^A`)Q~5r.c!!^"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationOfSprite" id="3y;U|lsx~LH{(%mcL{U/"><value name="s"><block type="argument_reporter_custom" id="@a=TUL1~`WDKC?.Q+E8/"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><next><block type="controls_repeat_ext" id="NR{!g@E}@+~7FMGvqtY1"><value name="TIMES"><shadow type="math_whole_number" id="%:?]ZL~0wqrMgeJAc!W|"><field name="NUM">8</field></shadow></value><statement name="DO"><block type="variables_set" id="egu*YPwpPB5+X!@pjqh7"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" id="W/jnKwBXT#?BEe_iY}Br"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="DoD1gDO/H1hN#0Ve2(|t"><value name="direction"><shadow type="direction_editor" id="]UzN):5VS![i9e6E)y;f"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="bmu:h9NSD@_WQKw+BXSb"><value name="LIST"><block type="variables_get" id="`6|x`BsjWCnM!+=STN{`"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number" id="Jr4(YKYG7zGg]J-bsNC)"><field name="NUM">0</field></shadow><block type="variables_get" id="w|AByQcq6T$B+M9N$tYe"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value><value name="location"><block type="variables_get" id="F4KL1v;3T2ItjuCfBL:B"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="variables_set" id="?vraEM{eCH8]AtKF8EuR"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="p}j/1j,?KyhCH^.%Y}Ar"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="w2Z/|*}Eys`B}nJ{#*iT"><value name="LIST"><block type="variables_get" id="{K7%/R|n%5F:#$l]ygL8"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number" id="aSayR.~8F;M}RlRR.((#"><field name="NUM">0</field></shadow><block type="math_modulo" id="]=7(W8sw2DfDWf75=v~O"><value name="DIVIDEND"><shadow type="math_number" id="Dt/pix_FcHF@YH#uOKLR" disabled="true"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="7v~CB6+tP~(*xA/c?o+X"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="C6NBnr_8r{`hyNl[x3oL" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="t8eQ,N)t|+`lT=KtAS~5"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value><value name="B"><shadow type="math_number" id="sgs:}p!XA5!Mf:qmZ5E|"><field name="NUM">1</field></shadow></value></block></value><value name="DIVISOR"><shadow type="math_number" id="@aPulOI`pDai6yN1M)dm"><field name="NUM">1</field></shadow><block type="lists_length" id="0Ow^I}z;xnSaM.hc%r}I"><value name="VALUE"><block type="variables_get" id="HK0-]0-{Y:=rxn+s?5Ay"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value></block></value></block></value><value name="location"><block type="variables_get" id=")x=lqv~vSh~@}$h(NYJT"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="+O/?;16xSj?|Yvw%uVFJ"><mutation elseif="2" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="n]msk/@fK=}-s2By~QM^"><value name="BOOL"><block type="function_call_output" id="qB%npflFa`!C;HeCRWS#"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="H.VNA87](!E6U1J*F#_*"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="`oU;ybiL9Z:V[`QnPhCf"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="X}hM=V%=cLRU]K]!(;%3"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="break_keyword" id="qVG6py9Ytek)UmQStIX#"/></statement><value name="IF1"><block type="logic_compare" id="5ve:o%G-J3K#Xc?zSpK_"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="YjV;BsfJZ6!FoZAx{,}o"><value name="VALUE"><block type="grid_getSprites" id="(NI5-mJV(v,iR8G2J8yR"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="`=jO^2{~~iuc-;^]SZ;j"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="/$j9rOTQ5Fn`!.A{B4If"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="array_push" id="_Yr=;#F87uMR1)bO31t("><value name="list"><block type="variables_get" id="8:a[0[CK^d,6v%slu,_f"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="E7#u{GxhQv/::?od%7+E"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><value name="IF2"><block type="logic_compare" id="Z.,tcoxi8ZBNECtw-SS;"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="%O}N3(jV,g/l`Xm+CxD("><value name="sprite"><block type="lists_index_get" id="bRYq]w*)4EN}tM5DQPO("><value name="LIST"><block type="grid_getSprites" id="^b^Zf5$@KgNCWFQJ+0N#"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="kf%*`x-LLto7?2oT5KqT"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="no8a9?Ef_/CuP4UaWAHJ"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="qBU!ab8a:_~y6}f`6@kE"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="Ru]6cQ/GfgykJ$+L:=SF"><value name="sprite"><block type="argument_reporter_custom" id="i1^feG$fn-JphS=7N$|R"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="py^TE53;1+=P7$+fal~Y"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO2"><block type="array_push" id="b,e,}+lWUf]{a4Nep9I?"><value name="list"><block type="variables_get" id="OYV}2C.,o9D|D`a5tiLH"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="%@SiMl%tdJb*)+GDx|KC"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value><next><block type="break_keyword" id="-Qt|y/.M{Uuve9;-Rl[Y"/></next></block></statement><statement name="ELSE"><block type="break_keyword" id="YoJ^bna)cWq8Vr[c0R#0"/></statement></block></next></block></next></block></statement></block></next></block></statement><next><block type="function_return" id="qxQhJ,kZ0HKaHO.gGYsZ"><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="variables_get" id="3QZQ)KcfkA]:$|q~wtrd"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id=";0^5s/LkSL$o44l|D|$[" x="-7040" y="40"><mutation name="calculate_move_for_rook" functionid="P=(;)Je^a)*-SWwGZU_r"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="local_moves" id="h$]RLV)5O.c(G(JnEnc3" type="Array"/></mutation><field name="function_name">calculate_move_for_rook</field><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="argument_reporter_custom" id="#I`Y*^~5PIm4|[)[?Nc8"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name="h$]RLV)5O.c(G(JnEnc3"><shadow type="argument_reporter_array" id="S{7SH@?M7~$81FS;lbuh"><field name="VALUE">local_moves</field></shadow></value><statement name="STACK"><block type="variables_set" id="1KaM_.a}js:j;I^o-e4?"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="V$0S4S3iwsKFCA}n{8/g"><mutation items="0" horizontalafter="3"/></block></value><next><block type="pxt_controls_for_of" id="T:85;13yj.$[Ta*s1Vj("><value name="VAR"><shadow type="variables_get_reporter" id="TA4[qsG.^njGxtOuEzJB"><field name="VAR" id="Y%17RBQ;d(MJ}Hugg8;)">local_direction</field></shadow></value><value name="LIST"><shadow type="variables_get" id="u5Tx_]oRTA1o7G]5V*E]"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></shadow></value><statement name="DO"><block type="variables_set" id="y#;,4P^.o?Ff%7y0;b9s"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationOfSprite" id="T-Ob-Q`I36ARKwVOZFQ2"><value name="s"><block type="argument_reporter_custom" id="6l9K5,E;@1-lacN,C6$t"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><next><block type="controls_repeat_ext" id=",Zamzkar.]^NbyWb(zJ+"><value name="TIMES"><shadow type="math_whole_number" id=";KpR!V!,o-wyAUe=(QXa"><field name="NUM">8</field></shadow></value><statement name="DO"><block type="variables_set" id="8vLCP9$R^u(@F!$%r%Cu"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" id="3n9XCi6UPd_6H:~+V[aC" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="/n~gLL|b6ujL;2g!`ld*"><value name="direction"><shadow type="direction_editor" id="c+yvLK41S=Y]T}pSu,k5"><field name="direction">CollisionDirection.Left</field></shadow><block type="variables_get" id="H6go6jkvR6f-g/-}LyY("><field name="VAR" id="Y%17RBQ;d(MJ}Hugg8;)">local_direction</field></block></value><value name="location"><block type="variables_get" id="TWNdI+}4gUZVdF;x]856"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="_A-UCSG}(I^Y=D1M)Yl/"><mutation elseif="2" else="1"/><value name="IF0"><shadow type="logic_boolean" id="Oo,Mv8y=wKUEw-4aXU{$"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="v{*]L?4]Ze{f|E+SQGFK"><value name="BOOL"><block type="function_call_output" id="/;|S?mzzOcZ$3MQA0$;P"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="GY{sw74CYsazGf8+WD!S"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="BN4qf66EW+H(-0_fsmHy"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="BO!sU.jPghBjm#okN!lK"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="break_keyword" id="-wQv_/+0rzZ)JaB.w+(@"/></statement><value name="IF1"><block type="logic_compare" id="q+3UizF`~iJZg^=[lfW8"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="A+[Pp9^9.$uZmH^cq].P"><field name="NUM">0</field></shadow><block type="lists_length" id="rL{DRqnbz$iFB_@-U-70"><value name="VALUE"><block type="grid_getSprites" id="p})AlJt}Tnt1FW_Xh(vY"><value name="loc"><shadow type="mapgettile" id="F#A6mMx)gGpyUCVvb`ML"><value name="col"><shadow type="math_number" id="o}4sOG|-?+%JRR_[$VZd"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="G|hv//6`-jY=/k17NPvd"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="3KRJZAJ@H+O-^8UgLU3g"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="Q@s^+hga_UP]`$Q:cy]D"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="array_push" id="(lNgf*lS~(ly`AB}x=b]"><value name="list"><block type="variables_get" id="hb+!?iG9+8pB*o2OY(tP"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="XdA*Rrx^Z*3sWTGG7%(N"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><value name="IF2"><block type="logic_compare" id="pGDb$M9DIRjK|DmZXvP."><field name="OP">NEQ</field><value name="A"><shadow type="math_number" id="x9g)$A#y!H_~Xlh=9nLb"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id=",Aro(aMJ{gUr/O$w=oDs"><value name="sprite"><block type="lists_index_get" id="`Ctui~a[NOuxi%lEs!e1"><value name="LIST"><block type="grid_getSprites" id="r..!aB|a(kR,][(1F|X@"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="98y3%G+^seDSKHuC2c)|"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="K?PP*L784s(G*Hs`om85"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="7Y;Ddt}+pllp)a9fxego"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="B?$K{CF-NMB(giQ+DAnl"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="M!Ru)a2lF,XC;@0OOmP-"><value name="sprite"><block type="argument_reporter_custom" id="9Iyeo{B6R@YJhYWyVDK$"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="Wr5V!Fh(5th)K^hosCm^"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO2"><block type="array_push" id=":(*;FmZ[u~4BuI?#!w(-"><value name="list"><block type="variables_get" id="7!=HH/Ra~V}dbVlr7[@w"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="{=5lR{[K_/vb%qQai:i@"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value><next><block type="break_keyword" id="NWEm]X56gLL;+32t2wND"/></next></block></statement><statement name="ELSE"><block type="break_keyword" id="{6;pjHyZ+TwH}sSAfP+S"/></statement></block></next></block></statement></block></next></block></statement><next><block type="function_return" id="Fj*VvK`s[upEw)4k7AeP"><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="variables_get" id="O*+x`spYmsWkjniebv6j"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id="]~#!ue~;MkdWQ{T~+VX#" x="-5180" y="0"><mutation name="calculate_move_for_pawn" functionid="F=w|no?1i`J+[~te%?9t"><arg name="piece" id="IHFb]Ncigjo%5xc6l]|5" type="Sprite"/><arg name="local_moves" id="}+wy;U7`e%An45=8{t#D" type="Array"/></mutation><field name="function_name">calculate_move_for_pawn</field><value name="IHFb]Ncigjo%5xc6l]|5"><shadow type="argument_reporter_custom" id="QRbSB2ppZQex/KodI]!l"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name="}+wy;U7`e%An45=8{t#D"><shadow type="argument_reporter_array" id="^W!]n`Ew%6U/g[7xuqP!"><field name="VALUE">local_moves</field></shadow></value><statement name="STACK"><block type="variables_set" id="G_H?`?GNxpfa(thv(lC/"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field><value name="VALUE"><shadow type="math_number" id="w$kk_idosi:@g|Jc.fsm"><field name="NUM">0</field></shadow><block type="lists_create_with" id="?Kg(e-(vAeijn4%eNqIk"><mutation items="0" horizontalafter="3"/></block></value><next><block type="variables_set" id="mfXgfE1.-}oW)eF,B6qr"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" id="}X#y.RXn*4He1m0nlJeS" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationOfSprite" id="{6%rVXV-c$vV#56Zfy,#"><value name="s"><block type="argument_reporter_custom" id="z[-]]PUHCZbWKkx.iOxL"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><next><block type="controls_if" id="^/5Vip]FnUoC}62Z53z."><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="-%Jg_Wg`YVh}WTj:AXq`"><field name="BOOL">TRUE</field></shadow><block type="spriteDataGetBoolean" id="pCahJ+H1RL6#vENoUxJq"><value name="sprite"><block type="argument_reporter_custom" id=";gJ]pR^XU`0Gmj}.*AiT"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="jq)_J^+B^pQ:7by2*C!-"><field name="TEXT">is_white</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="ej3n*S4qy|oh]N``fp_("><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="naZ9E-5xFjYP%Ap3#czh"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="Y,81(0xp@$v[:r^eXlu2"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="vj8KZE5^*4dV4:BOgROC"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationInDirection" id=":XqLw_/o)}Fq`Jc=##/u"><value name="direction"><shadow type="direction_editor" id="I0yK~b*$82/IX@rT%};W"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="variables_get" id="?_OVz_6CkOw:y,B.dGI}"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="*n#pP#JyZCqYzz{c{eD]"><value name="IF0"><shadow type="logic_boolean" id="E%J!+139f$g=@QJrfyug"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="O~Dpsn=A_8q49GVnkkzz"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="(O82gQ11F[7uTzI,D]xk"><field name="NUM">0</field></shadow><block type="lists_length" id="@Hn@H}R@[#oHl(mpI=3c"><value name="VALUE"><block type="grid_getSprites" id="m(a{;*4cL9:YDqN){(*%"><value name="loc"><shadow type="mapgettile" id="pIfx./Q4gHo4[el;6=n`"><value name="col"><shadow type="math_number" id="{VBPqU`M3lZt$yN-N$*M"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="`QBtV{%23gm@r$0,izQt"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationInDirection" id="=q@UQORv2[/uRW!8W}c7"><value name="direction"><shadow type="direction_editor" id="-A*=St!-ghgw.j.KQCa2"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="variables_get" id="=t0t21(k[WYO]TZLfA7!"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="^ByNjT=n$rUWAvTdC!mJ"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="array_push" id="lepxw!u`c_$l|wZ/G5r/"><value name="list"><block type="variables_get" id="O/iQ7eq`+LQfQJ0PyPTw"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="tilemap_locationInDirection" id="lKE9DK~[-=G:3,9zijln"><value name="direction"><shadow type="direction_editor" id="{RFm]DV`}U|)[bHFRIKw"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="variables_get" id="L5Zx|]%)kw0ldN)*Eo$g"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="50a(nE~.r,m;nb:SpB(u"><value name="IF0"><shadow type="logic_boolean" id="H@p@P@h@wvwsGvSm2+*o"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id=",Ej}/C0$%#cE/r7lPy2V"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="n8vw+FK+2_qzkk_,M8xZ"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="0A~6bF?X3R|Z}AK1}}U$"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationInDirection" id="JZa^h#P?Tiv6+{kWwG?+"><value name="direction"><shadow type="direction_editor" id="2Q@qN,TG{L%*KrU7aIu^"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="kA^s*lb)85v;*LhMw?_."><value name="direction"><shadow type="direction_editor" id="e*0@tO7}gU]?N[26[$zw"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="variables_get" id="Zl(u}VC88uY_?rg]mtBp"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="12lYZbm,c!p_/Ss`jvKy"><value name="IF0"><shadow type="logic_boolean" id="D1t-mi,Y3d_bJWi7V:oO"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="et$-`k+W`hVTs~0pQ$*U"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="Q4GhyMyoa45]uI@LPUU0"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="r8.lk$`-~M@q6TZ6CV~n"><value name="VALUE"><block type="grid_getSprites" id="*:eHz?UPHuyZ*Q!EG^8["><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationInDirection" id="G}Ns`fZZF3@r#!UTy.d/"><value name="direction"><shadow type="direction_editor" id="@wlfh,7;{#QZU/+EfLvP"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="!t}0$CYED:S[Y_aF#g0:"><value name="direction"><shadow type="direction_editor" id="emxZ?ELhQxdFsdH/YlaJ"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="variables_get" id="`n$aaEx%I/VpVZqPRSil"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="/XGNGF4+jSo{H0M5=qQ!"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_negate" id="m{Zt5=fQyMfo(HD]MY?@"><value name="BOOL"><block type="spriteDataGetBoolean" id="]),KoN*=38a~t/PZgoN*"><value name="sprite"><block type="argument_reporter_custom" id="4rl/ofUp%#P_mBx=NO=/"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="E%GeJEUY3i$iD.Q]HtHk"><field name="TEXT">has_moved</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id=",Y2@wQTFvJVFd8yJXY22"><value name="list"><block type="variables_get" id="o3SB=g*m5Qu}Z~d3HhD2"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="tilemap_locationInDirection" id="rm?{EM%uy]1C[WM?]z#a"><value name="direction"><shadow type="direction_editor" id="G_y/FMr%Bvnz?v)UY`QO"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="M:%QP^U?b%#,yhQZ{,w0"><value name="direction"><shadow type="direction_editor" id="{?;%7oZfD}Q#[]*4P.kf"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="variables_get" id="C?zI/?cOF2funv`TBh|:"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></statement></block></statement></block></next></block></statement><next><block type="variables_set" id="D;gv%/2?eq}GVd?D.9+Z"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" id=",k,`t#*R;^4I^h%FJ-d-"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id=".7l|{!E9H(jbRq^,J/@)"><value name="direction"><shadow type="direction_editor" id="/7=NmW`jnv!sP0L3(|K4"><field name="direction">CollisionDirection.Left</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="ho,1GXYB{uu#ksgWOX48"><value name="direction"><shadow type="direction_editor" id="dP8E*iRr4bo.w.xp3E|`"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="eAyath{ml*2skE*ZD6Ir"><value name="s"><block type="argument_reporter_custom" id="Hnne,}C9A7=fyujCth10"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="lkoJ[]OY2QcXI02BbEJT"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="3-j~1,1T*x,B4*Dc3I53"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="q/X?EwkSOj%z6b0b:c#a"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="ReZd3TZI3h06rb~p$[LY"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="Z3)=JKBfxF=vHJ!:||f2"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="F^G*/iWBxij4io6?I472"><value name="IF0"><shadow type="logic_boolean" id="~v%~XsOi/UX+=8z4y=I="><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="J!{+w#rlUm$UFlTm,Y2*"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="~$B`3=snS[t-K,h5yv4O"><field name="OP">GT</field><value name="A"><shadow type="math_number" id=".U)$ItuB0$lCIx.HqV?|"><field name="NUM">0</field></shadow><block type="lists_length" id="*l6Ux?9W]Bm0iNVf9uAc"><value name="VALUE"><block type="grid_getSprites" id="yW1_SvusI^BQVbISDaJ%"><value name="loc"><shadow type="mapgettile" id="hG`dWWdSb,}{_A`nBx[h"><value name="col"><shadow type="math_number" id=")y^U=ya?4eSzOMRT)w?f"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="pi]uT%9z}m)]K=V5Wdz7"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="n=x,olZ.A4V,c2+iwdj@"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="s{t|Q:saP*bk$3zt#eQD"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_negate" id="ZnmYKTJsvT(BQDMCIWrj"><value name="BOOL"><block type="spriteDataGetBoolean" id="N%[1=ED5!uh#Tlr7DKfV"><value name="sprite"><block type="lists_index_get" id="zyWY~sH:(uu?-]7!s+29"><value name="LIST"><block type="grid_getSprites" id="_7ZgRn4h@:D**J@A|9t_"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="wBdX7lQcYi`k2`C9w+,)"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="R2h/n|h^zuOD]yRZ-vvk"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="Ks+i3jl1STxEI^9]N%nt"><field name="TEXT">is_white</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="MH,O{Fe2p(Um^IkqJ3d3"><value name="list"><block type="variables_get" id="ZYWDKAi7yv,6O`7CPn%Y"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="G^vo;-c^XCy(@=Zk(oG."><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></statement><next><block type="variables_set" id="P#B|b*zw=S8fAVQPyPiz"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id=";{h#BL1$Pf)AK+G$rU2}"><value name="direction"><shadow type="direction_editor" id="`N,VKP.v9VPyK[q:;O0@"><field name="direction">CollisionDirection.Right</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="Kt@;=A4IF*=jrv(utFXF"><value name="direction"><shadow type="direction_editor" id="/9w5+eYW5DC;g_2XIuJi"><field name="direction">CollisionDirection.Top</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="Ld{)#[qBhVka^.gT8cR*"><value name="s"><block type="argument_reporter_custom" id="E*a$YZ8/DcT(X`%Vq(Pl"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="5QZf4(zG-wCts4YgT^wr"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="u,E1_JY7mcMup~xdqc{X"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="0,l|Q69|V6@Z$5:N+~2$"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="wNE8KIXlzg$Ar804dB9s"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="X,^yc;ZcpY1`b++~y8lz"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="Ygz1~Bb,73f.UgZd)$B1"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="^`PEd0nlWE/(XJe5K59V"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="lkA2pIg71Z%nc7BgPTL@"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id=";Rc^f%UHQW7Aj934:zEa"><value name="VALUE"><block type="grid_getSprites" id="|4.r}8n(JQrCD}j;nO=-"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="-Nk2N.6B{Vu59x.H:!h?"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="uo=iTP-vD7^]p;vA85{]"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_negate" id="UoH+7D;7@sT!%6a8bf$F"><value name="BOOL"><block type="spriteDataGetBoolean" id="vF1+,cP{kqBPohcD!Z}B"><value name="sprite"><block type="lists_index_get" id="K2,K+xA0@R_2O3{kx_w}"><value name="LIST"><block type="grid_getSprites" id="aFl?:,0joK2M6%vG7!^J"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="i%P3y!A?1_rZe3#EfkX1"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="wU}[@s54CU(oExSFZYu3"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="(pbOd.gaX53fE=1:QeQd"><field name="TEXT">is_white</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="D9+@,=Vh{g]BDx2Qkoda"><value name="list"><block type="variables_get" id="~,e4^JLoC4({.tQ+I%[:"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="K6d*C?2izZf.4xd~1@lF"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></statement></block></next></block></next></block></next></block></next></block></statement></block></statement><statement name="ELSE"><block type="controls_if" id="HvCpZtJ%+G3pt~di[@7q"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="/S`Azon1,XG8Re6fkN#8"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="PHLUJ},=X#06A.Jl)t.7"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="FbW}OWpRCMzerZmk_y(H"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationInDirection" id=".%jc7o5B%4YoT@[,ME/G"><value name="direction"><shadow type="direction_editor" id="]9kSz_=pAXEW:tP@uMC^"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="variables_get" id=",#TS=HL0xD)Yj!pG}*Ax"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="uB9{V4cD_|]Nc3O$a$Kc"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="_L)FT859eSixj*mzSM%A"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="{MPKFKM*!jeqOJ4l,i(4"><value name="VALUE"><block type="grid_getSprites" id="7NMg:Om)tlmQ(2nk5Y!}"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationInDirection" id="^T`8X`buZW$7{5W/Mki5"><value name="direction"><shadow type="direction_editor" id="Ow?twX~oGtMcs`YVTz(N"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="variables_get" id="wafS8Mo~eMi%XpmL$^#["><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="7jR;#W)7/0UPAC*2:E(]"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="array_push" id="SqzZd7fKXw3F0Juw.x7F"><value name="list"><block type="variables_get" id="w[Tvl/6o:~cWAs~dnxOq"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="tilemap_locationInDirection" id="$,CY792UzSf#;L!y%Yf2"><value name="direction"><shadow type="direction_editor" id="Lqrh6Z{?]t|M(uH0Z]e="><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="variables_get" id="0,f!(t^~EQlMr8?s^5{]"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="h6yhrH#^i{i3H7$8a:3Y"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="~qXoA^od_3,AO.x3v])f"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="3Cz{Zg$Syz0)z6C$c#yd"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="wg@wDymS~U%tIV{Ej=;O"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationInDirection" id="o?wIaikdL@Jb#I#OqM%?"><value name="direction"><shadow type="direction_editor" id="bB9aGh^(9Kx~rFRiPUdR"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="c(5#Jq+i0`KN0Qi~_U*]"><value name="direction"><shadow type="direction_editor" id="9R*wRD*AH92TcGth4Cn%"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="variables_get" id="W}rPMIC~6CrB0()SY1#|"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="UDTowT6[[*YclIlr7E,9"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="f^(twwL4nz@*)P#5ecW("><field name="OP">AND</field><value name="A"><block type="logic_compare" id="^Q}I|k!~]V.@.oh1Q8~5"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="h2nTjOTLHc7kNm1hM]wt"><value name="VALUE"><block type="grid_getSprites" id="$3A[VYN#8#C_2!3E#|,d"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationInDirection" id="Jo$wwA=$T4:Ebp^5A%q4"><value name="direction"><shadow type="direction_editor" id="%}w_F/.?)6i(jHDzhr7h"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="I^/#7{Ecis65-4kk:mcD"><value name="direction"><shadow type="direction_editor" id="^E=uOQ[B5L}q^kfZQY%*"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="variables_get" id="zy!KbiJf2GZ+tHTwT8:Z"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="^UroN[!G0mEXpL-/.FP2"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_negate" id="j(DM=yihqZcTl(@L#USX"><value name="BOOL"><block type="spriteDataGetBoolean" id="N24CVP3V}J0$7gG`JaGg"><value name="sprite"><block type="argument_reporter_custom" id="DHpB|IGuy3ku6h/UEK~a"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="|JyQ=s#vo@$43DTb{cjq"><field name="TEXT">has_moved</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id=":eb)F{!o,k}zQ-}{7dDK"><value name="list"><block type="variables_get" id="H^ghW,Y{A824PU{{O)%O"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="tilemap_locationInDirection" id="~;dF,TKB$20[.,=40Wq$"><value name="direction"><shadow type="direction_editor" id="6%HzLo7BE=sS{7D26Rp]"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="-5L2I6:rx_!BJP228n?}"><value name="direction"><shadow type="direction_editor" id="d[|O]_~OnP0z-?i5F^sY"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="variables_get" id="[Y{S./^e$es+|c5PmP3I"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></statement></block></statement></block></next></block></statement><next><block type="variables_set" id="4l)u]r$_)Dq5gTe9jbwY"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id=";shdfrsWw$gR{1BSG08L"><value name="direction"><shadow type="direction_editor" id="L0toqobxALxMD6:wVL#%"><field name="direction">CollisionDirection.Left</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id="8p)XXJjxTpXbjqISwZ@!"><value name="direction"><shadow type="direction_editor" id="W:%FF|oj#`w3D8~CNHm^"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="A%4RFexXjl|#krdgYB$k"><value name="s"><block type="argument_reporter_custom" id="!c4~QPAP)wF,#?G.cp0D"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="d)U-Q(FefL|:JKS(T/Dq"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="C[9Z0y}ZndWs^IY(lTVd"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="K:2l*Y~bsY8#+YF.R7cq"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="g@]UBTxgr={%Avk4:sk("><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="?^739-*#}WvXD#RZ;YKK"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="5,`.yj)*,=%Th1wMDnl$"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="!,;1UE.nRi+XUj1ca-M3"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="W97ry]Rj)oEHr=yh?m_8"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="9DYL%%VN8,hm:X0Y(3gF"><value name="VALUE"><block type="grid_getSprites" id="CrSCCWo.,u}TWqFIa7Y!"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="wYB1WG+yZ_@7YP|j%7KQ"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="S:nvU#W%ucfq=cIYwqiM"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="spriteDataGetBoolean" id="TeNN}W1L2wxHZu~HKg!."><value name="sprite"><block type="lists_index_get" id="0MX?Tx9m0@dK2:/;@%.Q"><value name="LIST"><block type="grid_getSprites" id="{5gC.x!_?ZB#f0YzbV1f"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="5|kK}0j)FSOKhKwvCeTJ"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="xUZ?+44q!#,-[}JX/j^#"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="O@hg@nQh|{FdlI@jp/~k"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO0"><block type="array_push" id="1x8a+YR$3gx|vJ`e+#jo"><value name="list"><block type="variables_get" id="WQCLuV0O}h+)}a,U3B)2"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="]gzWdB.Ws?9lI*yNKPt_"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></statement><next><block type="variables_set" id="RIqh:4!V9n~6h9$(APps"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id=":u8Lw-i=rQ|N7]s.=O56"><value name="direction"><shadow type="direction_editor" id="a%0QVjhZ35ARREk~xl,Q"><field name="direction">CollisionDirection.Right</field></shadow></value><value name="location"><block type="tilemap_locationInDirection" id=".RUky[$tqpb[v,@G^:82"><value name="direction"><shadow type="direction_editor" id="yY9?/Q^Z%SLt[?4g$S-/"><field name="direction">CollisionDirection.Bottom</field></shadow></value><value name="location"><block type="tilemap_locationOfSprite" id="I)W$d%^3%e@Pntbg+X)("><value name="s"><block type="argument_reporter_custom" id="6Yi~P8CefJTY%w7Tx9Bz"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></value><next><block type="controls_if" id="Yl{0zWz6LYQ0mSwe%]1f"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="`/R?38[vs$h9x]5]m1sJ"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="d`SylzxS?KA};wxJ%7qt"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="KpUUGNmWiUd?]eSEC{UO"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="yLvx],H{A_FSm0Zb-~M1"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="qdYtm6@}L)C`H7?66*xN"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="NIM^g8YXhDo$Mk)L7=@m"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="OFL)/~O$gNGyeE;B(]?d"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="XkJJ@H1|`_DH(1K@,GQP"><value name="VALUE"><block type="grid_getSprites" id="!,y:}_4/w8GbpaiFnzyc"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="{.9gm)a5COcQoj/AtutP"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="_:|5=w1u=YxGbL.?Zm6;"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="spriteDataGetBoolean" id=".QYOA!6XVPyQp_/3o)Kh"><value name="sprite"><block type="lists_index_get" id="UTB@@|4E^!(R9ZMZTKxA"><value name="LIST"><block type="grid_getSprites" id="yrb!e.S0Hzl;HM8aI2/!"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="PwOq[TygD-Rh1zH)Uxo{"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="X`Qwq)SAQEq];#}F;Ev}"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="`#UaI|[Ua+pyKYkhI4~X"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO0"><block type="array_push" id="ePRxO(!tv7TM85*=I-z,"><value name="list"><block type="variables_get" id="K@S#OW~?XtxW,I`tx3.R"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id=".HsRSU*%d(r%OwE`R[N["><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></statement></block></next></block></next></block></next></block></next></block></statement></block></statement><next><block type="function_return" id="is${KAc,khcU0iIeKV?%"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="8COz}XJN][^=,7R=?jWL"><field name="NUM">0</field></shadow><block type="variables_get" id="UcvK8t_xH7@}^[ENgH{3"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="I5B_4g|Vj3-SZK$[=R=." x="-3200" y="0"><mutation name="calculate_move" functionid=".Em2+uNAaR6(bJVXjD}d"><arg name="piece" id="9Dgu*wVnMzeUfoP|6:[`" type="Sprite"/></mutation><field name="function_name">calculate_move</field><value name="9Dgu*wVnMzeUfoP|6:[`"><shadow type="argument_reporter_custom" id="-i=fPH2/~BA{k~p0f3hJ"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><statement name="STACK"><block type="controls_if" id="d/o^08`##K-lFS$,t`:1"><mutation elseif="5" else="1"/><value name="IF0"><shadow type="logic_boolean" id="_AoV_4EDz+}v]fS%?Trz"><field name="BOOL">TRUE</field></shadow><block type="string_includes" id="%i4?F]3%F~2FFes+fxWZ"><value name="this"><shadow type="text" id="P$nKo6zY7BQmG*I.UMyi"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="{%FCdA4lw5onJ^!q/fYT"><value name="sprite"><block type="argument_reporter_custom" id="W:9D_2mri{Ph,1uQn_r_"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="BS3Dwii2gZE~k.:i?aof"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id=":/pcEj-K)FNYMkj^6F:K"><field name="TEXT">pawn</field></shadow></value></block></value><statement name="DO0"><block type="function_return" id="rl;@=p{57$svR2V3qY_G"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="%j1*zGQXrvd%/{6SLSjn" disabled="true"><field name="NUM">0</field></shadow><block type="function_call_output" id="teERXV8B4Lyu|9q|NSux"><mutation name="calculate_move_for_pawn" functionid="F=w|no?1i`J+[~te%?9t"><arg name="piece" id="IHFb]Ncigjo%5xc6l]|5" type="Sprite"/><arg name="local_moves" id="}+wy;U7`e%An45=8{t#D" type="Array"/></mutation><value name="IHFb]Ncigjo%5xc6l]|5"><shadow type="variables_get" id="SmTQ4?8Z0g/`0~uK;X.C"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="bye;i+a%L5X}dZ5XB?m+"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="}+wy;U7`e%An45=8{t#D"><shadow type="variables_get" id="azFpzN79d%s]i52A,NZm"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="cDK!P){gQtz+C%).56[/"><mutation items="0" horizontalafter="3"/></block></value></block></value></block></statement><value name="IF1"><block type="string_includes" id="S0y!D$dQWG2*#b%nO4D_"><value name="this"><shadow type="text"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="D@`2cX|rMm8d7|I3W=oq"><value name="sprite"><block type="argument_reporter_custom" id=";ZCOBHD0`byJSgGdsf^9"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="i=nBQoQxz|iO*4kSDS=L"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="y~2}-_q1a.lWUFQ`r9Z^"><field name="TEXT">rook</field></shadow></value></block></value><statement name="DO1"><block type="function_return" id="Y@l|tv=c7KWL$G0M(+Sd"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="tm~yIft2@6l3:lWMp+lm"><field name="NUM">0</field></shadow><block type="function_call_output" id="18xH!4lD@$S;`=}+P@p4"><mutation name="calculate_move_for_rook" functionid="P=(;)Je^a)*-SWwGZU_r"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="local_moves" id="h$]RLV)5O.c(G(JnEnc3" type="Array"/></mutation><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="variables_get" id="e5v5xYXYh%J^)H/cJT`R"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="K:k/=Q:[yHfy3MIgonNA"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="h$]RLV)5O.c(G(JnEnc3"><shadow type="variables_get" id="Mkv-/[!KYw_Cy.|^{gfj"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="K;ynK5yBSx}[=.8(eBTu"><mutation items="0" horizontalafter="3"/></block></value></block></value></block></statement><value name="IF2"><block type="string_includes" id="PJwL@3._qb0qShSYwB#5"><value name="this"><shadow type="text"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="q[(b1P+L)R68x0GClBg."><value name="sprite"><block type="argument_reporter_custom" id="j8Sk9%w7_g-7p|2Sa[!r"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id=")4E74){dGtd`-Qwhy|)$"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="Q$%x|y(c2J5?HCu3jx9T"><field name="TEXT">knight</field></shadow></value></block></value><statement name="DO2"><block type="function_return" id="Lp(rtZ8eSjCrLDB^GIcW"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="gW@_5)B|{lT(q5IulWn$"><field name="NUM">0</field></shadow><block type="function_call_output" id="fmNApT4KQ.w51/)KGQH3"><mutation name="calculate_move_for_knight" functionid="M5+IED5E20/;hEl4y44("><arg name="piece" id="wWeXg~?}68DvE+-8fyK]" type="Sprite"/><arg name="local_moves" id="Q%6HoMlks?H8k]o@iBoq" type="Array"/></mutation><value name="wWeXg~?}68DvE+-8fyK]"><shadow type="variables_get" id="oukry4ZAy.]1$aP0%t%_"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="j#Yn8X1D2]o[%kr;%1=h"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="Q%6HoMlks?H8k]o@iBoq"><shadow type="variables_get" id=".`N*r)qBx#H~dafg;6(P"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="}vL]}qCPAZ#j|`f3dD:#"><mutation items="0" horizontalafter="3"/></block></value></block></value></block></statement><value name="IF3"><block type="string_includes" id="aU`e~`V*Z0OIp$qIg%/y"><value name="this"><shadow type="text"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="bZjBtyioUNM,lr-XJn+M"><value name="sprite"><block type="argument_reporter_custom" id="1#Ycdj|M0kj}AgNA$^SI"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="-T(_{QLe;a+YHf@nPhhN"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="R=n~COvP@(B)$[OiN=Y!"><field name="TEXT">bishop</field></shadow></value></block></value><statement name="DO3"><block type="function_return" id="{DD1/aN,LAo_BiBL#D)1"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="Ko?QGp]VE=|?c3,=x7@z"><field name="NUM">0</field></shadow><block type="function_call_output" id="VF%]Y,Su2qtn704l().^"><mutation name="calculate_move_for_bishop" functionid="t*4sIb9l@Y{$$W]##^|Z"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="local_moves" id="1.2B;*iMja@8N+2E$_`)" type="Array"/></mutation><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="variables_get" id="7otm5q,Qv5YaCn`g[XMt"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="HMIEUB;H|F8V7(MeyycW"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="1.2B;*iMja@8N+2E$_`)"><shadow type="variables_get" id="]hQ7/BW_v_BSsa^Ly2mf"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id=".i4K$*fTeqU!@Ojj~5^J"><mutation items="0" horizontalafter="3"/></block></value></block></value></block></statement><value name="IF4"><block type="string_includes" id="Q).l?`bey3DDr]t:|,,h"><value name="this"><shadow type="text"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="ZcH-ev|e[SOWe{:kvB^U"><value name="sprite"><block type="argument_reporter_custom" id="K:o.F|$2ROu7f6z]~[TF"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="1ic@-22%feykacvS6xqJ"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id=")k],RBEU,3O|=b.^36as"><field name="TEXT">queen</field></shadow></value></block></value><statement name="DO4"><block type="function_return" id="UY?nnr8b(s~mM+Q6P[cJ"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="mT3u|}M{sLd?[64p3[VI"><field name="NUM">0</field></shadow><block type="function_call_output" id="-dW4:M4Wa*aF8)W}@`NM"><mutation name="calculate_move_for_queen" functionid="_7/(@!L8Toe/LOO/}@GM"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="local_moves" id="U_NUb)%J*{RD?nco9sd[" type="Array"/></mutation><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="variables_get" id="*cfFWW[q+b-(Go8,Frf1"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="$=KjsK5,]rwGNBPnn%r-"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="U_NUb)%J*{RD?nco9sd["><shadow type="variables_get" id="#M$Rk|qO8WshnVdJZdh5"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="URoeXuvaux;,AWzn5LQ2"><mutation items="0" horizontalafter="3"/></block></value></block></value></block></statement><value name="IF5"><block type="string_includes" id="Tq*%_rg{/6KIHbA{_w9@"><value name="this"><shadow type="text"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="_cv/lIu(J!np/wk/}X3Y"><value name="sprite"><block type="argument_reporter_custom" id="3dD]_nnqy%m?3WxlhRcT"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="FFIi6QBpn@dX%tBv4C}o"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="7:m!esiV.SsxY5d:~Qid"><field name="TEXT">king</field></shadow></value></block></value><statement name="DO5"><block type="function_return" id="dEh,R$%YH4j5aReF75uX"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="]yhB=kJFk$A0ZM#!OYb."><field name="NUM">0</field></shadow><block type="function_call_output" id="0gzuvzpW1NZAXg8s${3."><mutation name="calculate_move_for_king" functionid="{01q%2#/DZUGiE1y_/B,"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="check_attacked_locs" id="kbZ.3r-G56%_:1Y?*cUg" type="boolean"/><arg name="local_moves" id="vrJ(C`yag*v2qfNue:5}" type="Array"/></mutation><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="variables_get" id="%.+Sm-y5DH7k@u`p{$G|"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="Zk:1;1KBD3wDZ$,|5HAq"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="kbZ.3r-G56%_:1Y?*cUg"><shadow type="logic_boolean" id="?pr2Veu3Yu;4p=jx1{A#"><field name="BOOL">TRUE</field></shadow></value><value name="vrJ(C`yag*v2qfNue:5}"><shadow type="variables_get" id="EB-+XK=GCHKLmO|%ntML"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="5RYsK|l05u:dy6qZdh(W"><mutation items="0" horizontalafter="3"/></block></value></block></value></block></statement><statement name="ELSE"><block type="function_return" id="9Y@4_B@:$f:;Z2[Ku1yw"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="i?,IdxU1rd)?V!xqJSp#" disabled="true"><field name="NUM">0</field></shadow><block type="lists_create_with" id="rn(;I6Yhq5*]9i6NVdY}"><mutation items="0" horizontalafter="3"/></block></value></block></statement></block></statement></block><block type="function_definition" id="A~8syv45$@jqqK]A/OE%" x="-2299" y="-19"><mutation name="place_pieces" functionid="%2m#YPRRY)8WSQno_3SM"/><field name="function_name">place_pieces</field><statement name="STACK"><block type="tilemap_destorySpritesOfKind" id="ZJ6LJV9mUBwOs/7_{^te"><value name="spriteKind"><shadow type="spritekind" id="E|jBGwB_-Wz^Lm}GI=Mo"><field name="MEMBER">Piece</field></shadow></value><next><block type="variables_set" id="Nv2E-@med{#P.Wu0xeD4"><field name="VAR" id="Z-xg+9rcWY~NPU3N_?l+">chess_tiles</field><value name="VALUE"><block type="lists_create_with" id="}Ng@brX(3,qvR3u3}pyj" inline="false"><mutation items="12" horizontalafter="3"/><value name="ADD0"><shadow type="math_number" id="(DJK6j~an,Q;L;9m._jJ"><field name="NUM">0</field></shadow><block type="tileset_tile_picker" id="MTk5!if[B$=;6CEECkcv"><field name="tile">assets.tile`white_pawn`</field></block></value><value name="ADD1"><shadow type="math_number" id="(hHj^53Qg%b~b-b3M1Yc"><field name="NUM">0</field></shadow><block type="tileset_tile_picker" id="e*3Fa_p%a6(=L!W(s!DO"><field name="tile">assets.tile`white_rook`</field></block></value><value name="ADD2"><shadow type="math_number" id=":s@27y/hn9OnkFcc))_j"><field name="NUM">0</field></shadow><block type="tileset_tile_picker" id="nI#RZyL+YBRtXv2xr}2I"><field name="tile">assets.tile`white_knight`</field></block></value><value name="ADD3"><shadow type="math_number" id="@2,V1nzvWD^~fT3KyL1I"><field name="NUM">0</field></shadow><block type="tileset_tile_picker" id="w1~nrdVl;F~zY_/R0;,~"><field name="tile">assets.tile`white_bishop`</field></block></value><value name="ADD4"><shadow type="math_number" id="8LQn#.r=)B*@tnj@w|w0"><field name="NUM">0</field></shadow><block type="tileset_tile_picker" id=";uI]Sl)frUr[*F.:YX=w"><field name="tile">assets.tile`white_king`</field></block></value><value name="ADD5"><shadow type="math_number" id="e:~CkJ(ZU?oK}N_7`r%I"><field name="NUM">0</field></shadow><block type="tileset_tile_picker" id="olWEdv^mQz4?eNbrk7[f"><field name="tile">assets.tile`white_queen`</field></block></value><value name="ADD6"><shadow type="math_number" id="efnX-Yn:3c6OSV1g,GBB"/><block type="tileset_tile_picker" id="z%,a;W)#mBGKPp.bG`aL"><field name="tile">assets.tile`black_pawn`</field></block></value><value name="ADD7"><shadow type="math_number" id="pQuUeTj{YzG$#!YApf}D"/><block type="tileset_tile_picker" id="h|dz9Py#ZiO+f?*C|E9U"><field name="tile">assets.tile`black_rook`</field></block></value><value name="ADD8"><shadow type="math_number" id="bq?}yuusuW]KL*[-P(We"/><block type="tileset_tile_picker" id="K=kZ%sB}XRP/E:wp8S5v"><field name="tile">assets.tile`black_knight`</field></block></value><value name="ADD9"><shadow type="math_number" id="WR^Je2zt%#HUHnzULbFa"/><block type="tileset_tile_picker" id="54P*iWJRZT!n8!TtGj,Q"><field name="tile">assets.tile`black_bishop`</field></block></value><value name="ADD10"><shadow type="math_number" id="bNAZ7#`w`|qaVRn,6!1!"/><block type="tileset_tile_picker" id="ho!Oap{CS3ODiMJkF-1F"><field name="tile">assets.tile`black_king`</field></block></value><value name="ADD11"><shadow type="math_number" id="0A`/|cO6ii2u]s?_7$_="/><block type="tileset_tile_picker" id="pNY.GvvDnH4!i5zFDho:"><field name="tile">assets.tile`black_queen`</field></block></value></block></value><next><block type="variables_set" id="-|Lrb]rBA23H#ydv.9^#"><field name="VAR" id="_Ux(`m-.oH.4ECm4_cqk">chess_images</field><value name="VALUE"><block type="lists_create_with" id="VM=Q$Ok_HLh#NvBt[jM:" inline="false"><mutation items="12" horizontalafter="3"/><value name="ADD0"><block type="screen_image_picker" id="CHiCq7x*_MJen3X7E.cw"><field name="img">assets.image`white_pawn`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image7"}}</data></block></value><value name="ADD1"><block type="screen_image_picker" id="gW~sTwuM^5wj;}z{XQsZ"><field name="img">assets.image`white_rook`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image8"}}</data></block></value><value name="ADD2"><block type="screen_image_picker" id="bVgmmG^[^j0P3^)/.v1N"><field name="img">assets.image`white_knight`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image9"}}</data></block></value><value name="ADD3"><block type="screen_image_picker" id="{v1^i8XgVIok:9{6VMKq"><field name="img">assets.image`white_bishop`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image10"}}</data></block></value><value name="ADD4"><block type="screen_image_picker" id="54D5d_fcUMV@tD.CZA0e"><field name="img">assets.image`white_king`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image11"}}</data></block></value><value name="ADD5"><block type="screen_image_picker" id="OH[b8OmA;:T.}f[xc{;%"><field name="img">assets.image`white_queen`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image12"}}</data></block></value><value name="ADD6"><block type="screen_image_picker" id="Z!5icd9%L4!TLU*#},06"><field name="img">assets.image`black_pawn`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image1"}}</data></block></value><value name="ADD7"><block type="screen_image_picker" id="b3%OyTtzUWhV%Dh/P+jk"><field name="img">assets.image`black_rook`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image2"}}</data></block></value><value name="ADD8"><block type="screen_image_picker" id="c;%,FWdTtr8/xqBP=)x9"><field name="img">assets.image`black_knight`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image3"}}</data></block></value><value name="ADD9"><block type="screen_image_picker" id="Tfs]V,!llGQ9tF28S#w("><field name="img">assets.image`black_bishop`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image4"}}</data></block></value><value name="ADD10"><block type="screen_image_picker" id="NA;Cyk8ci{[e#afRr,,b"><field name="img">assets.image`black_king`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image5"}}</data></block></value><value name="ADD11"><block type="screen_image_picker" id="])v8EpWRzByemj|H0yax"><field name="img">assets.image`black_queen`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image6"}}</data></block></value></block></value><next><block type="variables_set" id="U2j{@D}UHq-dCh~T0r~f"><field name="VAR" id="~-|X!R!Bb?r559KX`?wq">chess_names</field><value name="VALUE"><block type="lists_create_with" id="e[UScWDA0b[gnQYr4a^b" inline="false"><mutation items="12" horizontalafter="3"/><value name="ADD0"><shadow type="text" id="eTsY0#6PnZ0lQG1d=ae|"><field name="TEXT">white pawn</field></shadow></value><value name="ADD1"><shadow type="text" id=";NYb7dX+dkw@Rz0XNmZI"><field name="TEXT">white rook</field></shadow></value><value name="ADD2"><shadow type="text" id="StsLY_5%2d0.MWAdBQ52"><field name="TEXT">white knight</field></shadow></value><value name="ADD3"><shadow type="text" id="=5sG]o64:iv9CR%%,wsn"><field name="TEXT">white bishop</field></shadow></value><value name="ADD4"><shadow type="text" id="^@*Lo9=*HJu?EVhX@I~9"><field name="TEXT">white king</field></shadow></value><value name="ADD5"><shadow type="text" id="l3ogY_Z3:Al5*kM?M|5w"><field name="TEXT">white queen</field></shadow></value><value name="ADD6"><shadow type="text" id="p3zhhgpV0*Fn#H6Cf(+q"><field name="TEXT">black pawn</field></shadow></value><value name="ADD7"><shadow type="text" id="fU~jH_OgA548F*-kbisd"><field name="TEXT">black rook</field></shadow></value><value name="ADD8"><shadow type="text" id="J.BEBF/!|dvvx9S+@s%m"><field name="TEXT">black knight</field></shadow></value><value name="ADD9"><shadow type="text" id="-.7(2@[#-S9VQ1RvQ%Uz"><field name="TEXT">black bishop</field></shadow></value><value name="ADD10"><shadow type="text" id="Qf.YNn9~#T[;mk%iSU{T"><field name="TEXT">black king</field></shadow></value><value name="ADD11"><shadow type="text" id="940h)oY4C5^*FN3},-NO"><field name="TEXT">black queen</field></shadow></value></block></value><next><block type="pxt_controls_for" id="YnKkvTjKTg6Uno$wP`{w"><value name="VAR"><shadow type="variables_get_reporter" id="a2/1@YmUo}_7*2#YgQ0}"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="OYr#OM3K]$${-h:FWAUc"><field name="NUM">4</field></shadow><block type="math_arithmetic" id="^Ze)_MoG~vIy5PCPb+{P"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="G%km0On-(l6K!*lev/2G"><field name="NUM">0</field></shadow><block type="lists_length" id="WFS9[OTaPoc4DL(sKP(L"><value name="VALUE"><block type="variables_get" id="E`xx2r%VL;9u(/--R~!n"><field name="VAR" id="Z-xg+9rcWY~NPU3N_?l+">chess_tiles</field></block></value></block></value><value name="B"><shadow type="math_number" id="gg]s;+L]b-#Z5~Ne^fwZ"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="pxt_controls_for_of" id="62tLOUQ0x_Ah1n%fzCaz"><value name="VAR"><shadow type="variables_get_reporter" id="NUV60gCOXuZ{Q_`TvvaV"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="?:%3?`/SM]WR0LzWmoKb"><field name="VAR" id="Z-xg+9rcWY~NPU3N_?l+">chess_tiles</field></shadow><block type="mapgettilestype" id="hGK8|}14ud1P-aOTh1V]"><value name="tile"><shadow type="tileset_tile_picker" id="#NAq2GA3d|@nWK5)o3y~"><field name="tile">assets.tile`transparency16`</field></shadow><block type="lists_index_get" id="nc7iW)kbG|[UB;SJ[(+9"><value name="LIST"><block type="variables_get" id="kAvy#JCC[@57l;2kO!}@"><field name="VAR" id="Z-xg+9rcWY~NPU3N_?l+">chess_tiles</field></block></value><value name="INDEX"><shadow type="math_number" id="e1Ju[;i8uNv6)ww)qaDs"><field name="NUM">0</field></shadow><block type="variables_get" id="_sa5|Z`v^ZKz=36MNN#~"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value></block></value><statement name="DO"><block type="function_call" id=":]sl1O2QB=ZL]NN}T|NN"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="#%{[)7b@kS(A7{dM-Sr."><field name="TEXT">abc</field></shadow><block type="lists_index_get" id="*FJ-me#f{^t.*J`^PiY0"><value name="LIST"><block type="variables_get" id="y#Wg^fKiHSD;9.UpHyPl"><field name="VAR" id="~-|X!R!Bb?r559KX`?wq">chess_names</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="GkyVLUL8B]F3esVwX7@#"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="1J4g.`vMzc*n,!O63^iK"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="PLb)bfQWoumISC/ZcZ4("><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="FKB#H@ZaTDS[QiLnP67y"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></value></block></statement></block></statement></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="AbQGCZU~Bw1BuL857#8x" x="-1760" y="0"><mutation name="set_tilemap" functionid="tckRxo|g#.b}oVWfZf4Z"><arg name="with_tile_pieces" id="xt96xl0lex0v4ho12g484m" type="boolean"/></mutation><field name="function_name">set_tilemap</field><value name="xt96xl0lex0v4ho12g484m"><shadow type="argument_reporter_boolean" id="QVOR,C;0.LhWK*4D,Ees"><field name="VALUE">with_tile_pieces</field></shadow></value><statement name="STACK"><block type="gamesetbackgroundcolor" id="xU/EZKurW#tg~:OM!fnn"><value name="color"><shadow type="colorindexpicker" id="8@t^@alDK7YcwM/[4h-p"><field name="index">13</field></shadow></value><next><block type="controls_if" id="t*kXSFtOW!!@LxVjuV_/"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="argument_reporter_boolean" id="S~6k[^}J%(]bkf:Np$[+"><field name="VALUE">with_tile_pieces</field></block></value><statement name="DO0"><block type="small_tilemap_editor" id="XEgj/ADkRc_iynKj{.)!"><field name="tilemap">tilemap`board_with_tile_pieces`</field><data>{"commentRefs":[],"fieldData":{"tilemap":"level2"}}</data></block></statement><statement name="ELSE"><block type="small_tilemap_editor" id="$VQ8#[uyT!.P=W(ZD3*Y"><field name="tilemap">tilemap`board`</field><data>{"commentRefs":[],"fieldData":{"tilemap":"level1"}}</data></block></statement></block></next></block></statement></block><block type="function_definition" id="pPENvz0E!~;F.6yd-CpK" x="-850" y="9"><mutation name="make_cursor" functionid="-2_ztts3;0=]ajChqNrE"/><field name="function_name">make_cursor</field><statement name="STACK"><block type="variables_set" id="/@[ize(,}c*LOsDcDrAg"><field name="VAR" id="wjMIPH`VLP-lS@|mu:FA">sprite_cursor</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="D2ou-ne(Kf7_(0oREc%p"><value name="img"><shadow type="screen_image_picker" id="Prh432,D!eaD3=,*2Fh-"><field name="img">img`
f . . . . . . . . .
f f . . . . . . . .
f 1 f . . . . . . .
f 1 1 f . . . . . .
f 1 1 1 f . . . . .
f 1 1 1 1 f . . . .
f 1 1 1 1 1 f . . .
f 1 1 1 1 1 1 f . .
f 1 1 1 1 1 1 1 f .
f 1 1 f 1 f f f f f
f 1 f f 1 f . . . .
f f . . f 1 f . . .
f . . . f 1 f . . .
. . . . . f 1 f . .
. . . . . f 1 f . .
. . . . . . f . . .
`</field><data>{"commentRefs":[],"fieldData":{"img":"Prh432,D!eaD3=,*2Fh-"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="{F1;[.KL_m_D,1uIJjQV"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="spritesetsetflag" id="ya8RAsw764@T7kibLjD}"><field name="flag">SpriteFlag.Ghost</field><value name="sprite"><block type="variables_get" id="Zh!I{GG*Q^KQ-fErjYD0"><field name="VAR" id="wjMIPH`VLP-lS@|mu:FA">sprite_cursor</field></block></value><value name="on"><shadow type="toggleOnOff" id="y+Ke2QE_g:|`qU+A$YO="><field name="on">true</field></shadow></value><next><block type="variables_set" id=")H^+?Nn3YdF?PXqVyh6A"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="vgkol6{k`7V27t!Y9ytn"><value name="img"><shadow type="screen_image_picker" id="WCR/Dsf:4VV^jmoO_eI["><field name="img">assets.image`cursor_overlapper`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image13"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="Znq5,M=0e|-P0(A3fa(z"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="Sprite_blockCombine_set" id="xmTSo}yzc#-[(]rX;zi+"><field name="property">Sprite.z</field><value name="mySprite"><block type="variables_get" id="G.Y5uVY0pH^0Nh3ADRRO"><field name="VAR" id="wjMIPH`VLP-lS@|mu:FA">sprite_cursor</field></block></value><value name="value"><shadow type="math_number" id="Ix(BteG2T6JNR@s/w_+*"><field name="NUM">10</field></shadow></value><next><block type="Sprite_blockCombine_set" id="XF+`4zs(V9G#*8!5UPCf"><field name="property">Sprite.z</field><value name="mySprite"><block type="variables_get" id=";nJvI-Tk9IEH}O;[yga-"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value><value name="value"><shadow type="math_number" id="tMLU!T}m6=N?lS9K#?Y~"><field name="NUM">10</field></shadow></value><next><block type="spritesetsetflag" id="/Dk5{op3DuH3(S0?M~]9"><field name="flag">SpriteFlag.Invisible</field><value name="sprite"><block type="variables_get" id="gdjyyvVztZJ!SG8mhDXO"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value><value name="on"><shadow type="toggleOnOff" id="Q3S]NjIAVRjH40AD*n:s"><field name="on">true</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="^i.!]Bz/ldn^}:5f;~NS" x="0" y="0"><mutation name="set_variables" functionid="Q/:M?mk4{VHY))kDPMJJ"/><field name="function_name">set_variables</field><statement name="STACK"><block type="variables_set" id="4p#{ij?d-#AXle0[KOi~"><field name="VAR" id="}_f@%y:V3.#A0dM_dWi3">controls_enabled</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_boolean" id=";e:4Y%)O21b[=Vs:afmC"><field name="BOOL">TRUE</field></block></value><next><block type="variables_set" id="Fd}b@;uF~7LSCu-~`M0q"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field><next><block type="variables_set" id="V#Wiql)}xoVvT00=pDU-"><field name="VAR" id="YLm4=eVyN9+nl2)/hl,d">current_player</field><value name="VALUE"><shadow type="math_number" id="}`izRLQ}3jqb-!LQ]oY;"><field name="NUM">0</field></shadow><block type="logic_boolean" id="[`KsrJQ_H2s)4rfY(Y4]"><field name="BOOL">FALSE</field></block></value><next><block type="variables_set" id="YuzV(!|UO7_.}GA?VJ=l"><field name="VAR" id="_Ezuu;M#ASL|=m`qXcFg">in_game</field><value name="VALUE"><shadow type="math_number" id="~*~!$WR1A)EzkKE5gSPU"><field name="NUM">0</field></shadow><block type="logic_boolean" id="zIvs)OMvb#+YNj#7bay+"><field name="BOOL">FALSE</field></block></value><next><block type="variables_set" id="H!eFNl6K--XDzD-tb5Dv"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field><value name="VALUE"><shadow type="math_number" id="[e?zl#Y6g`uC$sy;}e^y"><field name="NUM">0</field></shadow><block type="lists_create_with" id="IA;cu^_])6-cDne4aGjM" inline="false"><mutation items="4" horizontalafter="3"/><value name="ADD0"><block type="direction_editor" id="Fxs*4?[v!{akO3xTFSUp"><field name="direction">CollisionDirection.Left</field></block></value><value name="ADD1"><block type="direction_editor" id=":IY$W|M@Oc6e*bZ8KM9u"><field name="direction">CollisionDirection.Top</field></block></value><value name="ADD2"><block type="direction_editor" id="(Ll]dyPFmXi],XE;h~pe"><field name="direction">CollisionDirection.Right</field></block></value><value name="ADD3"><block type="direction_editor" id="jsmz+F7#7_,yy}bZeB,A"><field name="direction">CollisionDirection.Bottom</field></block></value></block></value></block></next></block></next></block></next></block></next></block></statement></block><block type="pxt-on-start" id="Q+Q-Vq[2wOfO=.m7.^1}" x="780" y="40"><statement name="HANDLER"><block type="function_call" id="h.S!iSk47.2]DU.-ig,e"><mutation name="set_variables" functionid="Q/:M?mk4{VHY))kDPMJJ"/><next><block type="function_call" id="]L*#h::{JKssCwvSFLY9"><mutation name="make_cursor" functionid="-2_ztts3;0=]ajChqNrE"/><next><block type="function_call" id=".cv)DC1I95HJh72,V4g]"><mutation name="enable_controls" functionid="YsuCE0)ITrZfUVe+N]N~"><arg name="enable" id="5h0tfup7ue2q6o16lrj5k" type="boolean"/></mutation><value name="5h0tfup7ue2q6o16lrj5k"><shadow type="logic_boolean" id="@D.ghSdlfcrr0@iE.{OE"><field name="BOOL">TRUE</field></shadow></value><next><block type="function_call" id="dG5fdo#OIFYW03!^+OKm"><mutation name="set_tilemap" functionid="tckRxo|g#.b}oVWfZf4Z"><arg name="with_tile_pieces" id="xt96xl0lex0v4ho12g484m" type="boolean"/></mutation><value name="xt96xl0lex0v4ho12g484m"><shadow type="logic_boolean" id="syyc~y%frlF|yO%Z)6aI"><field name="BOOL">TRUE</field></shadow></value><next><block type="function_call" id="yL4W]dYz?6@o~Y=U7GAa"><mutation name="place_pieces" functionid="%2m#YPRRY)8WSQno_3SM"/><next><block type="function_call" id="ql/?9SU16==3k/1w!/x?"><mutation name="set_tilemap" functionid="tckRxo|g#.b}oVWfZf4Z"><arg name="with_tile_pieces" id="xt96xl0lex0v4ho12g484m" type="boolean"/></mutation><value name="xt96xl0lex0v4ho12g484m"><shadow type="logic_boolean" id="`=1Y+UvYnvjO/:zh3,v-"><field name="BOOL">FALSE</field></shadow></value><next><block type="variables_set" id="q|t,SFB-_Xs8/q2K9Z_x"><field name="VAR" id="_Ezuu;M#ASL|=m`qXcFg">in_game</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_boolean" id=",Nt4i@Rzn~)i^clnDV{_"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="keyonevent" id="C8U#(7+O1}iz/22Q#y,;" x="1840" y="20"><field name="button">controller.B</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="controls_if" id="a3aT%x1|MMmd+/pd}5i8"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="CAC?Cn:}Q0t,C}GQ@u^A"><field name="VAR" id="}_f@%y:V3.#A0dM_dWi3">controls_enabled</field></block></value><statement name="DO0"><block type="controls_if" id="Mj2G$EViU/YD@6)5986O"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="AQ:MP=hqhuSNCBm^vKl+"><field name="VAR" id="_Ezuu;M#ASL|=m`qXcFg">in_game</field></block></value><statement name="DO0"><block type="function_call" id="ps[[HBi^OmB8-AC`Aq!y"><mutation name="unselect_piece" functionid="8-Cn4#2D0}P|wwcUU5lc"/><next><block type="controls_if" id="?U*t^||~Q1WCyo7jmF|P"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id=".dG3?t,zxEl.9R1tsuQW"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="variables_get" id="iLPRNHXYGeN_^FQ5caj{"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></shadow></value></block></value><statement name="DO0"><block type="spritedestroy" id="eQKGPtO,1Y(6$!d30BiB"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><block type="variables_get" id="^T{J,/HMb+}xd`bV5P4x"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></block></value></block></statement></block></next></block></statement></block></statement></block></statement></block><block type="gameupdate" id="7Jm+ng~Ga6V7Zc@}gg_X" x="2480" y="0"><statement name="HANDLER"><block type="Sprite_blockCombine_set" id="aJR{a-ve9TviYWa)il@f"><field name="property">Sprite.top@set</field><value name="mySprite"><block type="variables_get" id="N:E2J]J[;.S=7%J6XY48"><field name="VAR" id="wjMIPH`VLP-lS@|mu:FA">sprite_cursor</field></block></value><value name="value"><block type="math_arithmetic" id="v2JA:Ci|IdBbG.1:|cj/"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="(^P;hs^Q3sQ]dmXPYaAF" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="n.+iw-LZkThAe6XXmWFD"><field name="property">Sprite.top</field><value name="mySprite"><block type="variables_get" id="o(S{%Z)9v.Db/C5,68I0"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value></block></value><value name="B"><shadow type="math_number" id="g0KinX7|+Rcon_6rwX[;"><field name="NUM">1</field></shadow></value></block></value><next><block type="Sprite_blockCombine_set" id="XR@,c%z#H0p?~A+GHwA="><field name="property">Sprite.left@set</field><value name="mySprite"><block type="variables_get" id="aGmal^7!z[Tv*k9{G{yg"><field name="VAR" id="wjMIPH`VLP-lS@|mu:FA">sprite_cursor</field></block></value><value name="value"><block type="math_arithmetic" id=".@)hmq1{/Xd?kl[[Z|i)"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="?;x.1G#f`M*DJK0ortJv"><field name="property">Sprite.left</field><value name="mySprite"><block type="variables_get" id="#xKATRlh,C5?]LtaBl6d"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value></block></value><value name="B"><shadow type="math_number" id="?AG8%?|imk~j/D,,~6`1"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement></block><block type="function_definition" id="iuNX)pcmL[X%c_YZO^cD" x="-1759" y="461"><mutation name="select_piece" functionid="CTb4:h9$f`[D%{c*UFH!"><arg name="sprite" id="[I}gY(2Bh].=aOJtq%os" type="Sprite"/></mutation><field name="function_name">select_piece</field><value name="[I}gY(2Bh].=aOJtq%os"><shadow type="argument_reporter_custom" id="byNEEnf*F]1q)S-FDA.j"><mutation typename="Sprite"/><field name="VALUE">sprite</field></shadow></value><statement name="STACK"><block type="variables_set" id="A!([!*j-p2HYkKI7EP=?"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field><value name="VALUE"><block type="argument_reporter_custom" id="xFrFWT:=WA3IuG(?PC0j"><mutation typename="Sprite"/><field name="VALUE">sprite</field></block></value><next><block type="variables_set" id="aZNs-bNr`1~s7:rQzO4$"><field name="VAR" id="]*R8%s*^ejC)CiaSg#}D">available_moves</field><value name="VALUE"><shadow type="math_number" id="V=Ix,R+d!4?gJ7*y1|m2"><field name="NUM">0</field></shadow><block type="function_call_output" id="[bxf=ls-udlOOP*{l/-d"><mutation name="calculate_move" functionid=".Em2+uNAaR6(bJVXjD}d"><arg name="piece" id="9Dgu*wVnMzeUfoP|6:[`" type="Sprite"/></mutation><value name="9Dgu*wVnMzeUfoP|6:[`"><shadow type="variables_get" id="hTZ77QwM.QBpyk9cvO6+"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></shadow></value></block></value><next><block type="pxt_controls_for_of" id="q,RP@+iY5[o.Fm5tJTxG"><value name="VAR"><shadow type="variables_get_reporter" id="[;QEWxWMiLi4C^,@yr(t"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="=ug4aN[~o^x+y^U{JToi"><field name="VAR" id="]*R8%s*^ejC)CiaSg#}D">available_moves</field></shadow></value><statement name="DO"><block type="controls_if" id="p2@YRR6xulg*Cz;aGn3}"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="#d--AjX6RxD*PaIObHyk"><field name="BOOL">TRUE</field></shadow><block type="maplocationistile" id="7e{aLc82Fb`EAIik^+08"><value name="location"><shadow type="mapgettile" id="`PH!=^WcXL06RCGjpE/r"><value name="col"><shadow type="math_number" id="aY|?Su_mAsPU5rF*!U:c"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="87bYJh?04`svV=7`FJ|%"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id=")uqkh;JZ4QG[$F2_zV$j"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value><value name="tile"><shadow type="tileset_tile_picker" id="`.Tf89#S-gfinMhLqe`H"><field name="tile">assets.tile`white_tile`</field></shadow></value></block></value><statement name="DO0"><block type="mapsettileat" id="JVi)BS|:Cz7]Ovrj8^m6"><value name="tile"><shadow type="tileset_tile_picker" id="J|8nu_9FE3HfA*`6r;C:"><field name="tile">assets.tile`green_white_tile`</field></shadow></value><value name="loc"><shadow type="mapgettile" id="`U.4DyhHT6Gz^ze*TxzA"><value name="col"><shadow type="math_number" id="^imwEY=st}w-e.xbLx;n"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="!FDQ~r0+4CcwCrQrU^24"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="LT6}Hj%x%j=Pw_^sXT}U"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></statement><statement name="ELSE"><block type="mapsettileat" id="4o^AYJ}{h[D0:UWt9H3M"><value name="tile"><shadow type="tileset_tile_picker" id="OR-H#xyeP,I0;-z!Sz{1"><field name="tile">assets.tile`green_black_tile`</field></shadow></value><value name="loc"><shadow type="mapgettile" id="wUBPC]o}YKEN;E^oREK0"><value name="col"><shadow type="math_number" id="RCtbVJlS=RObxa)kDuC0"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="d]w7xVgH81N:vC.Q]sgP"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="?n5IoRgoibi!aY(ov(D`"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></statement></block></statement></block></next></block></next></block></statement></block><block type="gameinterval" id="vvP~v~|-?Wy[P%}M5BwO" x="2480" y="260"><value name="period"><shadow type="timePicker" id="XI9=Yf=82N2D#Q*#C2a+"><field name="ms">100</field></shadow></value><statement name="HANDLER"><block type="controls_if" id="c/ZC|Di-gh%)_D/F2k()"><value name="IF0"><shadow type="logic_boolean" id="HklgCj+cp%=gcg#DV5GA"><field name="BOOL">FALSE</field></shadow></value><statement name="DO0"><block type="controls_if" id="hC.,Vrue.ls0*|lz#0Zz"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="d?3iG9pnIT[a?zHVs)2?"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="variables_get" id="%FONmUl8E`AV3lrE9^wL"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></shadow></value></block></value><statement name="DO0"><block type="spritesay" id="Xjwi#%l*P:1D5ALZdSG["><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><value name="sprite"><block type="variables_get" id="EI7270I%ng`Y{fiKFvhb"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value><value name="text"><shadow type="text" id="IvP]WPk9u5ei$x0^CQgI"><field name="TEXT">me</field></shadow></value><value name="millis"><shadow type="timePicker" id="v5?`/w9oN3j`s{=m0;`r"><field name="ms">100</field></shadow></value></block></statement></block></statement></block></statement></block><block type="function_definition" id="5H|T`0D^.nEW{HOO_,t}" x="-840" y="460"><mutation name="enable_controls" functionid="YsuCE0)ITrZfUVe+N]N~"><arg name="enable" id="5h0tfup7ue2q6o16lrj5k" type="boolean"/></mutation><field name="function_name">enable_controls</field><value name="5h0tfup7ue2q6o16lrj5k"><shadow type="argument_reporter_boolean" id="#Z(T`(2`:G2I6^^5lrN@"><field name="VALUE">enable</field></shadow></value><statement name="STACK"><block type="variables_set" id="(s3IyEQ?Z9p5Cs.h:0uY"><field name="VAR" id="}_f@%y:V3.#A0dM_dWi3">controls_enabled</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_boolean" id="cuJpu)RC#}]~l9OMmCh4"><field name="VALUE">enable</field></block></value><next><block type="controls_if" id="K`*~XvjKP[gVb[h;8ky|"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="argument_reporter_boolean" id="6?Bu9c[+No~1(#|%__3`"><field name="VALUE">enable</field></block></value><statement name="DO0"><block type="game_control_sprite" id="m{t/rQ+:0el(RBwYHaWV"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="sprite"><shadow type="variables_get" id="#,p?J1zQGP5-.H;(Q_/t"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></shadow></value><value name="vx"><shadow type="spriteSpeedPicker" id="25G;8VGyI8@P?gdmfqY_"><field name="speed">50</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="X(Ia`?XR3:gcx;Jl%3}]"><field name="speed">50</field></shadow></value></block></statement><statement name="ELSE"><block type="game_control_sprite" id="IKC0`S_z[Sh|T2H{D(M#"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="sprite"><shadow type="variables_get" id="63Jg^#u!p4oQaKbTm9~)"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></shadow></value><value name="vx"><shadow type="spriteSpeedPicker" id="Phy~G9==[ysJ5G.IRpXj"><field name="speed">0</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="u)oF?|5T`N9,lDKUax%A"><field name="speed">0</field></shadow></value></block></statement></block></next></block></statement></block><block type="keyonevent" id="~PPWuZi7cIUtWR*|h*Yp" x="1840" y="500"><field name="button">controller.A</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="controls_if" id="TjHh+K,qQ%D!@y49^S(8"><value name="IF0"><shadow type="logic_boolean" id="bQLAuyr$B2SDS}vRPYXm"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="D~F|#d@}.dE.{^=J[f#)"><field name="VAR" id="}_f@%y:V3.#A0dM_dWi3">controls_enabled</field></block></value><statement name="DO0"><block type="controls_if" id="gcge{,hMsX^dcc[hwU%-"><value name="IF0"><shadow type="logic_boolean" id="t/$JClH)m3ZiKo#h|DxT"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="e)p,kUR|A?H81g,A+kSr"><field name="VAR" id="_Ezuu;M#ASL|=m`qXcFg">in_game</field></block></value><statement name="DO0"><block type="controls_if" id="f6/t?Xs;|i~j_f]O{c-v"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="Qj3Z16};IT?LX_JQ}:7X"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="Q{PNOk1!6Q0,Gt3tYy=%"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="variables_get" id="ruznS;RYOA_t7UU`KCR#"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="|AlV!c[w)a6*h:Kpwf[A"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="+E(X,wW)OCTeJUQ[A}au"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="E9{$`|fMb+d#Y;Or!-#T"><mutation name="on_available_tile" functionid="r(@WnKqI$%`eJ2r~+pC#"/></block></value><statement name="DO0"><block type="controls_if" id="Zu?(JuBk?j}5GRfZ{Dci"><value name="IF0"><shadow type="logic_boolean" id="`Ozz*_%0u?kp():+wUW9"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="{I=rhV!{{K~/PLPjV^|z"><field name="OP">GT</field><value name="A"><shadow type="math_number" id="z7OYXVF3PmW?zh,X25|2"><field name="NUM">0</field></shadow><block type="lists_length" id="qBT%).FC+k*}_w|sFxn@"><value name="VALUE"><block type="grid_getSprites" id="%_nr}rt=|Ppm._zPTZTo"><value name="loc"><shadow type="mapgettile" id="Y)oQ4P0f_aY~_POJb.Jf"><value name="col"><shadow type="math_number" id="gSn8$n0GUr{4:Vjk/ajQ"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="0+s`tdAX^|C{0)Gi{w|Z"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="hg?3tC5D`W]LA(JG2Oo)"><value name="s"><block type="variables_get" id="fvjRjay@PcHMMP(U3m.p"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="J{R1Nj13$WbheejoVE$!"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="spritedestroy" id="V@m#TFvV+E!r+XG;R--w"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><block type="lists_index_get" id="I@foy~G329@QI56bffIz"><value name="LIST"><block type="grid_getSprites" id="kr1I]z-/^DvEOa/s4mTl"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="`T4?1{7|M4:Q`[p4WY`/"><value name="s"><block type="variables_get" id="5ota`[Ey@8_Ogl2=:{/T"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value></block></value></block></value><value name="INDEX"><shadow type="math_number" id=")RL{]})#tj4}!Ll(Om^m"><field name="NUM">0</field></shadow></value></block></value></block></statement><next><block type="grid_place" id="X!`q781Zt`#s7bAJPHZf"><value name="sprite"><block type="variables_get" id="L0aE_2G-y~H!lv/!.VNr"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value><value name="loc"><shadow type="mapgettile" id="mxu8$E(/B_T@mxrZ2tPr"><value name="col"><shadow type="math_number" id="|$Sga%p~Iw$#[T|F=XOm"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="3Yv3jE9hvkqV~-$mLDgN"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="ALVno+SGDE)Ju|l#Z;JO"><value name="s"><block type="variables_get" id="3!sKa2DAO)b}d_KRbJKh"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value></block></value><next><block type="spriteDataSetBoolean" id="ARt)8zjhS*,Jd,xHjK:F"><value name="sprite"><block type="variables_get" id="C_qcxYCG/`iX27PGtjuF"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value><value name="name"><shadow type="text" id="%hM)ty7#|*9QAv;cx$mc"><field name="TEXT">has_moved</field></shadow></value><value name="value"><shadow type="logic_boolean" id="8a`.vTbzwI`/{m;JcC%`"><field name="BOOL">TRUE</field></shadow></value><next><block type="controls_if" id="A2bNgA60Be_Tjf?)UoVb"><value name="IF0"><shadow type="logic_boolean" id=".b1LL;ABuvt.=mfS.q/S"><field name="BOOL">TRUE</field></shadow><block type="string_includes" id="]y(ZaikM-+1FYX:!FoF]"><value name="this"><shadow type="text" id="]4!gliH3hdloTM_?*C;p"><field name="TEXT">this</field></shadow><block type="spriteDataGetString" id="En2VgH)KSbqe@=L:nlwd"><value name="sprite"><block type="variables_get" id="i=mj#S$,R~#fTntVm~d-"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value><value name="name"><shadow type="text" id="_}o-(_Xa|9-Ml46.8q%N"><field name="TEXT">type</field></shadow></value></block></value><value name="searchValue"><shadow type="text" id="!Uq]0+EV8::q%2[wMwtJ"><field name="TEXT">pawn</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="8jf_TUnE)5q*|9t7!TT?"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="`-=vKmz*lRD{36p9@E-9"><field name="BOOL">TRUE</field></shadow><block type="spriteDataGetBoolean" id="zrInB.ApNoW%]u5{7m/*"><value name="sprite"><block type="variables_get" id="6cXj1ac]8gOR6i~bokhU"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value><value name="name"><shadow type="text" id="i@6l|qrHr6gTpF:,CXYk"><field name="TEXT">is_white</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="}sub]!5gS_5{W5mb-Lro"><value name="IF0"><shadow type="logic_boolean" id=".(`/*lE.P=io!O-IB9^o"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="sbLGQAgGNt92ggB8E-50"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="B0#D@RWN%t[N;Pp^)Il="><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="*|+KP.U0D|-Z*!Y4)ey$"><field name="xy">tiles.XY.row</field><value name="location"><block type="tilemap_locationOfSprite" id="z%M8WhMX|4PYY%F$rrpV"><value name="s"><block type="variables_get" id="T2gFKI|K|x?=L=R]O]5L"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="hL]]xx@ga,v,!u!uKU|!"><field name="NUM">2</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id=".W!E+U5rR6iQrVz.05@g"><mutation name="promote_piece" functionid="~Sc[xr,o5boa`qm%jc5U"><arg name="piece" id="rMtn@A6%`at=?N.$T*]|" type="Sprite"/></mutation><breakpoint/><value name="rMtn@A6%`at=?N.$T*]|"><shadow type="variables_get" id="I#;D~mErNPLe|ZZ-7oql"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></shadow></value></block></statement></block></statement><statement name="ELSE"><block type="controls_if" id="3Y#qfnu|j0%F*?svI^QY"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="10;I9!;UzCV+6`CP?xxg"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="l6!G(x.?}`Y!6h3aAH1b"><field name="xy">tiles.XY.row</field><value name="location"><block type="tilemap_locationOfSprite" id="^Ydwv=l[1qEj$1-eX8if"><value name="s"><block type="variables_get" id="]{7TivGJXN:SB{*$SL~W"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="N9RbO9FkW+K+eX-L;MUj"><field name="NUM">9</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="_(ze:lSr:1-iK?+!7dI_"><mutation name="promote_piece" functionid="~Sc[xr,o5boa`qm%jc5U"><arg name="piece" id="rMtn@A6%`at=?N.$T*]|" type="Sprite"/></mutation><breakpoint/><value name="rMtn@A6%`at=?N.$T*]|"><shadow type="variables_get" id="SP4!=|0tMnxbN^YY4%@@"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field></shadow></value></block></statement></block></statement></block></statement><next><block type="function_call" id="*S!M7OXO4Powh28-}D{="><mutation name="unselect_piece" functionid="8-Cn4#2D0}P|wwcUU5lc"/><next><block type="variables_set" id="B|@SPUw|cH@1u=+kD=Dm"><field name="VAR" id="YLm4=eVyN9+nl2)/hl,d">current_player</field><value name="VALUE"><block type="logic_negate" id="DsORHbLAy!6Q+R_,VZpP"><value name="BOOL"><block type="variables_get" id="s(/8+ZKzDp$l}Ahv7bhV"><field name="VAR" id="YLm4=eVyN9+nl2)/hl,d">current_player</field></block></value></block></value><next><block type="controls_if" id="x*SUe%tT`h5(v.|.wCV]"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="6Ad(P{k*ti)BfOD*#/D6"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="variables_get" id="C!fF37N]Y{2n7tarnYH/"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></shadow></value></block></value><statement name="DO0"><block type="spritedestroy" id="^WX~Y^SE])2m=V.1f}g."><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><block type="variables_get" id="aGe6ZUhmSe;O3j_ftTH1"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="camerashake" id="5!Rcp2*:p^c^cWZn(wGp"><value name="amplitude"><shadow type="math_number_minmax" id="uSKJY00pLmO{}U]~A8Zt"><mutation min="1" max="8" label="Amplitude" precision="0"/><field name="SLIDER">4</field></shadow></value><value name="duration"><shadow type="timePicker" id="?@~cAwSk0HufDJI5T#}:"><field name="ms">200</field></shadow></value></block></statement></block></statement><statement name="ELSE"><block type="controls_if" id="LCgU0OjD|6O/2y]g#Gh."><value name="IF0"><shadow type="logic_boolean" id="D-3bOu)P9USX!i}10pmO"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id=";D-*ezHau,85puAmNEIs"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="variables_get" id="02Z6}AnIrC*@mRs((cer"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="function_call_output" id="|kH#*SXHIc{1xFzl%fc]"><mutation name="get_overlapping_sprite" functionid="lgY*|XT9i^v6fCf]q0pB"><arg name="target" id="o:.C$(QPfyS=FT,j~#O`" type="Sprite"/><arg name="kind" id="u4O/)keqRNRdbH6(QqZ;" type="number"/></mutation><value name="o:.C$(QPfyS=FT,j~#O`"><shadow type="variables_get" id="7NE7|8=_F88UqxD!JhT)"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></shadow></value><value name="u4O/)keqRNRdbH6(QqZ;"><shadow type="math_number" id="*^[`CwU+0X~/EHN*i(/6"><field name="NUM">1</field></shadow><block type="spritekind" id="w]jW}cG2h1h@kokC3@sM"><field name="MEMBER">Piece</field></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="PV$WwLD9PX$05.;R;uX7"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="lT9wZ3q8u((7d@A2t90Q"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="?4P)]9LVEUM|EvUW)[jU"><field name="OP">NEQ</field><value name="A"><shadow type="math_number" id="ZbZ:1mzT~LE5]FYL~f!$" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id=",nF6nq5RwQsPoIJeEN#G"><field name="VAR" id="YLm4=eVyN9+nl2)/hl,d">current_player</field></block></value><value name="B"><shadow type="math_number" id="eR*m~nT3LJ#b{y3g[z[?"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="Vxi~Dfud0R@@b?W?D,nv"><value name="sprite"><block type="function_call_output" id="4?x(H:~fYRRdD-wp[h`Q"><mutation name="get_overlapping_sprite" functionid="lgY*|XT9i^v6fCf]q0pB"><arg name="target" id="o:.C$(QPfyS=FT,j~#O`" type="Sprite"/><arg name="kind" id="u4O/)keqRNRdbH6(QqZ;" type="number"/></mutation><value name="o:.C$(QPfyS=FT,j~#O`"><shadow type="variables_get" id="%?^;p^5Nhe;RRK~hM.se"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></shadow></value><value name="u4O/)keqRNRdbH6(QqZ;"><shadow type="math_number" id="9DV|qp:==TcD%L$U:}Zr"><field name="NUM">1</field></shadow><block type="spritekind" id="i@7-=,HLK:l1RP6p[|t{"><field name="MEMBER">Piece</field></block></value></block></value><value name="name"><shadow type="text" id="=lhB]uuZ)d}oxbIHl%Zi"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO0"><block type="function_call" id="]!^|!_7LR!uaWVJ|r5nm"><mutation name="select_piece" functionid="CTb4:h9$f`[D%{c*UFH!"><arg name="sprite" id="[I}gY(2Bh].=aOJtq%os" type="Sprite"/></mutation><value name="[I}gY(2Bh].=aOJtq%os"><shadow type="variables_get" id=";*~hu$=)9!L34JzcSl=A"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="function_call_output" id="4g:ZxWrVqQ|DM2Icq[U5"><mutation name="get_overlapping_sprite" functionid="lgY*|XT9i^v6fCf]q0pB"><arg name="target" id="o:.C$(QPfyS=FT,j~#O`" type="Sprite"/><arg name="kind" id="u4O/)keqRNRdbH6(QqZ;" type="number"/></mutation><value name="o:.C$(QPfyS=FT,j~#O`"><shadow type="variables_get" id="Vz|t;JIyxN;(*w@y?6^g"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></shadow></value><value name="u4O/)keqRNRdbH6(QqZ;"><shadow type="math_number" id="*-i4,*[wx7{YV(~B8H8q"><field name="NUM">1</field></shadow><block type="spritekind" id="%BOFL!H=I/f;r$!vM55G"><field name="MEMBER">Piece</field></block></value></block></value><next><block type="controls_if" id="@5XI`X]{{XoiP/P19q~/"><value name="IF0"><shadow type="logic_boolean" id="M,|=czL$D40M/x~pX$LD"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="-~3%A:JLJ[|_=Iy-[muP"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="variables_get" id=",]s7_nzZ!v11B`V3NBd]"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></shadow></value></block></value><statement name="DO0"><block type="spritedestroy" id=";yQ_7:Ih{-FT8xU)O)ha"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><block type="variables_get" id="[0%WU2u[$3dl^W,Uz*KN"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></block></value></block></statement><next><block type="controls_if" id="k*3BjSw;Nb{fV9Hu`PDO"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="0.f3HUnhw-(]j0glwrPG"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=";6;ZLFT=IWWs{^%hpiB-"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id=".@5gY]XGbycQfzS^=K+Z"><field name="NUM">0</field></shadow><block type="lists_length" id="CRvoXU3n.X($7(I]8SP|"><value name="VALUE"><block type="variables_get" id="R492x:ubRiBkd0+meCSB"><field name="VAR" id="]*R8%s*^ejC)CiaSg#}D">available_moves</field></block></value></block></value><value name="B"><shadow type="math_number" id="tnX}S)4A!$Ci?^Jm!?*#"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="r|dC0k)J9*~HGAA=t,;!"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="textsprite_create" id="PUa]9hpYYLvewrC5fjKc"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="text"><shadow type="text" id="6WFR!Js~SWO#Op!d{Mop"><field name="TEXT">Moves found: 0</field></shadow></value><value name="fg"><shadow type="colorindexpicker" id="h=r{Q=M(#!l*1!0u45Pf"><field name="index">2</field></shadow></value><value name="bg"><shadow type="colorindexpicker" id="Z:o5/gW^U^_h8CXG]HPs"><field name="index">0</field></shadow></value></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="9sY`Zl@6E-j/dLfE7+(G"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="textsprite_create" id="t~bq^7AAdS%UYTY)2(ZZ"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="text"><shadow type="text"><field name="TEXT">Moves found: N/A</field></shadow><block type="text_join" id="eLt]BL*JEP/K}^5=(jrF"><mutation items="2"/><value name="ADD0"><shadow type="text" id="cA+]|P}`oqMW{T4+/l/#"><field name="TEXT">Moves found: </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT"/></shadow><block type="lists_length" id="];@)1I3Ry;:9R3o2=/Kh"><value name="VALUE"><block type="variables_get" id="92{?GHw[bi-;WDHtyWDj"><field name="VAR" id="]*R8%s*^ejC)CiaSg#}D">available_moves</field></block></value></block></value></block></value><value name="fg"><shadow type="colorindexpicker" id="YuC_7y5;K[T{OXs|Gc2]"><field name="index">15</field></shadow></value><value name="bg"><shadow type="colorindexpicker" id="ih}:$YdD;c1M@vBii*`K"><field name="index">0</field></shadow></value></block></value></block></statement><next><block type="Sprite_blockCombine_set" id="|:H:0Pnb+}5deb(NXVVN"><field name="property">Sprite.left@set</field><value name="mySprite"><block type="variables_get" id="ubUWsCq:q?U;bKRbd|cr"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></block></value><value name="value"><shadow type="math_number" id="5Ev9Np#k__nN.FLroE3S"><field name="NUM">16</field></shadow><block type="math_arithmetic" id="!+M.bmGXM]b%-K4~$bez"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="6B1z;asoZfdOP^:tU$Ip"><field name="NUM">2</field></shadow></value><value name="B"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_tileWidth" id="iHD%Uc;ZH$`Y@Kbk.z]A"/></value></block></value><next><block type="Sprite_blockCombine_set" id=")+W25bOA@/KrQ*gSO+EG"><field name="property">Sprite.top@set</field><value name="mySprite"><block type="variables_get" id="Q~]silIVN9w3@xCnw_v/"><field name="VAR" id="SaM7`ntOW2j[dUf0n^rd">sprite_move_count</field></block></value><value name="value"><shadow type="math_number" id="E_GV}B_9`7n[Dr;O2D)A"><field name="NUM">16</field></shadow><block type="math_arithmetic" id="d`i-dz@nO`j%jd6dHR,j"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="b4Dq@lta5iZFPHUvOtJ`"><field name="NUM">11.5</field></shadow></value><value name="B"><shadow type="math_number" id="y)Mloj1@GQhqYWZ1]({+" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_tileWidth" id="v7VAxG^%)]_q0f2tlCUb"/></value></block></value></block></next></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="camerashake" id="IN#+sC5X0yI7Oc{OMG6k"><value name="amplitude"><shadow type="math_number_minmax" id="x{qNoK7NZ5oB?n_h{dOE"><mutation min="1" max="8" label="Amplitude" precision="0"/><field name="SLIDER">4</field></shadow></value><value name="duration"><shadow type="timePicker" id="x%Bp4ljRdkr8;oyo9whw"><field name="ms">200</field></shadow></value></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block><block type="function_definition" id="#ab1C=Tk+*GQ?_Pem!Ba" x="-8970" y="1230"><mutation name="calculate_move_for_queen" functionid="_7/(@!L8Toe/LOO/}@GM"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="local_moves" id="U_NUb)%J*{RD?nco9sd[" type="Array"/></mutation><field name="function_name">calculate_move_for_queen</field><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="argument_reporter_custom" id="d4,UcE[f=z4RBpyb75l9"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name="U_NUb)%J*{RD?nco9sd["><shadow type="argument_reporter_array" id="s,d=gI!E5I:WvWD?yUc-"><field name="VALUE">local_moves</field></shadow></value><statement name="STACK"><block type="variables_set" id="BhLH0oK*MDD5UxrpEM~G"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="P[nHaip#C:o8USL~B=~2"><mutation items="0" horizontalafter="3"/></block></value><next><block type="pxt_controls_for" id="@|*Zqrk8b|gVOPY2niOq"><value name="VAR"><shadow type="variables_get_reporter" id="e*rJ#]l6+km]n6$u]-|;"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">4</field></shadow><block type="math_arithmetic" id=")uS2)xN,]OaKYO(UM/1Y"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="TQ9looH5V@6z59aBoS/f"><value name="VALUE"><block type="variables_get" id="P-4cYNTS(-EV14WwpOMm"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value><value name="B"><shadow type="math_number" id="IvDcm1`N+|@kw,y}{fxv"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="U57?^~46Q-wO?Zbd4h93"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationOfSprite" id="wUzt$?q:4,g_N,UA6!c3"><value name="s"><block type="argument_reporter_custom" id="r,8t!1P$O!P+.{jZ0df#"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><next><block type="controls_repeat_ext" id="QlAB(F{A*6/*;QENX.c7"><value name="TIMES"><shadow type="math_whole_number" id="2NqYx|oKIYzDiAg,2|NT"><field name="NUM">8</field></shadow></value><statement name="DO"><block type="variables_set" id="N[K#I!tAhrL34ylVp6%%"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="TL[6:UX!)Fk[rm1DtsN/"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="pWL+sX9gha^NB38wICb~"><value name="LIST"><block type="variables_get" id="Hu~1#hhd1U[9n/[%b182"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="sh?s]uLnm|U/%MrAAa3+"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value><value name="location"><block type="variables_get" id="M-tAfXo^LK-%xEBG~lq,"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="k}@NB=m3SOMj6vtr5{Cg"><mutation elseif="2" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="6J|oY6Ev1fG/*4qLgiSl"><value name="BOOL"><block type="function_call_output" id="knjT^7Zt1#.CkRORR(5/"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="*mCX=BASHO4$Fyf~9[_g"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="i]V2JjEuwOYFaS.%G9Hn"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="/xv/:1Z`5eF9zCx.MPhq"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="break_keyword" id=".IzYnxsU,)-3]@LKJ4!J"/></statement><value name="IF1"><block type="logic_compare" id="s2tZdyk#b/e.|`$k;i#m"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="N)ysfpxY2r}GZD3XyFD?"><value name="VALUE"><block type="grid_getSprites" id="6=#:ud#BfO`WtPLX?rI!"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="Hh;ME07Q.!!Vqg0;GpJx"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="0(}23y4mCJ=``i1A;RcE"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="array_push" id="Uv1Z-ROOPa1iPr-kF8Jt"><value name="list"><block type="variables_get" id="B?L~E*B0Y^]-Bxe[SZ:S"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="1m#S^.075[w]lmh4p}W("><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><value name="IF2"><block type="logic_compare" id="9$aj!$+L[{;@ZuAmM:m`"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="98)iUG.:xC7s07Xfb;$6"><value name="sprite"><block type="lists_index_get" id="i$*rU9(ukpU!eI^SC6by"><value name="LIST"><block type="grid_getSprites" id="EiH}v#*67ES%|m$#nJD!"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="}GI$;MN0e1`~Z./$3ECU"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="ub,Vd,*Mu#G)AOW:EWF`"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="uzD~Y}@P+Yt9^dOGLb!o"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="%Vs(GI%?qr@?t}@`ckoR"><value name="sprite"><block type="argument_reporter_custom" id="[xVG_DFx$VJ0s!D+~6+O"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="zM2W}I/SDldm9C30IJv7"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO2"><block type="array_push" id="LhT{UZYi_1UIoYIhtRWO"><value name="list"><block type="variables_get" id="U$x0/n{Xr$^7VgZfzro!"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="t^`{1shCW(sqIvYF0eRW"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value><next><block type="break_keyword" id="6tZiplRZ-L[@g$,^MvOF"/></next></block></statement><statement name="ELSE"><block type="break_keyword" id="%^![uWg0HE8SE@JqOW0z"/></statement></block></next></block></statement></block></next></block></statement><next><block type="pxt_controls_for" id="Dl%5RV-!-h+/?_Ygbtsh"><value name="VAR"><shadow type="variables_get_reporter" id="R+bEr/nH;F.SxBEAM)H:"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">4</field></shadow><block type="math_arithmetic" id="PRwd3nOUnJ_3e:%tYxl6"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="}@ub(TAH@W,wN[).s!`="><value name="VALUE"><block type="variables_get" id="B2hMblGU?n80uDnWNF]u"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value><value name="B"><shadow type="math_number" id="=cmbZo9yil9iQ`E@|.CM"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="1iPgn7[N]=oMIq/Y:PB+"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationOfSprite" id="?GuX]wD(gih{i_$uGL}w"><value name="s"><block type="argument_reporter_custom" id="#d(_DHO@D7S9|Wpx|LnQ"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><next><block type="controls_repeat_ext" id="3i*#tO,KM!*.;PFi6@rQ"><value name="TIMES"><shadow type="math_whole_number" id="pcAbh(+ijz`XyWwNv:hQ"><field name="NUM">8</field></shadow></value><statement name="DO"><block type="variables_set" id="2,zcX[mES~$8a#BBw_GV"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="}TE-czB2W8g{a6Ct(6Wk"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="Qy~;?ZsYx3g18B3|ycWL"><value name="LIST"><block type="variables_get" id="DwzG4`QmBJp{vm(%s|62"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="KzC[,IClC_tJA=JG,BMa"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value><value name="location"><block type="variables_get" id="P`DerHASq4SFyRkQB3kt"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="variables_set" id="9JuH+SZtUfPlCnUGJNd@"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id=":%4`__XwxDeYx0y@+rp-"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="w3.fmoB%n)*WwZ?fH3@e"><value name="LIST"><block type="variables_get" id="=}S!@uw/[U?HRq,wnwFy"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_modulo" id="1ygkJCd3Hp=tlIbQl{BL"><value name="DIVIDEND"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="j1Fr@r*o{U$N+[6M[~pG"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="^*kpGQA0jndp37YjCOk9"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value><value name="B"><shadow type="math_number" id="3yNY@cMc=6V[r,Bw?kTu"><field name="NUM">1</field></shadow></value></block></value><value name="DIVISOR"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="lists_length" id="--*1PUTTn;DBzG3xXb9d"><value name="VALUE"><block type="variables_get" id="Q3saJ@O;BCTq3$Ge,+HI"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value></block></value></block></value><value name="location"><block type="variables_get" id="hu-JPZemb0(h8+c-OP5x"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="vCoUY6B/hpa}EHjsw0sS"><mutation elseif="2" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="hy+EPy0o5Ed3{_*X)J!."><value name="BOOL"><block type="function_call_output" id="LHJ(%M}hGenCDwXf4J!d"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="GiRd(o^P%@pvki~rJ;gw"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="1XO{GB8O^iKwVk1?YY0,"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="gq@n$*}!YLl`SOzK^SjT"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="break_keyword" id="4:7h%O=hdY^QY)Mjuj$j"/></statement><value name="IF1"><block type="logic_compare" id="`89N0Y;d*gphXwg.LTaN"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="K$tDdtUF]1)foQ(sB^#2"><value name="VALUE"><block type="grid_getSprites" id="y[DqNSn1q+)hIBt#i=k8"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="E]sYwbHD9,D.6wW:ePm9"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="Zm|ebwDPh6%,`zW@C8Xi"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="array_push" id="3mm;k(LX!R^J9evMbnU,"><value name="list"><block type="variables_get" id=",;NLxieaosGI,CRE]DU@"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="_WuW.F@~$o8Ztqqg([{-"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><value name="IF2"><block type="logic_compare" id="Bol*;bJ+Y^cL]|S}KCy,"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="^Q]W-`|zfaO;Nh+d;vvz"><value name="sprite"><block type="lists_index_get" id="Gwu#jPuuCYA781=iUSaT"><value name="LIST"><block type="grid_getSprites" id="G+b*qUT~lO?hZ/qL^Ah?"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="!Ujh9FwfTU.s_h]N5uz_"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="Kzr+mr0@,3PcL|REU6)k"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="K,Kw~-u|(h_?!K`rfj95"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="]L9`m]{+Dc)6x.7:[6D8"><value name="sprite"><block type="argument_reporter_custom" id="$4dd4QDj`%w=)aF}+)*:"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="ygN51%0cNJBP$Vf4KX;X"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO2"><block type="array_push" id="MqR3;61nq4X`WOp)-3:."><value name="list"><block type="variables_get" id=";^#j?k{C9:f*}{3J+,6="><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="rh$ReK[A:o5?-MdlUq}`"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value><next><block type="break_keyword" id="{[wpe)X1;`qg?;b?*gMI"/></next></block></statement><statement name="ELSE"><block type="break_keyword" id="OYmUvol;?Y[%4~X+Ytc("/></statement></block></next></block></next></block></statement></block></next></block></statement><next><block type="function_return" id="$a,2fZV;HcWtGShwJ7|]"><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="variables_get" id="!#~@l{p;!v|-tT1YS^O]"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="+Cb^Oqz$E|)TKebBX.C6" x="-840" y="860"><mutation name="get_overlapping_sprite" functionid="lgY*|XT9i^v6fCf]q0pB"><arg name="target" id="o:.C$(QPfyS=FT,j~#O`" type="Sprite"/><arg name="kind" id="u4O/)keqRNRdbH6(QqZ;" type="number"/></mutation><field name="function_name">get_overlapping_sprite</field><value name="o:.C$(QPfyS=FT,j~#O`"><shadow type="argument_reporter_custom" id="?=hd,N#hQWrc#f9v0]b|"><mutation typename="Sprite"/><field name="VALUE">target</field></shadow></value><value name="u4O/)keqRNRdbH6(QqZ;"><shadow type="argument_reporter_number" id="ulwo7amLn1[1.!v7TU{x"><field name="VALUE">kind</field></shadow></value><statement name="STACK"><block type="pxt_controls_for_of" id="j~SpGaU4OmPN2hV[c9v7"><value name="VAR"><shadow type="variables_get_reporter" id="XG*FZDBf2B{i|7@CcdF["><field name="VAR" id="c~uK$w4D_*6;WtW@wz]5">sprite</field></shadow></value><value name="LIST"><shadow type="variables_get" id="O,Ph(~m=Rem^.HHOcR!H"><field name="VAR" id="bV~@1;7;@W7^zu1b~_On">list</field></shadow><block type="allOfKind" id="7o`R@k326vUdefgad-Tl"><value name="kind"><shadow type="spritekind" id="0PLt$tPzIlr+cYH3_Jn8"><field name="MEMBER">Player</field></shadow><block type="argument_reporter_number" id=":l+~YJZ!0{rXJOG2kU2g"><field name="VALUE">kind</field></block></value></block></value><statement name="DO"><block type="controls_if" id="l!zq|j`K5$4209I;Pal."><value name="IF0"><shadow type="logic_boolean" id="4e^iz.Un221|DcdoP_T,"><field name="BOOL">TRUE</field></shadow><block type="spriteoverlapswith" id="4Q}KPD+[g8kMFFMx318m"><value name="sprite"><block type="argument_reporter_custom" id="OPYwJk1bH*~v0-]}Htk{"><mutation typename="Sprite"/><field name="VALUE">target</field></block></value><value name="other"><block type="variables_get" id="55|thjW[t-+#*~7l7PG~"><field name="VAR" id="c~uK$w4D_*6;WtW@wz]5">sprite</field></block></value></block></value><statement name="DO0"><block type="function_return" id="!9prs!`|a4R07,cah/ps"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><block type="variables_get" id="5c:N=rULpjI*yUDc{kn]"><field name="VAR" id="c~uK$w4D_*6;WtW@wz]5">sprite</field></block></value></block></statement></block></statement><next><block type="function_return" id="-{BF%wLzC$GLHKj5Xqe?"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><block type="lists_index_get" id="QbPn8L!IqINKx].jAm]("><value name="LIST"><block type="lists_create_with" id="|71{Ie1nI)([a8a3wQE{"><mutation items="0" horizontalafter="3"/></block></value><value name="INDEX"><shadow type="math_number" id="2]pb[P9hcFOoc#^|=x~i"><field name="NUM">0</field></shadow></value></block></value></block></next></block></statement></block><block type="function_definition" id="7G@CKBfOjY{.Hg]o`p;q" x="-1760" y="1060"><mutation name="unselect_piece" functionid="8-Cn4#2D0}P|wwcUU5lc"/><field name="function_name">unselect_piece</field><statement name="STACK"><block type="variables_set" id="^}yap8)%7Kgq)YVk,M.T"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field><next><block type="function_call" id="k|Vw$BmGMtNV]2KuJ*gC"><mutation name="set_tilemap" functionid="tckRxo|g#.b}oVWfZf4Z"><arg name="with_tile_pieces" id="xt96xl0lex0v4ho12g484m" type="boolean"/></mutation><value name="xt96xl0lex0v4ho12g484m"><shadow type="logic_boolean" id="Xv}=g1qQtZNCf.j_u_#)"><field name="BOOL">FALSE</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="_5?,ca%Hj[;w;UwPRiBA" x="-7040" y="1360"><mutation name="knight_can_move_there" functionid="V:eG5kv`dh^whb+]XzxN"><arg name="piece" id="Z1CazO.ovWv|d2A`iD23" type="Sprite"/><arg name="col_change" id=")}ECXUbLVOQYm!Erk+5:" type="number"/><arg name="row_change" id="PUc,QG%H6a*frm7m70P1" type="number"/></mutation><field name="function_name">knight_can_move_there</field><value name="Z1CazO.ovWv|d2A`iD23"><shadow type="argument_reporter_custom" id="IafGkO.R:Wh^~sk};iO-"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name=")}ECXUbLVOQYm!Erk+5:"><shadow type="argument_reporter_number" id="~xSZDVL}oqy}+^xi,c!c"><field name="VALUE">col_change</field></shadow></value><value name="PUc,QG%H6a*frm7m70P1"><shadow type="argument_reporter_number" id="AQ,s$)/F(|U|P}AL5w~m"><field name="VALUE">row_change</field></shadow></value><statement name="STACK"><block type="controls_if" id="7(m3{TB#Q_3/{jq[{u:5"><value name="IF0"><shadow type="logic_boolean" id="M-@CynIe0scZ9,hyevAo"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="lRJ-QGL.^RT^.9Lxwgcc"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="[@?+t~%Hmj_F]Bdx(PJ7"><value name="VALUE"><block type="grid_getSprites" id="Vwm{@1}r@8;!:[lCQ}mi"><value name="loc"><shadow type="mapgettile" id="Cn28`GA{qf=9Mb$^pLbI"><value name="col"><shadow type="math_number" id="rC3kT-IG|u`O@j1Tg$],"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="s*tT8;OdOH|Up`j*,zig"><field name="NUM">0</field></shadow></value></shadow><block type="grid_add" id="4Cqz;bs0i3!UI*$h=}Q4"><value name="loc"><shadow type="mapgettile" id="S;;mF1qLj{8/C6kqB#Ly"><value name="col"><shadow type="math_number" id="Xe(y`vT5sdG+sZ_w}t61"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="m=.g#!ML)0xvvHhSHd4y"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="h,is$w5~fE,5L,P?s])$"><value name="s"><block type="argument_reporter_custom" id="nVPh49ZO*kj#~vk^k@kC"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><value name="columns"><shadow type="math_number" id="Yv{1HRrl;]0q*:$wX4EM"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="(52wCP7D}@)SW`AiC^H;"><field name="VALUE">col_change</field></block></value><value name="rows"><shadow type="math_number" id="?0v4p@Qz#(-v@b^)QL|M"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="2a2t-b,bwroJT(8prVZO"><field name="VALUE">row_change</field></block></value></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="RELLA[EO)vIpLr,f,fyf"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="pR(*cqtIEgO#ar{8wJ)f"><value name="IF0"><shadow type="logic_boolean" id="=ogu%8]H8#8+!Fy^1gy."><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="1q;s6D`.r^E7e[_%^48s"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="x}qSi9swm(#745l17`7w"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="D`u-[Dt(-(rIpDaFu:,Q"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="grid_add" id=";(9;s^FsDcq:R49NLr#;"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="L)Tg^H[MFD8B1xImDQ-s"><value name="s"><block type="argument_reporter_custom" id="inQiJBAbgL/P]Jd55|eN"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><value name="columns"><shadow type="math_number" id="$JAwitMYn.jo?=;ya}$$"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="s!w_IqBE?kXi.R+~},G2"><field name="VALUE">col_change</field></block></value><value name="rows"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="7%a.sBmGTsdKQ=-ONYtn"><field name="VALUE">row_change</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="%I9haivPb_HxbkB=uVA7"><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="9);b`Z11{K.Hs~J5Z,`c"><field name="BOOL">TRUE</field></block></value></block></statement></block></statement><next><block type="controls_if" id="T9B^u~oN-IS!DXpN?FS*"><value name="IF0"><shadow type="logic_boolean" id="W5$!Z1XEC_pVI(@|hNq1"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="/=lj,?VCVuv7l`pERzd@"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="=MjX{YICec+/ge/mbd(T"><value name="sprite"><block type="lists_index_get" id="oeP#`yXb}n*`Bp(?quD7"><value name="LIST"><block type="grid_getSprites" id="`FlO)szZUoHR_5L##c.L"><value name="loc"><shadow type="mapgettile" id="T$1=O!9EG1+cm{AN;[-T"><value name="col"><shadow type="math_number" id="yYV%1D)_f][JFs%Es:R2"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="b_{HGO1g9i$4R+ZAy@@p"><field name="NUM">0</field></shadow></value></shadow><block type="grid_add" id="IvRcthoIqi`VI7Z;|S_="><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="mK]f={DPGeju#U|}mI.t"><value name="s"><block type="argument_reporter_custom" id="^_o}rZrdd0^:$EC:*E[C"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><value name="columns"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="?ba:h3^d+I!__P=3IXDC"><field name="VALUE">col_change</field></block></value><value name="rows"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="SYM0-6$$5R?~5?nsz$TP"><field name="VALUE">row_change</field></block></value></block></value></block></value><value name="INDEX"><shadow type="math_number" id="6kd$~u^,;f6Ql,z78J{p"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="KYL;V~X~A]v;kDzW)l~m"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="zdDtLMCO94}DuK)f,?aO"><value name="sprite"><block type="argument_reporter_custom" id="XNk?p4Np,/gB_cdMU?6?"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="nx3;s~wMAw[OoKP%L*@z"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="*h15CsW@[UBf^9;1kURN"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="5%+uDt8ck{zy~$/y[cN|"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="FZGSwE@IU?e+bm#N-?~`"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="7a:EYO-A2r0bJsNik7?K"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="grid_add" id="@5oU(b_h4:Lf$Y%}Jy!2"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="!]v)y~sC[$4g9|Ac6/UH"><value name="s"><block type="argument_reporter_custom" id="4zflsA*Cn`a78/(C@+Af"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><value name="columns"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="~y.`S]a*ZGW^@*=o0R_("><field name="VALUE">col_change</field></block></value><value name="rows"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="[os~IsBU%^ezA~s#;j`|"><field name="VALUE">row_change</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="6r6A4(B#D=9P6cM34%oq"><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="Mo@FgB.abK)4r3+w2v%4"><field name="BOOL">TRUE</field></block></value></block></statement></block></statement><next><block type="function_return" id="|bt1Q)Q)+V88a7C}wE7a"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id=";;`%`Ecxz5opx::tgjY?"><field name="NUM">0</field></shadow><block type="logic_boolean" id="?|KjMU0$71]$$9:V}jk?"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id="#ny_m1sTgVtjyQjQU.Xq" x="-840" y="1300"><mutation name="is_sprite" functionid="lxawd`*P?Bw}(S|W(|.F"><arg name="sprite" id="4ZOEpq$q9b?%?cfEso6a" type="Sprite"/></mutation><field name="function_name">is_sprite</field><value name="4ZOEpq$q9b?%?cfEso6a"><shadow type="argument_reporter_custom" id="ZOWT_z72eq!-j!?mQ${6"><mutation typename="Sprite"/><field name="VALUE">sprite</field></shadow></value><statement name="STACK"><block type="variables_set" id="N3x@-SdYsk:0#W*q$ZqU"><field name="VAR" id="c~uK$w4D_*6;WtW@wz]5">sprite</field><value name="VALUE"><shadow type="math_number" id="8oX!5xPLct*qDI?h!a=("><field name="NUM">0</field></shadow><block type="argument_reporter_custom" id="dIe!hT2D:#l-tNTB|1(."><mutation typename="Sprite"/><field name="VALUE">sprite</field></block></value><next><block type="function_return" id="5@M$ofdc9t(w(JnKj=#g"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><block type="logic_operation" id="rjU2^juY{#*):(U+%nV3"><field name="OP">AND</field><value name="A"><block type="variables_get" id="52/Y%!+z.PAgvpeh47;4"><field name="VAR" id="c~uK$w4D_*6;WtW@wz]5">sprite</field></block></value><value name="B"><block type="logic_negate" id="CbQ%u~h44pqOmx~j.NtH"><value name="BOOL"><block type="spriteutilextisdestroyed" id="4T)MKP}gN5?[,Yx{KfA$"><value name="sprite"><block type="argument_reporter_custom" id="l8p%|}KbRWK8a/2e`?B4"><mutation typename="Sprite"/><field name="VALUE">sprite</field></block></value></block></value></block></value></block></value></block></next></block></statement></block><block type="function_definition" id="w_?@MJxdpqESTt^G%jcd" x="-840" y="1580"><mutation name="on_available_tile" functionid="r(@WnKqI$%`eJ2r~+pC#"/><field name="function_name">on_available_tile</field><statement name="STACK"><block type="function_return" id="OG:Db.({rY~]0*hv$bm2"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><block type="logic_operation" id="gbEuk%`a@Wt51wAMns4W"><field name="OP">OR</field><value name="A"><block type="spritetileat" id="Y@r]%}_#v4Cy]q^9sF*8"><field name="direction">TileDirection.Center</field><value name="this"><block type="variables_get" id="rp2g6@rcx]73^[,j,i7T"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value><value name="tile"><shadow type="tileset_tile_picker" id="*%,bHUi}9Y^v4{S*gYw#"><field name="tile">assets.tile`green_white_tile`</field></shadow></value></block></value><value name="B"><block type="spritetileat" id="v`HBpho16QNu/lgP!:yY"><field name="direction">TileDirection.Center</field><value name="this"><block type="variables_get" id="561;jO)?Ji(sX$MYrsd7"><field name="VAR" id="g~SgD`X;Kgwn5cS?`OZ%">sprite_cursor_pointer</field></block></value><value name="tile"><shadow type="tileset_tile_picker" id="~ZP!fPh`BS;;GAz/HuI1"><field name="tile">assets.tile`green_black_tile`</field></shadow></value></block></value></block></value></block></statement></block><block type="function_definition" id="myU`=QO(oag2g6f2);5G" x="-7040" y="2140"><mutation name="calculate_move_for_knight" functionid="M5+IED5E20/;hEl4y44("><arg name="piece" id="wWeXg~?}68DvE+-8fyK]" type="Sprite"/><arg name="local_moves" id="Q%6HoMlks?H8k]o@iBoq" type="Array"/></mutation><field name="function_name">calculate_move_for_knight</field><value name="wWeXg~?}68DvE+-8fyK]"><shadow type="argument_reporter_custom" id="2vXpbf-p?W,fy}%:Cdd$"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name="Q%6HoMlks?H8k]o@iBoq"><shadow type="argument_reporter_array" id="-0BtupJyo0;g@fKDJIB@"><field name="VALUE">local_moves</field></shadow></value><statement name="STACK"><block type="variables_set" id="[TEHbB5B|Zd?FD.h|,uC"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="^a$$#^_Q-P/!KpEJKnlT"><mutation items="0" horizontalafter="3"/></block></value><next><block type="variables_set" id="AtSHa./=82u^n-:xTW#$"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationOfSprite" id="I]kWB)2yHv{W7cDr,qgR"><value name="s"><block type="argument_reporter_custom" id="(IN%By]A:c2LZ*lp7HY$"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><next><block type="pxt_controls_for_of" id="JUR4ttC.6/5,5=YKL0h["><value name="VAR"><shadow type="variables_get_reporter" id="|_/8?KD:w7bo,3XWT[{5"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="mEOP_860VP#L_FMSG?_a"><field name="VAR" id="`]fa}/,71/8$@selx0||">list</field></shadow><block type="lists_create_with" id="bGPSPu7Dk[7uwhfAZ3bn" inline="false"><mutation items="8" horizontalafter="3"/><value name="ADD0"><block type="mapgettile" id="Zrb+uE:qfM*r-Q`B?^ne"><value name="col"><shadow type="math_number" id="5TyW;.HmeZvkv0KKAJO-"><field name="NUM">1</field></shadow></value><value name="row"><shadow type="math_number" id="co5p)FBeg0`Or4IqrBmg"><field name="NUM">-2</field></shadow></value></block></value><value name="ADD1"><block type="mapgettile" id="]JDEFK!?H/N|o%tfS=Dz"><value name="col"><shadow type="math_number" id="0xIBXXQJ5t7z-FmhX|C?"><field name="NUM">2</field></shadow></value><value name="row"><shadow type="math_number" id="dHbu8:rpL=`MSH12k6P["><field name="NUM">-1</field></shadow></value></block></value><value name="ADD2"><block type="mapgettile" id="9+gm^efnHHvt*|yQ8=`]"><value name="col"><shadow type="math_number" id="abG;}a~Z7g6wR+UY%wJ0"><field name="NUM">2</field></shadow></value><value name="row"><shadow type="math_number" id="?9HV[PZ.zn9Nr3I6U#Kd"><field name="NUM">1</field></shadow></value></block></value><value name="ADD3"><block type="mapgettile" id=":39-,BaD8(ALBE?${G$G"><value name="col"><shadow type="math_number" id="iLN6=hrE9rslDplEA19|"><field name="NUM">1</field></shadow></value><value name="row"><shadow type="math_number" id="4H6nu2PfT)m#eXo/SCAN"><field name="NUM">2</field></shadow></value></block></value><value name="ADD4"><block type="mapgettile" id=")_HWe$th[tyIbbjdm^r8"><value name="col"><shadow type="math_number" id="Glaf~,Rlf^L`6!}D-;VR"><field name="NUM">-1</field></shadow></value><value name="row"><shadow type="math_number" id="smKSn3evdGdwK0;Y4i9q"><field name="NUM">2</field></shadow></value></block></value><value name="ADD5"><block type="mapgettile" id="}EW]C-JeGOWfWU7vwtbJ"><value name="col"><shadow type="math_number" id="pH^g9-^:es[;N*Ui2Gi^"><field name="NUM">-2</field></shadow></value><value name="row"><shadow type="math_number" id="nFG?xK8-|M@Ge-21g3T%"><field name="NUM">1</field></shadow></value></block></value><value name="ADD6"><block type="mapgettile" id="asyxq7OYU)JIni@x$//V"><value name="col"><shadow type="math_number" id="5dz9plW^xp0q.$)kzir3"><field name="NUM">-2</field></shadow></value><value name="row"><shadow type="math_number" id="Z3WC;CJ[boiE5dRGBybk"><field name="NUM">-1</field></shadow></value></block></value><value name="ADD7"><block type="mapgettile" id="Fj1P`o1*t8IAFC!xB1Zq"><value name="col"><shadow type="math_number" id="4;V1JHCzg}A`v;:RtJHW"><field name="NUM">-1</field></shadow></value><value name="row"><shadow type="math_number" id=";O1QM_#5b-sjGRuAi]n+"><field name="NUM">-2</field></shadow></value></block></value></block></value><statement name="DO"><block type="controls_if" id="Vy?SJTEjXuV6j=_MT)/N"><value name="IF0"><shadow type="logic_boolean" id="T[fEzwx6jZ|q*;$C5Tk8"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="Luyw?16rs%MJC;1zf3d("><mutation name="knight_can_move_there" functionid="V:eG5kv`dh^whb+]XzxN"><arg name="piece" id="Z1CazO.ovWv|d2A`iD23" type="Sprite"/><arg name="col_change" id=")}ECXUbLVOQYm!Erk+5:" type="number"/><arg name="row_change" id="PUc,QG%H6a*frm7m70P1" type="number"/></mutation><value name="Z1CazO.ovWv|d2A`iD23"><shadow type="variables_get" id="udA|1535C16E,j0d{KUK"><field name="VAR" id="xN=,-{KZs*CY4}-1)HFk">mySprite</field></shadow><block type="argument_reporter_custom" id="SIZ7+TuiC!=E4rtLLh8F"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name=")}ECXUbLVOQYm!Erk+5:"><shadow type="math_number" id="SF?KnQ]9!i)f;|(sOLno"><field name="NUM">1</field></shadow><block type="tilemap_locationXY" id="Im,7{I(B.g1,J+k_s-e."><field name="xy">tiles.XY.column</field><value name="location"><block type="variables_get" id="QGh_tfL3:)J1Q]C,^NfC"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></value><value name="PUc,QG%H6a*frm7m70P1"><shadow type="math_number" id="a_682#6*i3yuX;j*M,@f"><field name="NUM">1</field></shadow><block type="tilemap_locationXY" id="-;]P,(~wr4oUQb2ej-||"><field name="xy">tiles.XY.row</field><value name="location"><block type="variables_get" id=".3{RD~B@_AzT%z5N5)!y"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></value></block></value><statement name="DO0"><block type="array_push" id="QgS);/y#dsE8/Vo%{bZL"><value name="list"><block type="variables_get" id="e0.w,+)LVv^iYeCsS0tR"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="grid_add" id="UzpWVx-,0vAZ(7+W^{cG"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="tilemap_locationOfSprite" id="%7NRLz^sTS,wWzy~a@@-"><value name="s"><block type="argument_reporter_custom" id="0ZQ:R`Pi^]~*#u|ldJjg"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value><value name="columns"><shadow type="math_number" id="hnYNMiTU1R{JQ,XG_`S{"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="GtOfj;G])dw}~}76!z/l"><field name="xy">tiles.XY.column</field><value name="location"><block type="variables_get" id="6??D82RAR@BV..M|7,}p"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></value><value name="rows"><shadow type="math_number" id="g/MD-=)foB)#NUsenEAq"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="%~TD@wq}sd:*5zUgcnx)"><field name="xy">tiles.XY.row</field><value name="location"><block type="variables_get" id="D%;#h^W.UBow$tf_,|%z"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></value></block></value></block></statement></block></statement><next><block type="function_return" id="DIt/ts]lutCw@O=`:W3%"><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="variables_get" id="N^7!%Jgd8?L*r]mI5bRy"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="z,[vg6pO,;tWO[ez[iCO" x="-840" y="1820"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><field name="function_name">location_within_board</field><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="argument_reporter_array" id="K^-BSAmuOYuM6|xbME;{"><field name="VALUE">location_in_list</field></shadow></value><statement name="STACK"><block type="controls_if" id="=UJh82$AiyUh;06pZ^p1"><value name="IF0"><shadow type="logic_boolean" id="ughu+GlM%de7*/(.CTfE"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="|Y/(l3,vJg/0hX3g)=_|"><field name="OP">OR</field><value name="A"><block type="logic_compare" id="+aKh57@1foHgb*Ni{bGT"><field name="OP">GT</field><value name="A"><shadow type="math_number" id=",viZV-Bb0P}YF{EVwRzg" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="!b)s[eO^nBtO!K=#pd^:"><field name="xy">tiles.XY.column</field><value name="location"><block type="lists_index_get" id="vjm-V{tG}@V}+99GQ8OL"><value name="LIST"><block type="argument_reporter_array" id="/iMhofRa#L(=|Q1+!w^@"><field name="VALUE">location_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="09Iq7Q}w}(]FpXem:dVZ"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="82cSS^r4}??l7a|!Y@h}"><field name="NUM">9</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="Zdhg[8AQRC_imhpbY?ZW"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="e}9),oDC.zK~ihH}?N/8" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="22_k#s~Rk}]40TCf+;ae"><field name="xy">tiles.XY.column</field><value name="location"><block type="lists_index_get" id="/;a~b[nlm_OcxI9a}.#)"><value name="LIST"><block type="argument_reporter_array" id="tfLkkEsMl|2_*D*b%pP@"><field name="VALUE">location_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="l6=lEwkjuuygP@UN)t+N"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="SL#MMjW:K4ynuJ8Yw7,l"><field name="NUM">2</field></shadow></value></block></value></block></value><statement name="DO0"><block type="function_return" id="8cdE,eWua=gZ+kixjlWD"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="j4zjeciJi8%hcUR51nyJ"><field name="NUM">0</field></shadow><block type="logic_boolean" id="t/3KRpZlY,(V}Vf2Qo67"><field name="BOOL">FALSE</field></block></value></block></statement><next><block type="controls_if" id="kMct}20Dc|^V3oBSEkpf"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="Oc(R?7W0/$;il_2A2!]a"><field name="OP">OR</field><value name="A"><block type="logic_compare" id="o/6rCXez;jEdGv_ILTgD"><field name="OP">GT</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="8`U/6`)FraUWip5|.vv;"><field name="xy">tiles.XY.row</field><value name="location"><block type="lists_index_get" id="KoE:53MP_`x*z;}O)3M#"><value name="LIST"><block type="argument_reporter_array" id="Z[R]LUI:CkLhCU*!Ts5%"><field name="VALUE">location_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="bdfCwR^9s:sFj={REO1g"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id=";gV?*0#x@B;GiDS[Ul%S"><field name="NUM">9</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="ad8Yr7Mz{WYT%HFlV!^L"><field name="OP">LT</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="PXb_s)I?Z/Fo^|6%n].j"><field name="xy">tiles.XY.row</field><value name="location"><block type="lists_index_get" id="wKAsF?hOF02h4^7p]}FU"><value name="LIST"><block type="argument_reporter_array" id="K@FzRO*_6za%lc2bKO5:"><field name="VALUE">location_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="+M2t{5ztB-d4n*0DR0b_"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="l#Lo^G{TbpqM8R7FMkF3"><field name="NUM">2</field></shadow></value></block></value></block></value><statement name="DO0"><block type="function_return" id="j%hR.bL%~4bXggXfD~R~"><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="-%lQF4g]+Cjai0r%g~F;"><field name="BOOL">FALSE</field></block></value></block></statement><next><block type="function_return" id="5y~o!tVPys(q8uCjW01S"><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="I5eH{e4-}eV6NsC#]`QY"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id="HO4Kge|3PxC6c8Z_n!uL" x="-830" y="2370"><mutation name="locations_are_equal" functionid="-kCpZR*|_|Cn:ye%sj+^"><arg name="location1_in_list" id="OAE9vx9]kyth7K7Hp_T%" type="Array"/><arg name="location2_in_list" id="~{aJH66,I@.|Gc4H^]Ri" type="Array"/></mutation><field name="function_name">locations_are_equal</field><value name="OAE9vx9]kyth7K7Hp_T%"><shadow type="argument_reporter_array" id="6_naBWS}m~1TcrHjc(21"><field name="VALUE">location1_in_list</field></shadow></value><value name="~{aJH66,I@.|Gc4H^]Ri"><shadow type="argument_reporter_array" id="~93AJ)=A+9RCSEpPMrXb"><field name="VALUE">location2_in_list</field></shadow></value><statement name="STACK"><block type="controls_if" id="5|4bZs0}5A(oy!5krQjP"><value name="IF0"><shadow type="logic_boolean" id="kMN;K3ZIduT5#?yT-xlG"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="3TbNmi0BGs=$iAmwbH#("><field name="OP">NEQ</field><value name="A"><shadow type="math_number" id="DCD|3A*bBkbZ):N^x*0j"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="Y$Cd8KaxtB}t!6=djY0W"><field name="xy">tiles.XY.column</field><value name="location"><block type="lists_index_get" id="(((c.6%h$fnqM8ACn[bE"><value name="LIST"><block type="argument_reporter_array" id="L*Xrwn_oTowNqAEI}9^n"><field name="VALUE">location1_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="ES(!NLqztvhcs,tPu7@M"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="T)f^H:,!C!r:(oKeBE7#"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="w$aNX_0Rnj]/5@@:-pmE"><field name="xy">tiles.XY.column</field><value name="location"><block type="lists_index_get" id="A-Szyk{KIBQ6ipS8mQh@"><value name="LIST"><block type="argument_reporter_array" id="/iT]{g})pXn$%?@rCT?3"><field name="VALUE">location2_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="7QR*3X{nToGOe]E/7=He"><field name="NUM">0</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="sIvnv)Edbmj0A^pHRH}g"><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="!9*kJ7%t-l+h%3^xIj0["><field name="BOOL">FALSE</field></block></value></block></statement><next><block type="controls_if" id="}{Dv4z,fkuQw3/CK}E3C"><value name="IF0"><shadow type="logic_boolean" id="RUDMLnWn-^@V-(VZlu$L"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="XHed]^lm{O*D$cB!z_wf"><field name="OP">NEQ</field><value name="A"><shadow type="math_number" id="Y_cg[RZg~ms0eIx{~nlY"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="pFPuQ;g#[UAQnrmQ`tj|"><field name="xy">tiles.XY.row</field><value name="location"><block type="lists_index_get" id="GoOUStPejG*U%Ok4`s5Q"><value name="LIST"><block type="argument_reporter_array" id=";qQe,wf9E~Qw6i8C]6mt"><field name="VALUE">location1_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="oD-WshFE)Lhlytn6rh/a"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="WZC#fb}0RLP4!~:=tvKo"><field name="NUM">0</field></shadow><block type="tilemap_locationXY" id="Io3wJgs{he%wX9{)]=18"><field name="xy">tiles.XY.row</field><value name="location"><block type="lists_index_get" id="(07y~[bxtx6q%~R0~oDR"><value name="LIST"><block type="argument_reporter_array" id="4Y@z--FQL7MmOV|h)pvu"><field name="VALUE">location2_in_list</field></block></value><value name="INDEX"><shadow type="math_number" id="6J3qJUnqb0zeLYrfA]%h"><field name="NUM">0</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id=")k9qf{fNns+LWN+_!y)H"><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="XX$YI)^wkJO$cFwS`I#^"><field name="BOOL">FALSE</field></block></value></block></statement><next><block type="function_return" id="p%kT1/Z!xNb*%j}LP=],"><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="Qh@UfU^,s-hjUUT_{Z@W"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id="WIaiw]nIsW54Z0rt8SV$" x="-2300" y="2560"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><field name="function_name">make_piece</field><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="argument_reporter_string" id="V{,5!+f$mST8?a8_ja;z"><field name="VALUE">type</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="argument_reporter_array" id="B;5qrJ%4=FmGP$n78/F|"><field name="VALUE">location_as_list</field></shadow></value><statement name="STACK"><block type="variables_set" id="Gbe(/:(JPk}A~{Xl:X9V"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="U[bix)hr{C~^rd)svX0]"><value name="img"><shadow type="screen_image_picker" id=".Mm{xd}0]U)z;7D#)7c,"><field name="img">img`
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
`</field><data>{"commentRefs":[],"fieldData":{"img":".Mm{xd}0]U)z;7D#)7c,"}}</data></shadow><block type="lists_index_get" id="Fe*nRDB?hYD:#c(W^.~4"><value name="LIST"><block type="variables_get" id="r#4GMls3v#Pk_N{labw{"><field name="VAR" id="_Ux(`m-.oH.4ECm4_cqk">chess_images</field></block></value><value name="INDEX"><shadow type="math_number" id="LHVd50w-V:P6=U9RdVT?"><field name="NUM">0</field></shadow><block type="array_indexof" id="GC[EZR[r0,2Qbj/fQM,="><value name="list"><block type="variables_get" id="y4w:^Pm;}LH4.4.Qw6;F"><field name="VAR" id="~-|X!R!Bb?r559KX`?wq">chess_names</field></block></value><value name="value"><block type="argument_reporter_string" id="e8s(SSnM6$J8dDkFM}j#"><field name="VALUE">type</field></block></value></block></value></block></value><value name="kind"><shadow type="spritekind" id="xJON8w-lKgU}4j/h}rl0"><field name="MEMBER">Piece</field></shadow></value></block></value><next><block type="grid_place" id="ky}BI)@eFH_r[GbL;8JY"><value name="sprite"><block type="variables_get" id="MGT_K_xEZjR1B*)XcF/E"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="loc"><shadow type="mapgettile" id="6kDR%?wPB(Wu@aY:011Y"><value name="col"><shadow type="math_number" id="WtN+167LlMd^|GYqHUdx"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id=")!gSD}|xMm7ih1Y`v{|y"><field name="NUM">0</field></shadow></value></shadow><block type="lists_index_get" id="yr1sjG=mw|B_v_Qy#tT*"><value name="LIST"><block type="argument_reporter_array" id="Hcj~SRp=Mixof-m|$fk)"><field name="VALUE">location_as_list</field></block></value><value name="INDEX"><shadow type="math_number" id="4y;DLo4grvMj@PU[ek$x"><field name="NUM">0</field></shadow></value></block></value><next><block type="Sprite_blockCombine_set" id="Ao8t%kKn4|Ol^V5gtTD;"><field name="property">Sprite.z</field><value name="mySprite"><block type="variables_get" id="m!SEwaL(@_gppU!E]dEE"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="value"><shadow type="math_number" id="k;tM3UHU6#HWr_5(fO:k"><field name="NUM">5</field></shadow></value><next><block type="spriteDataSetString" id="j8z!MNUEJO]FcgZ%Y-s2"><value name="sprite"><block type="variables_get" id="g2wEje{@y60:PXmXVZB@"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="UV)@BC-wE^Nb`i-U|MP`"><field name="TEXT">type</field></shadow></value><value name="value"><shadow type="text" id="MuI$mg$h`p7t(6_)9xJb"><field name="TEXT"/></shadow><block type="argument_reporter_string" id="@6AS.Jtl#6Zs4;Gu/$g$"><field name="VALUE">type</field></block></value><next><block type="spriteDataSetBoolean" id="Qjt|?(ST,l}Y%~Bgl_Kv"><value name="sprite"><block type="variables_get" id="Xlq~Pk^aj2;i7~35ARC%"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="eWrs$a1gZ2HFQV+09NRz"><field name="TEXT">is_white</field></shadow></value><value name="value"><shadow type="logic_boolean" id="VpH0:q$k+@lWN~C^Sw(V"><field name="BOOL">FALSE</field></shadow><block type="string_includes" id="MSs`b|DEKb!RhhLQK]T;"><value name="this"><shadow type="text" id="JB{EKs?]bNBZbf_X0)KW"><field name="TEXT">this</field></shadow><block type="argument_reporter_string" id="4!s~/FCw{{$0slxGj~_t"><field name="VALUE">type</field></block></value><value name="searchValue"><shadow type="text" id="w^p^3_lYKAM1dKc}?LDC"><field name="TEXT">white</field></shadow></value></block></value><next><block type="spriteDataSetBoolean" id="GpiK=L1R6WAn.M/t!Bmk"><value name="sprite"><block type="variables_get" id=":m-t@5%98:^1K,Mp=i{w"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="0uILEWm];HWLi%KUNCVq"><field name="TEXT">has_moved</field></shadow></value><value name="value"><shadow type="logic_boolean" id="V-=qNTbcv@d%P1HcIjG."><field name="BOOL">FALSE</field></shadow></value><next><block type="spriteDataSetBoolean" id="t;E$(AR.E}pbJ,fq?G0`"><value name="sprite"><block type="variables_get" id="4IkXH3^?gmzqk4)ja@sH"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><value name="name"><shadow type="text" id="*?F6L^9gCQgP(+OSU5W%"><field name="TEXT">in_check</field></shadow></value><value name="value"><shadow type="logic_boolean" id="ze9Oz%Pe,GRJxu(mM#G6"><field name="BOOL">FALSE</field></shadow></value><next><block type="function_return" id="E,NPmRdBqeGHY}cX?%U9"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="e((M.R~1I5||r3#Vl69E"><field name="NUM">0</field></shadow><block type="variables_get" id="f~o77RWtD|W]Ab.}?Q$O"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="aR2o^[+VIjl)NA1p|C%_" x="-5180" y="2920"><mutation name="promote_piece" functionid="~Sc[xr,o5boa`qm%jc5U"><arg name="piece" id="rMtn@A6%`at=?N.$T*]|" type="Sprite"/></mutation><field name="function_name">promote_piece</field><value name="rMtn@A6%`at=?N.$T*]|"><shadow type="argument_reporter_custom" id="B.;F0dC7%6Oa99(a(#xL"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><statement name="STACK"><block type="function_call" id="jVO#%NHgm)3f;7QU-N:K"><mutation name="enable_controls" functionid="YsuCE0)ITrZfUVe+N]N~"><arg name="enable" id="5h0tfup7ue2q6o16lrj5k" type="boolean"/></mutation><value name="5h0tfup7ue2q6o16lrj5k"><shadow type="logic_boolean" id="Kii8o5{8o^WQ^##S9S6."><field name="BOOL">FALSE</field></shadow></value><next><block type="arcade_story_show_player_choices" id="5Nq9eO`-5P}!abQ7+wO~"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="choice1"><shadow type="text" id="WlR(mJ9?_LD_+Y`JQ0o,"><field name="TEXT">Rook</field></shadow></value><value name="choice2"><shadow type="text" id="gOYq]AxIa5)Sj|VkAr2T"><field name="TEXT">Knight</field></shadow></value><value name="choice3"><shadow type="text" id="=A(-rV#?IrLNN!,Nc!2X"><field name="TEXT">Bishop</field></shadow></value><value name="choice4"><shadow type="text" id="v*0X!K.=n^w:{S)DkYIJ"><field name="TEXT">Queen</field></shadow></value><value name="choice5"><shadow type="text" id="Q+NCO9[VuD{9CJjO[cd]"><field name="TEXT"/></shadow></value><next><block type="controls_if" id="c9QsF!z=sXDDdCu;]bU."><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="bq/B*9k]T|aWi@1QvXl="><field name="BOOL">TRUE</field></shadow><block type="spriteDataGetBoolean" id="6o-]l?Gj|8Q~@=ykZ`sf"><value name="sprite"><block type="argument_reporter_custom" id="N}F6Ln$W/02L2idm/,X~"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="%brAo_`j^4P%+@i[Gd4C"><field name="TEXT">is_white</field></shadow></value></block></value><statement name="DO0"><block type="controls_if" id="!3ys_eG]^O,E_.Uyt{@C"><mutation elseif="3"/><value name="IF0"><shadow type="logic_boolean" id="On?dq@xJ}l^?XzXUwW-U" disabled="true"><field name="BOOL">TRUE</field></shadow><block type="arcade_story_last_answer" id="UxG295tFn3w2b(l?iqK|"><value name="choice"><shadow type="text" id="|mVLZN;;`y,IBbuh/@Fl"><field name="TEXT">Rook</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="L+YGt}XYr47)f9K@g}w$"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="+}9#!iZ2DPq7c-o-~;a0"><field name="TEXT">white rook</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="18c/B`;;SbZK-2;V-(?J"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="{j=OL1R)isfq!h:-h+/X"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="8{zMK1KGeVq@)Y%v0EaX"><value name="s"><block type="argument_reporter_custom" id="$Da}Pwh3i2ycXj=g|N22"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement><value name="IF1"><block type="arcade_story_last_answer" id=".kB$dq`labXlHp7JeIwW"><value name="choice"><shadow type="text" id="v{jV}$]5OQ3v-HAEr^xN"><field name="TEXT">Knight</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="Uo*waX`Ap+MmFne,hZ0|"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="P?~izP^Rl`u_97$}S)!d"><field name="TEXT">white knight</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="qw=Xi;dHcNUCsU,a[_IV"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="0?xC]ZPOdDkiE!]%rjj9"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="V^beu?kYD=+9h1-MG/L["><value name="s"><block type="argument_reporter_custom" id="@u62TWPa~@{x/04]Gt[I"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement><value name="IF2"><block type="arcade_story_last_answer" id="hxIyP/uKoq5MmT*y4C81"><value name="choice"><shadow type="text" id="#({LHx,$Oecp%VOYIVNV"><field name="TEXT">Bishop</field></shadow></value></block></value><statement name="DO2"><block type="function_call" id="C.m9[GL.t(ck|6C3heGM"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="L5wLvyvcN.LV$b4K!;Ce"><field name="TEXT">white bishop</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="t9b=ml.!J}lKNe$yW(kn"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="nJgy^yP~~kE1Me7))Ev,"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="-R_tTz8wJzNjD=}nEs1i"><value name="s"><block type="argument_reporter_custom" id="8G7rhw,hBD-y%~8Wlfc|"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement><value name="IF3"><block type="arcade_story_last_answer" id="7.mxm1ZI]vxqki{5+d%z"><value name="choice"><shadow type="text" id="*GxC^.swHm%p:s.bq7G+"><field name="TEXT">Queen</field></shadow></value></block></value><statement name="DO3"><block type="function_call" id="b}XfVPK@SNBgB^ryp(jS"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="]5WFD!X$Dr4=PD%5p4Gm"><field name="TEXT">white queen</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="lp3`|,RxK^!#4-rCO*7N"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="(DX1~9vrebmwOr($s|Ur"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="TGJu{oC25`k|9,^7f6E."><value name="s"><block type="argument_reporter_custom" id="XNf%bcrajb]dSp.7r1;`"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement></block></statement><statement name="ELSE"><block type="controls_if" id="6EE4ygV%Q+CAXNE6Xac("><mutation elseif="3"/><value name="IF0"><shadow type="logic_boolean" disabled="true"><field name="BOOL">TRUE</field></shadow><block type="arcade_story_last_answer" id="[OJj|D9LTH)=Hs:KcwK4"><value name="choice"><shadow type="text" id="CTI_,J_J;T`xtL,k}6g~"><field name="TEXT">Rook</field></shadow></value></block></value><statement name="DO0"><block type="function_call" id="%L,6369~wInJ}rMOZ1?6"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="EyGuulL)@{ut(v~b9}NT"><field name="TEXT">black rook</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="ayMfbw=?#E(w_A;W4R7,"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="(S6MQ|)tgi1I?pW?(+s?"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="uPnwwSZf+OV9nMfUVCw2"><value name="s"><block type="argument_reporter_custom" id="avQ=SKoEgnAW)NE0UcaC"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement><value name="IF1"><block type="arcade_story_last_answer" id=".Pra(6._uT^@~Yb4B9D7"><value name="choice"><shadow type="text" id="p[ajx_XeqJvZk*0KJW=1"><field name="TEXT">Knight</field></shadow></value></block></value><statement name="DO1"><block type="function_call" id="-u[_s-z$=xY`}o#:9@HK"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="XQ:tU[01-@X3ptnT~Kmg"><field name="TEXT">black knight</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="oA0_u[]tqM!V+j`%pE?R"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="T.vV.s).pxJ3!/:/-1ye"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="Gn6B[%kAEQasM9KM~7v%"><value name="s"><block type="argument_reporter_custom" id="GruJ(3J;iF[x`v}wkh^4"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement><value name="IF2"><block type="arcade_story_last_answer" id="(vJ(*et#{LSNV8,9z+3_"><value name="choice"><shadow type="text" id="FrF4l@g,PERrcK/G{hV5"><field name="TEXT">Bishop</field></shadow></value></block></value><statement name="DO2"><block type="function_call" id="2CbD0;pMZ[r)B7%`}+G}"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id="NXQhZk_n^/B;jjfAOm5a"><field name="TEXT">black bishop</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="+3;6:w%D?7K%/tNKfL04"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="=kl5?!;Cg`JzXiMLXx?O"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="-Njj]ZzjNQTFBn1pK_Mk"><value name="s"><block type="argument_reporter_custom" id="f=0:_,?agX7hkL/^b@]-"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement><value name="IF3"><block type="arcade_story_last_answer" id="iC7p7,2}+GvzoHT]++u!"><value name="choice"><shadow type="text" id=")wv[Aa,RY=h^(t=VtB3s"><field name="TEXT">Queen</field></shadow></value></block></value><statement name="DO3"><block type="function_call" id="84dxBOIp0]P.M(2e1KU8"><mutation name="make_piece" functionid="Vd/pG=_yQOe2pT5SajtL"><arg name="type" id="^HhfV0@W^5jpBfhIDhz=" type="string"/><arg name="location_as_list" id="C6U0z9Cr,EN1c$^V;Dx/" type="Array"/></mutation><value name="^HhfV0@W^5jpBfhIDhz="><shadow type="text" id=".]:fo7:ir#akm@U5D~rJ"><field name="TEXT">black queen</field></shadow></value><value name="C6U0z9Cr,EN1c$^V;Dx/"><shadow type="variables_get" id="k[#/_/G:DSo6FJ{M}Wx-"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="esJsP#FhWWXS9PpGh;Hm"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="tilemap_locationOfSprite" id="Nm{ETAna}mt*K#}~P@^O"><value name="s"><block type="argument_reporter_custom" id="K1EX^OmkU3{;OaaG|yAk"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value></block></statement></block></statement><next><block type="spritedestroy" id="290K5AInmwOlA)CkD5H1"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><block type="argument_reporter_custom" id="dPIv6l*i`~c4/ER/W;vu"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><next><block type="variables_set" id="p6)Q[5ce%#6I!_8LJ?H,"><field name="VAR" id="8!*f#foavDPzg9qRI)aU">sprite_selected</field><value name="VALUE"><block type="variables_get" id="-n33DQ?=taHZ#Q|,wa/B"><field name="VAR" id="D{8*5L0X7IVD+7h3UpzH">sprite_piece</field></block></value><next><block type="timer_after" id="%_ielYEDwWy||ZcfcTH/"><value name="time"><shadow type="math_number" id="-2b,?p~zBO./lb_TY2Ex"><field name="NUM">20</field></shadow></value><statement name="HANDLER"><block type="function_call" id="X431%ZtP9N[b^;7-7;Vd"><mutation name="enable_controls" functionid="YsuCE0)ITrZfUVe+N]N~"><arg name="enable" id="5h0tfup7ue2q6o16lrj5k" type="boolean"/></mutation><breakpoint/><value name="5h0tfup7ue2q6o16lrj5k"><shadow type="logic_boolean" id="RohQF(eNV_Kq:J6nf@@k"><field name="BOOL">TRUE</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="wLy9mkv]q)S=FNeh[83`" x="-8970" y="3270"><mutation name="calculate_move_for_king" functionid="{01q%2#/DZUGiE1y_/B,"><arg name="piece" id="6iDM4OLAQDHDSBL#FhL5" type="Sprite"/><arg name="check_attacked_locs" id="kbZ.3r-G56%_:1Y?*cUg" type="boolean"/><arg name="local_moves" id="vrJ(C`yag*v2qfNue:5}" type="Array"/></mutation><field name="function_name">calculate_move_for_king</field><value name="6iDM4OLAQDHDSBL#FhL5"><shadow type="argument_reporter_custom" id="8B,!r=jza7qz@Pip1YmA"><mutation typename="Sprite"/><field name="VALUE">piece</field></shadow></value><value name="kbZ.3r-G56%_:1Y?*cUg"><shadow type="argument_reporter_boolean" id="J]3An-hl/sMfqf8B@%Zc"><field name="VALUE">check_attacked_locs</field></shadow></value><value name="vrJ(C`yag*v2qfNue:5}"><shadow type="argument_reporter_array" id="+[Lo}e]|C5?wYaYrRhe@"><field name="VALUE">local_moves</field></shadow></value><statement name="STACK"><block type="variables_set" id=":Dsw$d?,wuIW.^qf|x(l"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="HRJi)b;P*R[_?-Y_)XS:"><mutation items="0" horizontalafter="3"/></block></value><next><block type="controls_if" id="0vWi).f{D,vZPDRE`-Yp"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="2=peOiYC|O](uD{?f[_L"><field name="BOOL">TRUE</field></shadow><block type="argument_reporter_boolean" id="3Bk0)q7M,BwnsTny`4S!"><field name="VALUE">check_attacked_locs</field></block></value><statement name="DO0"><block type="variables_set" id="%ro6VpN-7vzZ8}XdIy71"><field name="VAR" id="A~+xDrA@|Dya25wEX3+{">attacked_locations</field><breakpoint/><value name="VALUE"><shadow type="math_number" id="*E8cX]E-7}=#1;#ct4qC"><field name="NUM">0</field></shadow><block type="function_call_output" id="c^gx6d5Z6UPO.yPNP]CG"><mutation name="get_all_attacked_positions" functionid="^z5m=uQA~t]b.@PfkD0F"><arg name="white" id="@j-OG[EPz1W.2P}@3{0X" type="boolean"/></mutation><value name="@j-OG[EPz1W.2P}@3{0X"><shadow type="logic_boolean" id="?:PEYzWor8UwePZ`w7C`"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="jx#vS:GqpK^n=F~b;Dtc"><value name="BOOL"><block type="spriteDataGetBoolean" id="Y9{3~3Fjf}i4-e6Y`aT,"><value name="sprite"><block type="argument_reporter_custom" id="KSz^5je~ozWId:[,--=|"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="GHKF/@ZS**I/7eEY-n-d"><field name="TEXT">is_white</field></shadow></value></block></value></block></value></block></value><next><block type="controls_if" id="mh;AM-?G:s[]p-f4]u6*"><value name="IF0"><shadow type="logic_boolean" id="VNQU-0A[T|y`a*b-2#MM"><field name="BOOL">FALSE</field></shadow></value><statement name="DO0"><block type="pxt_controls_for_of" id="i-Br1v_J*=VJHp0+2+3*"><value name="VAR"><shadow type="variables_get_reporter" id="4dh|*ThM1s-7~;huR2@%"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="f4%g+eoCg,5h^t3(Uy4i"><field name="VAR" id="A~+xDrA@|Dya25wEX3+{">attacked_locations</field></shadow></value><statement name="DO"><block type="controls_if" id="?w678wlN}cMOLhZkr?vV"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean" id="IzcNz@pXI#pZN[zt9VvG" disabled="true"><field name="BOOL">TRUE</field></shadow><block type="maplocationistile" id="e[4~bgE2`j+RzFQ`q!^$"><value name="location"><shadow type="mapgettile" id="fJ|ti(UcASfX0)We2v|u"><value name="col"><shadow type="math_number" id="_n%i|f=*Jt~.U_CVkCsC"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="l,Xg(.BT,SHhC.FzE902"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="+|Q:ah?TL`/i1zq$kV-w"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value><value name="tile"><shadow type="tileset_tile_picker" id="}S|PC,K{hJpCr|5UhVwp"><field name="tile">assets.tile`white_tile`</field></shadow></value></block></value><statement name="DO0"><block type="mapsettileat" id="~?F(,q|Vcq4ZUK7IIn9*"><value name="tile"><shadow type="tileset_tile_picker" id="Tc=Zl)G;BUM}_0$`!iki"><field name="tile">assets.tile`red_white_tile0`</field></shadow></value><value name="loc"><shadow type="mapgettile" id="h_X7p+k3y__uyL~GRQrD"><value name="col"><shadow type="math_number" id="a/5l^=,tQa8_a/dxg0C8"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number" id="z~Bsb`]dL?%Ss@6?o^p,"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="9Ck)Unu23g][:Q.o6fVA"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></statement><statement name="ELSE"><block type="mapsettileat" id=":!a*[n)6|`eC8?j`b;SF"><value name="tile"><shadow type="tileset_tile_picker" id="al1@I=y#Q+fN6{x93=%u"><field name="tile">assets.tile`red_black_tile`</field></shadow></value><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="na0n=uNC!OzxEfS}H.}F"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></statement></block></statement></block></statement></block></next></block></statement><statement name="ELSE"><block type="variables_set" id="Ma5C}6_@l,CY;i;,XLKY"><field name="VAR" id="A~+xDrA@|Dya25wEX3+{">attacked_locations</field><value name="VALUE"><shadow type="math_number" id="oRoyl9|0@?#6]*+P0iA$"><field name="NUM">0</field></shadow><block type="lists_create_with" id="FR7shw}PotxA^f}(P|A9"><mutation items="0" horizontalafter="3"/></block></value></block></statement><next><block type="pxt_controls_for" id="_LUQd{r|ue.[LEW6t?.E"><value name="VAR"><shadow type="variables_get_reporter" id="X}WX_8plgH$~U_?xrE`R"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">4</field></shadow><block type="math_arithmetic" id="@H6i#3$s}vQE#i$eNHr?"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="lkkD7EfBa`MwVb([!F0@"><value name="VALUE"><block type="variables_get" id="_5gi(RCrK!:2k$H8uM6v"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value><value name="B"><shadow type="math_number" id="*X}KXK)I=!1V[^:r/yDl"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="gFNsX8@PE8@`jj_SOD5L"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="Bso(1/,02_G%f`,b?tI9"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="74ml=H^ac4J;}3qCr*mh"><value name="LIST"><block type="variables_get" id="4SPxcG$idZ]66_eSe)@?"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="DCk`_MT/,R4h~pV6Sf6@"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value><value name="location"><block type="tilemap_locationOfSprite" id="YkD/A|ufr.e?VgP_r)q."><value name="s"><block type="argument_reporter_custom" id="$,dj;~qFeJC43=RrCdc3"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value><next><block type="controls_if" id="Ggxk6(.5rW5f*x+MNFna"><value name="IF0"><shadow type="logic_boolean" id="K.c9oop=$dvqY3x;kSIV"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="IkI?}9aWmlcF.S3!#Iq:"><field name="OP">AND</field><value name="A"><block type="function_call_output" id="$B%=FJn^/$mT.Tz5YGa^"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="Ec_=IFGEHVIg!u{^q~+H"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="=]+W]?_d}xzkb0]S?`ej"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id=",7J-wRV.8x%}v?:^Z|%y"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><block type="logic_negate" id="X7@j3v@dC47FQ^2OI1Lw"><value name="BOOL"><block type="function_call_output" id="2ZmA;Wm7t}Kh/0Hu4A~,"><mutation name="location_in_list" functionid="agNl$FN^=ymO9gth,X=M"><arg name="location1_in_list" id="X,vDGCDHQU^It]iO7}tu" type="Array"/><arg name="location_list" id="|.BUP)dLJoI;ZY{qL,I!" type="Array"/></mutation><value name="X,vDGCDHQU^It]iO7}tu"><shadow type="variables_get" id="bK5a#2|9+i$4AUF,)R[("><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="%V2h.AWd^lFS65:=?]_-"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="MATd}*Ll+}|JPrI{r{`U"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="|.BUP)dLJoI;ZY{qL,I!"><shadow type="variables_get" id=":yOF12X{%v[qPP145{HW"><field name="VAR" id="A~+xDrA@|Dya25wEX3+{">attacked_locations</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="xRE,cUt]WsB#3R3=TF:F"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean" id="G$1T*`;dTIk06LaWM9AO"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="vV|]OqxZ`iYz/I#s!wg!"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="k`?d4iT$hZPHiTJs[(G;"><value name="VALUE"><block type="grid_getSprites" id="y4O79QMBc.StR,F5;slV"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="9YCv][Ic3{)7;yA)uko+"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="F4Ltf!37J9N14M{g*1ly"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="array_push" id="o$A{*4+c(@f$]--3z5#0"><value name="list"><block type="variables_get" id="dr)o*e0P-fWE^3.A%IB-"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="_K(ka9d$,2T,8$:y0:81"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><value name="IF1"><block type="logic_compare" id="mxEZJK+OUEX#9uAvY?R}"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="8*##S$}-2lTE(4D,Aej3"><value name="sprite"><block type="lists_index_get" id="Me.].1%#xGE[EUQ;B6]_"><value name="LIST"><block type="grid_getSprites" id="}-,N(+T,+S+|_[^~:ZOe"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="%rUMW4}U{-9_$;is-yDi"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="fMx2Vb3ndEC9uDsIC?6_"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="W6OVd7[mC|7P_r+!xq.9"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="gzpDZg(:pH3sa~Er6F.^"><value name="sprite"><block type="argument_reporter_custom" id="~~dp`1aeX=G6KZw!nA=g"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id="hi|E16NYSe*v9{`@VNWF"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO1"><block type="array_push" id="eRISu;,=}%pS:^5m|S*6"><value name="list"><block type="variables_get" id="4,^q,M[44mt(OL/}nrvW"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="_0(r]fy;j9+5C9PG^4C{"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></statement></block></next></block></statement><next><block type="pxt_controls_for" id="]rR2WXSNw,A2_){]uIkM"><value name="VAR"><shadow type="variables_get_reporter" id="@W[3F0D:JIz*miy*0Td["><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">4</field></shadow><block type="math_arithmetic" id="%UGC2Y#||FVS*9Xh|,.!"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="s=Qf5ctTt5(Y3Tz6X,|Y"><value name="VALUE"><block type="variables_get" id="lVr`*n9?4e_{Bu.5(JyO"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value><value name="B"><shadow type="math_number" id="6/qG(G*(6$sy!c7J3-d2"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="@Dmq2=Z|F}fu?BeFeSKI"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="=[E%=]gf;[25IbkvJbHt"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="Otise(.650#]cwT#[~qV"><value name="LIST"><block type="variables_get" id="rQbpZroH#E`Q^@~fbBSw"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="vI|Xc)%)O?x,zX,@V$dK"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value></block></value><value name="location"><block type="tilemap_locationOfSprite" id="Y,;602GQ#mG76!4!xF^6"><value name="s"><block type="argument_reporter_custom" id="=F7RA6ilbeKW|GGV~[@4"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value></block></value></block></value><next><block type="variables_set" id="lJMl%oGa`}pm3Vy!thU_"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="tilemap_locationInDirection" id="VR!P^Fir89Ad@s8kn-h~"><value name="direction"><shadow type="direction_editor"><field name="direction">CollisionDirection.Left</field></shadow><block type="lists_index_get" id="8CpdiphCKdn]{L.C#8hG"><value name="LIST"><block type="variables_get" id="WjYaVj4Kw/%3;w#S;0v]"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_modulo" id="Gh0prV^-%ja3J$SmaWv3"><value name="DIVIDEND"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="7S!T2~66BS@QIRwvBNvB"><field name="OP">ADD</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id=".DCgQwas/h#m,8+/=}q#"><field name="VAR" id="FGhiO|C:J(p?FZ3dd5!E">index</field></block></value><value name="B"><shadow type="math_number" id="inl1kgQO{JNumAs]2y11"><field name="NUM">1</field></shadow></value></block></value><value name="DIVISOR"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="lists_length" id="=W=EB`^m,bhI:%Bwv:Nd"><value name="VALUE"><block type="variables_get" id="3{*Bq-;Q~E{8(btB]$-M"><field name="VAR" id="a3l:zFIBL}SGEGsO!*Y%">all_directions</field></block></value></block></value></block></value></block></value><value name="location"><block type="variables_get" id="E-o#3q9lF[Ui{6yH_`Z("><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><next><block type="controls_if" id="KZu}}SU$tE=V`]7bbDma"><value name="IF0"><shadow type="logic_boolean" id="Bk^,|lP+6Ff~BH6LA5h]"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="L`CpR/8wze-%Al:piAAF"><field name="OP">AND</field><value name="A"><block type="function_call_output" id="tl(a$;DX9P^N}TrjP(/W"><mutation name="location_within_board" functionid="Q4{XB-q5LmSG[XB`!%f?"><arg name="location_in_list" id="d6prY-$G:j4nC[{f1Y){" type="Array"/></mutation><value name="d6prY-$G:j4nC[{f1Y){"><shadow type="variables_get" id="X^=/k-xc00ejNxe!qfbA"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id=",/L=)S2FRxCJeSsw+A_E"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="9OJTu?!vVGOO@N3k@paw"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><block type="logic_negate" id="qLNUZ.,q~n?3_,Y?VuzZ"><value name="BOOL"><block type="function_call_output" id="375*pQV*5$/yRa{(uwh-"><mutation name="location_in_list" functionid="agNl$FN^=ymO9gth,X=M"><arg name="location1_in_list" id="X,vDGCDHQU^It]iO7}tu" type="Array"/><arg name="location_list" id="|.BUP)dLJoI;ZY{qL,I!" type="Array"/></mutation><value name="X,vDGCDHQU^It]iO7}tu"><shadow type="variables_get" id="!aV!?o~+={qdLwpdsaHs"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="qmh~C?z[XA.lIkI(DCzW"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="Rm!R}Uw-(wi9A:pOC;FI"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="|.BUP)dLJoI;ZY{qL,I!"><shadow type="variables_get" id="?|lVr2Sv@r;SOQ;p~5jC"><field name="VAR" id="A~+xDrA@|Dya25wEX3+{">attacked_locations</field></shadow></value></block></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="Q,VxWN*v!;];=A~jq)3/"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean" id="]M~BJl)!U@7Eit?)XIkh"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="h086NMZ;s}rj60eZQ5l@"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="uC9%z2Bhkfm=v0l;x@sK"><value name="VALUE"><block type="grid_getSprites" id=")?_RPYDKvD^tSK;m5TmU"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="#w-z7V+:eG9tdLKGN2$P"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value></block></value><value name="B"><shadow type="math_number" id="me359hN:O*@1,r[I;{yf"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="array_push" id="~#Ejp=-3fh:KW/3`Tb9C"><value name="list"><block type="variables_get" id="e_^g@%JW2Y+q:U+{2cox"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="Ju,HS^h||K+6WQp1qFQx"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement><value name="IF1"><block type="logic_compare" id="6`K2OIqE55fJP-s!}-%$"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="P^Eb]`+xPTD4Q$uL|Ewv"><value name="sprite"><block type="lists_index_get" id="|3xt~4*Cn8dOUvL4Nh2G"><value name="LIST"><block type="grid_getSprites" id="hpk^5%Rj.~b0=)1yuka/"><value name="loc"><shadow type="mapgettile"><value name="col"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="row"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow><block type="variables_get" id="FIYCxST-{U$3ArAhpYYE"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></value><value name="INDEX"><shadow type="math_number" id="#$nkPGUuYNcp%_-%.?o^"><field name="NUM">0</field></shadow></value></block></value><value name="name"><shadow type="text" id="Hg[5urZ~L:A4)D6E:b0t"><field name="TEXT">is_white</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spriteDataGetBoolean" id="kk;L3HGreq_x]po9,x{6"><value name="sprite"><block type="argument_reporter_custom" id="R}BC1Tvj^.)F4t~#(AHE"><mutation typename="Sprite"/><field name="VALUE">piece</field></block></value><value name="name"><shadow type="text" id=",obWF_s0,3P%5rIykC@/"><field name="TEXT">is_white</field></shadow></value></block></value></block></value><statement name="DO1"><block type="array_push" id="(nF|:w|8!cR%.a)y-vCh"><value name="list"><block type="variables_get" id="juESX3Q81clWVaCIbNX7"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value><value name="value"><block type="variables_get" id="Z/^cS!Xhgq;20ieH*W5V"><field name="VAR" id="sT^m^fIj;i@8^p[47wl:">local_curr_pos</field></block></value></block></statement></block></statement></block></next></block></next></block></statement><next><block type="function_return" id="r#zvEpc?olM)_`/C8?%O"><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="variables_get" id="kz`?,*C[Z;LY(QB1mpfg"><field name="VAR" id="o*XxuG1a8bGjJ@1gxOi=">local_moves</field></block></value></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="?J#(WeBtx:-7T.=4m).+" x="-830" y="2910"><mutation name="location_in_list" functionid="agNl$FN^=ymO9gth,X=M"><arg name="location1_in_list" id="X,vDGCDHQU^It]iO7}tu" type="Array"/><arg name="location_list" id="|.BUP)dLJoI;ZY{qL,I!" type="Array"/></mutation><field name="function_name">location_in_list</field><value name="X,vDGCDHQU^It]iO7}tu"><shadow type="argument_reporter_array" id="py(xL/n9=^||reBmUG@b"><field name="VALUE">location1_in_list</field></shadow></value><value name="|.BUP)dLJoI;ZY{qL,I!"><shadow type="argument_reporter_array" id="mf`W9EaWEzn9#Ua#eUY+"><field name="VALUE">location_list</field></shadow></value><statement name="STACK"><block type="pxt_controls_for_of" id="/T$vfw,8@LQ|t#+Py{)Z"><value name="VAR"><shadow type="variables_get_reporter" id="}pHNP)[qKit!_xpON+,5"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></shadow></value><value name="LIST"><shadow type="variables_get" id="wr]hb]_WzHpAM$s3Ig;U"><field name="VAR" id="Iub8vM@{PLO:T-P48(]:">list</field></shadow><block type="argument_reporter_array" id="`~VMS2?=IkA,3zM-+9s_"><field name="VALUE">location_list</field></block></value><statement name="DO"><block type="controls_if" id="p^Y.++C.J`QM]~LD=%L5"><value name="IF0"><shadow type="logic_boolean" id="fp1$kjZ@C_$dDA$:#S{)"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="zLo8*$DqK%5:mV#K^;bN"><mutation name="locations_are_equal" functionid="-kCpZR*|_|Cn:ye%sj+^"><arg name="location1_in_list" id="OAE9vx9]kyth7K7Hp_T%" type="Array"/><arg name="location2_in_list" id="~{aJH66,I@.|Gc4H^]Ri" type="Array"/></mutation><value name="OAE9vx9]kyth7K7Hp_T%"><shadow type="variables_get" id="4iOS%@+V)BB3HEW5iqkG"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="argument_reporter_array" id="`+Er/T:i)GHiamO=Ad#O"><field name="VALUE">location1_in_list</field></block></value><value name="~{aJH66,I@.|Gc4H^]Ri"><shadow type="variables_get" id="A?TC7vh!Qi)/Xe0fZ)A1"><field name="VAR" id="QZqzFMfK@5A3b^GL/ak5">list</field></shadow><block type="lists_create_with" id="r)3hTx[84-Z@XdrG+2Pq"><mutation items="1" horizontalafter="3"/><value name="ADD0"><block type="variables_get" id="3?w7nmTn/vbS8rnhqt]b"><field name="VAR" id="6}!xgp6Q9,BGdDE-3KoU">location</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="_?a_*,4e)m-!_q}IIodk"><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="}jY%lngp,5.cNu@bz_ov"><field name="BOOL">TRUE</field></block></value></block></statement></block></statement><next><block type="function_return" id="+c[7.wHULUF_x6Ux-B8*"><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="ZGO}C~E:-zw~x8Pw?7:W"><field name="BOOL">FALSE</field></block></value></block></next></block></statement></block></xml>