home *** CD-ROM | disk | FTP | other *** search
- on regulargraphics
- global MainRegularGraphic, MainRegularGraphicList, MainRegularGraphicCount, MainLastUpdate
- if the timer > (MainLastUpdate + 50) then
- if MainRegularGraphicCount = count(MainRegularGraphicList) then
- set MainRegularGraphicCount to 1
- set the member of sprite MainRegularGraphic to getAt(MainRegularGraphicList, MainRegularGraphicCount)
- updateStage()
- else
- set MainRegularGraphicCount to MainRegularGraphicCount + 1
- set the member of sprite MainRegularGraphic to getAt(MainRegularGraphicList, MainRegularGraphicCount)
- updateStage()
- end if
- set MainLastUpdate to the timer
- end if
- end
-