home *** CD-ROM | disk | FTP | other *** search
- if(this.in_boss_bullet.hitTest(_parent._parent.Hitbox))
- {
- _parent.removeMovieClip(this);
- }
- this.in_boss_bullet._x += speed;
- var j = 1;
- while(j < 20)
- {
- if(_parent._parent["mball" + j].ishit)
- {
- if(this.hitTest(_parent._parent["mball" + j].hit))
- {
- _parent._parent["mball" + j].play();
- _parent.removeMovieClip(this);
- _parent._parent["mball" + j].ishit = false;
- }
- }
- if(_parent._parent["sball" + j].ishit)
- {
- if(this.hitTest(_parent._parent["sball" + j].hit))
- {
- _parent._parent["sball" + j].play();
- _parent.removeMovieClip(this);
- _parent._parent["sball" + j].ishit = false;
- }
- }
- if(_parent._parent["ssball" + j].ishit)
- {
- if(this.hitTest(_parent._parent["ssball" + j].hit))
- {
- _parent._parent["ssball" + j].play();
- this.removeMovieClip(this);
- _parent._parent["ssball" + j].ishit = false;
- }
- }
- if(_parent._parent["sssball" + j].ishit)
- {
- if(this.hitTest(_parent._parent["sssball" + j].hit))
- {
- _parent._parent["sssball" + j].play();
- _parent.removeMovieClip(this);
- _parent._parent["sssball" + j].ishit = false;
- }
- }
- if(_parent._parent.ball.ishit)
- {
- if(this.hitTest(_parent._parent.ball.hit))
- {
- _parent._parent.ball.play();
- _parent.removeMovieClip(this);
- _parent._parent.ball.ishit = false;
- }
- }
- j++;
- }
-