home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 31 / PCGAMER31.bin / activis / demos / mw2demo.dir / 00015.ls < prev    next >
Encoding:
Text File  |  1996-01-25  |  1002 b   |  43 lines

  1. global gNext
  2.  
  3. on mouseDown
  4.   sound stop 2
  5.   puppetSound("More Buttons")
  6.   puppetSprite(4, 1)
  7.   puppetSprite(11, 1)
  8.   unLoad()
  9.   unLoadCast()
  10.   preLoad(77, 101)
  11.   set the castNum of sprite 4 to the number of cast "MOREBON.GIF"
  12.   set the castNum of sprite 11 to 27
  13.   updateStage()
  14.   startTimer()
  15.   repeat while the timer < 15
  16.     nothing()
  17.   end repeat
  18.   set the castNum of sprite 4 to the number of cast "MOREBOFF.GIF"
  19.   set the castNum of sprite 11 to 30
  20.   updateStage()
  21.   startTimer()
  22.   repeat while the timer < 15
  23.     nothing()
  24.   end repeat
  25.   set the castNum of sprite 4 to the number of cast "MOREBON.GIF"
  26.   set the castNum of sprite 11 to 27
  27.   updateStage()
  28.   startTimer()
  29.   repeat while the timer < 15
  30.     nothing()
  31.   end repeat
  32.   set the castNum of sprite 4 to the number of cast "MOREBOFF.GIF"
  33.   set the castNum of sprite 11 to 30
  34.   updateStage()
  35.   puppetSprite(4, 0)
  36.   puppetSprite(11, 0)
  37.   repeat while the timer < 45
  38.     nothing()
  39.   end repeat
  40.   set gNext to "enemies"
  41.   go("more final")
  42. end
  43.