home *** CD-ROM | disk | FTP | other *** search
- on MGIStarTurn
- global MGIRotateRCounter, MGIStoneyCounter, MGISTONEON
- if the castNum of sprite 7 <> the number of member "endStar" then
- set the castNum of sprite 7 to the castNum of sprite 7 + 1
- updateStage()
- else
- set the castNum of sprite 7 to the number of member "StartStar"
- updateStage()
- end if
- if the castNum of sprite 8 <> the number of member "StartStar" then
- set the castNum of sprite 8 to the castNum of sprite 8 - 1
- updateStage()
- else
- set the castNum of sprite 8 to the number of member "endStar"
- updateStage()
- end if
- case MGIRotateRCounter of
- 1:
- if the castNum of sprite 9 <> the number of member "EndR" then
- set the castNum of sprite 9 to the castNum of sprite 9 + 1
- updateStage()
- else
- set the castNum of sprite 9 to the number of member "StartR"
- updateStage()
- end if
- set MGIRotateRCounter to 0
- end case
- set MGIRotateRCounter to 1 + MGIRotateRCounter
- if MGISTONEON = 1 then
- if the locH of sprite 12 < 870 then
- set the locH of sprite 12 to the locH of sprite 12 + 2
- updateStage()
- else
- set the locH of sprite 12 to -292
- updateStage()
- end if
- end if
- end
-