home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gStr
- checkTheRoll()
- set flag to 0
- repeat with n = 6 down to 3
- if char n - 2 of gStr = "0" then
- set flag to 1
- if rollOver(n) then
- set the visible of sprite (n + 4) to 1
- next repeat
- end if
- set the visible of sprite (n + 4) to 0
- end if
- end repeat
- if not flag then
- go("PLAY")
- end if
- go(the frame)
- updateStage()
- end
-