home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global glTeleSoundList, gsThisFrame, gbTeleAuto
- repeat with i = 1 to 48
- set the puppet of sprite i to 0
- end repeat
- updateStage()
- unLoad()
- set n to count(glTeleSoundList)
- repeat with i = 1 to n
- if gbTeleAuto then
- exit repeat
- end if
- if getAt(glTeleSoundList, i) = gsThisFrame then
- exit
- end if
- end repeat
- set gbSpeaker to 1
- append(glTeleSoundList, gsThisFrame)
- SafeSound(1, char 1 to 7 of gsThisFrame & char length(gsThisFrame) of gsThisFrame)
- end
-