home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global cpictblock, lmoveblock, rmoveblock, cmoveblock, lpictblock, rpictblock, leftable, rightable
- set cpictblock to []
- set lmoveblock to 0
- set rmoveblock to 0
- set cmoveblock to 0
- set lpictblock to []
- set rpictblock to []
- repeat with i = 1 to 20
- add(lpictblock, 1)
- add(rpictblock, 1)
- end repeat
- repeat with i = 2 to 41
- puppetSprite(i, 1)
- add(cpictblock, 0)
- end repeat
- set the cursor of sprite 47 to [243, 244]
- repeat with i = 11 to 50
- set r to random(40)
- repeat while getAt(cpictblock, r) > 0
- set r to random(40)
- end repeat
- setAt(cpictblock, r, i)
- end repeat
- set leftable to 0
- set rightable to 0
- puppetSprite(48, 1)
- set the castNum of sprite 48 to 0
- cursor([245, 246])
- go("center_f")
- end
-