home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gflag1
- preLoadCast(65, 70)
- set gflag1 to 1
- repeat while gflag1 <> 15
- if the timer > 5 then
- moveh4()
- end if
- if the mouseDown then
- exith()
- end if
- end repeat
- unLoadCast(65, 70)
- end
-
- on moveh4
- 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
- norih()
- updateStage()
- startTimer()
- end
-
- on norih
- global gflag1
- set gflag1 to gflag1 + 1
- if (gflag1 mod 2) = 0 then
- set the locH of sprite 3 to getAt([79, 267, 435, 540, 407, 415, 243], gflag1 / 2)
- set the locV of sprite 3 to getAt([135, 80, 77, 142, 154, 194, 141], gflag1 / 2)
- else
- set the locH of sprite 3 to getAt([172, 362, 508, 456, 474, 296, 241], gflag1 / 2)
- set the locV of sprite 3 to getAt([93, 67, 88, 140, 226, 154, 161], gflag1 / 2)
- set the memberNum of sprite 3 to (gflag1 / 2) + 63
- end if
- end
-