home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if not soundBusy(2) then
- endsubh()
- end if
- if the timer > 5 then
- countt()
- end if
- go(the frame)
- end
-
- on countt
- global gtime1, gland
- if gtime1 = 24 then
- set gtime1 to 1
- else
- set gtime1 to gtime1 + 1
- end if
- if (gtime1 mod 2) = 0 then
- curh()
- airthh()
- end if
- do("moveH" & string(gland))
- startTimer()
- end
-
- on curh
- global gwlist1
- setAt(gwlist1, 1, getAt(gwlist1, 1) * -1)
- if getAt(gwlist1, 1) = 1 then
- cursor([3, 4])
- else
- cursor([5, 6])
- end if
- end
-
- on airthh
- global gwlist1
- if getAt(gwlist1, 2) = 6 then
- setAt(gwlist1, 2, 1)
- else
- setAt(gwlist1, 2, getAt(gwlist1, 2) + 1)
- end if
- set the memberNum of sprite 15 to 140 + getAt(gwlist1, 2)
- end
-