home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gflag1
- set gflag1 to 45
- repeat while gflag1 <> 48
- if the timer > 5 then
- moveh3()
- end if
- if the mouseDown then
- exith()
- end if
- end repeat
- end
-
- on moveh3
- global gtime1
- 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 (gtime1 mod 6) = 0 then
- playh()
- end if
- if (gtime1 mod 3) = 0 then
- handh()
- end if
- if (gtime1 mod 2) = 0 then
- eyeh()
- end if
- startTimer()
- updateStage()
- end
-
- on playh
- global gflag1
- set gflag1 to gflag1 + 1
- set the memberNum of sprite 3 to gflag1
- puppetTransition(26, 0.25, 4, 1)
- updateStage()
- end
-
- on handh
- if the locV of sprite 4 = 240 then
- set the locV of sprite 4 to -72
- else
- set the locV of sprite 4 to 240
- end if
- end
-
- on eyeh
- if the locV of sprite 5 = 240 then
- set the locV of sprite 5 to 78
- else
- set the locV of sprite 5 to 240
- end if
- end
-