home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gflag1
- if not soundBusy(3) and (gflag1 > 1) then
- yah()
- end if
- if the timer > 20 then
- cursorh()
- end if
- go(the frame)
- end
-
- on yah
- global gflag1
- if gflag1 = 120 then
- set gflag1 to 1
- else
- set gflag1 to gflag1 + 1
- puppetSound(3, gflag1 + 4)
- set the memberNum of sprite 12 to gflag1
- set the memberNum of sprite 11 to gflag1 + 8
- end if
- end
-
- on cursorh
- global gnum1, gland, gflag1
- if gnum1 = 4 then
- set gnum1 to 1
- else
- set gnum1 to gnum1 + 1
- end if
- if (gflag1 = 1) and (gnum1 = 4) then
- endkickh()
- else
- if gflag1 < 0 then
- set gflag1 to gflag1 + 1
- else
- if gflag1 = 0 then
- set gflag1 to 116
- end if
- end if
- if (gnum1 mod 2) = 0 then
- cursor([7, 8])
- set the memberNum of sprite 5 to (30 * gland) - 6
- else
- cursor([9, 10])
- if (gnum1 mod 4) = 1 then
- set the memberNum of sprite 5 to (30 * gland) - 7
- else
- set the memberNum of sprite 5 to (30 * gland) - 5
- end if
- end if
- startTimer()
- end if
- end
-
- on endkickh
- sound stop 2
- cursor([7, 8])
- go(the frame + 1)
- abort()
- end
-