home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master6.dxr / 00200_6-1spot.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  844 b   |  28 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(EMPTY, 21, "61F00.BMP", 6, s60, EMPTY)
  7.     animate("61FRANK.WAV", 21, "61F00.BMP", -6, 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("61ID.WAV", 22, "61ID001.BMP", 10, s60, EMPTY)
  14.     delay(30)
  15.     animate(EMPTY, 22, "61ID001.BMP", -10, s60, 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("61ROARK.WAV", 23, "61R00.BMP", 5, s60, EMPTY)
  22.     delay(30)
  23.     puppetSprite(23, 0)
  24.     set the visible of sprite 23 to 0
  25.   end if
  26.   set the visible of sprite 24 to 1
  27. end
  28.