home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gDemoRun, gSaveTheSoundEnabled
- if gDemoRun then
- set the soundEnabled to gSaveTheSoundEnabled
- if the soundEnabled then
- puppetSound("martin")
- end if
- end if
- set gDemoRun to 0
- puppetSprite(30, 1)
- if the soundEnabled then
- if the castNum of sprite 30 <> 391 then
- set the castNum of sprite 30 to 391
- end if
- else
- if the castNum of sprite 30 <> 401 then
- set the castNum of sprite 30 to 401
- end if
- end if
- preLoadCast(391, 420)
- preLoad(the frame + 1)
- preLoad(the frame + 16, the frame + 16)
- end
-