home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / sneak_attack.swf / scripts / DefineSprite_221 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  398 b   |  9 lines

  1. if(_parent._x < -200)
  2. {
  3.    _parent.gotoAndStop(_parent._currentFrame + 7);
  4. }
  5. if(_root.synj._y - 100 < _parent._y && _parent._y < _root.synj._y + 150 && (_root.synj._x < _parent._x && _parent._x < _root.synj._x + 350 && 0 < _root.synj._xscale || _parent._x < _root.synj._x && _parent._x < _root.synj._x - 350 && _root.synj._xscale < 0) && _root.synj.dodamage == true)
  6. {
  7.    _parent.play();
  8. }
  9.