home *** CD-ROM | disk | FTP | other *** search
/ Blender Volume 3 #3 / BLENDER.iso / pc / files / gamerev.dxr / 00085.ls < prev    next >
Encoding:
Text File  |  1997-01-01  |  468 b   |  21 lines

  1. on checkTheRoll
  2.   global n, test
  3.   set test to 0
  4.   repeat with n = 17 down to 16
  5.     if rollOver(n) then
  6.       set the visible of sprite (n + 25) to 1
  7.       next repeat
  8.     end if
  9.     set the visible of sprite (n + 25) to 0
  10.   end repeat
  11.   repeat with n = 36 down to 35
  12.     if the visible of sprite n = 1 then
  13.       set test to test + 1
  14.     end if
  15.   end repeat
  16.   if test > 0 then
  17.     set the visible of sprite 41 to 0
  18.     set the visible of sprite 42 to 0
  19.   end if
  20. end
  21.