home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / reflux.exe / MASTER11.DXR / 00372_11-2spot.ls < prev    next >
Encoding:
Text File  |  1995-06-02  |  1.3 KB  |  43 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("11F1RACE.WAV", 21, "111F01.BMP", 5, s60, EMPTY)
  7.     delay(180)
  8.     animate(EMPTY, 21, "111F01.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("11I1JET.WAV", 22, "111I01.BMP", 4, s40, EMPTY)
  15.     delay(30)
  16.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  17.     delay(30)
  18.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  19.     delay(30)
  20.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  21.     delay(30)
  22.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  23.     delay(30)
  24.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  25.     delay(30)
  26.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  27.     delay(30)
  28.     animate(EMPTY, 22, "111I01.BMP", 4, s40, EMPTY)
  29.     delay(30)
  30.     puppetSprite(22, 0)
  31.     set the visible of sprite 22 to 0
  32.   end if
  33.   if gPerspective = 3 then
  34.     set the visible of sprite 23 to 1
  35.     animate("11R1HORS.WAV", 23, "111R01.BMP", 4, s60, EMPTY)
  36.     delay(60)
  37.     animate(EMPTY, 23, "111R01.BMP", -4, s60, EMPTY)
  38.     puppetSprite(23, 0)
  39.     set the visible of sprite 23 to 0
  40.   end if
  41.   set the visible of sprite 24 to 1
  42. end
  43.