home *** CD-ROM | disk | FTP | other *** search
- this._x += dx;
- dx += ddx;
- if(dx * ddx > top_speed)
- {
- ddx = - ddx;
- }
- this._rotation = _parent.get_rotation(this,_parent.player);
- if(!gun_delay)
- {
- _parent.boss_helper._x = this._x;
- _parent.boss_helper._y = this._y;
- _parent.boss_helper._rotation = this._rotation;
- _root.shot_sfx.start();
- }
- gun_delay++;
- gun_delay %= 64;
- if(hp > 0)
- {
- prevFrame();
- play();
- }
-