home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master4.dxr / 00343_4-5spot.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  908 b   |  31 lines

  1. on mouseUp
  2.   global gPerspective, s60, s40
  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("DRIP.WAV", 21, "4-3F01.BMP", 6, s40, 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("ZAP.WAV", 22, "4-3I01.BMP", 6, s60, EMPTY)
  13.     delay(10)
  14.     animate(EMPTY, 22, "4-3I01.BMP", 6, s60, EMPTY)
  15.     delay(10)
  16.     animate(EMPTY, 22, "4-3I01.BMP", 6, s60, EMPTY)
  17.     delay(10)
  18.     animate(EMPTY, 22, "4-3I01.BMP", 6, s60, EMPTY)
  19.     puppetSprite(22, 0)
  20.     set the visible of sprite 22 to 0
  21.   end if
  22.   if gPerspective = 3 then
  23.     set the visible of sprite 23 to 1
  24.     animate("GOO.WAV", 23, "4-3R01.BMP", 6, s60, EMPTY)
  25.     delay(60)
  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.