home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gLSCORE, gLSCORE2
- set the volume of sound 1 to 255
- set gLSCORE2 to gLSCORE
- if gLSCORE > 5 then
- set gLSCORE2 to 5
- end if
- if 5 > (10 + gLSCORE) then
- set gLSCORE2 to -5
- end if
- puppetSprite(14, 1)
- set the castNum of sprite 14 to 139 + gLSCORE2
- CLEANUP([2, 3, 4, 5, 45, 46, 47])
- updateStage()
- end
-