home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / roam-and-protect.swf / scripts / DefineSprite_378 / frame_21 / DoAction.as
Encoding:
Text File  |  2005-09-29  |  397 b   |  22 lines

  1. _root.lives -= 1;
  2. if(_root.lives < 1)
  3. {
  4.    _root.dead = "true";
  5.    stop();
  6. }
  7. else
  8. {
  9.    _alpha = 35;
  10.    hits = 20;
  11.    blinkcnt = 0;
  12.    blink = "true";
  13.    _root.field1.field.gotoAndPlay(1);
  14.    _root.field1.percent.gotoAndPlay(1);
  15.    _root.collide = "true";
  16.    direct = 1;
  17.    _name = "chopper";
  18.    _root.scanner.targbox.myguy._visible = 1;
  19.    gotoAndStop("return");
  20.    play();
  21. }
  22.