home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / pendekar.swf / scripts / DefineSprite_330 / frame_3 / DoAction.as
Text File  |  2006-05-08  |  286b  |  14 lines

  1. if(_parent._parent.isObjectConnect(hit,_parent))
  2. {
  3.    if(_root.sfx)
  4.    {
  5.       _parent._parent.playSFX("light_punch.wav");
  6.    }
  7.    _parent._parent.hitObject(hit,_parent.power,_parent);
  8.    if(_parent.attack)
  9.    {
  10.       attack = true;
  11.       gotoAndPlay(_totalframes);
  12.    }
  13. }
  14.