home *** CD-ROM | disk | FTP | other *** search
- on flashon
- global flasha, flashb
- puppetSprite(clickOn(), 1)
- set the castNum of sprite 29 to the number of cast "RB"
- updateStage()
- end
-
- on flashoff
- global flasha, flashb
- set the castNum of sprite clickOn() to the number of cast flasha
- updateStage()
- puppetSprite(clickOn(), 1)
- end
-
- on wait n
- set startticks to the timer
- set nowticks to the timer
- set waitticks to nowticks - startticks
- repeat while waitticks < n
- set nowticks to the timer
- set waitticks to nowticks - startticks
- end repeat
- end
-