home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gbAnimFinished, gbTeleAuto, glThisLevel, gnThisFrame
- if the mouseDown then
- if gbTeleAuto then
- EndAutoSequence()
- go(the frame)
- exit
- end if
- if gnThisFrame = count(glThisLevel) then
- GoFrame(getAt(glThisLevel, 1))
- else
- GoFrame(getAt(glThisLevel, gnThisFrame + 1))
- end if
- end if
- set gbAnimFinished to 1
- CheckTeleTime()
- cursor(0)
- go(the frame)
- end
-