home *** CD-ROM | disk | FTP | other *** search
- on BLUEWAVE
- global GRIDV, GRIDH, GRIDY, TY, TH, NYC, DT, TURN, N, SOND
- set TY to 0
- set TH to 0
- set N to 0
- repeat while N = 0
- set NYC to random(125)
- if getAt(GRIDV, NYC) = 2 then
- set N to 1
- set TY to getAt(GRIDY, NYC)
- set TH to getAt(GRIDH, NYC)
- end if
- end repeat
- updateStage()
- set DT to 2
- set the locH of sprite 10 to TH
- set the locV of sprite 10 to TY
- repeat with N = 1 to 8
- set the castNum of sprite 10 to 207
- updateStage()
- COUNTTIME()
- set the castNum of sprite 10 to 208
- updateStage()
- COUNTTIME()
- end repeat
- if TURN = 2 then
- set the castNum of sprite 10 to 12
- end if
- if TURN = 1 then
- set the castNum of sprite 10 to 69
- end if
- updateStage()
- REMOVESPRITE()
- end
-