home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master18.dxr / 00346_18-1spot.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  914 b   |  29 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("18F1.WAV", 21, "18-1F001.BMP", 11, s60, EMPTY)
  7.     animate(EMPTY, 21, "18-1F010.BMP", 2, s60, EMPTY)
  8.     animate(EMPTY, 21, "18-1F001.BMP", -11, 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("18I1UPD1.WAV", 22, "18-1I001.BMP", 10, s40, EMPTY)
  15.     delay(30)
  16.     animate(EMPTY, 22, "18-1I001.BMP", -10, s40, EMPTY)
  17.     puppetSprite(22, 0)
  18.     set the visible of sprite 22 to 0
  19.   end if
  20.   if gPerspective = 3 then
  21.     set the visible of sprite 23 to 1
  22.     animate("18R1HORN.WAV", 23, "18-1R001.BMP", 10, s60, EMPTY)
  23.     delay(90)
  24.     puppetSprite(23, 0)
  25.     set the visible of sprite 23 to 0
  26.   end if
  27.   set the visible of sprite 24 to 1
  28. end
  29.