home *** CD-ROM | disk | FTP | other *** search
/ Blender Volume 3 #4 / Blender_3_4.iso / BLENDER / FILES / GAMEREV.DIR / 00110.ls < prev    next >
Encoding:
Text File  |  1997-01-01  |  719 b   |  34 lines

  1. on exitFrame
  2.   global n
  3.   repeat with n = 33 down to 32
  4.     if rollOver(n) then
  5.       puppetSprite(n, 1)
  6.       set the ink of sprite n to 3
  7.     else
  8.       puppetSprite(n, 0)
  9.     end if
  10.     if random(100) > 98 then
  11.       puppetSprite(n, 1)
  12.       set the ink of sprite n to 3
  13.     end if
  14.   end repeat
  15.   repeat with n = 14 down to 10
  16.     if rollOver(n) then
  17.       puppetSprite(n, 1)
  18.       set the ink of sprite n to 3
  19.       next repeat
  20.     end if
  21.     puppetSprite(n, 0)
  22.   end repeat
  23.   repeat with n = 5 down to 3
  24.     if rollOver(n) then
  25.       set the visible of sprite n to 1
  26.       next repeat
  27.     end if
  28.     set the visible of sprite n to 0
  29.   end repeat
  30.   SHAREBUTTON([45, 46, 47, 48])
  31.   go(the frame)
  32.   updateStage()
  33. end
  34.