home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / reflux.exe / MASTER8.DXR / 00240_81spot.ls < prev    next >
Encoding:
Text File  |  1995-06-02  |  1.3 KB  |  38 lines

  1. on mouseUp
  2.   global gPerspective, s60, s40, 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("81FRANK.WAV", 21, "81AF.BMP", 5, s60, EMPTY)
  7.     delay(80)
  8.     animate(EMPTY, 21, "81AF.BMP", -5, s60, EMPTY)
  9.     puppetSprite(21, 0)
  10.     set the visible of sprite 21 to 0
  11.   end if
  12.   if gPerspective = 2 then
  13.     set the visible of sprite 22 to 1
  14.     animate("81ID.WAV", 22, "81ID01.BMP", 4, s40, EMPTY)
  15.     animate(EMPTY, 22, "81ID01.BMP", -4, s40, EMPTY)
  16.     animate(EMPTY, 22, "81ID01.BMP", 4, s5, EMPTY)
  17.     animate(EMPTY, 22, "81ID01.BMP", 4, s5, EMPTY)
  18.     animate(EMPTY, 22, "81ID01.BMP", 4, s40, EMPTY)
  19.     animate(EMPTY, 22, "81ID01.BMP", -4, s40, EMPTY)
  20.     animate(EMPTY, 22, "81ID01.BMP", 4, s5, EMPTY)
  21.     animate(EMPTY, 22, "81ID01.BMP", 4, s5, EMPTY)
  22.     animate(EMPTY, 22, "81ID01.BMP", 4, s40, EMPTY)
  23.     animate(EMPTY, 22, "81ID01.BMP", -4, s40, EMPTY)
  24.     animate(EMPTY, 22, "81ID01.BMP", 4, s5, EMPTY)
  25.     animate(EMPTY, 22, "81ID01.BMP", 4, s5, EMPTY)
  26.     puppetSprite(22, 0)
  27.     set the visible of sprite 22 to 0
  28.   end if
  29.   if gPerspective = 3 then
  30.     set the visible of sprite 23 to 1
  31.     animate("81ROARK.WAV", 23, "81R00.BMP", 4, s60, EMPTY)
  32.     delay(90)
  33.     puppetSprite(23, 0)
  34.     set the visible of sprite 23 to 0
  35.   end if
  36.   set the visible of sprite 24 to 1
  37. end
  38.