Blockly
Python
SAVED
PLAY
#Main Script
from processing import *
import random
import math
import time
### START ENGINE CODE
class Data:
url = "https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/"
#Ivo-Engine stuff
objs = []
#object are only destroyed at the end of the frame
toBeDestroyed = []
inputkeys = {} #dict
gameWidth = 800
gameHeight = 500
refWidth = 800
refHeight = 500
scaleRatio = 1
reloadEndOfFrame = False
main = None
images = {}
#Base-class of every object to enable start & update
class MonoBehaviour:
#REGION variables
x = 0
y = 0
#used for sorting
z = 0
rot = 0
#used for z-sorting internally
prevZ = -1000
#should be changed through setScale only!
scale = 1
currAnim = None
inGameScreen = True
min_x = 0
min_y = 0
max_x = 0
max_y = 0
markForUpdateSize = False
#ENDREGION
def setAnim(self, anim):
self.currAnim = anim
def setScale(self, val):
self.scale = val
#REGION Sprites
sprite = None
def set_sprite(self, url, width = None, height = None):
if (url not in Data.images):
Data.images[url] = loadImage(Data.url + url)
self.sprite = Data.images[url]
if (width != None):
self.set_width(width)
if (height != None):
self.set_height(height)
#self.updateMinMax() should be called after...
def set_width(self, width):
self.sprite.width = width
def set_height(self, height):
self.sprite.height = height
def move_forward(self, value):
self.x += math.cos(radians(self.rot-90))*value
self.y -= math.sin(radians(self.rot-90))*value
def move_right(self, value):
self.x += math.cos(radians(self.rot))*value
self.y -= math.sin(radians(self.rot))*value
#ENDREGION
#REGION Collision
def get_real_width(self):
return self.sprite.width * self.scale
def get_real_height(self):
return self.sprite.height * self.scale
def get_min_x(self):
return self.x - self.get_real_width() * 0.5
def get_max_x(self):
return self.x + self.get_real_width() * 0.5
b
def get_min_y(self):
return self.y - self.get_real_height() * 0.5
def get_max_y(self):
return self.y + self.get_real_height() * 0.5
#TODO only objects inside the gamescreen collide?
def collisionCheck(self, objType):
if (not self.inGameScreen):
return False;
for obj in Data.objs:
if (obj.inGameScreen):
if (obj is not self and type(obj).__name__ == objType):
if (self.intersects(obj)):
return obj
return False
def intersects(self, obj2):
return not (self.get_max_x() < obj2.get_min_x() or self.get_min_x() > obj2.get_max_x() or self.get_min_y() > obj2.get_max_y() or self.get_max_y() < obj2.get_min_y())
def check_in_gamescreen(self):
return not (self.get_max_x() < -Data.refWidth * 0.5 or self.get_min_x() > Data.refWidth * 0.5 or self.get_min_y() > Data.refHeight * 0.5 or self.get_max_y() < -Data.refHeight*0.5)
#ENDREGION
#REGION base functions
def start_INTERNAL(self):
#commented since empty objects can just display nothing
self.set_sprite("Empty.png")
self.start()
def update_INTERNAL(self):
self.update()
#we use translate instead of setting the objects position, to fix rotation issues
posX = (int)((self.x+Data.refWidth*0.5)*Data.scaleRatio)
posY = (int)((-self.y+Data.refHeight*0.5)*Data.scaleRatio)
translate(posX, posY)
rotate(radians(self.rot))
#if (self.currAnim != None):
# self.newSprite = self.currAnim.play()
self.inGameScreen = self.check_in_gamescreen()
if (self.inGameScreen):
image(self.sprite, 0, 0, self.get_real_width()*Data.scaleRatio, self.get_real_height()*Data.scaleRatio)
rotate(-radians(self.rot))
translate(-posX, -posY)
#Base functions to be overridden by any class inheriting from MonoBehaviour
def start(self):
pass
def update(self):
pass
def isMouseOver(self):
return (Data.mouse.x > self.get_min_x() and Data.mouse.x < self.get_max_x() and Data.mouse.y > self.get_min_y() and Data.mouse.y < self.get_max_y())
#ENDREGION
class Anim:
images = None
frames = 0
framesPerImage = 5
imageIndex = 0
timer = 0
#FRAMES OER IMAGE IS NOT THE FRAMERATE... Confusing, sorry
def __init__(self, url, frames, framesPerImage = 3):
self.images = []
self.framesPerImage = framesPerImage
self.frames = frames
for i in range(frames):
fullUrl = Data.url + url + str(i+1) + ".png"
img = requestImage(fullUrl)
self.images.append(img)
#should be called from a MonoBehaviour every frame while playing.
#looks like this: self.newSprite = currAnim.play()
def play(self):
self.timer += 1
if (self.timer >= self.framesPerImage):
self.timer = 0
self.imageIndex += 1
if (self.imageIndex >= self.frames):
self.imageIndex = 0
return self.images[self.imageIndex]
def instantiate(objtype, posX = 0, posY = 0):
n = objtype()
n.x = posX
n.y = posY
n.start_INTERNAL()
Data.objs.append(n)
return n
def destroy(obj):
#Check if objects wasn't already marked as destroyed.
if obj not in Data.toBeDestroyed:
Data.toBeDestroyed.append(obj)
def key_is_pressed(k):
if (k not in Data.inputkeys):
return False
return Data.inputkeys[k] == 1 or Data.inputkeys[k] == 2
def key_was_pressed(k):
if (k not in Data.inputkeys):
return False
return Data.inputkeys[k] == 1
def key_was_released(k):
if (k not in Data.inputkeys):
return False
return Data.inputkeys[k] == 3
def reload_game():
Data.reloadEndOfFrame = True
#SHOULD BE CALLED AT END OF DRAW
def reload_game_immediate():
Data.reloadEndOfFrame = False
Data.objs = []
Data.inputkeys = {}
Data.main = Main()
Data.main.start()
class Main(MonoBehaviour):
def start(self):
print("No Blockly Main class")
class Global:
pass
### END ENGINE CODE
################################################################
#BLOCKLY_REPLACE
################################################################
### START HELPER CODE
#z-sorting
#bubblesort with extra check for each element if it changed
def bubbleSort(alist):
pop = 0
for passnum in range(len(alist)-1,0,-1):
if (alist[passnum].z != alist[passnum].prevZ):
for i in range(passnum):
pop += 1
if alist[i].z > alist[i+1].z:
temp = alist[i]
alist[i] = alist[i+1]
alist[i+1] = temp
alist[passnum].prevZ = alist[passnum].z
#print("Sorted " + str(pop) + " elements")
### END HELPER CODE
### START PROCESSING CODE
def setup():
#SIZE_REPLACE
size(Data.gameWidth, Data.gameHeight)
Data.scaleRatio = float(Data.gameWidth) / Data.refWidth
Data.invScaleRatio = float(1)/Data.scaleRatio
imageMode(CENTER)
frameRate(30)
textSize(32*Data.scaleRatio)
reload_game_immediate()
#run first frame right away
draw()
def draw():
background(0)
Data.mouse = PVector((mouse.x* Data.invScaleRatio-Data.refWidth*0.5), -(mouse.y * Data.invScaleRatio-Data.refHeight*0.5))
#bubbleSort(Data.objs)
Data.main.update()
for obj in Data.objs:
obj.update_INTERNAL()
#printObjs()
#if was pressed, go to is pressed now
for key in Data.inputkeys:
if (Data.inputkeys[key] == 1):
Data.inputkeys[key] = 2
#if was released, go to off now
if (Data.inputkeys[key] == 3):
Data.inputkeys[key] = 0
for obj in Data.toBeDestroyed:
Data.objs.remove(obj)
Data.toBeDestroyed = []
if (Data.reloadEndOfFrame):
reload_game_immediate()
#DevTools.showFPS()
#DevTools.printObjs()
class DevTools:
lastFrame = 0
avg = 0
nFramesToUpdate = 5
nFrame = 0
def showFPS():
DevTools.nFrame += 1
if (DevTools.nFrame >= DevTools.nFramesToUpdate):
m = millis()
deltaTime = m-DevTools.lastFrame
DevTools.lastFrame = m
DevTools.nFrame = 0
DevTools.avg = DevTools.nFramesToUpdate*1000/deltaTime
ui_text("FPS: " + str(DevTools.avg), 650, 50)
def printObjs():
#objs = ""
i = 0
j = 0
for obj in Data.objs:
#objs += str(obj.z) + ", "
i+=1
if (obj.inGameScreen):
j+=1
ui_text("Objs: " + str(i) + ", in screen: " + str(j), 450, 100)
def processKeyOrMousePress(val):
if (val not in Data.inputkeys or Data.inputkeys[val] == 0):
Data.inputkeys[val] = 1
def processKeyOrMouseRelease(val):
Data.inputkeys[val] = 3
def ui_text(txt, posX, posY):
pX = (int)((posX+Data.refWidth*0.5)*Data.scaleRatio)
pY = (int)((-posY+Data.refHeight*0.5)*Data.scaleRatio)
text(txt, pX, pY )
#Processing funcs
def keyPressed():
processKeyOrMousePress(str(keyboard.key))
def keyReleased():
processKeyOrMouseRelease(str(keyboard.key))
def mousePressed():
if (mouse.button == 37):
processKeyOrMousePress("m_left")
if (mouse.button == 39):
processKeyOrMousePress("m_right")
def mouseReleased():
if (mouse.button == 37):
processKeyOrMouseRelease("m_left")
if (mouse.button == 39):
processKeyOrMouseRelease("m_right")
run()
### END PROCESSING CODE
{"main":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"class_object\" id=\"g2e/Iae#4]?$%jV[9QMF\" x=\"465\" y=\"-255\"><field name=\"NAME\">Skeleton</field><statement name=\"start\"><block type=\"set_sprite\" id=\"vZ0571Lv0/t2regELhXM\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"?v}gj;^p.5{Z#E.NHI5u\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/skeleton_move.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"hRv8QS%0h}uy8_nI96?]\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"R!I}G(sp^rpz5^giB9v,\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"controls_if\" id=\"+l|8?Hcp13O:AeIYLrHD\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"^?+,1(n26Foj3uMO0)GS\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"ot89W1MQ?)[RZ_Q8n8=w\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"*$n^r^=}NDD9lR|u=RHJ\"><field name=\"NUM\">350</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"j!xRG[Wo%;r?CVv0T[oL\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\";;G@#[PpkNfPm%`HV1?6\"><field name=\"NUM\">-350</field></shadow></value></block></statement></block></next></block></statement></block><block type=\"main_class_object\" id=\"M|TUBcRXfP-zXMfslc+k\" x=\"75\" y=\"-195\"><statement name=\"start\"><block type=\"instantiate\" id=\"PH-,aqt@P+C+1^j+56#h\"><field name=\"NAME\">Dungeon</field><next><block type=\"instantiate_at_pos\" id=\",%PKFe4R+BI9M[yI{:H_\"><field name=\"type\">Birb</field><value name=\"x\"><shadow type=\"math_number\" id=\"hY+{.^{FMcVU5t?,Vs@1\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"X_m9#DMKZ/Na2l%,LCky\"><field name=\"NUM\">-180</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"L:O}/-?Iw~[=[9a1LU(_\"><field name=\"type\">Skeleton </field><value name=\"x\"><shadow type=\"math_number\" id=\"5e0N:q}]SM,|uN#wuG48\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"bwyIo+~q7K1B`.9JxP@!\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"6t:P!|!bHs(iM_0n@S-?\"><field name=\"type\">Ship</field><value name=\"x\"><shadow type=\"math_number\" id=\"Kyb6g7P?MY@apTGL|TE,\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"*7BoX`3#H3{:J1${*f0)\"><field name=\"NUM\">160</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"BfcU|$N5*7As?p/8Fx[V\"><field name=\"type\">Skeleton2</field><value name=\"x\"><shadow type=\"math_number\" id=\"lbHaP]o|44R?oJ#oB(}`\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"E~1PUpz;)T|/*-1D8mw=\"><field name=\"NUM\">-100</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"V0aF/JBoQ}I/p5gb,IfH\" x=\"645\" y=\"45\"><field name=\"NAME\">Dungeon</field><statement name=\"start\"><block type=\"set_sprite\" id=\"!/s`Q2z.0P;4,qtZm%8z\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"%3UP+)_Ta5orW+B:UqcX\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/brick.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"xy1o!,+T^iLCef,BKWlx\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"5MopuJ:(/FKD33{/^3V`\"><field name=\"NUM\">1.6</field></shadow></value></block></statement></block><block type=\"class_object\" id=\":9#(knbiJ/)+{DB={gi(\" x=\"405\" y=\"135\"><field name=\"NAME\">Skeleton2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"txh,?)7WBT}J2J@i8n{j\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"S;3[e*I/@vFz,m/[SHtr\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/skeleton_move.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"nbrU~`vIzlYMF~N]C,`d\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"$!xY9JR=_mSbRB2EbNK7\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"controls_if\" id=\"zm~Iit.^3uqTv_!ItHo]\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"21r47?ibxDYj=1/.EbVK\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"uUH34r+9n6{9N@j~)y{*\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"7p(7,,WX~A!xPHjd{mpp\"><field name=\"NUM\">350</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"qzf#j:clxhBa@3{`Xz21\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Tz:9N?uIqb/r^7{!G(}C\"><field name=\"NUM\">-350</field></shadow></value></block></statement></block></next></block></statement></block><block type=\"class_object\" id=\"9W{}qjZP;u-D]s*%Vd10\" x=\"105\" y=\"405\"><field name=\"NAME\">Birb</field><statement name=\"start\"><block type=\"set_sprite\" id=\"BP}:K8QL3t4`GW1kg$bp\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"/VpmlW]cQePB4}L:[~r.\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"?{r^B|==y0)t)X8A06l0\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"s:M:tvk~Z_499b:UA^I(\"><field name=\"NUM\">0.4</field></shadow></value><next><block type=\"controls_if\" id=\"%?Of9^=lRX38JX|d!*f*\"><value name=\"IF0\"><block type=\"mouse_input\" id=\"#VJI_dXu%gojST}#0S+l\"><field name=\"MOUSE\">m_left</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"O!.s!EoK~-in#|kCgSMN\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"lNfGkp~FZmS:?Hy9cNCL\"><field name=\"NUM\">6</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"n!S#m)-r58$S%~1i5j3_\"><value name=\"IF0\"><block type=\"collision_check\" id=\"ooYDOC50|tfbz9Tr)ZtS\"><field name=\"NAME\">Skeleton</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"la[74$y?~Rp{(lIdW0/j\"></block></statement><next><block type=\"controls_if\" id=\"JH=:4Tn-aiQN#-MI75SQ\"><value name=\"IF0\"><block type=\"collision_check\" id=\"`h3[`[7P0`U#D#]nyUKs\"><field name=\"NAME\">Skeleton2</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"x*#~Qd|U3?XV9FL?T:ns\"></block></statement><next><block type=\"controls_if\" id=\"|0}3aH%kfk]%BajdE/Zg\"><value name=\"IF0\"><block type=\"collision_check\" id=\"=|j,;RIZ[g[`SfN=mseM\"><field name=\"NAME\">Ship</field></block></value><statement name=\"DO0\"><block type=\"destroy\" id=\"!lX51Lw:gjIIvcT@jbjn\"><value name=\"NAME\"><block type=\"self\" id=\"e|%iFujq$~M2o8$5!x(Z\"></block></value></block></statement></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"L%(2d`xZ$e9!Ky[eyhoe\" x=\"-435\" y=\"525\"><field name=\"NAME\">Ship2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"99-CZu-!+teqBzsbt)X*\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"E1}lbH@=IaQs/)D~$g|U\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"(gk_~d~:.Q`?v[6$FiAI\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"wokNUlA2IJg8)bQ-pUil\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"tOERpgX9@A?fma0nu@,L\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"*gvsa*-Qinbsy~xd91,A\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"5=q/yH8*k`@kUf6)Mo!~\"><value name=\"TEXT\"><shadow type=\"text\" id=\"e5M=v^9.hU49IWI:RpFZ\"><field name=\"TEXT\">Level 2</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"}+AEsvhlp+CjuAkVvUwh\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"CtXl-^h:wj%)=Lmva!MJ\"><field name=\"NUM\">200</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"P6`8+9IzZhci3s7I]{~T\"><value name=\"IF0\"><block type=\"collision_check\" id=\"xSq.6vH:N~iWQXR9:8m@\"><field name=\"NAME\">Birb2</field></block></value><statement name=\"DO0\"><block type=\"set_scale\" id=\"gq0]M#M|CsKhqi7RI@?X\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"7;P]HS)wTG]g_*KB6QR2\"><field name=\"NUM\">0.9</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"b=#f:J*Ul#?tF1T-Idvc\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"){xS{wqJ)v{-s~tey*7]\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"I16RE5t8XEL%`b*S:7*r\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"s9oNP`yJ0:x9?pz$Y]j(\"><field name=\"NUM\">0.9</field></block></value></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"Oy(t!W4@;;{up#-T:3-)\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"bTp^,lo(a7si2v(VOL?,\"><field name=\"NUM\">2</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"VmR_cu`SoY[`6/Xj.^Tk\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"`-[!bSsIMVb3#vq_a7hp\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\",HW$N5B)kgP,8M4,S6kb\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"0tpyn,$J01SRoIUu=S=$\"><field name=\"NUM\">0.9</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"kb/3MWf7O.IIE20k/:1[\"><value name=\"TEXT\"><shadow type=\"text\" id=\"{tgvUiN$jEqydXrvKI*m\"><field name=\"TEXT\">You win!</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"UM:=NK=zSb!#04u!ygRD\"><field name=\"NUM\">-60</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\",]QFX6kt8jfgC/cp%gzn\"><field name=\"NUM\">0</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"h7nxSd)t~y(^2#*,dKR?\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"j/_RNwuCg;e#$FNg-WaL\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"oEP-.0,QkM]+!uO]-BOJ\"><field name=\"pos\">y</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"KPicjP082zKu|mDztL/1\"><field name=\"NUM\">300</field></block></value></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"arDCYb7-tsnU!4J]7y8#\"><field name=\"type\">Dungeon3</field><value name=\"x\"><shadow type=\"math_number\" id=\":y][P|W_z2g0e4MF0+S?\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"s*)G;;Nb8Q:B=t!#8{nI\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\";qX*}Jy7{gJ:WNepMY!m\"><field name=\"type\">Birb3</field><value name=\"x\"><shadow type=\"math_number\" id=\"]q84xG-pg.eDM~o0pp-P\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"}kohB2_5(x=IN?PDnjQ_\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"|5fkBO%!~gM(b5{:z/fr\"><field name=\"type\">Bouncer1 </field><value name=\"x\"><shadow type=\"math_number\" id=\"s,Mm5My0O/:PFj8gQ/u1\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"^iS(Ps7GU%M?n*R3yzyW\"><field name=\"NUM\">250</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"p*}KbyL9PI},*Xe-=g0r\"><field name=\"type\">Bouncer2</field><value name=\"x\"><shadow type=\"math_number\" id=\"(ANDa%Zg][4hv0Ig6j}/\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\")UqisB]t*U8iUUNx?kIY\"><field name=\"NUM\">-250</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"!u2?h$!Tmccx/O%2Nz-y\"><field name=\"type\">Skellyking</field><value name=\"x\"><shadow type=\"math_number\" id=\"2@E9oYP)fr-}As/d2yw(\"><field name=\"NUM\">350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"?Qs/iUq]AQ32a+krf:j_\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"v2o^%~#UWL%;-Nu3!QB:\"><field name=\"type\">Bomb</field><value name=\"x\"><shadow type=\"math_number\" id=\"DWbv=NYj]w{.MXHdrnww\"><field name=\"NUM\">350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\":S}}{xyCDc+T]!TwVM9I\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"XgRf;9m)Sy[d:kI(Nf+=\"><field name=\"type\">Bomb2</field><value name=\"x\"><shadow type=\"math_number\" id=\"pLnRC2xW_2%IMaPOA|*I\"><field name=\"NUM\">700</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"R./X3|7-w8~pYmVv,NP?\"><field name=\"NUM\">150</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"qNR[^R!r=jRHgzHzISqv\"><field name=\"type\">Bomb3</field><value name=\"x\"><shadow type=\"math_number\" id=\"xoF{W7z?{D=81@Tz]8r]\"><field name=\"NUM\">700</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"MR^9qM-L~St3PWd|6CL9\"><field name=\"NUM\">-160</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"jmBN72QlN$(cDOvt|FnM\"><field name=\"type\">Bomb4</field><value name=\"x\"><shadow type=\"math_number\" id=\"(}vFRE4(,Xq`$y.Xf[1V\"><field name=\"NUM\">900</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"@$$*t.lo?:c#nhaM1.IV\"><field name=\"NUM\">230</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"]_t{oGSuGz_iV{vRH0]*\"><field name=\"type\">Bomb5</field><value name=\"x\"><shadow type=\"math_number\" id=\"Dv@Qzq?4hD]#Yw:t!wW)\"><field name=\"NUM\">750</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"T5{hJlNM7V(|/i0%mUoB\"><field name=\"NUM\">50</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"nb(e+6nSl!imp?GPR7L=\"><field name=\"type\">Bomb6</field><value name=\"x\"><shadow type=\"math_number\" id=\"U?.qKc`G-.hy:X~3n4*`\"><field name=\"NUM\">950</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"+PEiWuWsu;7(Nc09D7^.\"><field name=\"NUM\">-50</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"@m.2I#w()G)DK62v(+[*\"><field name=\"type\">Bomb7</field><value name=\"x\"><shadow type=\"math_number\" id=\"cTZbHok](|:}Z%7h=^0D\"><field name=\"NUM\">550</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"ll.pIjS94NUy702+V9S0\"><field name=\"NUM\">-230</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"+D2k,)FrSq3j].#)*)+o\"><field name=\"type\">LastBomb</field><value name=\"x\"><shadow type=\"math_number\" id=\"QK+{Sz@nz::_[S:+o*#@\"><field name=\"NUM\">4000</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"qy8cc[Aj,c126,tLnG0E\"><field name=\"NUM\">-300</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"T80{J^DF)7C^w-Z^iLyf\"><field name=\"type\">Truefinalbomb </field><value name=\"x\"><shadow type=\"math_number\" id=\"HE#i1=6xGJV/L%o$Z~8a\"><field name=\"NUM\">4800</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"y_!+z;Q@[^dt$iu(CB:I\"><field name=\"NUM\">-300</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"^N}v,#,Z2xH6GN0[D6uG\" x=\"915\" y=\"585\"><field name=\"NAME\">Ship</field><statement name=\"start\"><block type=\"set_sprite\" id=\"!5xWTxZ,^lc^ctN4A1vm\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"`lQh1nr6Y?2EHAA{Rt.R\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"6F1DCRAHrT|ZFUq,WU}g\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"2Macj|(H3XCG6nJWZ0+~\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"uLqPl]GOob~a$jYJ*Ogz\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"~I-ue:y#A~9@d4-Q!Ta3\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"V(lTQ^+T7r?t(*):9*ex\"><value name=\"TEXT\"><shadow type=\"text\" id=\"}]NMELiD;0pRy$T]24Eb\"><field name=\"TEXT\">Level 1</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\")=oJko(w#D+V-ddhJNO?\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"5F;dItaF.W!VS4`0/De8\"><field name=\"NUM\">200</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"1|C@;4iL.+k;!S^[-A%}\"><value name=\"IF0\"><block type=\"collision_check\" id=\"~(A@Q%xJ%8]zn|bA,SXd\"><field name=\"NAME\">Birb</field></block></value><statement name=\"DO0\"><block type=\"set_scale\" id=\"G$c^IJKsN5PA_M-a!.,7\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"AVlqBTV)jm}kT#~Th7g-\"><field name=\"NUM\">0.9</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"kV*fLU{dxvMIw}u}v#Gb\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"pi:x:2*cj%K1$$MT^8aH\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"|V}Q#*},80Ez1[^AQtr=\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"!nVXj+l{XVpNhl#7zI+:\"><field name=\"NUM\">0.9</field></block></value></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"y{.dkgd[,LY@p{0^99qN\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"q%6U%}[K16ld6t7)eTtF\"><field name=\"NUM\">2</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"WpiWj*j|V?b)`VV2uRi}\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"Z8)LEVM]UG0X~XxAKk-L\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"g}zbQ?S2Yj^uY8r(]=MA\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"c./@$NAiAaO8T{t_U`TE\"><field name=\"NUM\">0.9</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"av8+wy0V,BX81*}9t!xS\"><value name=\"TEXT\"><shadow type=\"text\" id=\"oTXtI;,1,C$AJGlv,iC:\"><field name=\"TEXT\">You win!</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"Z%Y`z;(x!?dtNY`)uu}b\"><field name=\"NUM\">-60</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"2C(JD9wH5r.((2G5`2pW\"><field name=\"NUM\">0</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"i{s;X!DzuNJ[#Bea3_^B\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"h`f6:|c]]}SjT_P!-Xj!\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"^3bYLIxhsWXu{!9)MZv.\"><field name=\"pos\">y</field></block></value><value name=\"B\"><block type=\"math_number\" id=\".VNx@f~=fN.TEL,ycK_+\"><field name=\"NUM\">300</field></block></value></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"be(v7|]By0zX:(X-^2k#\"><field name=\"type\">Dungeon2</field><value name=\"x\"><shadow type=\"math_number\" id=\"v7.S?2~sDF.y=yKfJNpY\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"!`ez-KozeL]{9Z*2ghKO\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"I)KS5Z2~KXoNXRAla54)\"><field name=\"type\">Birb2</field><value name=\"x\"><shadow type=\"math_number\" id=\"ciWbi9:aM5p3dvp#?T-B\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"aa_+SY+J]0$7{w#H|KG%\"><field name=\"NUM\">-180</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"GOxbX11./XzE|Fz8J}uH\"><field name=\"type\">Skeleton1B</field><value name=\"x\"><shadow type=\"math_number\" id=\"xY$DEY[C]Bsn22.@D2UF\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"906_LL]S`b*Cy7tV_qbM\"><field name=\"NUM\">-100</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"*f7RNKH,8kWh]Cusb5Ky\"><field name=\"type\">Skeleton2B</field><value name=\"x\"><shadow type=\"math_number\" id=\"06deDsX[[r8c9u%rN03T\"><field name=\"NUM\">350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"Ar9|#uiHLZZg;DUnd%mW\"><field name=\"NUM\">70</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"8}/bg!MJ*RrX1uaU2i-6\"><field name=\"type\">Ship2</field><value name=\"x\"><shadow type=\"math_number\" id=\"m:R%;*(DDSEE4jOnp~*8\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"=|7Ra1k@IENh-|br^32%\"><field name=\"NUM\">160</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"M/`#3jz#YN!1-PTnF[LY\" x=\"375\" y=\"795\"><field name=\"NAME\">Dungeon2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"V,klJa@riY?._Nx~FJvo\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"t!*u`3TUw(wO!Jv/y.=u\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/brick.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"?QwVlEL(qX,]j,w:kzu$\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"|_]a|i!`mA2KPI`ZBYYc\"><field name=\"NUM\">1.6</field></shadow></value></block></statement></block><block type=\"class_object\" id=\"aUNtv}M6@W#)m)W{zPbe\" x=\"15\" y=\"975\"><field name=\"NAME\">Dungeon3</field><statement name=\"start\"><block type=\"set_sprite\" id=\"+;Mepl]#q$-Njl#.}O%X\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"Ud=z-ExL,@L^:;feoKb3\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/brick.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"agpbr+%j!a$DwhM`:gI7\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"y33H:e!vV{8w:H6t/Fq)\"><field name=\"NUM\">1.6</field></shadow></value></block></statement></block><block type=\"class_object\" id=\"sQ4.FE9zQ97b5*8o%LeC\" x=\"165\" y=\"1155\"><field name=\"NAME\">Skeleton2B</field><statement name=\"start\"><block type=\"set_sprite\" id=\"wwR!zkW7#}E9`m:_py7y\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"YKR[4!{C.8zv@Tzi=.k6\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/skeleton_move.png</field></block></value></block></statement><statement name=\"update\"><block type=\"move_right\" id=\"4whF#|9bQ{w_3J#qvrn2\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"Zhz:tf)$;0Z%iZSE[$dO\"><field name=\"NUM\">-10</field></shadow></value><next><block type=\"controls_if\" id=\"0#1;~/59wD38EZtQiCG9\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"U3sH/TfePzUT+8v?obB:\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"4|e:uW;FzW|(BQ~suhg)\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"}#YLho_]oq%t1oJVT.[U\"><field name=\"NUM\">-350</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"E%7!eC5nc-pCL?t;.QB+\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"F?fuBJ/WL~;^aFe+?5k8\"><field name=\"NUM\">350</field></shadow></value></block></statement></block></next></block></statement></block><block type=\"class_object\" id=\"{.TVxuK]I1{}x2w8h^fJ\" x=\"525\" y=\"1155\"><field name=\"NAME\">Birb2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"8W@}qp=RS|A|iahPpr]}\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"LK;IJoYi5/L2Ec^fAM(;\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"$c_-*-|z~vy{2BXRG)O8\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"8Pv?6|:NmcO!5TM~5!Jl\"><field name=\"NUM\">0.4</field></shadow></value><next><block type=\"controls_if\" id=\"-MtVy?T?_x}s2[6#K3Sw\"><value name=\"IF0\"><block type=\"mouse_input\" id=\":CiEuism;vGat5!xW{,n\"><field name=\"MOUSE\">m_left</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"v`+^2t!Z|3G6hYf`$,iq\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"X58D):%Ex^Cy@hGwWeP{\"><field name=\"NUM\">6</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"gWf0wY$rkhn(Z:*,_xup\"><value name=\"IF0\"><block type=\"collision_check\" id=\"qsj_{5,KZ2[upKWc+6YR\"><field name=\"NAME\">Skeleton1B</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"s=QM{4b-tlz;ax)MSD4j\"></block></statement><next><block type=\"controls_if\" id=\"iSjF;H:Mv]eM4eM;~ODI\"><value name=\"IF0\"><block type=\"collision_check\" id=\"YAvb]:16A6Y}|o*ngCQb\"><field name=\"NAME\">Skeleton2B</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"Dl[$?=6H/VZx;.Wi%g|*\"></block></statement><next><block type=\"controls_if\" id=\"q1Bd|(m6oIBZH[*Y_-Xo\"><value name=\"IF0\"><block type=\"collision_check\" id=\"+JyLJ6bm7_:.PAniZo?y\"><field name=\"NAME\">Ship2</field></block></value><statement name=\"DO0\"><block type=\"destroy\" id=\"EtG~B^PE4m.dE@Ru1?R`\"><value name=\"NAME\"><block type=\"self\" id=\"M4;_I@y?$Dj,ADKp!``3\"></block></value></block></statement></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"du9!7PBCD;?J9r:*yT2D\" x=\"-75\" y=\"1395\"><field name=\"NAME\">LastBomb</field><statement name=\"start\"><block type=\"set_sprite\" id=\"v(WdYiRdBwNiEVD;w%aQ\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"8Z{yXmWsxgn=A%o$,OgL\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"AsCB*dUr-BRuR2V8xC99\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Af0Ud7R_F*M3Y[eh~A:)\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"P?}D*E%K$7SR`.2Pz0%8\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"Vd#qBwmWm(ZRkM,IHPJa\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"]E?m[UM7I/_6iIrD2M@a\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"!,6_|.3^n(TgS{9k|S.4\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"lG1Zucflv`6Uo6Z7vuf:\"><field name=\"type\">Battleship</field><value name=\"x\"><shadow type=\"math_number\" id=\"C[?)4`icXaOg;{KjQOpP\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"hJNTFA2Nu0s,,b]yW))M\"><field name=\"NUM\">-200</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"fA$`T1Me@g0a)GZZrolL\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"6s!)S1:-{.B/$-9_%*2b\"><field name=\"NUM\">0</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"ar+D(#D+4^vdS9d^`,k]\" x=\"165\" y=\"1425\"><field name=\"NAME\">Skeleton1B</field><statement name=\"start\"><block type=\"set_sprite\" id=\"aVRbW`H`gYLBi;{TR-sm\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"Q!~$nRJiX_#Ol%*P,QXF\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/skeleton_move.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"F:EQjyH4`vkZ`;!aFL|T\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"[qvh9sxvyaoHNjca@If]\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"controls_if\" id=\"USbc|.n*)Jj!|]SOC15C\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"pwt,^#K{Yc[jJ*Gsbmg!\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"NbAIXz2S0eLwbxaI?iN8\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"1C,-so4K8S(CCslK2u0k\"><field name=\"NUM\">350</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"5c**/vzo,.aH.ZSQepY,\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Y?Xd]wK!HkB9pRe*^iY6\"><field name=\"NUM\">-350</field></shadow></value></block></statement></block></next></block></statement></block><block type=\"class_object\" id=\"j6MODlEyIx-@v-eQh`!y\" x=\"405\" y=\"1575\"><field name=\"NAME\">Bomb2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"Q:B@O`-as!3N$3)?CM?D\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"HG06R33c7iXvkB(TE`jS\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"~I5~SM(eM65/%=b4Iwd8\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"B8~bVbKDC!GsXGr6jfZC\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"+bne@~(d$80De+Bv5m9W\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"/t}AivQ9BnSN5lQ9WT~X\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"x21{=9i2q|X^=;0.Xn8x\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"w=d#K#~hc}E?bi~i_WhX\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"hjM@1Pc$Zbj-@*PP7cLn\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"gt?_$t./#!?96ATtB^r/\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"Qj==WvR*w.1jN;IbA[CQ\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"%?ruczNDMl2RCild6;0m\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"-c;;{g/8P|Z%4Dp[7LH}\" x=\"-915\" y=\"1695\"><field name=\"NAME\">Bomb5</field><statement name=\"start\"><block type=\"set_sprite\" id=\"Ls2tl9qd0@M~iOm2sj]}\"><value name=\"SPRITE\"><block type=\"sprite\" id=\",Zmy3ymSX4h#xj^}`i:C\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"}q~mFg$RJ*#t;[r(v$3=\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"9UyHW^1S@V]`q1WWpVIm\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"%x^A^eJefL:eu_|k_Kw7\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"H`T]K];iETzTQ3HK/7/h\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"%eA9zR]2uJf:i6OCXcd%\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"h^*3FxOfJ*atp+*:*9R8\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"7[peVM_@oSpP=#N+~w_G\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"3aXHa0e~ocT@Ig:ojax`\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"5xehUdiIOq1;aHr/0a;y\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"7*lz5Ux4C8NY}.GXPXH{\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"@YAWL+SS/gV8GB`{dYk=\" x=\"15\" y=\"1725\"><field name=\"NAME\">Bouncer1</field><statement name=\"start\"><block type=\"set_sprite\" id=\"O[Ms:a7{)kFRCSdM]s%i\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"DaBP-W#6}t}8T6P_|Wu)\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement></block><block type=\"class_object\" id=\"TjLVh]Y^g?IO=l2MAnA~\" x=\"165\" y=\"1785\"><field name=\"NAME\">Bouncer2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"=0:%#!6.A$ifw==un;go\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"U]1o4XOQ34PLm,|7~!SQ\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement></block><block type=\"class_object\" id=\"JFrmtI54^!Q]oZ8zF.)l\" x=\"-525\" y=\"1875\"><field name=\"NAME\">Bomb7</field><statement name=\"start\"><block type=\"set_sprite\" id=\"NI9Ve=gA3@ler.7C0i~X\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"Mw#Ev^n{Le_Z_6h0]}sg\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"ei[kK6]AVi?MnJepR_Ou\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"DV|ESuO{~nD}Vk]F65,m\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"qC;ALivhwAhe6d5s~${$\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"TQ)fA,/EY-WVA[,8ui:K\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"2bF[gT$-O=IVOtS[]m21\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"v8m^[1vy:At#}+A.h9zb\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\")rX{6$:W!%y`t6`=2k{7\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"w`qI-(Bgo-+LMp)QI`Sb\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"GNty{klz/evb:V$jHot%\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"u$M{z4ea,{KW.}P.2Nn]\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"xm_cs$O}+7X6-!UhQ7?G\" x=\"525\" y=\"1845\"><field name=\"NAME\">Skellyking</field><statement name=\"start\"><block type=\"set_sprite\" id=\"ki;s7PJKeRG[q1ivv}Yu\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"X.(|haN5Q(H33Ua0WQb)\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/skeleton_move.png</field></block></value><next><block type=\"set_scale\" id=\"?g~sJDrOXg`QNf04X!*)\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"?-g35bnH_%wW#G4(AImk\"><field name=\"NUM\">1.8</field></shadow></value></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"D=t_0WDkT[hAZxSA5BZ!\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"g4t@=#=?mw2g.OEV-;zd\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"jrieC}A_Z!Q3mDsyh1PZ\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"fK)r~C.s9aUm9rw=zER*\"><field name=\"NUM\">1.8</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"zFYZ;GIuuvegB@06M3iz\"><value name=\"TEXT\"><shadow type=\"text\" id=\"WA4:D)p|E~3p(a?/nD~`\"><field name=\"TEXT\">Level 3 - boss</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"PCCCBZjF@=[!aBGGp]:)\"><field name=\"NUM\">-350</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"2OM0T6]C[)}hig#h1wh2\"><field name=\"NUM\">200</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"d=_,P_YkuiC0CQq{Ss@p\"><value name=\"IF0\"><block type=\"collision_check\" id=\"BQHe5q[=u3IwzV!{3!7:\"><field name=\"NAME\">Firebomb</field></block></value><statement name=\"DO0\"><block type=\"set_scale\" id=\")CzSUV65$By2=75(`=Og\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"mam7=]R4=Ya(AcFC.lin\"><field name=\"NUM\">1.7</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"P)zce;gOOS-GYg~r#wX(\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"r]]PKPtNv++O|ehP+co[\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_scale\" id=\"9L,~{8jYr?U{/jUhyJYn\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"YumW:e$P`IxdJv(8)Z*+\"><field name=\"NUM\">1.7</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"+!C[XogV,eu^]q`Ygp*h\"><value name=\"TEXT\"><shadow type=\"text\" id=\":9)Hn@pG(fPJXj%D|z~s\"><field name=\"TEXT\">You beat skeletron!</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"Q;g!2{P-Bbi=kR4B]#Tn\"><field name=\"NUM\">-60</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"/WBO|(j]Aeptr^){}#+s\"><field name=\"NUM\">0</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\".Ct=n90^9::t%z2bqE2^\"><value name=\"IF0\"><block type=\"collision_check\" id=\";b5zXU,Z`lwjPqj/D/A1\"><field name=\"NAME\">Firebomb</field></block></value><statement name=\"DO0\"><block type=\"move_right\" id=\"1Vf]1R!Z%^.S9}s7Y#]1\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"485LU,pc)oqFNgh@-{FR\"><field name=\"NUM\">4</field></shadow></value></block></statement></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"1|}]{`97Qxb}p#{T.Eac\" x=\"-945\" y=\"1995\"><field name=\"NAME\">Bomb6</field><statement name=\"start\"><block type=\"set_sprite\" id=\"YwAKg4OpgIA?N+6=;1ib\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"K*V3@c~(F}9=0}N`eC::\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"7U4Q`GAvH$gYmp3sA,I~\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\";[e1hd-DYD^b*9jXl.sZ\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"%}m{)w1899wOWR5yKLWh\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"S@]S1WaHL;JDRss1*$)V\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"fg2:kkHJ$Ef)Lc=AcWc@\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"DiQ0NKJ]Yq*//UUJaE2W\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"bvHChq,MjNybu~atQ}G0\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"y5qi_R-|,{6H_|*[5WV#\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"Fy[@JPbR{(Sl#r@Y+q6d\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"/K;]a^IXchjDSg:HCCb#\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"^H.rjf~]0nfNh)AoAqO:\" x=\"15\" y=\"2055\"><field name=\"NAME\">Bomb</field><statement name=\"start\"><block type=\"set_sprite\" id=\"P$v_|#qO8D;=exXAH=?/\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"3MIXp7mS3[5B{C_+NmyG\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"iBiAt%y`p6N([a+F5+:L\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"yh|13:9k9?w3H|5%A3wp\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"nbLi/Ak4Z?)S$$9#SSe8\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"bz7k)MuQ$tY#lK7[GZdB\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"YNx.]]u_|TrC+%a@n/i:\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"2_:F68F/rW]^tJ]G[o.)\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"yyfbmIU:jo7KVyPzjD9h\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"ihH?XB|giB)UQ,r0sK)@\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"i1PB(EA[v-{+,rv_U}o[\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"lXmL0`(DunIo#Vna%Rm[\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"zjLe34ci#6NeEOtYdP}F\" x=\"-945\" y=\"2265\"><field name=\"NAME\">Bomb4</field><statement name=\"start\"><block type=\"set_sprite\" id=\"q,O}./=SrSH}no7:_93(\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"OJ7c$5{Wt0dXgG3^41Zp\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"x1o_hT].Y9s@8o%?S5,G\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"7cFNM}1V3B@[.4rUY%Dr\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"LEB3:7=jP||uc/~mB7z#\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"p[b4Vl.MGTfPARfh;$A^\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"!QFeQj/r?8(02}#mU%q;\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"F9$HC2efAe^P/T?~.DIv\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"-yt,k:W}x(HQu9qIV_2;\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"8Qq)7NqxYkX,]M{iXfS(\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"o}m*_.d?s$ycf33qaNiA\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"~EC#qP|2hE^H@CVUlf-`\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\",xHh}5st4SU#-.Fn,o?J\" x=\"-615\" y=\"2445\"><field name=\"NAME\">Bomb2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"$t0#PNCm;tC=l[hI3Zk)\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"FyTOMP;7PlN$SgMpLEH)\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"@1O$06]Ktko*[LCQxb1{\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"^4r1B-6*l8#%bd!An6`6\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"g8xut_]OAG/QHWUI*GYe\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"kvrd2.@tLUYy,}C$va,w\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"?w#M/wJ-.=Z5j=q*N0PL\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"4=#Qw1m@#^4bkY.[)TI]\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"A0Znx1n|o2;aZ(GsLxQg\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"4sxuN}[;:RFK7q%5X~K?\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\"pTu~5R]`A)7K7?+H7l42\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"r`Nx]*cK-E+u#pplRyBL\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"+YXe|Y,)p}[vfb%H9Se|\" x=\"-285\" y=\"2475\"><field name=\"NAME\">Birb3</field><statement name=\"start\"><block type=\"set_sprite\" id=\"}~7sBc=?ohj(xbqu8c17\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"RV{2g#KQOiRZr;fvC9@^\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"llt}zdBZ7txVI7w@J+xP\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"}w-)QWg,*XYE;OOYT1?~\"><field name=\"NUM\">0.4</field></shadow></value><next><block type=\"controls_if\" id=\"Rl8Gvk}-=6w?788zD0GI\"><value name=\"IF0\"><block type=\"mouse_input\" id=\"zYA2(xX:c]4j(Ykz`0Q8\"><field name=\"MOUSE\">m_left</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"PLJ!6@f2yhN3R$RxzdDO\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"yZa{vqp{wA*POu!q9qdw\"><field name=\"NUM\">6</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"Q^t.MQ;rantWbUHF?=^Z\"><value name=\"IF0\"><block type=\"collision_check\" id=\"=OjFp:NesU:$VODw**gn\"><field name=\"NAME\">Bouncer1</field></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"G3z4wQ:T+8dl.+;{u0DG\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"4)NG_(83k;3.65HAWLhX\"><field name=\"NUM\">-200</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"fDoY`S%MSQe{5jV8KZJy\"><value name=\"IF0\"><block type=\"collision_check\" id=\"/`E[u]KUAc!yOib`B07v\"><field name=\"NAME\">Bomb</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"JnH:`98XX?(HLSrI3[/1\"></block></statement><next><block type=\"controls_if\" id=\"pg,GqXig7kvry?(PHD2m\"><value name=\"IF0\"><block type=\"collision_check\" id=\"PB22-(Oy!K$93^o~VRU%\"><field name=\"NAME\">Bomb2</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"kZX^HIBu;2y*#2`~-d}*\"></block></statement><next><block type=\"controls_if\" id=\"qU.g0**2FkNG2;b3aHn@\"><value name=\"IF0\"><block type=\"collision_check\" id=\"T@9@30D[{}j^:Enx`Can\"><field name=\"NAME\">Bomb3</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"cpGq*,surJF|aI]Su9k`\"></block></statement><next><block type=\"controls_if\" id=\"!eOrnJWndwM-pvG?Z:6z\"><value name=\"IF0\"><block type=\"collision_check\" id=\"H@k*A2^#aw?in%C7{Kr{\"><field name=\"NAME\">Bomb4</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"!7Mpv?(I8ZRwO+sdcGIZ\"></block></statement><next><block type=\"controls_if\" id=\"FXwp5WGW?-saQzOYg+2D\"><value name=\"IF0\"><block type=\"collision_check\" id=\"lt*P,?Ch-dePz{{?Gr73\"><field name=\"NAME\">Bomb5</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"Tj#?0ZKYUL2!SJKcc0Z8\"></block></statement><next><block type=\"controls_if\" id=\"145m%bE*69~*xbooEKBj\"><value name=\"IF0\"><block type=\"collision_check\" id=\"f(h0RYpik^MY)]VYt0pt\"><field name=\"NAME\">Bomb6</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"]0.92R%@kSWdOW+]bx~=\"></block></statement><next><block type=\"controls_if\" id=\"WsQ%btG/?jt,17fcl#mP\"><value name=\"IF0\"><block type=\"collision_check\" id=\"?VKgivyXr}dLl6OhL=#)\"><field name=\"NAME\">Bomb7</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"ahCN.9+Jn9+nw7H|wRx;\"></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"Ot7aZ@zpTW2mq8g%8_yg\" x=\"15\" y=\"2475\"><field name=\"NAME\">Bomb3</field><statement name=\"start\"><block type=\"set_sprite\" id=\"tC3u6h#voQMN+NC#`OyP\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"wYQ*Ht1Szy@YM-5^/OHT\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"sUye?;d7y/n6abebrYov\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"10tBLY=L}0BCdC*%1A_m\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"CC?k-1gNH_c-OJ{-#(i_\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"gvai`zsfGDTQGR`f3XD)\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"Xv!hKr!VMsf~Gj_.yCK4\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"|z~vehvS+9mQhPZUHo^G\"><field name=\"NUM\">-400</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_pos\" id=\"]?)E|c62,(IjDM_#@L+6\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Kj4FJSa-PhNFiI!|0}s)\"><field name=\"NUM\">400</field></shadow></value></block></statement><next><block type=\"set_scale\" id=\".0Lp[hX7t3/EF|UMWidy\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"!mj1o-5d3=d@nKSBuJ70\"><field name=\"NUM\">0.8</field></shadow></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"h=kFPOg+Bps#z_s(cf2e\" x=\"555\" y=\"2595\"><field name=\"NAME\">Truefinalbomb</field><statement name=\"start\"><block type=\"set_sprite\" id=\"@C_(:44*/AQ]n]gBg(.8\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"r?VU_r70z+nQwd-~J|+s\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"ASIZljYiu4rPv$9wEZ%C\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"d]bArLB:b#PQPYp+zeCU\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"change_pos\" id=\"zL,p7%wGC*KW$*-Pnr-{\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"a*9~H};BM5#jMe]OcHSi\"><field name=\"NUM\">-5</field></shadow></value><next><block type=\"controls_if\" id=\"wYMRI[pZq5m7E{K4E/uf\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"LRE;Ny}-_.S/uX42V[xR\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"mlUy%,KiwD1B$6DeZ1{N\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"ud3dzeL)(=tX3WP;]0K)\"><field name=\"NUM\">-400</field></block></value></block></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"/Ius)o8V[OA.NDZ}a*M)\" x=\"-555\" y=\"2745\"><field name=\"NAME\">Firebomb</field><statement name=\"start\"><block type=\"set_sprite\" id=\"PDC5}x5N^hI8h{^YLp:[\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"1tx*h*Ae=E(~:_x;c/#2\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Bullet.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_scale\" id=\"G!/;/-Nz[V|lP7UN4=GG\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"$ncIu:Nrbit`gDT{a,?c\"><field name=\"NUM\">3</field></shadow></value><next><block type=\"move_right\" id=\"oN?nchR}OFbMAaghy=vt\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"ZKTtkL,-;le(,fTA;3(3\"><field name=\"NUM\">5</field></shadow></value></block></next></block></statement></block><block type=\"class_object\" id=\"rl.;rISZ1X_!4.$1IY/^\" x=\"-795\" y=\"2835\"><field name=\"NAME\">Battleship</field><statement name=\"start\"><block type=\"set_sprite\" id=\"]YmWdH7MN;ih2DsXsyz)\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"wsf*#F56S#k!A2?QN2gM\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Enemy.png</field></block></value></block></statement><statement name=\"update\"><block type=\"set_rot\" id=\"hcl*vHydUUDqu!mIvY2]\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"?`b~S,#%0ow)%I!^]+q2\"><field name=\"NUM\">90</field></shadow></value><next><block type=\"change_pos\" id=\"1lB4G5lWFysR|!ZGp?vg\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"t?jw5Xo5K-QzCCu|.cPX\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"controls_if\" id=\"-Oi6(J:*ANIZ^p,Sl3(*\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"NS:7k-Wc$ZF=#3x*WtK+\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_pos\" id=\"z^ya(ejMZbTDTLgum4L^\"><field name=\"pos\">y</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"ZJEcl5`p=)khyWRt?4+f\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"IrNLTRvSxYL81=GjI;X_\"><field name=\"type\">Firebomb</field><value name=\"x\"><shadow type=\"math_number\" id=\",bV.xrT;Wspo=VL5^B-X\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"^$CsGaT[tU8b/=c]MW4J\"><field name=\"NUM\">0</field></shadow></value></block></statement></block></next></block></next></block></statement></block></xml>"}