I want to convert xml to python. Help!!!
<?xml version="1.0" encoding="UTF-8" ?>
<objName>Stage</objName>
<variables>
<name>matrix dimension</name>
<value>2</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile total</name>
<value>4</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>current tile number</name>
<value>4</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile size percentage</name>
<value>100</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile width</name>
<value>105</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>initial board width</name>
<value>210</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>current tile edge number</name>
<value>4</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>selected tile</name>
<value>4</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>initial board x</name>
<value>-220</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>initial board y</name>
<value>160</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>initial tile size</name>
<value>105</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>initial board offset</name>
<value>10</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>cursor is touching board 1</name>
<value>false</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>mouse x</name>
<value>-76</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>mouse y</name>
<value>179</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>cursor is touching board 2</name>
<value>false</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>current row</name>
<value>2</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>current column</name>
<value>1</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>highlighted tile's list item number</name>
<value>3</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>active value</name>
<value>2963</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>trace</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile is active</name>
<value>false</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>original x</name>
<value>10</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>original y</name>
<value>55</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile drop is legal</name>
<value>true</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile drop check performed</name>
<value>false</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>global count</name>
<value>9</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>win check count</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>board 1 tile count</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>board 2 tile count</name>
<value>4</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>demo button enabled</name>
<value>false</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>glide can start</name>
<value>true</value>
<isPersistent>false</isPersistent>
</variables>
<lists>
<listName>values</listName>
<contents>8729</contents>
<contents>9027</contents>
<contents>2963</contents>
<contents>2549</contents>
<isPersistent>false</isPersistent>
<x>1</x>
<y>245.8</y>
<width>91</width>
<height>165</height>
<visible>false</visible>
</lists>
<lists>
<listName>tile x</listName>
<contents>115</contents>
<contents>10</contents>
<contents>115</contents>
<contents>10</contents>
<isPersistent>false</isPersistent>
<x>323</x>
<y>249</y>
<width>127</width>
<height>184</height>
<visible>false</visible>
</lists>
<lists>
<listName>tile y</listName>
<contents>55</contents>
<contents>160</contents>
<contents>160</contents>
<contents>55</contents>
<isPersistent>false</isPersistent>
<x>405</x>
<y>247</y>
<width>120</width>
<height>199</height>
<visible>false</visible>
</lists>
<lists>
<listName>matrix 1 x</listName>
<contents>-220</contents>
<contents>-115</contents>
<contents>-220</contents>
<contents>-115</contents>
<isPersistent>false</isPersistent>
<x>261</x>
<y>263</y>
<width>126</width>
<height>191</height>
<visible>false</visible>
</lists>
<lists>
<listName>matrix 1 y</listName>
<contents>160</contents>
<contents>160</contents>
<contents>55</contents>
<contents>55</contents>
<isPersistent>false</isPersistent>
<x>313</x>
<y>264</y>
<width>120</width>
<height>197</height>
<visible>false</visible>
</lists>
<lists>
<listName>values board 1</listName>
<contents>0</contents>
<contents>0</contents>
<contents>0</contents>
<contents>0</contents>
<isPersistent>false</isPersistent>
<x>92.8</x>
<y>242</y>
<width>100</width>
<height>162</height>
<visible>false</visible>
</lists>
<lists>
<listName>values board 2</listName>
<contents>8729</contents>
<contents>9027</contents>
<contents>2963</contents>
<contents>2549</contents>
<isPersistent>false</isPersistent>
<x>178</x>
<y>240</y>
<width>100</width>
<height>162</height>
<visible>false</visible>
</lists>
<lists>
<listName>active value</listName>
<isPersistent>false</isPersistent>
<x>364</x>
<y>25</y>
<width>128</width>
<height>191</height>
<visible>false</visible>
</lists>
<sounds>
<soundName>pop</soundName>
<soundID>6</soundID>
<md5>83a9787d4cb6f3b7632b4ddfebf74367.wav</md5>
<sampleCount>258</sampleCount>
<rate>11025</rate>
<format></format>
</sounds>
<costumes>
<costumeName>backdrop1</costumeName>
<baseLayerID>60</baseLayerID>
<baseLayerMD5>8869d565751be11198634405e458edbf.png</baseLayerMD5>
<bitmapResolution>2</bitmapResolution>
<rotationCenterX>480</rotationCenterX>
<rotationCenterY>360</rotationCenterY>
</costumes>
<costumes>
<costumeName>backdrop2</costumeName>
<baseLayerID>61</baseLayerID>
<baseLayerMD5>d0006c01be55d2d55f0d1ac61973b35e.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>240</rotationCenterX>
<rotationCenterY>180</rotationCenterY>
</costumes>
<currentCostumeIndex>1</currentCostumeIndex>
<penLayerMD5>5c81a336fab8be57adc039a8a2b33ca9.png</penLayerMD5>
<penLayerID>0</penLayerID>
<tempoBPM>60</tempoBPM>
<videoAlpha>0.5</videoAlpha>
<children>
<objName>board2</objName>
<scripts>8</scripts>
<scripts>5</scripts>
<scripts>whenGreenFlag</scripts>
<scripts>xpos:</scripts>
<scripts>+</scripts>
<scripts>+</scripts>
<scripts>readVariable</scripts>
<scripts>initial board x</scripts>
<scripts>readVariable</scripts>
<scripts>initial board width</scripts>
<scripts>*</scripts>
<scripts>2</scripts>
<scripts>readVariable</scripts>
<scripts>initial board offset</scripts>
<scripts>ypos:</scripts>
<scripts>readVariable</scripts>
<scripts>initial board y</scripts>
<scripts>goBackByLayers:</scripts>
<scripts>99</scripts>
<scripts>doForever</scripts>
<scripts>doIfElse</scripts>
<scripts>touching:</scripts>
<scripts>_mouse_</scripts>
<scripts>setVar:to:</scripts>
<scripts>cursor is touching board 2</scripts>
<scripts>true</scripts>
<scripts>setVar:to:</scripts>
<scripts>cursor is touching board 2</scripts>
<scripts>false</scripts>
<costumes>
<costumeName>costume1</costumeName>
<baseLayerID>1</baseLayerID>
<baseLayerMD5>d32c6645ac0ce946ae621cd7ab19835d.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<currentCostumeIndex>0</currentCostumeIndex>
<scratchX>10</scratchX>
<scratchY>160</scratchY>
<scale>1</scale>
<direction>90</direction>
<rotationStyle>normal</rotationStyle>
<isDraggable>false</isDraggable>
<indexInLibrary>5</indexInLibrary>
<visible>true</visible>
<spriteInfo />
</children>
<children>
<objName>board1</objName>
<scripts>8</scripts>
<scripts>5</scripts>
<scripts>whenGreenFlag</scripts>
<scripts>xpos:</scripts>
<scripts>readVariable</scripts>
<scripts>initial board x</scripts>
<scripts>ypos:</scripts>
<scripts>readVariable</scripts>
<scripts>initial board y</scripts>
<scripts>goBackByLayers:</scripts>
<scripts>99</scripts>
<scripts>doForever</scripts>
<scripts>doIfElse</scripts>
<scripts>touching:</scripts>
<scripts>_mouse_</scripts>
<scripts>doIfElse</scripts>
<scripts>=</scripts>
<scripts>mouseX</scripts>
<scripts>-10</scripts>
<scripts>setVar:to:</scripts>
<scripts>cursor is touching board 1</scripts>
<scripts>false</scripts>
<scripts>setVar:to:</scripts>
<scripts>cursor is touching board 1</scripts>
<scripts>true</scripts>
<scripts>setVar:to:</scripts>
<scripts>cursor is touching board 1</scripts>
<scripts>false</scripts>
<scripts>368.65</scripts>
<scripts>18</scripts>
<scripts>whenIReceive</scripts>
<scripts>success jingle</scripts>
<scripts>lookLike:</scripts>
<scripts>01</scripts>
<scripts>368</scripts>
<scripts>85.5</scripts>
<scripts>whenIReceive</scripts>
<scripts>stage was initialized</scripts>
<scripts>lookLike:</scripts>
<scripts>00</scripts>
<scriptComments>303</scriptComments>
<scriptComments>169</scriptComments>
<scriptComments>151</scriptComments>
<scriptComments>201</scriptComments>
<scriptComments>true</scriptComments>
<scriptComments>9</scriptComments>
<scriptComments>Kludge: This condition prevents a problem wherein the outline is drawn outside the board when the mouse cursor is at x coordinate -10. The problem is due to a limitation in the formula calculating the outline position which rounds to 0 at that point.</scriptComments>
<costumes>
<costumeName>00</costumeName>
<baseLayerID>2</baseLayerID>
<baseLayerMD5>1022e56e8395f34712b386e966412114.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>01</costumeName>
<baseLayerID>3</baseLayerID>
<baseLayerMD5>f3a173f69a233739d804dba936e6ef2c.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<currentCostumeIndex>1</currentCostumeIndex>
<scratchX>-220</scratchX>
<scratchY>160</scratchY>
<scale>1</scale>
<direction>90</direction>
<rotationStyle>normal</rotationStyle>
<isDraggable>false</isDraggable>
<indexInLibrary>4</indexInLibrary>
<visible>true</visible>
<spriteInfo />
</children>
<children>
<target>Stage</target>
<cmd>getVar:</cmd>
<param>tile size percentage</param>
<color>15629590</color>
<label>tile size percentage</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>5</x>
<y>293</y>
<visible>false</visible>
</children>
<children>
<target>tile</target>
<cmd>getVar:</cmd>
<param>first number in the sequence</param>
<color>15629590</color>
<label>tile: first number in the sequence</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>5</x>
<y>113</y>
<visible>false</visible>
</children>
<children>
<target>tile</target>
<cmd>getVar:</cmd>
<param>fourth number in the sequence</param>
<color>15629590</color>
<label>tile: fourth number in the sequence</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>5</x>
<y>140</y>
<visible>false</visible>
</children>
<children>
<target>Stage</target>
<cmd>getVar:</cmd>
<param>initial board width</param>
<color>15629590</color>
<label>initial board width</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>5</x>
<y>167</y>
<visible>false</visible>
</children>
<children>
<target>tile</target>
<cmd>getVar:</cmd>
<param>count</param>
<color>15629590</color>
<label>tile: count</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>5</x>
<y>194</y>
<visible>false</visible>
</children>
<children>
<target>tile</target>
<cmd>xpos</cmd>
<param />
<color>4877524</color>
<label>tile: x position</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>194</x>
<y>59</y>
<visible>false</visible>
</children>
<children>
<target>tile</target>
<cmd>ypos</cmd>
<param />
<color>4877524</color>
<label>tile: y position</label>
<mode>1</mode>
<sliderMin>0</sliderMin>
<sliderMax>100</sliderMax>
<isDiscrete>true</isDiscrete>
<x>194</x>
<y>86</y>
<visible>false</visible>
</children>
<children>
<objName>tile</objName>
<variables>
<name>matrix row</name>
<value>2</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>matrix column</name>
<value>1</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>first number in the sequence</name>
<value>8</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>fourth number in the sequence</name>
<value>1</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>count</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>distance between tile and cursor y</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>distance between tile and cursor x</name>
<value>14007</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile id</name>
<value>4</value>
<isPersistent>false</isPersistent>
</variables>
<scripts>64.6</scripts>
<scripts>695</scripts>
<scripts>procDef</scripts>
<scripts>enable interaction</scripts>
<scripts>false</scripts>
<scripts>doForever</scripts>
<scripts>doIf</scripts>
<scripts>&</scripts>
<scripts>&</scripts>
<scripts>&</scripts>
<scripts>mousePressed</scripts>
<scripts>touching:</scripts>
<scripts>_mouse_</scripts>
<scripts>&</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile is active</scripts>
<scripts>false</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>win check count</scripts>
<scripts>null</scripts>
<scripts>|</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>cursor is touching board 1</scripts>
<scripts>true</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>cursor is touching board 2</scripts>
<scripts>true</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile is active</scripts>
<scripts>true</scripts>
<scripts>setVar:to:</scripts>
<scripts>selected tile</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>setVar:to:</scripts>
<scripts>distance between tile and cursor x</scripts>
<scripts>-</scripts>
<scripts>mouseX</scripts>
<scripts>xpos</scripts>
<scripts>setVar:to:</scripts>
<scripts>distance between tile and cursor y</scripts>
<scripts>-</scripts>
<scripts>mouseY</scripts>
<scripts>ypos</scripts>
<scripts>broadcast:</scripts>
<scripts>tile was picked up</scripts>
<scripts>doUntil</scripts>
<scripts>not</scripts>
<scripts>mousePressed</scripts>
<scripts>call</scripts>
<scripts>set coordinates to %n %n and update tile lists</scripts>
<scripts>-</scripts>
<scripts>mouseX</scripts>
<scripts>readVariable</scripts>
<scripts>distance between tile and cursor x</scripts>
<scripts>-</scripts>
<scripts>mouseY</scripts>
<scripts>readVariable</scripts>
<scripts>distance between tile and cursor y</scripts>
<scripts>doBroadcastAndWait</scripts>
<scripts>tile was dropped</scripts>
<scripts>deleteLine:ofList:</scripts>
<scripts>all</scripts>
<scripts>active value</scripts>
<scripts>doIfElse</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile drop is legal</scripts>
<scripts>true</scripts>
<scripts>call</scripts>
<scripts>set coordinates to %n %n and update tile lists</scripts>
<scripts>getAttribute:of:</scripts>
<scripts>x position</scripts>
<scripts>outline</scripts>
<scripts>getAttribute:of:</scripts>
<scripts>y position</scripts>
<scripts>outline</scripts>
<scripts>call</scripts>
<scripts>set coordinates to %n %n and update tile lists</scripts>
<scripts>readVariable</scripts>
<scripts>original x</scripts>
<scripts>readVariable</scripts>
<scripts>original y</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile drop check performed</scripts>
<scripts>false</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile is active</scripts>
<scripts>false</scripts>
<scripts>20</scripts>
<scripts>105</scripts>
<scripts>whenCloned</scripts>
<scripts>show</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>setSizeTo:</scripts>
<scripts>readVariable</scripts>
<scripts>tile size percentage</scripts>
<scripts>call</scripts>
<scripts>compute row and column of %n</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>xpos:</scripts>
<scripts>+</scripts>
<scripts>readVariable</scripts>
<scripts>initial board x</scripts>
<scripts>*</scripts>
<scripts>readVariable</scripts>
<scripts>tile width</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>matrix column</scripts>
<scripts>1</scripts>
<scripts>ypos:</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>initial board y</scripts>
<scripts>*</scripts>
<scripts>readVariable</scripts>
<scripts>tile width</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>matrix row</scripts>
<scripts>1</scripts>
<scripts>append:toList:</scripts>
<scripts>xpos</scripts>
<scripts>tile x</scripts>
<scripts>append:toList:</scripts>
<scripts>ypos</scripts>
<scripts>tile y</scripts>
<scripts>append:toList:</scripts>
<scripts>xpos</scripts>
<scripts>matrix 1 x</scripts>
<scripts>append:toList:</scripts>
<scripts>ypos</scripts>
<scripts>matrix 1 y</scripts>
<scripts>call</scripts>
<scripts>enable interaction</scripts>
<scripts>60</scripts>
<scripts>523.8</scripts>
<scripts>procDef</scripts>
<scripts>compute row and column of %n</scripts>
<scripts>tile number</scripts>
<scripts>1</scripts>
<scripts>false</scripts>
<scripts>setVar:to:</scripts>
<scripts>matrix row</scripts>
<scripts>computeFunction:of:</scripts>
<scripts>ceiling</scripts>
<scripts>/</scripts>
<scripts>getParam</scripts>
<scripts>tile number</scripts>
<scripts>r</scripts>
<scripts>readVariable</scripts>
<scripts>matrix dimension</scripts>
<scripts>setVar:to:</scripts>
<scripts>matrix column</scripts>
<scripts>-</scripts>
<scripts>getParam</scripts>
<scripts>tile number</scripts>
<scripts>r</scripts>
<scripts>*</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>matrix row</scripts>
<scripts>1</scripts>
<scripts>readVariable</scripts>
<scripts>matrix dimension</scripts>
<scripts>907</scripts>
<scripts>12</scripts>
<scripts>whenGreenFlag</scripts>
<scripts>xpos:</scripts>
<scripts>readVariable</scripts>
<scripts>initial board x</scripts>
<scripts>ypos:</scripts>
<scripts>readVariable</scripts>
<scripts>initial board y</scripts>
<scripts>1010</scripts>
<scripts>365</scripts>
<scripts>whenIReceive</scripts>
<scripts>demonstration</scripts>
<scripts>stopScripts</scripts>
<scripts>other scripts in sprite</scripts>
<scripts>1005</scripts>
<scripts>230</scripts>
<scripts>whenIReceive</scripts>
<scripts>winning</scripts>
<scripts>doWaitUntil</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile drop check performed</scripts>
<scripts>false</scripts>
<scripts>stopScripts</scripts>
<scripts>other scripts in sprite</scripts>
<scripts>1012</scripts>
<scripts>490</scripts>
<scripts>whenIReceive</scripts>
<scripts>activate tile glide</scripts>
<scripts>doIf</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>global count</scripts>
<scripts>call</scripts>
<scripts>compute row and column of %n</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>call</scripts>
<scripts>glide to %n %n</scripts>
<scripts>+</scripts>
<scripts>readVariable</scripts>
<scripts>initial board offset</scripts>
<scripts>*</scripts>
<scripts>readVariable</scripts>
<scripts>tile width</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>matrix column</scripts>
<scripts>1</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>initial board y</scripts>
<scripts>*</scripts>
<scripts>readVariable</scripts>
<scripts>tile width</scripts>
<scripts>-</scripts>
<scripts>readVariable</scripts>
<scripts>matrix row</scripts>
<scripts>1</scripts>
<scripts>setVar:to:</scripts>
<scripts>glide can start</scripts>
<scripts>true</scripts>
<scripts>stopScripts</scripts>
<scripts>this script</scripts>
<scripts>17</scripts>
<scripts>10</scripts>
<scripts>whenIReceive</scripts>
<scripts>stage was initialized</scripts>
<scripts>stopScripts</scripts>
<scripts>other scripts in sprite</scripts>
<scripts>deleteClone</scripts>
<scripts>128.2</scripts>
<scripts>1322</scripts>
<scripts>procDef</scripts>
<scripts>set coordinates to %n %n and update tile lists</scripts>
<scripts>x</scripts>
<scripts>y</scripts>
<scripts>1</scripts>
<scripts>1</scripts>
<scripts>false</scripts>
<scripts>xpos:</scripts>
<scripts>getParam</scripts>
<scripts>x</scripts>
<scripts>r</scripts>
<scripts>ypos:</scripts>
<scripts>getParam</scripts>
<scripts>y</scripts>
<scripts>r</scripts>
<scripts>call</scripts>
<scripts>update tile x and y lists %n %n</scripts>
<scripts>getParam</scripts>
<scripts>x</scripts>
<scripts>r</scripts>
<scripts>getParam</scripts>
<scripts>y</scripts>
<scripts>r</scripts>
<scripts>187.85</scripts>
<scripts>1497.55</scripts>
<scripts>procDef</scripts>
<scripts>update tile x and y lists %n %n</scripts>
<scripts>x</scripts>
<scripts>y</scripts>
<scripts>1</scripts>
<scripts>1</scripts>
<scripts>false</scripts>
<scripts>setLine:ofList:to:</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>tile x</scripts>
<scripts>getParam</scripts>
<scripts>x</scripts>
<scripts>r</scripts>
<scripts>setLine:ofList:to:</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>tile y</scripts>
<scripts>getParam</scripts>
<scripts>y</scripts>
<scripts>r</scripts>
<scripts>1013.7</scripts>
<scripts>700.2</scripts>
<scripts>whenIReceive</scripts>
<scripts>activate tile glide</scripts>
<scripts>setVar:to:</scripts>
<scripts>glide can start</scripts>
<scripts>false</scripts>
<scripts>doIf</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>global count</scripts>
<scripts>playSound:</scripts>
<scripts>slide-scissors</scripts>
<scripts>doUntil</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>glide can start</scripts>
<scripts>true</scripts>
<scripts>call</scripts>
<scripts>update tile x and y lists %n %n</scripts>
<scripts>xpos</scripts>
<scripts>ypos</scripts>
<scripts>call</scripts>
<scripts>update tile x and y lists %n %n</scripts>
<scripts>xpos</scripts>
<scripts>ypos</scripts>
<scripts>stopScripts</scripts>
<scripts>this script</scripts>
<scripts>370.6</scripts>
<scripts>1042</scripts>
<scripts>doWaitUntil</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile drop check performed</scripts>
<scripts>true</scripts>
<scripts>1093.6</scripts>
<scripts>967.45</scripts>
<scripts>procDef</scripts>
<scripts>glide to %n %n</scripts>
<scripts>m</scripts>
<scripts>n</scripts>
<scripts>1</scripts>
<scripts>1</scripts>
<scripts>false</scripts>
<scripts>doUntil</scripts>
<scripts>&</scripts>
<scripts><</scripts>
<scripts>computeFunction:of:</scripts>
<scripts>abs</scripts>
<scripts>-</scripts>
<scripts>getParam</scripts>
<scripts>m</scripts>
<scripts>r</scripts>
<scripts>xpos</scripts>
<scripts>1</scripts>
<scripts><</scripts>
<scripts>computeFunction:of:</scripts>
<scripts>abs</scripts>
<scripts>-</scripts>
<scripts>getParam</scripts>
<scripts>n</scripts>
<scripts>r</scripts>
<scripts>ypos</scripts>
<scripts>1</scripts>
<scripts>changeXposBy:</scripts>
<scripts>/</scripts>
<scripts>-</scripts>
<scripts>getParam</scripts>
<scripts>m</scripts>
<scripts>r</scripts>
<scripts>xpos</scripts>
<scripts>3</scripts>
<scripts>changeYposBy:</scripts>
<scripts>/</scripts>
<scripts>-</scripts>
<scripts>getParam</scripts>
<scripts>n</scripts>
<scripts>r</scripts>
<scripts>ypos</scripts>
<scripts>3</scripts>
<scripts>gotoX:y:</scripts>
<scripts>getParam</scripts>
<scripts>m</scripts>
<scripts>r</scripts>
<scripts>getParam</scripts>
<scripts>n</scripts>
<scripts>r</scripts>
<scriptComments>688.6</scriptComments>
<scriptComments>1047.5</scriptComments>
<scriptComments>151</scriptComments>
<scriptComments>201</scriptComments>
<scriptComments>true</scriptComments>
<scriptComments>175</scriptComments>
<scriptComments>Used to be after 'delete all active values', but don't think it adds anything.</scriptComments>
<scriptComments>1424.55</scriptComments>
<scriptComments>779.5</scriptComments>
<scriptComments>151</scriptComments>
<scriptComments>201</scriptComments>
<scriptComments>true</scriptComments>
<scriptComments>14</scriptComments>
<scriptComments>The right member of the dominant 'and' connective is an ugly kludge to prevent unwanted behavior resulting from my incomplete understanding of my own program. </scriptComments>
<sounds>
<soundName>slide-scissors</soundName>
<soundID>0</soundID>
<md5>bcaa68a26884277d954e81893c77b0eb.wav</md5>
<sampleCount>2034</sampleCount>
<rate>22050</rate>
<format>adpcm</format>
</sounds>
<costumes>
<costumeName>blank</costumeName>
<baseLayerID>4</baseLayerID>
<baseLayerMD5>133d0e531c21318669aa04329c8a8baf.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>costume1</costumeName>
<baseLayerID>5</baseLayerID>
<baseLayerMD5>d36f6603ec293d2c2198d3ea05109fe0.png</baseLayerMD5>
<bitmapResolution>2</bitmapResolution>
<rotationCenterX>480</rotationCenterX>
<rotationCenterY>360</rotationCenterY>
</costumes>
<currentCostumeIndex>0</currentCostumeIndex>
<scratchX>-220</scratchX>
<scratchY>160</scratchY>
<scale>1</scale>
<direction>90</direction>
<rotationStyle>normal</rotationStyle>
<isDraggable>false</isDraggable>
<indexInLibrary>2</indexInLibrary>
<visible>false</visible>
<spriteInfo />
</children>
<children>
<objName>edge2</objName>
<variables>
<name>tile id</name>
<value>null</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile edge id</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<scripts>16</scripts>
<scripts>13</scripts>
<scripts>whenGreenFlag</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile id</scripts>
<scripts>null</scripts>
<scripts>18</scripts>
<scripts>95</scripts>
<scripts>whenIReceive</scripts>
<scripts>stage was initialized</scripts>
<scripts>deleteClone</scripts>
<scripts>19</scripts>
<scripts>167</scripts>
<scripts>whenIReceive</scripts>
<scripts>tile was dropped</scripts>
<scripts>stopScripts</scripts>
<scripts>this script</scripts>
<scripts>21</scripts>
<scripts>242</scripts>
<scripts>whenIReceive</scripts>
<scripts>tile was picked up</scripts>
<scripts>doIf</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>selected tile</scripts>
<scripts>comeToFront</scripts>
<scripts>goBackByLayers:</scripts>
<scripts>1</scripts>
<scripts>append:toList:</scripts>
<scripts>concatenate:with:</scripts>
<scripts>readVariable</scripts>
<scripts>tile edge id</scripts>
<scripts>readVariable</scripts>
<scripts>tile edge value</scripts>
<scripts>active value</scripts>
<scripts>broadcast:</scripts>
<scripts>active value updated</scripts>
<scripts>doForever</scripts>
<scripts>call</scripts>
<scripts>update coordinates</scripts>
<scripts>24</scripts>
<scripts>499</scripts>
<scripts>whenCloned</scripts>
<scripts>call</scripts>
<scripts>initialize tile edge</scripts>
<scripts>call</scripts>
<scripts>update coordinates</scripts>
<scripts>79</scripts>
<scripts>874</scripts>
<scripts>procDef</scripts>
<scripts>update coordinates</scripts>
<scripts>false</scripts>
<scripts>xpos:</scripts>
<scripts>getLine:ofList:</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>tile x</scripts>
<scripts>ypos:</scripts>
<scripts>getLine:ofList:</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>tile y</scripts>
<scripts>533</scripts>
<scripts>19</scripts>
<scripts>xpos:</scripts>
<scripts>-240</scripts>
<scripts>ypos:</scripts>
<scripts>180</scripts>
<scripts>77</scripts>
<scripts>611</scripts>
<scripts>procDef</scripts>
<scripts>initialize tile edge</scripts>
<scripts>false</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile edge id</scripts>
<scripts>readVariable</scripts>
<scripts>current tile edge number</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile edge value</scripts>
<scripts>letter:of:</scripts>
<scripts>readVariable</scripts>
<scripts>current tile edge number</scripts>
<scripts>getLine:ofList:</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>values board 1</scripts>
<scripts>lookLike:</scripts>
<scripts>readVariable</scripts>
<scripts>tile edge value</scripts>
<scripts>setSizeTo:</scripts>
<scripts>readVariable</scripts>
<scripts>tile size percentage</scripts>
<scripts>show</scripts>
<scripts>292</scripts>
<scripts>98</scripts>
<scripts>whenIReceive</scripts>
<scripts>activate following edges</scripts>
<scripts>doForever</scripts>
<scripts>call</scripts>
<scripts>update coordinates</scripts>
<costumes>
<costumeName>blank</costumeName>
<baseLayerID>5</baseLayerID>
<baseLayerMD5>d36f6603ec293d2c2198d3ea05109fe0.png</baseLayerMD5>
<bitmapResolution>2</bitmapResolution>
<rotationCenterX>480</rotationCenterX>
<rotationCenterY>360</rotationCenterY>
</costumes>
<costumes>
<costumeName>default</costumeName>
<baseLayerID>6</baseLayerID>
<baseLayerMD5>6e875e351703048d7af9dbead2081b52.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>0</costumeName>
<baseLayerID>7</baseLayerID>
<baseLayerMD5>684100425ff44f022f4dc9f4da0b697f.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>1</costumeName>
<baseLayerID>8</baseLayerID>
<baseLayerMD5>6a8c937264a6fcb0d25685fcbb63fd18.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>2</costumeName>
<baseLayerID>9</baseLayerID>
<baseLayerMD5>9a322b761f2b38b8683cfef8b0377406.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>3</costumeName>
<baseLayerID>10</baseLayerID>
<baseLayerMD5>9156816c4d2bac24659ff475bac140f7.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>4</costumeName>
<baseLayerID>11</baseLayerID>
<baseLayerMD5>56d95feeff7e17654bf32b74010d9e21.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>5</costumeName>
<baseLayerID>12</baseLayerID>
<baseLayerMD5>bc484b96f51db7b20fb5bf373a1b52df.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>6</costumeName>
<baseLayerID>13</baseLayerID>
<baseLayerMD5>f8b3041d358f6da85132cca2e53c0fff.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>7</costumeName>
<baseLayerID>14</baseLayerID>
<baseLayerMD5>c6f21e020643ea97dcb50c0088ccef19.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>8</costumeName>
<baseLayerID>15</baseLayerID>
<baseLayerMD5>b6f168aacc6a24f31b546e5311f4ad91.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<costumes>
<costumeName>9</costumeName>
<baseLayerID>16</baseLayerID>
<baseLayerMD5>a3d25bf0dcb5377da7d6262a5ba316ad.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>-52</rotationCenterX>
<rotationCenterY>0</rotationCenterY>
</costumes>
<currentCostumeIndex>1</currentCostumeIndex>
<scratchX>0</scratchX>
<scratchY>0</scratchY>
<scale>1</scale>
<direction>90</direction>
<rotationStyle>normal</rotationStyle>
<isDraggable>false</isDraggable>
<indexInLibrary>7</indexInLibrary>
<visible>false</visible>
<spriteInfo />
</children>
<children>
<objName>edge3</objName>
<variables>
<name>tile id</name>
<value>null</value>
<isPersistent>false</isPersistent>
</variables>
<variables>
<name>tile edge id</name>
<value>0</value>
<isPersistent>false</isPersistent>
</variables>
<scripts>18</scripts>
<scripts>95</scripts>
<scripts>whenIReceive</scripts>
<scripts>stage was initialized</scripts>
<scripts>deleteClone</scripts>
<scripts>19</scripts>
<scripts>167</scripts>
<scripts>whenIReceive</scripts>
<scripts>tile was dropped</scripts>
<scripts>stopScripts</scripts>
<scripts>this script</scripts>
<scripts>21</scripts>
<scripts>242</scripts>
<scripts>whenIReceive</scripts>
<scripts>tile was picked up</scripts>
<scripts>doIf</scripts>
<scripts>=</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>selected tile</scripts>
<scripts>comeToFront</scripts>
<scripts>goBackByLayers:</scripts>
<scripts>1</scripts>
<scripts>append:toList:</scripts>
<scripts>concatenate:with:</scripts>
<scripts>readVariable</scripts>
<scripts>tile edge id</scripts>
<scripts>readVariable</scripts>
<scripts>tile edge value</scripts>
<scripts>active value</scripts>
<scripts>broadcast:</scripts>
<scripts>active value updated</scripts>
<scripts>doForever</scripts>
<scripts>call</scripts>
<scripts>update coordinates</scripts>
<scripts>24</scripts>
<scripts>499</scripts>
<scripts>whenCloned</scripts>
<scripts>call</scripts>
<scripts>initialize tile edge</scripts>
<scripts>call</scripts>
<scripts>update coordinates</scripts>
<scripts>79</scripts>
<scripts>874</scripts>
<scripts>procDef</scripts>
<scripts>update coordinates</scripts>
<scripts>false</scripts>
<scripts>xpos:</scripts>
<scripts>getLine:ofList:</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>tile x</scripts>
<scripts>ypos:</scripts>
<scripts>getLine:ofList:</scripts>
<scripts>readVariable</scripts>
<scripts>tile id</scripts>
<scripts>tile y</scripts>
<scripts>533</scripts>
<scripts>19</scripts>
<scripts>xpos:</scripts>
<scripts>-240</scripts>
<scripts>ypos:</scripts>
<scripts>180</scripts>
<scripts>16</scripts>
<scripts>13</scripts>
<scripts>whenGreenFlag</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile id</scripts>
<scripts>null</scripts>
<scripts>77</scripts>
<scripts>611</scripts>
<scripts>procDef</scripts>
<scripts>initialize tile edge</scripts>
<scripts>false</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile id</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile edge id</scripts>
<scripts>readVariable</scripts>
<scripts>current tile edge number</scripts>
<scripts>setVar:to:</scripts>
<scripts>tile edge value</scripts>
<scripts>letter:of:</scripts>
<scripts>readVariable</scripts>
<scripts>current tile edge number</scripts>
<scripts>getLine:ofList:</scripts>
<scripts>readVariable</scripts>
<scripts>current tile number</scripts>
<scripts>values board 1</scripts>
<scripts>lookLike:</scripts>
<scripts>readVariable</scripts>
<scripts>tile edge value</scripts>
<scripts>setSizeTo:</scripts>
<scripts>readVariable</scripts>
<scripts>tile size percentage</scripts>
<scripts>show</scripts>
<scripts>292</scripts>
<scripts>98</scripts>
<scripts>whenIReceive</scripts>
<scripts>activate following edges</scripts>
<scripts>doForever</scripts>
<scripts>call</scripts>
<scripts>update coordinates</scripts>
<costumes>
<costumeName>blank</costumeName>
<baseLayerID>5</baseLayerID>
<baseLayerMD5>d36f6603ec293d2c2198d3ea05109fe0.png</baseLayerMD5>
<bitmapResolution>2</bitmapResolution>
<rotationCenterX>480</rotationCenterX>
<rotationCenterY>360</rotationCenterY>
</costumes>
<costumes>
<costumeName>default</costumeName>
<baseLayerID>17</baseLayerID>
<baseLayerMD5>c13d4205f555581ddb334efee7d0bfe2.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>-52</rotationCenterY>
</costumes>
<costumes>
<costumeName>0</costumeName>
<baseLayerID>18</baseLayerID>
<baseLayerMD5>a4501c3ae3cdca8a8385755440dce6df.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>-52</rotationCenterY>
</costumes>
<costumes>
<costumeName>1</costumeName>
<baseLayerID>19</baseLayerID>
<baseLayerMD5>76f1d0e55c87767f87cdfc326ee3ef1b.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>-52</rotationCenterY>
</costumes>
<costumes>
<costumeName>2</costumeName>
<baseLayerID>20</baseLayerID>
<baseLayerMD5>85e8b0d9a6989a53c13dcabd4afdd93b.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>-52</rotationCenterY>
</costumes>
<costumes>
<costumeName>3</costumeName>
<baseLayerID>21</baseLayerID>
<baseLayerMD5>a1f5ec2f39bed0dbfe33e09660344718.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>-52</rotationCenterY>
</costumes>
<costumes>
<costumeName>4</costumeName>
<baseLayerID>22</baseLayerID>
<baseLayerMD5>2f95b1e3a8da543259cc78147a6ee41a.svg</baseLayerMD5>
<bitmapResolution>1</bitmapResolution>
<rotationCenterX>0</rotationCenterX>
<rotationCenterY>-52</rotationCenterY>
</costumes>
<costumes>