home *** CD-ROM | disk | FTP | other *** search
- on checkTheRoll
- global n, test
- set test to 0
- repeat with n = 17 down to 16
- if rollOver(n) then
- set the visible of sprite (n + 25) to 1
- next repeat
- end if
- set the visible of sprite (n + 25) to 0
- end repeat
- repeat with n = 36 down to 35
- if the visible of sprite n = 1 then
- set test to test + 1
- end if
- end repeat
- if test > 0 then
- set the visible of sprite 41 to 0
- set the visible of sprite 42 to 0
- end if
- end
-