home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master13.dxr / 00364_13-4spot.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  1.0 KB  |  31 lines

  1. on mouseUp
  2.   global gPerspective, s60, s40, s20, s5
  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("13F2BEAT.WAV", 21, "132F01.BMP", 4, s20, EMPTY)
  7.     animate(EMPTY, 21, "132F01.BMP", -4, s40, EMPTY)
  8.     animate(EMPTY, 21, "132F01.BMP", 4, s20, EMPTY)
  9.     animate(EMPTY, 21, "132F01.BMP", -4, s60, EMPTY)
  10.     puppetSound(0)
  11.     puppetSprite(21, 0)
  12.     set the visible of sprite 21 to 0
  13.   end if
  14.   if gPerspective = 2 then
  15.     set the visible of sprite 22 to 1
  16.     animate("13I2VOC.WAV", 22, "13-2I01.BMP", 10, s40, EMPTY)
  17.     animate(EMPTY, 22, "13-2I01.BMP", -10, s40, EMPTY)
  18.     puppetSprite(22, 0)
  19.     set the visible of sprite 22 to 0
  20.   end if
  21.   if gPerspective = 3 then
  22.     set the visible of sprite 23 to 1
  23.     animate("13R2ROC2.WAV", 23, "13-2001.BMP", 15, s20, EMPTY)
  24.     delay(160)
  25.     animate(EMPTY, 23, "13-2001.BMP", -15, s60, EMPTY)
  26.     puppetSprite(23, 0)
  27.     set the visible of sprite 23 to 0
  28.   end if
  29.   set the visible of sprite 24 to 1
  30. end
  31.