home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master17.dxr / 00351_17-1spot.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  797 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("17F1SPLA.WAV", 21, "171F00.BMP", 8, s60, EMPTY)
  7.     puppetSprite(21, 0)
  8.     set the visible of sprite 21 to 0
  9.   end if
  10.   if gPerspective = 2 then
  11.     set the visible of sprite 22 to 1
  12.     animate("17I1.WAV", 22, "171ID00.BMP", 8, s60, EMPTY)
  13.     delay(30)
  14.     animate(EMPTY, 22, "171ID00.BMP", -8, s60, EMPTY)
  15.     puppetSprite(22, 0)
  16.     set the visible of sprite 22 to 0
  17.   end if
  18.   if gPerspective = 3 then
  19.     set the visible of sprite 23 to 1
  20.     animate("17R1ENER.WAV", 23, "171RK001.BMP", 10, s60, EMPTY)
  21.     delay(90)
  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.