this is all the code, its massive, i know that doesnt work because when i press sprite 7 it wont move no matter what the sprite is
setdisplayaspect (0.66)
SetDisplayAspect ( 4.0 / 3.0 )
//rem load images
circle1= loadimage ("circle1.png")
circle2= loadimage ("circle2.png")
circle3= loadimage ("circle3.png")
circle4= loadimage ("circle4.png")
circle5= loadimage ("circle5.png")
circle6= loadimage ("circle6.png")
circle7= loadimage ("circle7.png")
circle8= loadimage ("circle8.png")
circle9= loadimage ("circle9.png")
circle10= loadimage ("circle10.png")
circle11= loadimage ("circle11.png")
circle12= loadimage ("circle12.png")
circle13= loadimage ("circle13.png")
circle14= loadimage ("circle14.png")
square1= loadimage ("square1.png")
square2= loadimage ("square2.png")
square3= loadimage ("square3.png")
square4= loadimage ("square4.png")
square5= loadimage ("square5.png")
square6= loadimage ("square6.png")
square7= loadimage ("square7.png")
square8= loadimage ("square8.png")
square9= loadimage ("square9.png")
square10= loadimage ("square10.png")
square11= loadimage ("square11.png")
square12= loadimage ("square12.png")
square13= loadimage ("square13.png")
square14= loadimage ("square14.png")
triangle1= loadimage ("triangle1.png")
triangle2= loadimage ("triangle2.png")
triangle3= loadimage ("triangle3.png")
triangle4= loadimage ("triangle4.png")
triangle5= loadimage ("triangle5.png")
triangle6= loadimage ("triangle6.png")
triangle7= loadimage ("triangle7.png")
triangle8= loadimage ("triangle8.png")
triangle9= loadimage ("triangle9.png")
triangle10= loadimage ("triangle10.png")
triangle11= loadimage ("triangle11.png")
triangle12= loadimage ("triangle12.png")
triangle13= loadimage ("triangle13.png")
triangle14= loadimage ("triangle14.png")
cross1= loadimage ("cross1.png")
cross2= loadimage ("cross2.png")
cross3= loadimage ("cross3.png")
cross4= loadimage ("cross4.png")
cross5= loadimage ("cross5.png")
cross6= loadimage ("cross6.png")
cross7= loadimage ("cross7.png")
cross8= loadimage ("cross8.png")
cross9= loadimage ("cross9.png")
cross10= loadimage ("cross10.png")
cross11= loadimage ("cross11.png")
cross12= loadimage ("cross12.png")
cross13= loadimage ("cross13.png")
cross14= loadimage ("cross14.png")
star1= loadimage ("star1.png")
star2= loadimage ("star2.png")
star3= loadimage ("star3.png")
star4= loadimage ("star4.png")
star5= loadimage ("star5.png")
star6= loadimage ("star6.png")
star7= loadimage ("star7.png")
star8= loadimage ("star8.png")
star9= loadimage ("star9.png")
star10= loadimage ("star10.png")
star11= loadimage ("star11.png")
star12= loadimage ("star12.png")
star13= loadimage ("star13.png")
star14= loadimage ("star14.png")
change1 =loadimage ("change.png")
change2 =loadimage ("change.png")
change3 =loadimage ("change.png")
change4 =loadimage ("change.png")
change5 =loadimage ("change.png")
cardback =loadimage ("cardback.png")
dim sprites[76] as integer
sprites [1] = createsprite (circle1)
sprites [2] = createsprite (circle2)
sprites [3] = createsprite (circle3)
sprites [4] = createsprite (circle4)
sprites [5] = createsprite (circle5)
sprites [6] = createsprite (circle6)
sprites [7] = createsprite (circle7)
sprites [8] = createsprite (circle8)
sprites [9] = createsprite (circle9)
sprites [10] = createsprite (circle10)
sprites [11] = createsprite (circle11)
sprites [12] = createsprite (circle12)
sprites [13] = createsprite (circle13)
sprites [14] = createsprite (circle14)
sprites [15] = createsprite (square1)
sprites [16] = createsprite (square2)
sprites [17] = createsprite (square3)
sprites [18] = createsprite (square4)
sprites [19] = createsprite (square5)
sprites [20] = createsprite (square6)
sprites [21] = createsprite (square7)
sprites [22] = createsprite (square8)
sprites [23] = createsprite (square9)
sprites [24] = createsprite (square10)
sprites [25] = createsprite (square11)
sprites [26] = createsprite (square12)
sprites [27] = createsprite (square13)
sprites [28] = createsprite (square14)
sprites [29] = createsprite (triangle1)
sprites [30] = createsprite (triangle2)
sprites [31] = createsprite (triangle3)
sprites [32] = createsprite (triangle4)
sprites [33] = createsprite (triangle5)
sprites [34] = createsprite (triangle6)
sprites [35] = createsprite (triangle7)
sprites [36] = createsprite (triangle8)
sprites [37] = createsprite (triangle9)
sprites [38] = createsprite (triangle10)
sprites [39] = createsprite (triangle11)
sprites [40] = createsprite (triangle12)
sprites [41] = createsprite (triangle13)
sprites [42] = createsprite (triangle14)
sprites [43] = createsprite (cross1)
sprites [44] = createsprite (cross2)
sprites [45] = createsprite (cross3)
sprites [46] = createsprite (cross4)
sprites [47] = createsprite (cross5)
sprites [48] = createsprite (cross6)
sprites [49] = createsprite (cross7)
sprites [50] = createsprite (cross8)
sprites [51] = createsprite (cross9)
sprites [52] = createsprite (cross10)
sprites [53] = createsprite (cross11)
sprites [54] = createsprite (cross12)
sprites [55] = createsprite (cross13)
sprites [56] = createsprite (cross14)
sprites [57] = createsprite (star1)
sprites [58] = createsprite (star2)
sprites [59] = createsprite (star3)
sprites [60] = createsprite (star4)
sprites [61] = createsprite (star5)
sprites [62] = createsprite (star6)
sprites [63] = createsprite (star7)
sprites [64] = createsprite (star8)
sprites [65] = createsprite (star9)
sprites [66] = createsprite (star10)
sprites [67] = createsprite (star11)
sprites [68] = createsprite (star12)
sprites [69] = createsprite (star13)
sprites [70] = createsprite (star14)
sprites[71]= createsprite (change1)
sprites[72]= createsprite (change2)
sprites[73] = createsprite (change3)
sprites[74] = createsprite (change4)
sprites[75] = createsprite (change5)
sprites[76] = createsprite (cardback)
for i = 1 to 76
setspritesize(sprites[i],12,21)
next i
for i = 1 to 14
setspriteposition(sprites[i],12,210)
next i
for i = 14 to 28
setspriteposition(sprites[i],-120,21)
next i
for i = 29 to 42
setspriteposition(sprites[i],12,-210)
next i
for i = 43 to 56
setspriteposition(sprites[i],-120,-210)
next i
for i = 57 to 70
setspriteposition(sprites[i],120,21)
next i
do
setclearcolor (250,250,250)
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],15,5)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],30,5)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],45,5)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],60,5)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],75,5)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],45,40)
setspritedepth (sprites[selectsprite],2)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],15,75)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],30,75)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],45,75)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],60,75)
endif
endif
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
SetSpritesize (sprites[76],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[76]
selectSprite = random(1,75)
setSpritePosition(sprites[selectSprite],75,75)
endif
endif
for i = 1 to 75
if GetPointerState()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[i]
SetSpritesize (sprites[i],12,21)
endif
endif
if GetPointerReleased()
x# = GetPointerX()
y# = GetPointerY()
if GetSpriteHit(x#, y#) = sprites[i]
originalX# = GetSpriteX ( sprites[i] )
originalY# = GetSpriteY ( sprites[i] )
setspritedepth (sprites[i],1)
setSpritePosition(sprites[i],45,40)
endif
endif
next i
For i = 16 to 28
if GetSpriteCollision(Sprites[1],Sprites[i])
if getspritedepth (Sprites[1])=1
SetSpritePosition ( sprites[1],originalX#, originalY#)
setspritedepth (sprites[1],2)
endif
endif
Next i
For i = 30 to 42
if GetSpriteCollision(Sprites[1],Sprites[i])
if getspritedepth (Sprites[1])=1
SetSpritePosition ( sprites[1],originalX#, originalY# )
setspritedepth (sprites[1],2)
endif
endif
Next i
For i = 44 to 56
if GetSpriteCollision(Sprites[1],Sprites[i])
if getspritedepth (Sprites[1])=1
SetSpritePosition ( sprites[1],originalX#, originalY# )
setspritedepth (sprites[1],2)
endif
endif
Next i
For i = 58 to 70
if GetSpriteCollision(Sprites[1],Sprites[i])
if getspritedepth (Sprites[1])=1
SetSpritePosition ( sprites[1],originalX#, originalY# )
setspritedepth (sprites[1],2)
endif
endif
Next i
if GetSpriteCollision(Sprites[2],Sprites[15])
if getspritedepth (Sprites[2])=1
SetSpritePosition ( sprites[2],originalX#, originalY# )
setspritedepth (sprites[2],2)
endif
endif
For i = 17 to 29
if GetSpriteCollision(Sprites[2],Sprites[i])
if getspritedepth (Sprites[2])=1
SetSpritePosition ( sprites[2],originalX#, originalY# )
setspritedepth (sprites[2],2)
endif
endif
Next i
For i = 31 to 43
if GetSpriteCollision(Sprites[2],Sprites[i])
if getspritedepth (Sprites[2])=1
SetSpritePosition ( sprites[2],originalX#, originalY# )
setspritedepth (sprites[2],2)
endif
endif
Next i
For i = 45 to 57
if GetSpriteCollision(Sprites[2],Sprites[i])
if getspritedepth (Sprites[2])=1
SetSpritePosition ( sprites[2],originalX#, originalY# )
setspritedepth (sprites[2],2)
endif
endif
Next i
For i = 61 to 70
if GetSpriteCollision(Sprites[2],Sprites[i])
if getspritedepth (Sprites[2])=1
SetSpritePosition ( sprites[2],originalX#, originalY# )
setspritedepth (sprites[2],2)
endif
endif
Next i
For i = 15 to 16
if GetSpriteCollision(Sprites[3],Sprites[i])
if getspritedepth (Sprites[3])=1
SetSpritePosition ( sprites[3],originalX#, originalY# )
setspritedepth (sprites[3],2)
endif
endif
Next i
For i = 18 to 30
if GetSpriteCollision(Sprites[3],Sprites[i])
if getspritedepth (Sprites[3])=1
SetSpritePosition ( sprites[3],originalX#, originalY# )
setspritedepth (sprites[3],2)
endif
endif
Next i
For i = 32 to 44
if GetSpriteCollision(Sprites[3],Sprites[i])
if getspritedepth (Sprites[3])=1
SetSpritePosition ( sprites[3],originalX#, originalY# )
setspritedepth (sprites[3],2)
endif
endif
Next i
For i = 56 to 70
if GetSpriteCollision(Sprites[3],Sprites[i])
if getspritedepth (Sprites[3])=1
SetSpritePosition ( sprites[3],originalX#, originalY# )
setspritedepth (sprites[3],2)
endif
endif
Next i
For i = 15 to 17
if GetSpriteCollision(Sprites[4],Sprites[i])
if getspritedepth (Sprites[4])=1
SetSpritePosition ( sprites[4],originalX#, originalY# )
setspritedepth (sprites[4],2)
endif
endif
Next i
For i = 19 to 31
if GetSpriteCollision(Sprites[4],Sprites[i])
if getspritedepth (Sprites[4])=1
SetSpritePosition ( sprites[4],originalX#, originalY# )
setspritedepth (sprites[4],2)
endif
endif
Next i
For i = 33 to 45
if GetSpriteCollision(Sprites[4],Sprites[i])
if getspritedepth (Sprites[4])=1
SetSpritePosition ( sprites[4],originalX#, originalY# )
setspritedepth (sprites[4],2)
endif
endif
Next i
For i = 47 to 59
if GetSpriteCollision(Sprites[4],Sprites[i])
if getspritedepth (Sprites[4])=1
SetSpritePosition ( sprites[4],originalX#, originalY# )
setspritedepth (sprites[4],2)
endif
endif
Next i
For i = 61 to 70
if GetSpriteCollision(Sprites[4],Sprites[i])
if getspritedepth (Sprites[4])=1
SetSpritePosition ( sprites[4],originalX#, originalY# )
setspritedepth (sprites[4],2)
endif
endif
Next i
For i = 15 to 18
if GetSpriteCollision(Sprites[5],Sprites[i])
if getspritedepth (Sprites[5])=1
SetSpritePosition ( sprites[5],originalX#, originalY# )
setspritedepth (sprites[5],2)
endif
endif
Next i
For i = 20 to 32
if GetSpriteCollision(Sprites[5],Sprites[i])
if getspritedepth (Sprites[5])=1
SetSpritePosition ( sprites[5],originalX#, originalY# )
setspritedepth (sprites[5],2)
endif
endif
Next i
For i = 34 to 46
if GetSpriteCollision(Sprites[5],Sprites[i])
if getspritedepth (Sprites[5])=1
SetSpritePosition ( sprites[5],originalX#, originalY# )
setspritedepth (sprites[5],2)
endif
endif
Next i
For i = 48 to 60
if GetSpriteCollision(Sprites[5],Sprites[i])
if getspritedepth (Sprites[5])=1
SetSpritePosition ( sprites[5],originalX#, originalY# )
setspritedepth (sprites[5],2)
endif
endif
Next i
For i = 62 to 70
if GetSpriteCollision(Sprites[5],Sprites[i])
if getspritedepth (Sprites[5])=1
SetSpritePosition ( sprites[5],originalX#, originalY# )
setspritedepth (sprites[5],2)
endif
endif
Next i
For i = 15 to 19
if GetSpriteCollision(Sprites[6],Sprites[i])
if getspritedepth (Sprites[6])=1
SetSpritePosition ( sprites[6],originalX#, originalY# )
setspritedepth (sprites[6],2)
endif
endif
Next i
For i = 21 to 33
if GetSpriteCollision(Sprites[6],Sprites[i])
if getspritedepth (Sprites[6])=1
SetSpritePosition ( sprites[6],originalX#, originalY# )
setspritedepth (sprites[6],2)
endif
endif
Next i
For i = 35 to 47
if GetSpriteCollision(Sprites[6],Sprites[i])
if getspritedepth (Sprites[6])=1
SetSpritePosition ( sprites[6],originalX#, originalY# )
setspritedepth (sprites[6],2)
endif
endif
Next i
For i = 49 to 61
if GetSpriteCollision(Sprites[6],Sprites[i])
if getspritedepth (Sprites[6])=1
SetSpritePosition ( sprites[6],originalX#, originalY# )
setspritedepth (sprites[6],2)
endif
endif
Next i
For i = 63 to 70
if GetSpriteCollision(Sprites[6],Sprites[i])
if getspritedepth (Sprites[6])=1
SetSpritePosition ( sprites[6],originalX#, originalY# )
setspritedepth (sprites[6],2)
endif
endif
Next i
For i = 15 to 20
if GetSpriteCollision(Sprites[7],Sprites[i])
if getspritedepth (Sprites[7])=1
SetSpritePosition ( sprites[7],originalX#, originalY# )
setspritedepth (sprites[7],2)
endif
endif
Next i
For i = 22 to 34
if GetSpriteCollision(Sprites[7],Sprites[i])
if getspritedepth (Sprites[7])=1
SetSpritePosition ( sprites[7],originalX#, originalY# )
setspritedepth (sprites[7],2)
endif
endif
Next i
For i = 36 to 48
if GetSpriteCollision(Sprites[7],Sprites[i])
if getspritedepth (Sprites[7])=1
SetSpritePosition ( sprites[7],originalX#, originalY# )
setspritedepth (sprites[7],2)
endif
endif
Next i
For i = 50 to 62
if GetSpriteCollision(Sprites[7],Sprites[i])
if getspritedepth (Sprites[7])=1
SetSpritePosition ( sprites[7],originalX#, originalY# )
setspritedepth (sprites[7],2)
endif
endif
Next i
For i = 64 to 70
if GetSpriteCollision(Sprites[7],Sprites[i])
if getspritedepth (Sprites[7])=1
SetSpritePosition ( sprites[7],originalX#, originalY# )
setspritedepth (sprites[7],2)
endif
endif
Next i
For i = 15 to 21
if GetSpriteCollision(Sprites[8],Sprites[i])
if getspritedepth (Sprites[8])=1
SetSpritePosition ( sprites[8],originalX#, originalY# )
endif
endif
Next i
For i = 23 to 35
if GetSpriteCollision(Sprites[8],Sprites[i])
if getspritedepth (Sprites[8])=1
SetSpritePosition ( sprites[8],originalX#, originalY# )
endif
endif
Next i
For i = 37 to 49
if GetSpriteCollision(Sprites[8],Sprites[i])
if getspritedepth (Sprites[8])=1
SetSpritePosition ( sprites[8],originalX#, originalY# )
endif
endif
Next i
For i = 51 to 63
if GetSpriteCollision(Sprites[8],Sprites[i])
if getspritedepth (Sprites[8])=1
SetSpritePosition ( sprites[8],originalX#, originalY# )
endif
endif
Next i
For i = 65 to 70
if GetSpriteCollision(Sprites[8],Sprites[i])
if getspritedepth (Sprites[8])=1
SetSpritePosition ( sprites[8],originalX#, originalY# )
endif
endif
Next i
For i = 15 to 22
if GetSpriteCollision(Sprites[9],Sprites[i])
if getspritedepth (Sprites[9])=1
SetSpritePosition ( sprites[9],originalX#, originalY# )
endif
endif
Next i
For i = 24 to 36
if GetSpriteCollision(Sprites[9],Sprites[i])
if getspritedepth (Sprites[9])=1
SetSpritePosition ( sprites[9],originalX#, originalY# )
endif
endif
Next i
For i = 38 to 50
if GetSpriteCollision(Sprites[9],Sprites[i])
if getspritedepth (Sprites[9])=1
SetSpritePosition ( sprites[9],originalX#, originalY# )
endif
endif
Next i
For i = 52 to 64
if GetSpriteCollision(Sprites[9],Sprites[i])
if getspritedepth (Sprites[9])=1
SetSpritePosition ( sprites[9],originalX#, originalY# )
endif
endif
Next i
For i = 66 to 70
if GetSpriteCollision(Sprites[9],Sprites[i])
if getspritedepth (Sprites[9])=1
SetSpritePosition ( sprites[9],originalX#, originalY# )
endif
endif
Next i
For i = 15 to 23
if GetSpriteCollision(Sprites[10],Sprites[i])
if getspritedepth (Sprites[10])=1
SetSpritePosition ( sprites[10],originalX#, originalY# )
endif
endif
Next i
For i = 25 to 37
if GetSpriteCollision(Sprites[10],Sprites[i])
if getspritedepth (Sprites[10])=1
SetSpritePosition ( sprites[10],originalX#, originalY# )
endif
endif
Next i
For i = 39 to 51
if GetSpriteCollision(Sprites[10],Sprites[i])
if getspritedepth (Sprites[10])=1
SetSpritePosition ( sprites[10],originalX#, originalY# )
endif
endif
Next i
For i = 53 to 65
if GetSpriteCollision(Sprites[10],Sprites[i])
if getspritedepth (Sprites[10])=1
SetSpritePosition ( sprites[10],originalX#, originalY# )
endif
endif
Next i
For i = 67 to 70
if GetSpriteCollision(Sprites[10],Sprites[i])
if getspritedepth (Sprites[10])=1
SetSpritePosition ( sprites[10],originalX#, originalY# )
endif
endif
Next i
For i = 15 to 24
if GetSpriteCollision(Sprites[11],Sprites[i])
if getspritedepth (Sprites[11])=1
SetSpritePosition ( sprites[11],originalX#, originalY# )
endif
endif
Next i
For i = 26 to 38
if GetSpriteCollision(Sprites[11],Sprites[i])
if getspritedepth (Sprites[11])=1
SetSpritePosition ( sprites[11],originalX#, originalY# )
endif
endif
Next i
For i = 40 to 52
if GetSpriteCollision(Sprites[11],Sprites[i])
if getspritedepth (Sprites[11])=1
SetSpritePosition ( sprites[11],originalX#, originalY# )
endif
endif
Next i
For i = 54 to 66
if GetSpriteCollision(Sprites[11],Sprites[i])
if getspritedepth (Sprites[11])=1
SetSpritePosition ( sprites[11],originalX#, originalY# )
endif
endif
Next i
For i = 68 to 70
if GetSpriteCollision(Sprites[11],Sprites[i])
if getspritedepth (Sprites[11])=1
SetSpritePosition ( sprites[11],originalX#, originalY# )
endif
endif
Next i
For i = 15 to 25
if GetSpriteCollision(Sprites[12],Sprites[i])
if getspritedepth (Sprites[12])=1
SetSpritePosition ( sprites[12],originalX#, originalY# )
endif
endif
Next i
For i = 27 to 39
if GetSpriteCollision(Sprites[12],Sprites[i])
if getspritedepth (Sprites[12])=1
SetSpritePosition ( sprites[12],originalX#, originalY# )
endif
endif
Next i
For i = 41 to 53
if GetSpriteCollision(Sprites[12],Sprites[i])
if getspritedepth (Sprites[12])=1
SetSpritePosition ( sprites[12],originalX#, originalY# )
endif
endif
Next i
For i = 55 to 67
if GetSpriteCollision(Sprites[12],Sprites[i])
if getspritedepth (Sprites[12])=1
SetSpritePosition ( sprites[12],originalX#, originalY# )
endif
endif
Next i
For i = 69 to 70
if GetSpriteCollision(Sprites[12],Sprites[i])
if getspritedepth (Sprites[12])=1
SetSpritePosition ( sprites[12],originalX#, originalY# )
endif
endif
Next i
For i = 15 to 26
if GetSpriteCollision(Sprites[13],Sprites[i])
if getspritedepth (Sprites[13])=1
SetSpritePosition ( sprites[13],originalX#, originalY# )
endif
endif
Next i
For i = 28 to 40
if GetSpriteCollision(Sprites[13],Sprites[i])
if getspritedepth (Sprites[13])=1
SetSpritePosition ( sprites[13],originalX#, originalY# )
endif
endif
Next i
For i = 42 to 54
if GetSpriteCollision(Sprites[13],Sprites[i])
if getspritedepth (Sprites[13])=1
SetSpritePosition ( sprites[13],originalX#, originalY# )
endif
endif
Next i
For i = 56 to 68
if GetSpriteCollision(Sprites[13],Sprites[i])
if getspritedepth (Sprites[13])=1
SetSpritePosition ( sprites[13],originalX#, originalY# )
endif
endif
Next i
if GetSpriteCollision(Sprites[13],Sprites[70])
if getspritedepth (Sprites[13])=1
SetSpritePosition ( sprites[13],originalX#, originalY# )
endif
endif
For i = 15 to 27
if GetSpriteCollision(Sprites[14],Sprites[i])
if getspritedepth (Sprites[14])=1
SetSpritePosition ( sprites[14],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 41
if GetSpriteCollision(Sprites[14],Sprites[i])
if getspritedepth (Sprites[14])=1
SetSpritePosition ( sprites[14],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 55
if GetSpriteCollision(Sprites[14],Sprites[i])
if getspritedepth (Sprites[14])=1
SetSpritePosition ( sprites[14],originalX#, originalY# )
endif
endif
Next i
For i = 57 to 69
if GetSpriteCollision(Sprites[14],Sprites[i])
if getspritedepth (Sprites[14])=1
SetSpritePosition ( sprites[14],originalX#, originalY# )
endif
endif
Next i
For i = 2 to 14
if GetSpriteCollision(Sprites[15],Sprites[i])
if getspritedepth (Sprites[15])=1
SetSpritePosition ( sprites[15],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 42
if GetSpriteCollision(Sprites[15],Sprites[i])
if getspritedepth (Sprites[15])=1
SetSpritePosition ( sprites[15],originalX#, originalY# )
endif
endif
Next i
For i = 44 to 56
if GetSpriteCollision(Sprites[15],Sprites[i])
if getspritedepth (Sprites[15])=1
SetSpritePosition ( sprites[15],originalX#, originalY# )
endif
endif
Next i
For i = 58 to 70
if GetSpriteCollision(Sprites[15],Sprites[i])
if getspritedepth (Sprites[15])=1
SetSpritePosition ( sprites[15],originalX#, originalY# )
endif
endif
Next i
if GetSpriteCollision(Sprites[16],Sprites[1])
if getspritedepth (Sprites[16])=1
SetSpritePosition ( sprites[16],originalX#, originalY# )
endif
endif
For i = 3 to 14
if GetSpriteCollision(Sprites[16],Sprites[i])
if getspritedepth (Sprites[16])=1
SetSpritePosition ( sprites[16],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 29
if GetSpriteCollision(Sprites[16],Sprites[i])
if getspritedepth (Sprites[16])=1
SetSpritePosition ( sprites[16],originalX#, originalY# )
endif
endif
Next i
For i = 31 to 43
if GetSpriteCollision(Sprites[16],Sprites[i])
if getspritedepth (Sprites[16])=1
SetSpritePosition ( sprites[16],originalX#, originalY# )
endif
endif
Next i
For i = 45 to 57
if GetSpriteCollision(Sprites[16],Sprites[i])
if getspritedepth (Sprites[16])=1
SetSpritePosition ( sprites[16],originalX#, originalY# )
endif
endif
Next i
For i = 59 to 70
if GetSpriteCollision(Sprites[16],Sprites[i])
if getspritedepth (Sprites[16])=1
SetSpritePosition ( sprites[16],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 2
if GetSpriteCollision(Sprites[17],Sprites[i])
if getspritedepth (Sprites[17])=1
SetSpritePosition ( sprites[17],originalX#, originalY# )
endif
endif
Next i
For i = 4 to 14
if GetSpriteCollision(Sprites[17],Sprites[i])
if getspritedepth (Sprites[17])=1
SetSpritePosition ( sprites[17],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 30
if GetSpriteCollision(Sprites[17],Sprites[i])
if getspritedepth (Sprites[17])=1
SetSpritePosition ( sprites[17],originalX#, originalY# )
endif
endif
Next i
For i = 32 to 44
if GetSpriteCollision(Sprites[17],Sprites[i])
if getspritedepth (Sprites[17])=1
SetSpritePosition ( sprites[17],originalX#, originalY# )
endif
endif
Next i
For i = 46 to 58
if GetSpriteCollision(Sprites[17],Sprites[i])
if getspritedepth (Sprites[17])=1
SetSpritePosition ( sprites[17],originalX#, originalY# )
endif
endif
Next i
For i = 60 to 70
if GetSpriteCollision(Sprites[17],Sprites[i])
if getspritedepth (Sprites[17])=1
SetSpritePosition ( sprites[17],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 3
if GetSpriteCollision(Sprites[18],Sprites[i])
if getspritedepth (Sprites[18])=1
SetSpritePosition ( sprites[18],originalX#, originalY# )
endif
endif
Next i
For i = 5 to 14
if GetSpriteCollision(Sprites[18],Sprites[i])
if getspritedepth (Sprites[18])=1
SetSpritePosition ( sprites[18],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 31
if GetSpriteCollision(Sprites[18],Sprites[i])
if getspritedepth (Sprites[18])=1
SetSpritePosition ( sprites[18],originalX#, originalY# )
endif
endif
Next i
For i = 33 to 45
if GetSpriteCollision(Sprites[18],Sprites[i])
if getspritedepth (Sprites[18])=1
SetSpritePosition ( sprites[18],originalX#, originalY# )
endif
endif
Next i
For i = 47 to 59
if GetSpriteCollision(Sprites[18],Sprites[i])
if getspritedepth (Sprites[18])=1
SetSpritePosition ( sprites[18],originalX#, originalY# )
endif
endif
Next i
For i = 61 to 70
if GetSpriteCollision(Sprites[18],Sprites[i])
if getspritedepth (Sprites[18])=1
SetSpritePosition ( sprites[18],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 4
if GetSpriteCollision(Sprites[19],Sprites[i])
if getspritedepth (Sprites[19])=1
SetSpritePosition ( sprites[19],originalX#, originalY# )
endif
endif
Next i
For i = 6 to 14
if GetSpriteCollision(Sprites[19],Sprites[i])
if getspritedepth (Sprites[19])=1
SetSpritePosition ( sprites[19],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 32
if GetSpriteCollision(Sprites[19],Sprites[i])
if getspritedepth (Sprites[19])=1
SetSpritePosition ( sprites[19],originalX#, originalY# )
endif
endif
Next i
For i = 34 to 45
if GetSpriteCollision(Sprites[19],Sprites[i])
if getspritedepth (Sprites[19])=1
SetSpritePosition ( sprites[19],originalX#, originalY# )
endif
endif
Next i
For i = 47 to 59
if GetSpriteCollision(Sprites[19],Sprites[i])
if getspritedepth (Sprites[19])=1
SetSpritePosition ( sprites[19],originalX#, originalY# )
endif
endif
Next i
For i = 62 to 70
if GetSpriteCollision(Sprites[19],Sprites[i])
if getspritedepth (Sprites[19])=1
SetSpritePosition ( sprites[19],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 5
if GetSpriteCollision(Sprites[20],Sprites[i])
if getspritedepth (Sprites[20])=1
SetSpritePosition ( sprites[20],originalX#, originalY# )
endif
endif
Next i
For i = 7 to 14
if GetSpriteCollision(Sprites[20],Sprites[i])
if getspritedepth (Sprites[20])=1
SetSpritePosition ( sprites[20],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 33
if GetSpriteCollision(Sprites[20],Sprites[i])
if getspritedepth (Sprites[20])=1
SetSpritePosition ( sprites[20],originalX#, originalY# )
endif
endif
Next i
For i = 35 to 47
if GetSpriteCollision(Sprites[20],Sprites[i])
if getspritedepth (Sprites[20])=1
SetSpritePosition ( sprites[20],originalX#, originalY# )
endif
endif
Next i
For i = 49 to 61
if GetSpriteCollision(Sprites[20],Sprites[i])
if getspritedepth (Sprites[20])=1
SetSpritePosition ( sprites[20],originalX#, originalY# )
endif
endif
Next i
For i = 63 to 70
if GetSpriteCollision(Sprites[20],Sprites[i])
if getspritedepth (Sprites[20])=1
SetSpritePosition ( sprites[20],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 6
if GetSpriteCollision(Sprites[21],Sprites[i])
if getspritedepth (Sprites[21])=1
SetSpritePosition ( sprites[21],originalX#, originalY# )
endif
endif
Next i
For i = 8 to 14
if GetSpriteCollision(Sprites[21],Sprites[i])
if getspritedepth (Sprites[21])=1
SetSpritePosition ( sprites[21],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 34
if GetSpriteCollision(Sprites[21],Sprites[i])
if getspritedepth (Sprites[21])=1
SetSpritePosition ( sprites[21],originalX#, originalY# )
endif
endif
Next i
For i = 36 to 48
if GetSpriteCollision(Sprites[21],Sprites[i])
if getspritedepth (Sprites[21])=1
SetSpritePosition ( sprites[21],originalX#, originalY# )
endif
endif
Next i
For i = 50 to 62
if GetSpriteCollision(Sprites[21],Sprites[i])
if getspritedepth (Sprites[21])=1
SetSpritePosition ( sprites[21],originalX#, originalY# )
endif
endif
Next i
For i = 64 to 70
if GetSpriteCollision(Sprites[21],Sprites[i])
if getspritedepth (Sprites[21])=1
SetSpritePosition ( sprites[21],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 7
if GetSpriteCollision(Sprites[22],Sprites[i])
if getspritedepth (Sprites[22])=1
SetSpritePosition ( sprites[22],originalX#, originalY# )
endif
endif
Next i
For i = 9 to 14
if GetSpriteCollision(Sprites[22],Sprites[i])
if getspritedepth (Sprites[22])=1
SetSpritePosition ( sprites[22],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 35
if GetSpriteCollision(Sprites[22],Sprites[i])
if getspritedepth (Sprites[22])=1
SetSpritePosition ( sprites[22],originalX#, originalY# )
endif
endif
Next i
For i = 37 to 49
if GetSpriteCollision(Sprites[22],Sprites[i])
if getspritedepth (Sprites[22])=1
SetSpritePosition ( sprites[22],originalX#, originalY# )
endif
endif
Next i
For i = 51 to 63
if GetSpriteCollision(Sprites[22],Sprites[i])
if getspritedepth (Sprites[22])=1
SetSpritePosition ( sprites[22],originalX#, originalY# )
endif
endif
Next i
For i = 65 to 70
if GetSpriteCollision(Sprites[22],Sprites[i])
if getspritedepth (Sprites[22])=1
SetSpritePosition ( sprites[22],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 8
if GetSpriteCollision(Sprites[23],Sprites[i])
if getspritedepth (Sprites[23])=1
SetSpritePosition ( sprites[23],originalX#, originalY# )
endif
endif
Next i
For i = 10 to 14
if GetSpriteCollision(Sprites[23],Sprites[i])
if getspritedepth (Sprites[23])=1
SetSpritePosition ( sprites[23],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 36
if GetSpriteCollision(Sprites[23],Sprites[i])
if getspritedepth (Sprites[23])=1
SetSpritePosition ( sprites[23],originalX#, originalY# )
endif
endif
Next i
For i = 38 to 50
if GetSpriteCollision(Sprites[23],Sprites[i])
if getspritedepth (Sprites[23])=1
SetSpritePosition ( sprites[23],originalX#, originalY# )
endif
endif
Next i
For i = 52 to 64
if GetSpriteCollision(Sprites[23],Sprites[i])
if getspritedepth (Sprites[23])=1
SetSpritePosition ( sprites[23],originalX#, originalY# )
endif
endif
Next i
For i = 66 to 70
if GetSpriteCollision(Sprites[23],Sprites[i])
if getspritedepth (Sprites[23])=1
SetSpritePosition ( sprites[23],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 9
if GetSpriteCollision(Sprites[24],Sprites[i])
if getspritedepth (Sprites[24])=1
SetSpritePosition ( sprites[24],originalX#, originalY# )
endif
endif
Next i
For i = 11 to 14
if GetSpriteCollision(Sprites[24],Sprites[i])
if getspritedepth (Sprites[24])=1
SetSpritePosition ( sprites[24],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 37
if GetSpriteCollision(Sprites[24],Sprites[i])
if getspritedepth (Sprites[24])=1
SetSpritePosition ( sprites[24],originalX#, originalY# )
endif
endif
Next i
For i = 39 to 51
if GetSpriteCollision(Sprites[24],Sprites[i])
if getspritedepth (Sprites[24])=1
SetSpritePosition ( sprites[24],originalX#, originalY# )
endif
endif
Next i
For i = 53 to 65
if GetSpriteCollision(Sprites[24],Sprites[i])
if getspritedepth (Sprites[24])=1
SetSpritePosition ( sprites[24],originalX#, originalY# )
endif
endif
Next i
For i = 66 to 70
if GetSpriteCollision(Sprites[24],Sprites[i])
if getspritedepth (Sprites[24])=1
SetSpritePosition ( sprites[24],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 10
if GetSpriteCollision(Sprites[25],Sprites[i])
if getspritedepth (Sprites[25])=1
SetSpritePosition ( sprites[25],originalX#, originalY# )
endif
endif
Next i
For i = 12 to 14
if GetSpriteCollision(Sprites[25],Sprites[i])
if getspritedepth (Sprites[25])=1
SetSpritePosition ( sprites[25],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 38
if GetSpriteCollision(Sprites[25],Sprites[i])
if getspritedepth (Sprites[25])=1
SetSpritePosition ( sprites[25],originalX#, originalY# )
endif
endif
Next i
For i = 40 to 52
if GetSpriteCollision(Sprites[25],Sprites[i])
if getspritedepth (Sprites[25])=1
SetSpritePosition ( sprites[25],originalX#, originalY# )
endif
endif
Next i
For i = 54 to 66
if GetSpriteCollision(Sprites[25],Sprites[i])
if getspritedepth (Sprites[25])=1
SetSpritePosition ( sprites[25],originalX#, originalY# )
endif
endif
Next i
For i = 67 to 70
if GetSpriteCollision(Sprites[25],Sprites[i])
if getspritedepth (Sprites[25])=1
SetSpritePosition ( sprites[25],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 11
if GetSpriteCollision(Sprites[26],Sprites[i])
if getspritedepth (Sprites[26])=1
SetSpritePosition ( sprites[26],originalX#, originalY# )
endif
endif
Next i
For i = 13 to 14
if GetSpriteCollision(Sprites[26],Sprites[i])
if getspritedepth (Sprites[26])=1
SetSpritePosition ( sprites[26],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 39
if GetSpriteCollision(Sprites[26],Sprites[i])
if getspritedepth (Sprites[26])=1
SetSpritePosition ( sprites[26],originalX#, originalY# )
endif
endif
Next i
For i = 41 to 53
if GetSpriteCollision(Sprites[26],Sprites[i])
if getspritedepth (Sprites[26])=1
SetSpritePosition ( sprites[26],originalX#, originalY# )
endif
endif
Next i
For i = 55 to 67
if GetSpriteCollision(Sprites[26],Sprites[i])
if getspritedepth (Sprites[26])=1
SetSpritePosition ( sprites[26],originalX#, originalY# )
endif
endif
Next i
For i = 69 to 70
if GetSpriteCollision(Sprites[26],Sprites[i])
if getspritedepth (Sprites[26])=1
SetSpritePosition ( sprites[26],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 12
if GetSpriteCollision(Sprites[27],Sprites[i])
if getspritedepth (Sprites[27])=1
SetSpritePosition ( sprites[27],originalX#, originalY# )
endif
endif
Next i
For i = 14 to 14
if GetSpriteCollision(Sprites[27],Sprites[i])
if getspritedepth (Sprites[27])=1
SetSpritePosition ( sprites[27],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 40
if GetSpriteCollision(Sprites[27],Sprites[i])
if getspritedepth (Sprites[27])=1
SetSpritePosition ( sprites[27],originalX#, originalY# )
endif
endif
Next i
For i = 42 to 54
if GetSpriteCollision(Sprites[27],Sprites[i])
if getspritedepth (Sprites[27])=1
SetSpritePosition ( sprites[27],originalX#, originalY# )
endif
endif
Next i
For i = 56 to 68
if GetSpriteCollision(Sprites[27],Sprites[i])
if getspritedepth (Sprites[27])=1
SetSpritePosition ( sprites[27],originalX#, originalY# )
endif
endif
Next i
if GetSpriteCollision(Sprites[27],Sprites[70])
if getspritedepth (Sprites[27])=1
SetSpritePosition ( sprites[27],originalX#, originalY# )
endif
endif
For i = 1 to 13
if GetSpriteCollision(Sprites[28],Sprites[i])
if getspritedepth (Sprites[28])=1
SetSpritePosition ( sprites[28],originalX#, originalY# )
endif
endif
Next i
For i = 29 to 41
if GetSpriteCollision(Sprites[28],Sprites[i])
if getspritedepth (Sprites[28])=1
SetSpritePosition ( sprites[28],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 55
if GetSpriteCollision(Sprites[28],Sprites[i])
if getspritedepth (Sprites[28])=1
SetSpritePosition ( sprites[28],originalX#, originalY# )
endif
endif
Next i
For i = 57 to 69
if GetSpriteCollision(Sprites[28],Sprites[i])
if getspritedepth (Sprites[28])=1
SetSpritePosition ( sprites[28],originalX#, originalY# )
endif
endif
Next i
For i = 2 to 14
if GetSpriteCollision(Sprites[29],Sprites[i])
if getspritedepth (Sprites[29])=1
SetSpritePosition ( sprites[29],originalX#, originalY# )
endif
endif
Next i
For i = 16 to 28
if GetSpriteCollision(Sprites[29],Sprites[i])
if getspritedepth (Sprites[29])=1
SetSpritePosition ( sprites[29],originalX#, originalY# )
endif
endif
Next i
For i = 44 to 56
if GetSpriteCollision(Sprites[29],Sprites[i])
if getspritedepth (Sprites[29])=1
SetSpritePosition ( sprites[29],originalX#, originalY# )
endif
endif
Next i
For i = 58 to 70
if GetSpriteCollision(Sprites[29],Sprites[i])
if getspritedepth (Sprites[29])=1
SetSpritePosition ( sprites[29],originalX#, originalY# )
endif
endif
Next i
if GetSpriteCollision(Sprites[30],Sprites[1])
if getspritedepth (Sprites[30])=1
SetSpritePosition ( sprites[30],originalX#, originalY# )
endif
endif
For i = 3 to 15
if GetSpriteCollision(Sprites[30],Sprites[i])
if getspritedepth (Sprites[30])=1
SetSpritePosition ( sprites[30],originalX#, originalY# )
endif
endif
Next i
For i = 17 to 28
if GetSpriteCollision(Sprites[30],Sprites[i])
if getspritedepth (Sprites[30])=1
SetSpritePosition ( sprites[30],originalX#, originalY# )
endif
endif
Next i
if GetSpriteCollision(Sprites[30],Sprites[43])
if getspritedepth (Sprites[30])=1
SetSpritePosition ( sprites[30],originalX#, originalY# )
endif
endif
For i = 45 to 53
if GetSpriteCollision(Sprites[30],Sprites[i])
if getspritedepth (Sprites[30])=1
SetSpritePosition ( sprites[30],originalX#, originalY# )
endif
endif
Next i
For i = 55 to 70
if GetSpriteCollision(Sprites[30],Sprites[i])
if getspritedepth (Sprites[30])=1
SetSpritePosition ( sprites[30],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 2
if GetSpriteCollision(Sprites[31],Sprites[i])
if getspritedepth (Sprites[31])=1
SetSpritePosition ( sprites[31],originalX#, originalY# )
endif
endif
Next i
For i = 4 to 16
if GetSpriteCollision(Sprites[31],Sprites[i])
if getspritedepth (Sprites[31])=1
SetSpritePosition ( sprites[31],originalX#, originalY# )
endif
endif
Next i
For i = 18 to 28
if GetSpriteCollision(Sprites[31],Sprites[i])
if getspritedepth (Sprites[31])=1
SetSpritePosition ( sprites[31],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 44
if GetSpriteCollision(Sprites[31],Sprites[i])
if getspritedepth (Sprites[31])=1
SetSpritePosition ( sprites[31],originalX#, originalY# )
endif
endif
Next i
For i = 46 to 58
if GetSpriteCollision(Sprites[31],Sprites[i])
if getspritedepth (Sprites[31])=1
SetSpritePosition ( sprites[31],originalX#, originalY# )
endif
endif
Next i
For i =60 to 70
if GetSpriteCollision(Sprites[31],Sprites[i])
if getspritedepth (Sprites[31])=1
SetSpritePosition ( sprites[31],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 3
if GetSpriteCollision(Sprites[32],Sprites[i])
if getspritedepth (Sprites[32])=1
SetSpritePosition ( sprites[32],originalX#, originalY# )
endif
endif
Next i
For i =5 to 17
if GetSpriteCollision(Sprites[32],Sprites[i])
if getspritedepth (Sprites[32])=1
SetSpritePosition ( sprites[32],originalX#, originalY# )
endif
endif
Next i
For i = 19 to 28
if GetSpriteCollision(Sprites[32],Sprites[i])
if getspritedepth (Sprites[32])=1
SetSpritePosition ( sprites[32],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 45
if GetSpriteCollision(Sprites[32],Sprites[i])
if getspritedepth (Sprites[32])=1
SetSpritePosition ( sprites[32],originalX#, originalY# )
endif
endif
Next i
For i = 47 to 59
if GetSpriteCollision(Sprites[32],Sprites[i])
if getspritedepth (Sprites[32])=1
SetSpritePosition ( sprites[32],originalX#, originalY# )
endif
endif
Next i
For i = 61 to 60
if GetSpriteCollision(Sprites[32],Sprites[i])
if getspritedepth (Sprites[32])=1
SetSpritePosition ( sprites[32],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 4
if GetSpriteCollision(Sprites[33],Sprites[i])
if getspritedepth (Sprites[33])=1
SetSpritePosition ( sprites[33],originalX#, originalY# )
endif
endif
Next i
For i = 6 to 18
if GetSpriteCollision(Sprites[33],Sprites[i])
if getspritedepth (Sprites[33])=1
SetSpritePosition ( sprites[33],originalX#, originalY# )
endif
endif
Next i
For i = 20 to 28
if GetSpriteCollision(Sprites[33],Sprites[i])
if getspritedepth (Sprites[33])=1
SetSpritePosition ( sprites[33],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 46
if GetSpriteCollision(Sprites[33],Sprites[i])
if getspritedepth (Sprites[33])=1
SetSpritePosition ( sprites[33],originalX#, originalY# )
endif
endif
Next i
For i = 48 to 60
if GetSpriteCollision(Sprites[33],Sprites[i])
if getspritedepth (Sprites[33])=1
SetSpritePosition ( sprites[33],originalX#, originalY# )
endif
endif
Next i
For i = 62 to 70
if GetSpriteCollision(Sprites[33],Sprites[i])
if getspritedepth (Sprites[33])=1
SetSpritePosition ( sprites[33],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 5
if GetSpriteCollision(Sprites[34],Sprites[i])
if getspritedepth (Sprites[34])=1
SetSpritePosition ( sprites[34],originalX#, originalY# )
endif
endif
Next i
For i = 7 to 19
if GetSpriteCollision(Sprites[34],Sprites[i])
if getspritedepth (Sprites[34])=1
SetSpritePosition ( sprites[34],originalX#, originalY# )
endif
endif
Next i
For i = 21 to 28
if GetSpriteCollision(Sprites[34],Sprites[i])
if getspritedepth (Sprites[34])=1
SetSpritePosition ( sprites[34],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 47
if GetSpriteCollision(Sprites[34],Sprites[i])
if getspritedepth (Sprites[34])=1
SetSpritePosition ( sprites[34],originalX#, originalY# )
endif
endif
Next i
For i = 49 to 61
if GetSpriteCollision(Sprites[34],Sprites[i])
if getspritedepth (Sprites[34])=1
SetSpritePosition ( sprites[34],originalX#, originalY# )
endif
endif
Next i
For i = 63 to 70
if GetSpriteCollision(Sprites[34],Sprites[i])
if getspritedepth (Sprites[34])=1
SetSpritePosition ( sprites[34],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 6
if GetSpriteCollision(Sprites[35],Sprites[i])
if getspritedepth (Sprites[35])=1
SetSpritePosition ( sprites[35],originalX#, originalY# )
endif
endif
Next i
For i = 8 to 20
if GetSpriteCollision(Sprites[35],Sprites[i])
if getspritedepth (Sprites[35])=1
SetSpritePosition ( sprites[35],originalX#, originalY# )
endif
endif
Next i
For i = 22 to 28
if GetSpriteCollision(Sprites[35],Sprites[i])
if getspritedepth (Sprites[35])=1
SetSpritePosition ( sprites[35],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 48
if GetSpriteCollision(Sprites[35],Sprites[i])
if getspritedepth (Sprites[35])=1
SetSpritePosition ( sprites[35],originalX#, originalY# )
endif
endif
Next i
For i = 50 to 62
if GetSpriteCollision(Sprites[35],Sprites[i])
if getspritedepth (Sprites[35])=1
SetSpritePosition ( sprites[35],originalX#, originalY# )
endif
endif
Next i
For i = 64 to 70
if GetSpriteCollision(Sprites[35],Sprites[i])
if getspritedepth (Sprites[35])=1
SetSpritePosition ( sprites[35],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 7
if GetSpriteCollision(Sprites[36],Sprites[i])
if getspritedepth (Sprites[36])=1
SetSpritePosition ( sprites[36],originalX#, originalY# )
endif
endif
Next i
For i = 9 to 21
if GetSpriteCollision(Sprites[36],Sprites[i])
if getspritedepth (Sprites[36])=1
SetSpritePosition ( sprites[36],originalX#, originalY# )
endif
endif
Next i
For i = 23 to 28
if GetSpriteCollision(Sprites[36],Sprites[i])
if getspritedepth (Sprites[36])=1
SetSpritePosition ( sprites[36],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 49
if GetSpriteCollision(Sprites[36],Sprites[i])
if getspritedepth (Sprites[36])=1
SetSpritePosition ( sprites[36],originalX#, originalY# )
endif
endif
Next i
For i = 51 to 63
if GetSpriteCollision(Sprites[36],Sprites[i])
if getspritedepth (Sprites[36])=1
SetSpritePosition ( sprites[36],originalX#, originalY# )
endif
endif
Next i
For i =65 to 70
if GetSpriteCollision(Sprites[36],Sprites[i])
if getspritedepth (Sprites[36])=1
SetSpritePosition ( sprites[36],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 8
if GetSpriteCollision(Sprites[37],Sprites[i])
if getspritedepth (Sprites[37])=1
SetSpritePosition ( sprites[37],originalX#, originalY# )
endif
endif
Next i
For i = 10 to 22
if GetSpriteCollision(Sprites[37],Sprites[i])
if getspritedepth (Sprites[37])=1
SetSpritePosition ( sprites[37],originalX#, originalY# )
endif
endif
Next i
For i = 24 to 28
if GetSpriteCollision(Sprites[37],Sprites[i])
if getspritedepth (Sprites[37])=1
SetSpritePosition ( sprites[37],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 50
if GetSpriteCollision(Sprites[37],Sprites[i])
if getspritedepth (Sprites[37])=1
SetSpritePosition ( sprites[37],originalX#, originalY# )
endif
endif
Next i
For i = 52 to 64
if GetSpriteCollision(Sprites[37],Sprites[i])
if getspritedepth (Sprites[37])=1
SetSpritePosition ( sprites[37],originalX#, originalY# )
endif
endif
Next i
For i = 66 to 70
if GetSpriteCollision(Sprites[37],Sprites[i])
if getspritedepth (Sprites[37])=1
SetSpritePosition ( sprites[37],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 9
if GetSpriteCollision(Sprites[38],Sprites[i])
if getspritedepth (Sprites[38])=1
SetSpritePosition ( sprites[38],originalX#, originalY# )
endif
endif
Next i
For i = 11 to 23
if GetSpriteCollision(Sprites[38],Sprites[i])
if getspritedepth (Sprites[38])=1
SetSpritePosition ( sprites[38],originalX#, originalY# )
endif
endif
Next i
For i = 25 to 27
if GetSpriteCollision(Sprites[38],Sprites[i])
if getspritedepth (Sprites[38])=1
SetSpritePosition ( sprites[38],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 51
if GetSpriteCollision(Sprites[38],Sprites[i])
if getspritedepth (Sprites[38])=1
SetSpritePosition ( sprites[38],originalX#, originalY# )
endif
endif
Next i
For i = 53 to 65
if GetSpriteCollision(Sprites[38],Sprites[i])
if getspritedepth (Sprites[38])=1
SetSpritePosition ( sprites[38],originalX#, originalY# )
endif
endif
Next i
For i = 67 to 70
if GetSpriteCollision(Sprites[38],Sprites[i])
if getspritedepth (Sprites[38])=1
SetSpritePosition ( sprites[38],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 10
if GetSpriteCollision(Sprites[39],Sprites[i])
if getspritedepth (Sprites[39])=1
SetSpritePosition ( sprites[39],originalX#, originalY# )
endif
endif
Next i
For i = 12 to 24
if GetSpriteCollision(Sprites[39],Sprites[i])
if getspritedepth (Sprites[39])=1
SetSpritePosition ( sprites[39],originalX#, originalY# )
endif
endif
Next i
For i = 26 to 28
if GetSpriteCollision(Sprites[39],Sprites[i])
if getspritedepth (Sprites[39])=1
SetSpritePosition ( sprites[39],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 52
if GetSpriteCollision(Sprites[39],Sprites[i])
if getspritedepth (Sprites[39])=1
SetSpritePosition ( sprites[39],originalX#, originalY# )
endif
endif
Next i
For i = 54 to 66
if GetSpriteCollision(Sprites[39],Sprites[i])
if getspritedepth (Sprites[39])=1
SetSpritePosition ( sprites[39],originalX#, originalY# )
endif
endif
Next i
For i = 68 to 70
if GetSpriteCollision(Sprites[39],Sprites[i])
if getspritedepth (Sprites[39])=1
SetSpritePosition ( sprites[39],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 11
if GetSpriteCollision(Sprites[40],Sprites[i])
if getspritedepth (Sprites[40])=1
SetSpritePosition ( sprites[40],originalX#, originalY# )
endif
endif
Next i
For i = 13 to 25
if GetSpriteCollision(Sprites[40],Sprites[i])
if getspritedepth (Sprites[40])=1
SetSpritePosition ( sprites[40],originalX#, originalY# )
endif
endif
Next i
For i = 27 to 28
if GetSpriteCollision(Sprites[40],Sprites[i])
if getspritedepth (Sprites[40])=1
SetSpritePosition ( sprites[40],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 53
if GetSpriteCollision(Sprites[40],Sprites[i])
if getspritedepth (Sprites[40])=1
SetSpritePosition ( sprites[40],originalX#, originalY# )
endif
endif
Next i
For i = 55 to 67
if GetSpriteCollision(Sprites[40],Sprites[i])
if getspritedepth (Sprites[40])=1
SetSpritePosition ( sprites[40],originalX#, originalY# )
endif
endif
Next i
For i = 69 to 70
if GetSpriteCollision(Sprites[40],Sprites[i])
if getspritedepth (Sprites[40])=1
SetSpritePosition ( sprites[40],originalX#, originalY# )
endif
endif
Next i
For i = 1 to 12
if GetSpriteCollision(Sprites[41],Sprites[i])
if getspritedepth (Sprites[41])=1
SetSpritePosition ( sprites[41],originalX#, originalY# )
endif
endif
Next i
For i = 14 to 26
if GetSpriteCollision(Sprites[41],Sprites[i])
if getspritedepth (Sprites[41])=1
SetSpritePosition ( sprites[41],originalX#, originalY# )
endif
endif
Next i
For i = 28 to 28
if GetSpriteCollision(Sprites[41],Sprites[i])
if getspritedepth (Sprites[41])=1
SetSpritePosition ( sprites[41],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 54
if GetSpriteCollision(Sprites[41],Sprites[i])
if getspritedepth (Sprites[41])=1
SetSpritePosition ( sprites[41],originalX#, originalY# )
endif
endif
Next i
For i = 56 to 68
if GetSpriteCollision(Sprites[41],Sprites[i])
if getspritedepth (Sprites[41])=1
SetSpritePosition ( sprites[41],originalX#, originalY# )
endif
endif
Next i
if GetSpriteCollision(Sprites[41],Sprites[70])
if getspritedepth (Sprites[41])=1
SetSpritePosition ( sprites[41],originalX#, originalY# )
endif
endif
For i = 1 to 13
if GetSpriteCollision(Sprites[42],Sprites[i])
if getspritedepth (Sprites[42])=1
SetSpritePosition ( sprites[42],originalX#, originalY# )
endif
endif
Next i
For i = 15 to 27
if GetSpriteCollision(Sprites[42],Sprites[i])
if getspritedepth (Sprites[42])=1
SetSpritePosition ( sprites[42],originalX#, originalY# )
endif
endif
Next i
For i = 43 to 55
if GetSpriteCollision(Sprites[42],Sprites[i])
if getspritedepth (Sprites[42])=1
SetSpritePosition ( sprites[42],originalX#, originalY# )
endif
endif
Next i
For i = 57 to 69
if GetSpriteCollision(Sprites[42],Sprites[i])
if getspritedepth (Sprites[42])=1
SetSpritePosition ( sprites[42],originalX#, originalY# )
endif
endif
Next i
Sync()
loop
kirtnicholls