home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / OperationMaus.swf / scripts / DefineSprite_655 / frame_2 / DoAction.as
Encoding:
Text File  |  2005-08-08  |  418 b   |  13 lines

  1. shotCount++;
  2. depth = shotCount % 100 + 100;
  3. _root.attachMovie("lazeruntenlinks","sparo" + shotCount,depth);
  4. _root["sparo" + shotCount]._x = _root.player._x + (_width + 12);
  5. _root["sparo" + shotCount]._y = _root.player._y;
  6. _root["sparo" + shotCount]._y -= -20;
  7. _root["sparo" + shotCount]._x -= 5;
  8. _root.player.player2.player3.fire.play();
  9. if(_root.board.ammunition >= 1)
  10. {
  11.    _root.board.ammunition -= 1;
  12. }
  13.