home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gflag1
- puppetSound(3, 156)
- preLoadCast(111, 115)
- preLoadCast(67)
- preLoadCast(69, 70)
- preLoadCast(116)
- set gflag1 to 110
- repeat while gflag1 <> 116
- if the timer > 5 then
- moveh7()
- end if
- if the mouseDown then
- exith()
- end if
- end repeat
- repeat while soundBusy(3)
- if the timer > 5 then
- moveh7()
- end if
- if the mouseDown then
- exith()
- end if
- end repeat
- unLoadCast(111, 115)
- unLoadCast(67)
- unLoadCast(69, 70)
- unLoadCast(116)
- end
-
- on moveh7
- global gtime1, gflag1
- if gtime1 = 24 then
- set gtime1 to 1
- else
- set gtime1 to gtime1 + 1
- end if
- if (gtime1 mod 12) = 0 then
- curh()
- end if
- if (gflag1 <> 116) and ((gtime1 mod 2) = 0) then
- intoh()
- end if
- updateStage()
- startTimer()
- end
-
- on intoh
- global gflag1
- set gflag1 to gflag1 + 1
- set the memberNum of sprite 6 to gflag1
- set the memberNum of sprite 7 to getAt([85, 67, 69, 70, 117, 116], gflag1 - 110)
- end
-