home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / reflux.exe / MASTER17.DXR / 00350_17-2spot.ls < prev    next >
Encoding:
Text File  |  1995-06-02  |  877 b   |  29 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("17F2HARP.WAV", 21, "17F001.BMP", 10, s60, EMPTY)
  7.     animate(EMPTY, 21, "17F001.BMP", -10, s60, EMPTY)
  8.     puppetSprite(21, 0)
  9.     set the visible of sprite 21 to 0
  10.   end if
  11.   if gPerspective = 2 then
  12.     set the visible of sprite 22 to 1
  13.     animate("17I2PINK.WAV", 22, "172ID001.BMP", 10, s60, EMPTY)
  14.     delay(120)
  15.     animate(EMPTY, 22, "172ID001.BMP", -10, s60, EMPTY)
  16.     puppetSound(0)
  17.     puppetSprite(22, 0)
  18.     set the visible of sprite 22 to 0
  19.   end if
  20.   if gPerspective = 3 then
  21.     set the visible of sprite 23 to 1
  22.     animate("17R2FART.WAV", 23, "172R01.BMP", 1, s60, EMPTY)
  23.     delay(30)
  24.     puppetSprite(23, 0)
  25.     set the visible of sprite 23 to 0
  26.   end if
  27.   set the visible of sprite 24 to 1
  28. end
  29.