home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gstg, gmode
- puppetSound(3, 75)
- puppetSprite(19, 1)
- set the locV of sprite 19 to 120
- if (gmode = 23) and (gstg = 5) then
- set the castNum of sprite 19 to 250
- else
- set the castNum of sprite 19 to gmode + 226
- end if
- repeat with n = 20 to 21
- puppetSprite(n, 1)
- if gmode = 20 then
- set the locV of sprite n to 120
- next repeat
- end if
- set the locV of sprite n to 129
- end repeat
- if gstg > 99 then
- set stg to 99
- else
- set stg to gstg
- end if
- set two to stg / 10
- set one to stg - (two * 10)
- if two <> 0 then
- set the castNum of sprite 20 to 261 + two
- end if
- set the castNum of sprite 21 to 261 + one
- puppetTransition(5, 1, 1, 1)
- updateStage()
- if two = 0 then
- set the castNum of sprite 6 to 272
- else
- set the castNum of sprite 6 to 261 + two
- end if
- set the castNum of sprite 7 to 261 + one
- updateStage()
- end
-