home *** CD-ROM | disk | FTP | other *** search
/ Reflux 1: The Becoming / Reflux.iso / master1.dxr / 00084_fanim.1.ls < prev    next >
Encoding:
Text File  |  1995-05-01  |  814 b   |  25 lines

  1. on mouseUp
  2.   global gPerspective, s15, s10, s20
  3.   if gPerspective = 2 then
  4.     puppetSound("wirfst.wav")
  5.     repeat with Reps = 2 down to 1
  6.       animate(EMPTY, 24, "vect6.bmp", -6, s20, EMPTY)
  7.       animate(EMPTY, 24, "vect6.bmp", 6, s15, EMPTY)
  8.     end repeat
  9.     set the castNum of sprite 24 to the number of cast "fanim.1"
  10.     updateStage()
  11.   end if
  12.   if gPerspective = 3 then
  13.     animate("shakabra.wav", 24, "shaka5.bmp", -5, s20, EMPTY)
  14.     animate(EMPTY, 24, "shaka5.bmp", 3, s15, EMPTY)
  15.     animate(EMPTY, 24, "shaka5.bmp", -3, s15, EMPTY)
  16.     animate(EMPTY, 24, "shaka5.bmp", 5, s20, "fanim.1")
  17.   end if
  18.   if gPerspective = 1 then
  19.     animate("crunchb.wav", 24, "fist6.bmp", -5, s10, EMPTY)
  20.     animate(EMPTY, 24, "fist6.bmp", 5, s10, "fanim.1")
  21.     puppetSprite(24, 0)
  22.   end if
  23.   puppetSprite(24, 0)
  24. end
  25.