home *** CD-ROM | disk | FTP | other *** search
/ Blender Volume 2 #3 / Blender_2_3.iso / BLENDER / FILES / PAMHALL.DIR / 00107.ls < prev    next >
Encoding:
Text File  |  1996-04-01  |  691 b   |  31 lines

  1. on checkTheRoll
  2.   global test
  3.   set test to 0
  4.   repeat with n = 18 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 = 28 down to 21
  12.     if rollOver(n) then
  13.       puppetSprite(n, 1)
  14.       set the ink of sprite n to 4
  15.       next repeat
  16.     end if
  17.     set the ink of sprite n to 8
  18.     puppetSprite(n, 0)
  19.   end repeat
  20.   repeat with n = 37 down to 35
  21.     if the visible of sprite n = 1 then
  22.       set test to test + 1
  23.     end if
  24.   end repeat
  25.   if test > 0 then
  26.     repeat with n = 43 down to 41
  27.       set the visible of sprite n to 0
  28.     end repeat
  29.   end if
  30. end
  31.