home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global endSection, NextFrame, lastFrame, theTicks
- set f to (the movieTime of sprite 15 / 4) + 20
- set g to (the movieTime of sprite 15 / 4) + 9
- if rollOver(15) or rollOver(14) then
- SetCursor()
- else
- ReleasCursor()
- end if
- if f >= endSection then
- if NextFrame = EMPTY then
- if not (the puppet of sprite 14) then
- set the movieRate of sprite 15 to 0
- set the sound of cast "BodyAll.mov" to 0
- updateStage()
- ButtonsUp()
- puppetSprite(14, 1)
- end if
- set a1 to the castNum of sprite 14
- set a2 to integer(value(1 - word 2 of the name of cast a1))
- set a3 to word 1 of the name of cast a1
- set the castNum of sprite 14 to the number of cast string(a3 && a2)
- updateStage()
- go(the frame)
- else
- ReleasCursor()
- EndDance()
- end if
- else
- go(g)
- end if
- end
-