home *** CD-ROM | disk | FTP | other *** search
- on countt
- global gtime1, gland, gnum1
- if gtime1 = 24 then
- set gtime1 to 1
- else
- set gtime1 to gtime1 + 1
- end if
- if (gtime1 mod 2) = 0 then
- curh()
- end if
- moveh3()
- startTimer()
- end
-
- on curh
- global gwlist1
- setAt(gwlist1, 1, getAt(gwlist1, 1) * -1)
- if getAt(gwlist1, 1) = 1 then
- cursor([7, 8])
- else
- cursor([9, 10])
- end if
- end
-
- on moveh3
- global gtime1, gwlist1, gnum1
- kumoh(2)
- if (gtime1 mod 2) = 0 then
- kumoh(3)
- end if
- if (gtime1 mod 3) = 0 then
- kumoh(4)
- end if
- if (gtime1 mod 3) = 0 then
- set gnum1 to gnum1 + 1
- end if
- set num to getAt(gwlist1, 5)
- if num = 35 then
- set num to 1
- else
- set num to num + 1
- end if
- setAt(gwlist1, 5, num)
- if num < 30 then
- set the locH of sprite 6 to 322 - (num * 15)
- end if
- end
-
- on kumoh pos
- global gwlist1
- set num to getAt(gwlist1, pos)
- if num = 8 then
- set num to 1
- else
- set num to num + 1
- end if
- setAt(gwlist1, pos, num)
- if num > 5 then
- set num to num - ((num - 5) * 2)
- end if
- set the locV of sprite (pos + 1) to 237 + (1 * num)
- end
-