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

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