home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / MetaPloy.swf / scripts / frame_90 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  455 b   |  36 lines

  1. lives -= "1";
  2. addx = "-15";
  3. addx += addspeedx;
  4. setProperty("/add", _X, addx);
  5. enehit = "0";
  6. tellTarget("/liv")
  7. {
  8.    gotoAndStop(eval("/:lives"));
  9. }
  10. if("10" < lives)
  11. {
  12.    tellTarget("/liv")
  13.    {
  14.       gotoAndStop(10);
  15.    }
  16. }
  17. if(lives == "0")
  18. {
  19.    tellTarget("/liv")
  20.    {
  21.       gotoAndStop(12);
  22.    }
  23. }
  24. if(lives < "0")
  25. {
  26.    gotoAndPlay(92);
  27. }
  28. else
  29. {
  30.    tellTarget("/1")
  31.    {
  32.       gotoAndStop(1);
  33.    }
  34.    gotoAndPlay(7);
  35. }
  36.