home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / reflux.exe / MASTER16.DXR / 00347_16-5SPOT.ls < prev    next >
Encoding:
Text File  |  1995-06-02  |  871 b   |  27 lines

  1. on mouseUp
  2.   global gPerspective, s60, s40, s20
  3.   set the visible of sprite 24 to 0
  4.   if gPerspective = 1 then
  5.     set the visible of sprite 21 to 1
  6.     animate("16F2.WAV", 21, "162F01.BMP", 3, s40, EMPTY)
  7.     animate(EMPTY, 21, "162F01.BMP", -3, s40, EMPTY)
  8.     animate(EMPTY, 21, "162F01.BMP", 3, s40, EMPTY)
  9.     animate(EMPTY, 21, "162F01.BMP", -3, s40, EMPTY)
  10.     puppetSprite(21, 0)
  11.     set the visible of sprite 21 to 0
  12.   end if
  13.   if gPerspective = 2 then
  14.     set the visible of sprite 22 to 1
  15.     animate("16I2BUGL.WAV", 22, "GBUG01.BMP", 17, s60, EMPTY)
  16.     puppetSprite(22, 0)
  17.     set the visible of sprite 22 to 0
  18.   end if
  19.   if gPerspective = 3 then
  20.     set the visible of sprite 23 to 1
  21.     animate("16R2TRAP.WAV", 23, "16-2R00.BMP", 6, s60, EMPTY)
  22.     puppetSprite(23, 0)
  23.     set the visible of sprite 23 to 0
  24.   end if
  25.   set the visible of sprite 24 to 1
  26. end
  27.