home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global DR, TEMDR, HEAD, SOLUTION, TEMBUTGRID, BUTGRID, PUZZ, SOL, SOLCNT, SOLUTIONFLAG, OPT
- set OPT to 0
- set SOL to EMPTY
- set SOLCNT to 0
- set SOLUTION to EMPTY
- set TEMBUTGRID to 0
- set BUTGRID to 0
- set TEMDR to 0
- set DR to 0
- puppetSprite(8, 1)
- set the locH of sprite 8 to -2000
- set the locV of sprite 8 to -2000
- puppetSprite(12, 1)
- set the locH of sprite 12 to -2000
- set the locV of sprite 12 to -2000
- puppetSprite(9, 1)
- set the locH of sprite 9 to -2000
- set the locV of sprite 9 to -2000
- puppetSprite(10, 1)
- set the trails of sprite 10 to 1
- set the locH of sprite 10 to -2000
- set the locV of sprite 10 to -2000
- puppetSprite(30, 1)
- set the locH of sprite 30 to -2000
- set the locV of sprite 30 to -2000
- updateStage()
- puppetSprite(11, 1)
- set the trails of sprite 10 to 1
- set the locH of sprite 10 to -2000
- set the locV of sprite 10 to -2000
- set the castNum of sprite 11 to 102
- if (PUZZ = 1) or (PUZZ = 4) or (PUZZ = 7) or (PUZZ = 11) or (PUZZ = 15) or (PUZZ = 18) or (PUZZ = 21) or (PUZZ = 25) then
- set the castNum of sprite 11 to 100
- end if
- if (PUZZ = 2) or (PUZZ = 3) or (PUZZ = 6) or (PUZZ = 10) or (PUZZ = 14) or (PUZZ = 17) or (PUZZ = 20) or (PUZZ = 24) then
- set the castNum of sprite 11 to 101
- end if
- set the keyUpScript to "eempty"
- GETFLOOR()
- if SOLUTIONFLAG = 0 then
- set the keyUpScript to "GETDIR"
- else
- set the keyUpScript to EMPTY
- end if
- set the trails of sprite 10 to 0
- set the trails of sprite 11 to 0
- set the trails of sprite 12 to 0
- end
-