home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_1215 / DoAction.as
Encoding:
Text File  |  2008-09-12  |  310 b   |  18 lines

  1. trace("TransMuertes:");
  2. trace("checkpoint: " + checkpoint);
  3. trace("duh: " + duh);
  4. trace("checkpoint-duh: " + String(checkpoint - duh));
  5. stopAllSounds();
  6. lives--;
  7. currentdamage = 0;
  8. reveal = true;
  9. died = true;
  10. if(lives >= 0)
  11. {
  12.    _root.gotoAndStop(checkpoint);
  13. }
  14. else
  15. {
  16.    gotoAndPlay(5251);
  17. }
  18.