home *** CD-ROM | disk | FTP | other *** search
- if(_root.log._x < _parent._x && _parent._x < _root.log._x + 800)
- {
- _parent._x = _root.log._x + 800;
- }
- if(_parent._x < -80)
- {
- _parent._x = 1000 + random(500);
- }
- if(_root.synj._x - 150 < _parent._x && _parent._x < _root.synj._x + 150 && (_root.synj._y - 80 < _parent._y && _parent._y < _root.synj._y + 80))
- {
- if(_root.synj.hurt != true)
- {
- _root.synj_hurt();
- _root.synj_jump();
- _root.life -= 2;
- }
- _parent.gotoAndStop("explode");
- }
-