home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master15.dxr / 00347_15-1spot.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  931 b   |  30 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("15F1GASP.WAV", 21, "151F01.BMP", 2, s60, EMPTY)
  7.     delay(10)
  8.     animate(EMPTY, 21, "151F01.BMP", -2, 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("15I1SIG.WAV", 22, "151ID001.BMP", 5, s40, EMPTY)
  15.     animate(EMPTY, 22, "151ID001.BMP", -5, s40, 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("15R1CAR2.WAV", 23, "151RK001.BMP", 10, s40, EMPTY)
  22.     delay(150)
  23.     animate(EMPTY, 23, "151RK001.BMP", -10, s40, EMPTY)
  24.     puppetSound(0)
  25.     puppetSprite(23, 0)
  26.     set the visible of sprite 23 to 0
  27.   end if
  28.   set the visible of sprite 24 to 1
  29. end
  30.