home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gflag1
- set gflag1 to 33
- repeat while gflag1 <> 37
- if the timer > 5 then
- moveh2()
- end if
- if the mouseDown then
- exith()
- end if
- end repeat
- end
-
- on moveh2
- 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 3) = 0 then
- handh()
- end if
- if (gtime1 mod 6) = 0 then
- pasoh()
- end if
- updateStage()
- startTimer()
- end
-
- on handh
- if the locH of sprite 3 = -22 then
- set the locH of sprite 3 to 132
- else
- set the locH of sprite 3 to -22
- end if
- end
-
- on pasoh
- global gflag1
- set gflag1 to gflag1 + 1
- set the memberNum of sprite 2 to gflag1
- end
-