home *** CD-ROM | disk | FTP | other *** search
- if(_parent._x < -200)
- {
- _parent.gotoAndStop("nada");
- }
- if(_root.synj._x - 200 < _parent._x && _parent._x < _root.synj._x + 200 && (_root.synj._y - 80 < _parent._y && _parent._y < _root.synj._y + 80) && _root.synj.hurt != true)
- {
- _root.synj_hurt();
- _root.life--;
- }
- if(_root.synj._y - 100 < _parent._y && _parent._y < _root.synj._y + 150 && (_root.synj._x < _parent._x && _parent._x < _root.synj._x + 300 && 0 < _root.synj._xscale || _parent._x < _root.synj._x && _parent._x < _root.synj._x - 300 && _root.synj._xscale < 0) && _root.synj.attack_high != true && _root.synj.dodamage == true)
- {
- _parent.play();
- }
- if(_root.fireball._x - 100 < _parent._x && _parent._x < _root.fireball._x + 100 && (_root.fireball._y - 150 < _parent._y && _parent._y < _root.fireball._y + 150) && _root.fireball._currentFrame == 1)
- {
- _root.fireball.ball.play();
- _parent.play();
- }
-