home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master11.dxr / 00352_4SPOT.ls < prev    next >
Encoding:
Text File  |  1995-06-02  |  852 b   |  27 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("11F2RUN1.WAV", 21, "11-12F01.BMP", 7, s40, EMPTY)
  7.     animate(EMPTY, 21, "11-12F01.BMP", 7, s20, EMPTY)
  8.     animate(EMPTY, 21, "11-12F01.BMP", 7, s5, EMPTY)
  9.     puppetSound(0)
  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("11I2HUM2.WAV", 22, "11-12I01.BMP", 12, s5, 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("11R2CHIM.WAV", 23, "11-12R01.BMP", 15, 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.