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

  1. if(_Y < floor)
  2. {
  3.    _X = _X + speed * direct + _root.movevar;
  4.    _Y = _Y + 5;
  5.    gotoAndPlay(_currentframe - 1);
  6. }
  7. else if(titan eq "false")
  8. {
  9.    gotoAndStop("explode");
  10.    play();
  11. }
  12. else
  13. {
  14.    gotoAndStop("explode2");
  15.    play();
  16. }
  17.