home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / megaman_polarity.swf / scripts / frame_145 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  477 b   |  39 lines

  1. stopAllSounds();
  2. score = 0;
  3. removeall = 0;
  4. if(bug == 1)
  5. {
  6.    gotoAndPlay(8455);
  7. }
  8. else if(lives < 0)
  9. {
  10.    gotoAndPlay(8000);
  11. }
  12. else if(checkpoint == 5)
  13. {
  14.    gotoAndPlay(5147);
  15. }
  16. else if(checkpoint == 4)
  17. {
  18.    gotoAndPlay(4338);
  19. }
  20. else if(checkpoint == 3)
  21. {
  22.    if(sabotage == 1)
  23.    {
  24.       gotoAndPlay(3660);
  25.    }
  26.    else
  27.    {
  28.       gotoAndPlay(3529);
  29.    }
  30. }
  31. else if(checkpoint == 2)
  32. {
  33.    gotoAndPlay(2913);
  34. }
  35. else
  36. {
  37.    gotoAndPlay(1789);
  38. }
  39.