home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gnum1, gcount1
- set h to the locH of sprite gnum1 - 29
- set n to 299
- repeat while n < h
- set n to n + 30
- set the locH of sprite 39 to n
- updateStage()
- end repeat
- set the locH of sprite 39 to h + 29
- updateStage()
- if gnum1 > 18 then
- set v to the locV of sprite gnum1 - 45
- set n to 53
- repeat while n < v
- set n to n + 46
- set the locV of sprite 39 to n
- updateStage()
- end repeat
- set the locV of sprite 39 to v + 45
- updateStage()
- end if
- set the castNum of sprite gnum1 to the castNum of sprite 39
- set the castNum of sprite 39 to 176
- set the locH of sprite 39 to 299
- set the locV of sprite 39 to 41
- set the castNum of sprite 13 to 179
- set the locH of sprite 13 to 672
- if gcount1 <> 0 then
- go(#loop)
- else
- endgame()
- go(#next)
- end if
- end
-