home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master7a.dxr / 00337_7A-2SPOT.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  851 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("7A1FRANK.WAV", 21, "7A1F01.BMP", 5, s60, 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("7A1ID.WAV", 22, "7A1I01.BMP", 2, s60, EMPTY)
  13.     delay(30)
  14.     animate(EMPTY, 22, "7A1I03.BMP", 3, s60, EMPTY)
  15.     puppetSprite(22, 0)
  16.     set the visible of sprite 22 to 0
  17.   end if
  18.   if gPerspective = 3 then
  19.     set the visible of sprite 23 to 1
  20.     animate("7A1ROARK.WAV", 23, "7A1RK001.BMP", 10, s60, EMPTY)
  21.     delay(60)
  22.     animate(EMPTY, 23, "7A1RK001.BMP", -10, s60, EMPTY)
  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.