Frame 1
stop();
_quality = "High";
Instance of Symbol 43 MovieClip "main" in Frame 1
onClipEvent (enterFrame) {
_root.NME = this.startgame.capn;
}
Frame 2
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 3
stop();
_quality = "High";
Frame 4
stop();
Instance of Symbol 91 MovieClip "fireburst" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 0;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst._visible = false;
_root.fireburst.gotoAndStop(70);
removeMovieClip(_root.fireburst);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst2" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 90;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst2._visible = false;
_root.fireburst2.gotoAndStop(70);
removeMovieClip(_root.fireburst2);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst3" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 180;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst3._visible = false;
_root.fireburst3.gotoAndStop(70);
removeMovieClip(_root.fireburst3);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst4" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 270;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst4._visible = false;
_root.fireburst4.gotoAndStop(70);
removeMovieClip(_root.fireburst4);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 124 MovieClip "bomb" in Frame 4
onClipEvent (load) {
_x = (_root.player._x - (40 * Math.cos(_root.player._rotation * (Math.PI/180))));
_y = (_root.player._y - (40 * Math.sin(_root.player._rotation * (Math.PI/180))));
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
dead = false;
_root.superB = true;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
if (timer < 70) {
_root.BX = _x;
_root.BY = _y;
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 8;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 8;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 8;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 8;
}
if (_root.enemy.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X + 8;
}
if (_root.enemy.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X - 8;
}
if (_root.enemy.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y - 8;
}
if (_root.enemy.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y + 8;
}
if (_root.enemy2.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X + 8;
}
if (_root.enemy2.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X - 8;
}
if (_root.enemy2.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y - 8;
}
if (_root.enemy2.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y + 8;
}
if (_root.enemy3.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X + 8;
}
if (_root.enemy3.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X - 8;
}
if (_root.enemy3.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y - 8;
}
if (_root.enemy3.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y + 8;
}
if (_root.enemy4.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X + 8;
}
if (_root.enemy4.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X - 8;
}
if (_root.enemy4.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y - 8;
}
if (_root.enemy4.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y + 8;
}
if (_root.enemy6.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X + 8;
}
if (_root.enemy6.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X - 8;
}
if (_root.enemy6.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y - 8;
}
if (_root.enemy6.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y + 8;
}
if (_root.enemy5.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X + 8;
}
if (_root.enemy5.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X - 8;
}
if (_root.enemy5.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y - 8;
}
if (_root.enemy5.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y + 8;
}
if (_root.enemy7.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X + 8;
}
if (_root.enemy7.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X - 8;
}
if (_root.enemy7.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y - 8;
}
if (_root.enemy7.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y + 8;
}
if (_root.enemy8.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X + 8;
}
if (_root.enemy8.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X - 8;
}
if (_root.enemy8.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y - 8;
}
if (_root.enemy8.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y + 8;
}
if (_root.enemy9.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X + 8;
}
if (_root.enemy9.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X - 8;
}
if (_root.enemy9.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y - 8;
}
if (_root.enemy9.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y + 8;
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
X = X - 5;
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
X = X + 5;
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
Y = Y - 5;
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
Y = Y + 5;
}
if (_root.BG.hitTest(_x - 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY.guard.gotoAndPlay("die");
_root.ENEMY.dead = true;
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY2.dead = true;
_root.ENEMY2.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY3.dead = true;
_root.ENEMY3.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY4.dead = true;
_root.ENEMY4.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY5.dead = true;
_root.ENEMY5.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY6.dead = true;
_root.ENEMY6.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY7.dead = true;
_root.ENEMY7.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY8.dead = true;
_root.ENEMY8.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
_root.bomb._visible = false;
_root.bomb.gotoAndStop(70);
removeMovieClip(_root.bomb);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 136 MovieClip "player" in Frame 4
onClipEvent (load) {
_rotation = 0;
motion = 5;
bomb = false;
this.swapDepths(500);
_root.BG.swapDepths(501);
quo = 1;
_root.lives = 4;
_root.score = 0;
_root.men.swapDepths(13000);
Llimit = 70;
Rlimit = 400;
Ulimit = 140;
Dlimit = 550;
_quality = "Low";
_root.treasure = 0;
sec = 59;
min = 2;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (((key.IsDown(37) && (_x >= Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GL = true;
}
if (((key.IsDown(37) && (_x < Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GL = true;
}
if (((!key.IsDown(37)) && (dead != true)) && (GL == true)) {
this.pirate.gotoAndStop(1);
GL = false;
}
if (((key.IsDown(39) && (_x <= Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GR = true;
}
if (((key.IsDown(39) && (_x > Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GR = true;
}
if (((!key.IsDown(39)) && (dead != true)) && (GR == true)) {
this.pirate.gotoAndStop(1);
GR = false;
}
if ((key.IsDown(38) && (dead != true)) && (!_root.BG.hitTest(_x, _y - 22, true))) {
_rotation = 90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GU = true;
}
if (((!key.IsDown(38)) && (dead != true)) && (GU == true)) {
this.pirate.gotoAndStop(1);
GU = false;
}
if ((key.IsDown(40) && (dead != true)) && (!_root.BG.hitTest(_x, _y + 22, true))) {
_rotation = -90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GD = true;
}
if (((!key.IsDown(40)) && (dead != true)) && (GD == true)) {
this.pirate.gotoAndStop(1);
GD = false;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_x = (_x + 6);
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_x = (_x - 6);
}
if (_root.BG.hitTest(_x, _y - 19, true)) {
_y = (_y + 6);
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_y = (_y - 6);
}
if (key.IsDown(32) && (bomb != true)) {
duplicateMovieClip (_root.bomb, "null" + ele, ele);
bomb = true;
}
if (bomb == true) {
re = re + 1;
}
if (RE > 40) {
bomb = false;
RE = 0;
}
if (ele >= 490) {
ele = 0;
}
if (respawn == true) {
_root.superB = false;
_x = (_x - 5);
RES = RES + 1;
}
if ((((((((res == 4) || (res == 8)) || (res == 16)) || (res == 20)) || (res == 24)) || (res == 28)) || (res == 32)) || (res == 36)) {
_visible = true;
}
if ((((((((res == 1) || (res == 5)) || (res == 9)) || (res == 17)) || (res == 21)) || (res == 29)) || (res == 33)) || (res == 37)) {
_visible = false;
}
if (res >= 38) {
_visible = true;
respawn = false;
res = 0;
}
if (_root.treasure == 1) {
_root.men.treasure.gotoAndStop(2);
}
if (_root.treasure == 2) {
_root.men.treasure2.gotoAndStop(2);
}
if (_root.treasure == 3) {
_root.men.treasure3.gotoAndStop(2);
acc = true;
}
if (sec <= 0) {
min = min - 1;
sec = 59;
}
if (acc != true) {
sec = sec - 0.0416666666666667;
_root.men.second = Math.round(sec);
_root.men.minute = Math.round(min);
}
if (acc == true) {
rat = rat + 1;
}
if ((rat > 0) && (rat < 10)) {
_root.scorecard.play(2);
}
if (dead != true) {
}
if (dead == true) {
}
if ((_x > 350) && (dead == true)) {
_x = (_x - 15);
_root.BG._x = _root.BG._x - 15;
}
if ((_x < 200) && (dead == true)) {
_x = (_x + 5);
_root.BG._x = _root.BG._x + 15;
}
if ((rat > 50) && (_root.score > 0)) {
_root.score = _root.score - 20;
_root.scorecard.score = _root.scorecard.score + 20;
}
if ((rat > 50) && (_root.score <= 0)) {
_root.scorecard.sec = 60 - Math.round(sec);
_root.scorecard.mins = 2 - min;
}
if (((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed < killed)) {
_root.scorecard.killed = _root.scorecard.killed + 1;
_root.scorecard.cont.play();
}
if (((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) && (gublar != true)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
gublar = true;
}
if (_root.score <= 0) {
_root.score = 0;
}
if ((_root.lives < 0) || (min < 0)) {
_root.die.play();
_root.lives = 0;
min = 0;
}
killed = 4 - _root.lives;
_root.men.lives = _root.lives;
_root.men.score = _root.score;
ele = ele + 1;
}
Instance of Symbol 147 MovieClip "barr" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr2" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr4" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr3" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr5" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr6" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = 270;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr7" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr8" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr40" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr37" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr12" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = 270;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr39" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr14" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr15" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr16" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr18" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr19" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr27" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr20" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr22" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr23" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr24" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr26" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr25" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 270;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr36" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = 270;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr28" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr29" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr30" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr31" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr32" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr33" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas2" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas3" in Frame 4
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 158 MovieClip "bonusX3" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = (_root.Bo._x + 6);
_y = (_root.Bo._y + 6);
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX3._visible = false;
removeMovieClip(_root.bonusX3);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy" in Frame 4
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
this.swapDepths(551);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
X = X - 3;
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 90;
X = X + 3;
}
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 0;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 171 MovieClip "BOnusX" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 500;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX._visible = false;
removeMovieClip(_root.bonusX);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 174 MovieClip "bonusX2" in Frame 4
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 100;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX2._visible = false;
removeMovieClip(_root.bonusX2);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy2" in Frame 4
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
this.swapDepths(555);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 90;
X = X - 3;
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
X = X + 3;
}
if (_root.BG.hitTest(_x, _y - 19, true) && (_rotation == 90)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 180;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy5" in Frame 4
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
this.swapDepths(550);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy7" in Frame 4
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
this.swapDepths(558);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
X = X - 3;
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
X = X + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 179 MovieClip "ghost" in Frame 4
onClipEvent (load) {
_x = _root.player._x;
_y = _root.player._y;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
_root.ghost._visible = false;
_root.ghost.gotoAndStop(70);
removeMovieClip(_root.ghost);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 181 MovieClip "tree2" in Frame 4
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10043);
}
onClipEvent (enterFrame) {
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree3" in Frame 4
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10046);
}
onClipEvent (enterFrame) {
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree" in Frame 4
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10042);
}
onClipEvent (enterFrame) {
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree6" in Frame 4
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10047);
}
onClipEvent (enterFrame) {
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree4" in Frame 4
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10049);
}
onClipEvent (enterFrame) {
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree8" in Frame 4
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10050);
}
onClipEvent (enterFrame) {
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 218 MovieClip "scorecard" in Frame 4
onClipEvent (load) {
this.swapDepths(30000);
}
Instance of Symbol 51 MovieClip "setsail" in Frame 4
onClipEvent (load) {
this.swapDepths(12000);
}
Instance of Symbol 255 MovieClip "die" in Frame 4
onClipEvent (load) {
this.swapDepths(40000);
}
Frame 5
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 6
stopAllSounds();
if (_root.Gover == true) {
gotoAndStop (1);
}
Frame 7
stop();
_quality = "High";
Frame 8
stop();
Instance of Symbol 91 MovieClip "fireburst" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 0;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst._visible = false;
_root.fireburst.gotoAndStop(70);
removeMovieClip(_root.fireburst);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst2" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 90;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst2._visible = false;
_root.fireburst2.gotoAndStop(70);
removeMovieClip(_root.fireburst2);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst3" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 180;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst3._visible = false;
_root.fireburst3.gotoAndStop(70);
removeMovieClip(_root.fireburst3);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst4" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 270;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst4._visible = false;
_root.fireburst4.gotoAndStop(70);
removeMovieClip(_root.fireburst4);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 124 MovieClip "bomb" in Frame 8
onClipEvent (load) {
_x = (_root.player._x - (40 * Math.cos(_root.player._rotation * (Math.PI/180))));
_y = (_root.player._y - (40 * Math.sin(_root.player._rotation * (Math.PI/180))));
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
dead = false;
_root.superB = true;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
if (timer < 70) {
_root.BX = _x;
_root.BY = _y;
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 8;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 8;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 8;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 8;
}
if (_root.enemy.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X + 8;
}
if (_root.enemy.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X - 8;
}
if (_root.enemy.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y - 8;
}
if (_root.enemy.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y + 8;
}
if (_root.enemy2.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X + 8;
}
if (_root.enemy2.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X - 8;
}
if (_root.enemy2.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y - 8;
}
if (_root.enemy2.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y + 8;
}
if (_root.enemy3.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X + 8;
}
if (_root.enemy3.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X - 8;
}
if (_root.enemy3.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y - 8;
}
if (_root.enemy3.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y + 8;
}
if (_root.enemy4.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X + 8;
}
if (_root.enemy4.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X - 8;
}
if (_root.enemy4.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y - 8;
}
if (_root.enemy4.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y + 8;
}
if (_root.enemy6.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X + 8;
}
if (_root.enemy6.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X - 8;
}
if (_root.enemy6.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y - 8;
}
if (_root.enemy6.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y + 8;
}
if (_root.enemy5.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X + 8;
}
if (_root.enemy5.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X - 8;
}
if (_root.enemy5.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y - 8;
}
if (_root.enemy5.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y + 8;
}
if (_root.enemy7.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X + 8;
}
if (_root.enemy7.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X - 8;
}
if (_root.enemy7.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y - 8;
}
if (_root.enemy7.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y + 8;
}
if (_root.enemy8.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X + 8;
}
if (_root.enemy8.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X - 8;
}
if (_root.enemy8.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y - 8;
}
if (_root.enemy8.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y + 8;
}
if (_root.enemy9.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X + 8;
}
if (_root.enemy9.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X - 8;
}
if (_root.enemy9.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y - 8;
}
if (_root.enemy9.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y + 8;
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
X = X - 5;
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
X = X + 5;
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
Y = Y - 5;
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
Y = Y + 5;
}
if (_root.BG.hitTest(_x - 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY.guard.gotoAndPlay("die");
_root.ENEMY.dead = true;
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY2.dead = true;
_root.ENEMY2.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY3.dead = true;
_root.ENEMY3.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY4.dead = true;
_root.ENEMY4.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY5.dead = true;
_root.ENEMY5.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY6.dead = true;
_root.ENEMY6.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY7.dead = true;
_root.ENEMY7.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY8.dead = true;
_root.ENEMY8.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
_root.bomb._visible = false;
_root.bomb.gotoAndStop(70);
removeMovieClip(_root.bomb);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 136 MovieClip "player" in Frame 8
onClipEvent (load) {
_rotation = 0;
motion = 5;
bomb = false;
this.swapDepths(500);
_root.BG.swapDepths(501);
quo = 1;
_root.score = 0;
_root.men.swapDepths(13000);
Llimit = 70;
Rlimit = 400;
Ulimit = 140;
Dlimit = 550;
_quality = "Low";
_root.treasure = 0;
sec = 59;
min = 2;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if ((((key.IsDown(37) && (teleport != true)) && (_x >= Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GL = true;
}
if ((((key.IsDown(37) && (teleport != true)) && (_x < Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GL = true;
}
if ((((!key.IsDown(37)) && (teleport != true)) && (dead != true)) && (GL == true)) {
this.pirate.gotoAndStop(1);
GL = false;
}
if ((((key.IsDown(39) && (teleport != true)) && (_x <= Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GR = true;
}
if ((((key.IsDown(39) && (teleport != true)) && (_x > Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GR = true;
}
if ((((!key.IsDown(39)) && (teleport != true)) && (dead != true)) && (GR == true)) {
this.pirate.gotoAndStop(1);
GR = false;
}
if (((key.IsDown(38) && (teleport != true)) && (dead != true)) && (!_root.BG.hitTest(_x, _y - 22, true))) {
_rotation = 90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GU = true;
}
if ((((!key.IsDown(38)) && (teleport != true)) && (dead != true)) && (GU == true)) {
this.pirate.gotoAndStop(1);
GU = false;
}
if (((key.IsDown(40) && (teleport != true)) && (dead != true)) && (!_root.BG.hitTest(_x, _y + 22, true))) {
_rotation = -90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GD = true;
}
if ((((!key.IsDown(40)) && (teleport != true)) && (dead != true)) && (GD == true)) {
this.pirate.gotoAndStop(1);
GD = false;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_x = (_x + 6);
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_x = (_x - 6);
}
if (_root.BG.hitTest(_x, _y - 19, true)) {
_y = (_y + 6);
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_y = (_y - 6);
}
if (key.IsDown(32) && (bomb != true)) {
duplicateMovieClip (_root.bomb, "null" + ele, ele);
bomb = true;
}
if (bomb == true) {
re = re + 1;
}
if (RE > 40) {
bomb = false;
RE = 0;
}
if (ele >= 490) {
ele = 0;
}
if (respawn == true) {
_root.superB = false;
_x = (_x - 5);
RES = RES + 1;
}
if ((((((((res == 4) || (res == 8)) || (res == 16)) || (res == 20)) || (res == 24)) || (res == 28)) || (res == 32)) || (res == 36)) {
_visible = true;
}
if ((((((((res == 1) || (res == 5)) || (res == 9)) || (res == 17)) || (res == 21)) || (res == 29)) || (res == 33)) || (res == 37)) {
_visible = false;
}
if (res >= 38) {
_visible = true;
respawn = false;
res = 0;
}
if (_root.treasure == 1) {
_root.men.treasure.gotoAndStop(2);
}
if (_root.treasure == 2) {
_root.men.treasure2.gotoAndStop(2);
}
if (_root.treasure == 3) {
_root.men.treasure3.gotoAndStop(2);
acc = true;
}
if (sec <= 0) {
min = min - 1;
sec = 59;
}
if (acc != true) {
sec = sec - 0.0416666666666667;
_root.men.second = Math.round(sec);
_root.men.minute = Math.round(min);
}
if (acc == true) {
rat = rat + 1;
}
if ((rat > 0) && (rat < 10)) {
_root.scorecard.play(2);
}
if (dead != true) {
}
if (dead == true) {
}
if ((_x > 350) && (dead == true)) {
_x = (_x - 15);
_root.BG._x = _root.BG._x - 15;
}
if ((_x < 200) && (dead == true)) {
_x = (_x + 15);
_root.BG._x = _root.BG._x + 15;
}
if ((rat > 50) && (_root.score > 0)) {
_root.score = _root.score - 40;
_root.scorecard.score = _root.scorecard.score + 40;
}
if ((rat > 50) && (_root.score <= 0)) {
_root.scorecard.sec = 60 - Math.round(sec);
_root.scorecard.mins = 2 - min;
}
if (((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed < killed)) {
_root.scorecard.killed = _root.scorecard.killed + 1;
_root.scorecard.cont.play();
}
if ((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
}
if (_root.score <= 0) {
_root.score = 0;
}
if ((teleport == true) && (_x > 400)) {
_x = (_x - 12);
_root.BG._x = _root.BG._x - 12;
}
if ((teleport == true) && (_x < 200)) {
_x = (_x + 12);
_root.BG._x = _root.BG._x + 12;
}
if (((((_x <= 400) && (teleport == true)) && (_x >= 200)) && (_x == destinX)) && (_y == destinY)) {
teleport = false;
destin = false;
}
if (((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) && (gublar != true)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
gublar = true;
}
if ((_root.lives < 0) || (min < 0)) {
_root.die.play();
_root.lives = 0;
min = 0;
}
killed = 4 - _root.lives;
_root.men.lives = _root.lives;
_root.men.score = _root.score;
ele = ele + 1;
}
Instance of Symbol 147 MovieClip "barr" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr2" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 10;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr3" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr4" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr5" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr6" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr7" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr8" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr9" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr10" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr11" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr12" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr13" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr15" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 15, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 15, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 15, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 15, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = 0;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = 0;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr14" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 15, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 15, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr16" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 15, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr17" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 15, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr18" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr19" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 15, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr21" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr22" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr24" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr25" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr26" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr27" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr28" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr29" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas2" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas3" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr30" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 14, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr32" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 15, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr33" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 14, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr34" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = 0;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr35" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = 0;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr36" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr37" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr38" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 296 MovieClip "teleport" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.player) && (_root.player.teleport != true)) {
_root.player.teleport = true;
_root.player.pirate.gotoAndPlay("move");
_root.player.destinX = _root.teleport2._x + 80;
_root.player.destinY = _root.teleport2._y;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 296 MovieClip "teleport2" in Frame 8
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.player) && (_root.player.teleport != true)) {
_root.player.teleport = true;
_root.player.pirate.gotoAndPlay("move");
_root.player.destinX = _root.teleport._x - 80;
_root.player.destinY = _root.teleport._y;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 181 MovieClip "tree" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10044);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree5" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10041);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree4" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10046);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree7" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10048);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree6" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10049);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree8" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10050);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree9" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10051);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree10" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10052);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree11" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10054);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree3" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10055);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 158 MovieClip "bonusX3" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = (_root.Bo._x + 6);
_y = (_root.Bo._y + 6);
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX3._visible = false;
removeMovieClip(_root.bonusX3);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy" in Frame 8
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 171 MovieClip "BOnusX" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 500;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX._visible = false;
removeMovieClip(_root.bonusX);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 174 MovieClip "bonusX2" in Frame 8
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 100;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX2._visible = false;
removeMovieClip(_root.bonusX2);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy2" in Frame 8
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
this.swapDepths(552);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
X = X - 3;
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
X = X + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy3" in Frame 8
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
this.swapDepths(555);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
X = X - 3;
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
X = X + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy4" in Frame 8
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
this.swapDepths(550);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy5" in Frame 8
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
this.swapDepths(551);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy6" in Frame 8
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
this.swapDepths(557);
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 179 MovieClip "ghost" in Frame 8
onClipEvent (load) {
_x = _root.player._x;
_y = _root.player._y;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
_root.ghost._visible = false;
_root.ghost.gotoAndStop(70);
removeMovieClip(_root.ghost);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 181 MovieClip "tree2" in Frame 8
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10043);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 218 MovieClip "scorecard" in Frame 8
onClipEvent (load) {
this.swapDepths(30000);
}
Instance of Symbol 51 MovieClip "setsail" in Frame 8
onClipEvent (load) {
this.swapDepths(12000);
}
Instance of Symbol 255 MovieClip "die" in Frame 8
onClipEvent (load) {
this.swapDepths(40000);
}
Frame 9
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 10
stopAllSounds();
if (_root.Gover == true) {
gotoAndStop (1);
}
Frame 11
stop();
_quality = "High";
Frame 12
stop();
Instance of Symbol 91 MovieClip "fireburst" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 0;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst._visible = false;
_root.fireburst.gotoAndStop(70);
removeMovieClip(_root.fireburst);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst2" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 90;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst2._visible = false;
_root.fireburst2.gotoAndStop(70);
removeMovieClip(_root.fireburst2);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst3" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 180;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst3._visible = false;
_root.fireburst3.gotoAndStop(70);
removeMovieClip(_root.fireburst3);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst4" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 270;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst4._visible = false;
_root.fireburst4.gotoAndStop(70);
removeMovieClip(_root.fireburst4);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 124 MovieClip "bomb" in Frame 12
onClipEvent (load) {
_x = (_root.player._x - (40 * Math.cos(_root.player._rotation * (Math.PI/180))));
_y = (_root.player._y - (40 * Math.sin(_root.player._rotation * (Math.PI/180))));
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
dead = false;
_root.superB = true;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
if (timer < 70) {
_root.BX = _x;
_root.BY = _y;
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 8;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 8;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 8;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 8;
}
if (_root.enemy.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X + 8;
}
if (_root.enemy.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X - 8;
}
if (_root.enemy.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y - 8;
}
if (_root.enemy.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y + 8;
}
if (_root.enemy2.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X + 8;
}
if (_root.enemy2.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X - 8;
}
if (_root.enemy2.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y - 8;
}
if (_root.enemy2.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y + 8;
}
if (_root.enemy3.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X + 8;
}
if (_root.enemy3.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X - 8;
}
if (_root.enemy3.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y - 8;
}
if (_root.enemy3.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y + 8;
}
if (_root.enemy4.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X + 8;
}
if (_root.enemy4.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X - 8;
}
if (_root.enemy4.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y - 8;
}
if (_root.enemy4.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y + 8;
}
if (_root.enemy6.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X + 8;
}
if (_root.enemy6.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X - 8;
}
if (_root.enemy6.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y - 8;
}
if (_root.enemy6.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y + 8;
}
if (_root.enemy5.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X + 8;
}
if (_root.enemy5.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X - 8;
}
if (_root.enemy5.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y - 8;
}
if (_root.enemy5.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y + 8;
}
if (_root.enemy7.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X + 8;
}
if (_root.enemy7.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X - 8;
}
if (_root.enemy7.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y - 8;
}
if (_root.enemy7.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y + 8;
}
if (_root.enemy8.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X + 8;
}
if (_root.enemy8.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X - 8;
}
if (_root.enemy8.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y - 8;
}
if (_root.enemy8.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y + 8;
}
if (_root.enemy9.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X + 8;
}
if (_root.enemy9.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X - 8;
}
if (_root.enemy9.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y - 8;
}
if (_root.enemy9.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y + 8;
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
X = X - 5;
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
X = X + 5;
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
Y = Y - 5;
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
Y = Y + 5;
}
if (_root.BG.hitTest(_x - 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY.guard.gotoAndPlay("die");
_root.ENEMY.dead = true;
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY2.dead = true;
_root.ENEMY2.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY3.dead = true;
_root.ENEMY3.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY4.dead = true;
_root.ENEMY4.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY5.dead = true;
_root.ENEMY5.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY6.dead = true;
_root.ENEMY6.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY7.dead = true;
_root.ENEMY7.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY8.dead = true;
_root.ENEMY8.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
_root.bomb._visible = false;
_root.bomb.gotoAndStop(70);
removeMovieClip(_root.bomb);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 136 MovieClip "player" in Frame 12
onClipEvent (load) {
_rotation = 0;
motion = 5;
bomb = false;
this.swapDepths(500);
_root.BG.swapDepths(501);
quo = 1;
_root.score = 0;
_root.men.swapDepths(13000);
Llimit = 70;
Rlimit = 400;
Ulimit = 140;
Dlimit = 550;
_quality = "Low";
_root.treasure = 0;
sec = 59;
min = 2;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
_rotation = 90;
}
onClipEvent (enterFrame) {
if ((((key.IsDown(37) && (teleport != true)) && (_x >= Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GL = true;
}
if ((((key.IsDown(37) && (teleport != true)) && (_x < Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GL = true;
}
if ((((!key.IsDown(37)) && (teleport != true)) && (dead != true)) && (GL == true)) {
this.pirate.gotoAndStop(1);
GL = false;
}
if ((((key.IsDown(39) && (teleport != true)) && (_x <= Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GR = true;
}
if ((((key.IsDown(39) && (teleport != true)) && (_x > Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GR = true;
}
if ((((!key.IsDown(39)) && (teleport != true)) && (dead != true)) && (GR == true)) {
this.pirate.gotoAndStop(1);
GR = false;
}
if (((key.IsDown(38) && (teleport != true)) && (dead != true)) && (!_root.BG.hitTest(_x, _y - 22, true))) {
_rotation = 90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GU = true;
}
if ((((!key.IsDown(38)) && (teleport != true)) && (dead != true)) && (GU == true)) {
this.pirate.gotoAndStop(1);
GU = false;
}
if (((key.IsDown(40) && (teleport != true)) && (dead != true)) && (!_root.BG.hitTest(_x, _y + 22, true))) {
_rotation = -90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GD = true;
}
if ((((!key.IsDown(40)) && (teleport != true)) && (dead != true)) && (GD == true)) {
this.pirate.gotoAndStop(1);
GD = false;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_x = (_x + 6);
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_x = (_x - 6);
}
if (_root.BG.hitTest(_x, _y - 19, true)) {
_y = (_y + 6);
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_y = (_y - 6);
}
if (key.IsDown(32) && (bomb != true)) {
duplicateMovieClip (_root.bomb, "null" + ele, ele);
bomb = true;
}
if (bomb == true) {
re = re + 1;
}
if (RE > 40) {
bomb = false;
RE = 0;
}
if (ele >= 490) {
ele = 0;
}
if (respawn == true) {
_root.superB = false;
_x = (_x - 5);
RES = RES + 1;
}
if ((((((((res == 4) || (res == 8)) || (res == 16)) || (res == 20)) || (res == 24)) || (res == 28)) || (res == 32)) || (res == 36)) {
_visible = true;
}
if ((((((((res == 1) || (res == 5)) || (res == 9)) || (res == 17)) || (res == 21)) || (res == 29)) || (res == 33)) || (res == 37)) {
_visible = false;
}
if (res >= 38) {
_visible = true;
respawn = false;
res = 0;
}
if (_root.treasure == 1) {
_root.men.treasure.gotoAndStop(2);
}
if (_root.treasure == 2) {
_root.men.treasure2.gotoAndStop(2);
}
if (_root.treasure == 3) {
_root.men.treasure3.gotoAndStop(2);
acc = true;
}
if (sec <= 0) {
min = min - 1;
sec = 59;
}
if (acc != true) {
sec = sec - 0.0416666666666667;
_root.men.second = Math.round(sec);
_root.men.minute = Math.round(min);
}
if (acc == true) {
rat = rat + 1;
}
if ((rat > 0) && (rat < 10)) {
_root.scorecard.play(2);
}
if (dead != true) {
}
if (dead == true) {
}
if ((_x > 350) && (dead == true)) {
_x = (_x - 15);
_root.BG._x = _root.BG._x - 15;
}
if ((_x < 200) && (dead == true)) {
_x = (_x + 15);
_root.BG._x = _root.BG._x + 15;
}
if ((rat > 50) && (_root.score > 0)) {
_root.score = _root.score - 40;
_root.scorecard.score = _root.scorecard.score + 40;
}
if ((rat > 50) && (_root.score <= 0)) {
_root.scorecard.sec = 60 - Math.round(sec);
_root.scorecard.mins = 2 - min;
}
if (((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed < killed)) {
_root.scorecard.killed = _root.scorecard.killed + 1;
_root.scorecard.cont.play();
}
if ((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
}
if (_root.score <= 0) {
_root.score = 0;
}
if ((teleport == true) && (_x > 400)) {
_x = (_x - 12);
_root.BG._x = _root.BG._x - 12;
}
if ((teleport == true) && (_x < 200)) {
_x = (_x + 12);
_root.BG._x = _root.BG._x + 12;
}
if (((((_x <= 400) && (teleport == true)) && (_x >= 200)) && (_x == destinX)) && (_y == destinY)) {
teleport = false;
destin = false;
}
if (((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) && (gublar != true)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
gublar = true;
}
if ((_root.lives < 0) || (min < 0)) {
_root.die.play();
_root.lives = 0;
min = 0;
}
killed = 4 - _root.lives;
_root.men.lives = _root.lives;
_root.men.score = _root.score;
ele = ele + 1;
}
Instance of Symbol 147 MovieClip "barr" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr2" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr3" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr4" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr7" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr8" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr9" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr10" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr11" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr12" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr13" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr14" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr15" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr16" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr17" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr18" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr19" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr20" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr21" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr22" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr23" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr24" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr25" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr26" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = 90;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr27" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr28" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr29" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr30" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr31" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr32" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr33" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr35" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr36" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr37" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr39" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr40" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas2" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 296 MovieClip "teleport2" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.player) && (_root.player.teleport != true)) {
_root.player.teleport = true;
_root.player.pirate.gotoAndPlay("move");
_root.player.destinX = _root.teleport._x;
_root.player.destinY = _root.teleport._y - 40;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 296 MovieClip "teleport" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.player) && (_root.player.teleport != true)) {
_root.player.teleport = true;
_root.player.pirate.gotoAndPlay("move");
_root.player.destinX = _root.teleport2._x - 80;
_root.player.destinY = _root.teleport2._y;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas3" in Frame 12
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 30, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy5" in Frame 12
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
Y = Y - 3;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 158 MovieClip "bonusX3" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = (_root.Bo._x + 6);
_y = (_root.Bo._y + 6);
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX3._visible = false;
removeMovieClip(_root.bonusX3);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 171 MovieClip "BOnusX" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 500;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX._visible = false;
removeMovieClip(_root.bonusX);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 174 MovieClip "bonusX2" in Frame 12
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 100;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX2._visible = false;
removeMovieClip(_root.bonusX2);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy2" in Frame 12
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy3" in Frame 12
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
Y = Y - 3;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy6" in Frame 12
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 179 MovieClip "ghost" in Frame 12
onClipEvent (load) {
_x = _root.player._x;
_y = _root.player._y;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
_root.ghost._visible = false;
_root.ghost.gotoAndStop(70);
removeMovieClip(_root.ghost);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 181 MovieClip in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10041);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree3" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10085);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree4" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10045);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10046);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10048);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree2" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10049);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree7" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10091);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree8" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10053);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree10" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10054);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree9" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10057);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree11" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10058);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree12" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10051);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree13" in Frame 12
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10059);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 218 MovieClip "scorecard" in Frame 12
onClipEvent (load) {
this.swapDepths(30000);
}
Instance of Symbol 51 MovieClip "setsail" in Frame 12
onClipEvent (load) {
this.swapDepths(12000);
}
Instance of Symbol 255 MovieClip "die" in Frame 12
onClipEvent (load) {
this.swapDepths(40000);
}
Frame 13
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 14
stopAllSounds();
if (_root.Gover == true) {
gotoAndStop (1);
}
Frame 15
stop();
_quality = "High";
Frame 16
stop();
Instance of Symbol 91 MovieClip "fireburst" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 0;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst._visible = false;
_root.fireburst.gotoAndStop(70);
removeMovieClip(_root.fireburst);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst2" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 90;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst2._visible = false;
_root.fireburst2.gotoAndStop(70);
removeMovieClip(_root.fireburst2);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst3" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 180;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst3._visible = false;
_root.fireburst3.gotoAndStop(70);
removeMovieClip(_root.fireburst3);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 91 MovieClip "fireburst4" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
_rotation = 270;
motion = 25;
}
onClipEvent (enterFrame) {
if (timer > 40) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer < 70) {
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
_visible = false;
this.gotoAndStop(2);
removeMovieClip(this);
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY2.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY3.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY4.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY5.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY6.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY7.guard.gotoAndPlay("die");
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 50;
_root.ENEMY8.guard.gotoAndPlay("die");
}
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
_root.fireburst4._visible = false;
_root.fireburst4.gotoAndStop(70);
removeMovieClip(_root.fireburst4);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 124 MovieClip "bomb" in Frame 16
onClipEvent (load) {
_x = (_root.player._x - (40 * Math.cos(_root.player._rotation * (Math.PI/180))));
_y = (_root.player._y - (40 * Math.sin(_root.player._rotation * (Math.PI/180))));
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
dead = false;
_root.superB = true;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
if (timer < 70) {
_root.BX = _x;
_root.BY = _y;
}
if ((this.box.hitTest(_root.player) && (_root.player.dead != true)) || (this.box2.hitTest(_root.player) && (_root.player.dead != true))) {
_root.lives = _root.lives - 1;
_root.player.pirate.gotoAndPlay("die");
}
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 8;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 8;
}
if (_root.player.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.player._y = _root.player._y - 8;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 8;
}
if (_root.enemy.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X + 8;
}
if (_root.enemy.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy.X = _root.enemy.X - 8;
}
if (_root.enemy.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y - 8;
}
if (_root.enemy.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy.Y = _root.enemy.Y + 8;
}
if (_root.enemy2.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X + 8;
}
if (_root.enemy2.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy2.X = _root.enemy2.X - 8;
}
if (_root.enemy2.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y - 8;
}
if (_root.enemy2.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy2.Y = _root.enemy2.Y + 8;
}
if (_root.enemy3.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X + 8;
}
if (_root.enemy3.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy3.X = _root.enemy3.X - 8;
}
if (_root.enemy3.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y - 8;
}
if (_root.enemy3.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy3.Y = _root.enemy3.Y + 8;
}
if (_root.enemy4.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X + 8;
}
if (_root.enemy4.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy4.X = _root.enemy4.X - 8;
}
if (_root.enemy4.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y - 8;
}
if (_root.enemy4.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy4.Y = _root.enemy4.Y + 8;
}
if (_root.enemy6.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X + 8;
}
if (_root.enemy6.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy6.X = _root.enemy6.X - 8;
}
if (_root.enemy6.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y - 8;
}
if (_root.enemy6.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy6.Y = _root.enemy6.Y + 8;
}
if (_root.enemy5.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X + 8;
}
if (_root.enemy5.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy5.X = _root.enemy5.X - 8;
}
if (_root.enemy5.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y - 8;
}
if (_root.enemy5.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy5.Y = _root.enemy5.Y + 8;
}
if (_root.enemy7.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X + 8;
}
if (_root.enemy7.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy7.X = _root.enemy7.X - 8;
}
if (_root.enemy7.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y - 8;
}
if (_root.enemy7.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy7.Y = _root.enemy7.Y + 8;
}
if (_root.enemy8.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X + 8;
}
if (_root.enemy8.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy8.X = _root.enemy8.X - 8;
}
if (_root.enemy8.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y - 8;
}
if (_root.enemy8.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy8.Y = _root.enemy8.Y + 8;
}
if (_root.enemy9.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X + 8;
}
if (_root.enemy9.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.enemy9.X = _root.enemy9.X - 8;
}
if (_root.enemy9.hitTest(_x, _y - 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y - 8;
}
if (_root.enemy9.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.enemy9.Y = _root.enemy9.Y + 8;
}
if (_root.BG.hitTest(_x - 15, _y, true)) {
X = X - 5;
}
if (_root.BG.hitTest(_x + 15, _y, true)) {
X = X + 5;
}
if (_root.BG.hitTest(_x, _y - 15, true)) {
Y = Y - 5;
}
if (_root.BG.hitTest(_x, _y + 15, true)) {
Y = Y + 5;
}
if (_root.BG.hitTest(_x - 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x + 4, _y, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y - 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (_root.BG.hitTest(_x, _y + 4, true)) {
this.gotoAndStop(70);
_visible = false;
removeMovieClip(this);
}
if (timer > 40) {
dead = true;
}
if (this.box.hitTest(_root.barr) || (this.box2.hitTest(_root.barr))) {
_root.barr.play();
_root.barr.dead = true;
}
if (this.box.hitTest(_root.barr2) || (this.box2.hitTest(_root.barr2))) {
_root.barr2.play();
_root.barr2.dead = true;
}
if (this.box.hitTest(_root.barr3) || (this.box2.hitTest(_root.barr3))) {
_root.barr3.play();
_root.barr3.dead = true;
}
if (this.box.hitTest(_root.barr4) || (this.box2.hitTest(_root.barr4))) {
_root.barr4.play();
_root.barr4.dead = true;
}
if (this.box.hitTest(_root.barr5) || (this.box2.hitTest(_root.barr5))) {
_root.barr5.play();
_root.barr5.dead = true;
}
if (this.box.hitTest(_root.barr6) || (this.box2.hitTest(_root.barr6))) {
_root.barr6.play();
_root.barr6.dead = true;
}
if (this.box.hitTest(_root.barr7) || (this.box2.hitTest(_root.barr7))) {
_root.barr7.play();
_root.barr7.dead = true;
}
if (this.box.hitTest(_root.barr8) || (this.box2.hitTest(_root.barr8))) {
_root.barr8.play();
_root.barr8.dead = true;
}
if (this.box.hitTest(_root.barr9) || (this.box2.hitTest(_root.barr9))) {
_root.barr9.play();
_root.barr9.dead = true;
}
if (this.box.hitTest(_root.barr10) || (this.box2.hitTest(_root.barr10))) {
_root.barr10.play();
_root.barr10.dead = true;
}
if (this.box.hitTest(_root.barr11) || (this.box2.hitTest(_root.barr11))) {
_root.barr11.play();
_root.barr11.dead = true;
}
if (this.box.hitTest(_root.barr12) || (this.box2.hitTest(_root.barr12))) {
_root.barr12.play();
_root.barr12.dead = true;
}
if (this.box3.hitTest(_root.barr13) || (this.box2.hitTest(_root.barr13))) {
_root.barr13.play();
_root.barr13.dead = true;
}
if (this.box.hitTest(_root.barr14) || (this.box2.hitTest(_root.barr14))) {
_root.barr14.play();
_root.barr14.dead = true;
}
if (this.box.hitTest(_root.barr15) || (this.box2.hitTest(_root.barr15))) {
_root.barr15.play();
_root.barr15.dead = true;
}
if (this.box.hitTest(_root.barr16) || (this.box2.hitTest(_root.barr16))) {
_root.barr16.play();
_root.barr16.dead = true;
}
if (this.box.hitTest(_root.barr17) || (this.box2.hitTest(_root.barr17))) {
_root.barr17.play();
_root.barr17.dead = true;
}
if (this.box.hitTest(_root.barr18) || (this.box2.hitTest(_root.barr18))) {
_root.barr18.play();
_root.barr18.dead = true;
}
if (this.box.hitTest(_root.barr19) || (this.box2.hitTest(_root.barr19))) {
_root.barr19.play();
_root.barr19.dead = true;
}
if (this.box.hitTest(_root.barr20) || (this.box2.hitTest(_root.barr20))) {
_root.barr20.play();
_root.barr20.dead = true;
}
if (this.box.hitTest(_root.barr21) || (this.box2.hitTest(_root.barr21))) {
_root.barr21.play();
_root.barr21.dead = true;
}
if (this.box.hitTest(_root.barr22) || (this.box2.hitTest(_root.barr22))) {
_root.barr22.play();
_root.barr22.dead = true;
}
if (this.box.hitTest(_root.barr23) || (this.box2.hitTest(_root.barr23))) {
_root.barr23.play();
_root.barr23.dead = true;
}
if (this.box.hitTest(_root.barr24) || (this.box2.hitTest(_root.barr24))) {
_root.barr24.play();
_root.barr24.dead = true;
}
if (this.box.hitTest(_root.barr25) || (this.box2.hitTest(_root.barr25))) {
_root.barr25.play();
_root.barr25.dead = true;
}
if (this.box.hitTest(_root.barr26) || (this.box2.hitTest(_root.barr26))) {
_root.barr26.play();
_root.barr26.dead = true;
}
if (this.box.hitTest(_root.barr27) || (this.box2.hitTest(_root.barr27))) {
_root.barr27.play();
_root.barr27.dead = true;
}
if (this.box.hitTest(_root.barr28) || (this.box2.hitTest(_root.barr28))) {
_root.barr28.play();
_root.barr28.dead = true;
}
if (this.box.hitTest(_root.barr29) || (this.box2.hitTest(_root.barr29))) {
_root.barr29.play();
_root.barr29.dead = true;
}
if (this.box.hitTest(_root.barr30) || (this.box2.hitTest(_root.barr30))) {
_root.barr30.play();
_root.barr30.dead = true;
}
if (this.box.hitTest(_root.barr31) || (this.box2.hitTest(_root.barr31))) {
_root.barr31.play();
_root.barr31.dead = true;
}
if (this.box.hitTest(_root.barr32) || (this.box2.hitTest(_root.barr32))) {
_root.barr32.play();
_root.barr32.dead = true;
}
if (this.box.hitTest(_root.barr33) || (this.box2.hitTest(_root.barr33))) {
_root.barr33.play();
_root.barr33.dead = true;
}
if (this.box.hitTest(_root.barr34) || (this.box2.hitTest(_root.barr34))) {
_root.barr34.play();
_root.barr34.dead = true;
}
if (this.box.hitTest(_root.barr35) || (this.box2.hitTest(_root.barr35))) {
_root.barr35.play();
_root.barr35.dead = true;
}
if (this.box.hitTest(_root.barr36) || (this.box2.hitTest(_root.barr36))) {
_root.barr36.play();
_root.barr36.dead = true;
}
if (this.box.hitTest(_root.barr37) || (this.box2.hitTest(_root.barr37))) {
_root.barr37.play();
_root.barr37.dead = true;
}
if (this.box.hitTest(_root.barr38) || (this.box2.hitTest(_root.barr38))) {
_root.barr38.play();
_root.barr38.dead = true;
}
if (this.box.hitTest(_root.barr39) || (this.box2.hitTest(_root.barr39))) {
_root.barr39.play();
_root.barr39.dead = true;
}
if (this.box.hitTest(_root.barr40) || (this.box2.hitTest(_root.barr40))) {
_root.barr40.play();
_root.barr40.dead = true;
}
if (this.box.hitTest(_root.treas) || (this.box2.hitTest(_root.treas))) {
_root.treas.play();
_root.treas.dead = true;
}
if (this.box.hitTest(_root.treas2) || (this.box2.hitTest(_root.treas2))) {
_root.treas2.play();
_root.treas2.dead = true;
}
if (this.box.hitTest(_root.treas3) || (this.box2.hitTest(_root.treas3))) {
_root.treas3.play();
_root.treas3.dead = true;
}
if ((this.box.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true)) || (this.box2.hitTest(_root.ENEMY) && (_root.ENEMY.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY.guard.gotoAndPlay("die");
_root.ENEMY.dead = true;
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true)) || (this.box2.hitTest(_root.ENEMY2) && (_root.ENEMY2.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY2.dead = true;
_root.ENEMY2.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true)) || (this.box2.hitTest(_root.ENEMY3) && (_root.ENEMY3.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY3.dead = true;
_root.ENEMY3.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true)) || (this.box2.hitTest(_root.ENEMY4) && (_root.ENEMY4.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY4.dead = true;
_root.ENEMY4.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true)) || (this.box2.hitTest(_root.ENEMY5) && (_root.ENEMY5.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY5.dead = true;
_root.ENEMY5.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true)) || (this.box2.hitTest(_root.ENEMY6) && (_root.ENEMY6.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY6.dead = true;
_root.ENEMY6.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true)) || (this.box2.hitTest(_root.ENEMY7) && (_root.ENEMY7.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY7.dead = true;
_root.ENEMY7.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
if ((this.box.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true)) || (this.box2.hitTest(_root.ENEMY8) && (_root.ENEMY8.dead != true))) {
_root.score = _root.score + 500;
_root.ENEMY8.dead = true;
_root.ENEMY8.guard.gotoAndPlay("die");
duplicateMovieClip (_root.bonusX, "null" + _root.player.ele, 60000);
}
_root.bomb._visible = false;
_root.bomb.gotoAndStop(70);
removeMovieClip(_root.bomb);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 136 MovieClip "player" in Frame 16
onClipEvent (load) {
_rotation = 180;
motion = 5;
bomb = false;
this.swapDepths(500);
_root.BG.swapDepths(501);
quo = 1;
_root.score = 0;
_root.men.swapDepths(13000);
Llimit = 70;
Rlimit = 400;
Ulimit = 140;
Dlimit = 550;
_quality = "Low";
_root.treasure = 0;
sec = 59;
min = 2;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
IX = _root.BG._x - _x;
IY = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if ((((key.IsDown(37) && (teleport != true)) && (_x >= Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GL = true;
}
if ((((key.IsDown(37) && (teleport != true)) && (_x < Llimit)) && (dead != true)) && (!_root.BG.hitTest(_x - 22, _y, true))) {
_rotation = 0;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GL = true;
}
if ((((!key.IsDown(37)) && (teleport != true)) && (dead != true)) && (GL == true)) {
this.pirate.gotoAndStop(1);
GL = false;
}
if ((((key.IsDown(39) && (teleport != true)) && (_x <= Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_x = (_x - (motion * Math.cos(_rotation * (Math.PI/180))));
this.pirate.play();
GR = true;
}
if ((((key.IsDown(39) && (teleport != true)) && (_x > Rlimit)) && (dead != true)) && (!_root.BG.hitTest(_x + 22, _y, true))) {
_rotation = 180;
_root.BG._x = _root.BG._x + (motion * Math.cos(_rotation * (Math.PI/180)));
this.pirate.play();
GR = true;
}
if ((((!key.IsDown(39)) && (teleport != true)) && (dead != true)) && (GR == true)) {
this.pirate.gotoAndStop(1);
GR = false;
}
if (((key.IsDown(38) && (teleport != true)) && (dead != true)) && (!_root.BG.hitTest(_x, _y - 22, true))) {
_rotation = 90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GU = true;
}
if ((((!key.IsDown(38)) && (teleport != true)) && (dead != true)) && (GU == true)) {
this.pirate.gotoAndStop(1);
GU = false;
}
if (((key.IsDown(40) && (teleport != true)) && (dead != true)) && (!_root.BG.hitTest(_x, _y + 22, true))) {
_rotation = -90;
_y = (_y - (motion * Math.sin(_rotation * (Math.PI/180))));
this.pirate.play();
GD = true;
}
if ((((!key.IsDown(40)) && (teleport != true)) && (dead != true)) && (GD == true)) {
this.pirate.gotoAndStop(1);
GD = false;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_x = (_x + 6);
}
if (_root.BG.hitTest(_x + 19, _y, true)) {
_x = (_x - 6);
}
if (_root.BG.hitTest(_x, _y - 19, true)) {
_y = (_y + 6);
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_y = (_y - 6);
}
if (key.IsDown(32) && (bomb != true)) {
duplicateMovieClip (_root.bomb, "null" + ele, ele);
bomb = true;
}
if (bomb == true) {
re = re + 1;
}
if (RE > 40) {
bomb = false;
RE = 0;
}
if (ele >= 490) {
ele = 0;
}
if (respawn == true) {
_root.superB = false;
_x = (_x - 5);
RES = RES + 1;
}
if ((((((((res == 4) || (res == 8)) || (res == 16)) || (res == 20)) || (res == 24)) || (res == 28)) || (res == 32)) || (res == 36)) {
_visible = true;
}
if ((((((((res == 1) || (res == 5)) || (res == 9)) || (res == 17)) || (res == 21)) || (res == 29)) || (res == 33)) || (res == 37)) {
_visible = false;
}
if (res >= 38) {
_visible = true;
respawn = false;
res = 0;
}
if (_root.treasure == 1) {
_root.men.treasure.gotoAndStop(2);
}
if (_root.treasure == 2) {
_root.men.treasure2.gotoAndStop(2);
}
if (_root.treasure == 3) {
_root.men.treasure3.gotoAndStop(2);
acc = true;
}
if (sec <= 0) {
min = min - 1;
sec = 59;
}
if (acc != true) {
sec = sec - 0.0416666666666667;
_root.men.second = Math.round(sec);
_root.men.minute = Math.round(min);
}
if (acc == true) {
rat = rat + 1;
}
if ((rat > 0) && (rat < 10)) {
_root.scorecard.play(2);
}
if (dead != true) {
}
if (dead == true) {
}
if ((_x > 350) && (dead == true)) {
_x = (_x - 14);
_root.BG._x = _root.BG._x - 14;
}
if ((_x < 200) && (dead == true)) {
_x = (_x + 14);
_root.BG._x = _root.BG._x + 14;
}
if ((rat > 50) && (_root.score > 0)) {
_root.score = _root.score - 40;
_root.scorecard.score = _root.scorecard.score + 40;
}
if ((rat > 50) && (_root.score <= 0)) {
_root.scorecard.sec = 60 - Math.round(sec);
_root.scorecard.mins = 2 - min;
}
if (((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed < killed)) {
_root.scorecard.killed = _root.scorecard.killed + 1;
_root.scorecard.cont.play();
}
if ((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
}
if (_root.score <= 0) {
_root.score = 0;
}
if ((teleport == true) && (_x > 400)) {
_x = (_x - 12);
_root.BG._x = _root.BG._x - 12;
}
if ((teleport == true) && (_x < 200)) {
_x = (_x + 12);
_root.BG._x = _root.BG._x + 12;
}
if (((((_x <= 400) && (teleport == true)) && (_x >= 200)) && (_x == destinX)) && (_y == destinY)) {
teleport = false;
destin = false;
}
if (((((rat > 50) && (_root.score <= 0)) && (_root.scorecard.killed <= 0)) && (killed <= 0)) && (gublar != true)) {
_root.scorecard.killed = 0;
_root.scorecard.cont.play();
gublar = true;
}
if ((_root.lives < 0) || (min < 0)) {
_root.die.play();
_root.lives = 0;
min = 0;
}
killed = 4 - _root.lives;
_root.men.lives = _root.lives;
_root.men.score = _root.score;
ele = ele + 1;
}
Instance of Symbol 154 MovieClip "treas" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 30, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 30, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas2" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 30, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 30, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 154 MovieClip "treas3" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 30, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 30, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 30, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if (_root.enemy5.hitTest(_x + 30, _y, true)) {
_root.enemy5._x = _root.enemy5._x + 14;
_root.enemy5._rotation = 180;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 296 MovieClip "teleport2" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.player) && (_root.player.teleport != true)) {
_root.player.teleport = true;
_root.player.pirate.gotoAndPlay("move");
_root.player.destinX = _root.teleport._x;
_root.player.destinY = _root.teleport._y - 40;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 296 MovieClip "teleport" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.player) && (_root.player.teleport != true)) {
_root.player.teleport = true;
_root.player.pirate.gotoAndPlay("move");
_root.player.destinX = _root.teleport2._x - 80;
_root.player.destinY = _root.teleport2._y;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 158 MovieClip "bonusX3" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = (_root.Bo._x + 6);
_y = (_root.Bo._y + 6);
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX3._visible = false;
removeMovieClip(_root.bonusX3);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr3" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr5" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr6" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr4" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr8" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr7" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr10" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr11" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr15" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr13" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr17" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = 0;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr18" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = 90;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr19" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr22" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr20" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr25" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr24" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr27" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr28" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = 0;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr30" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr31" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = 90;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr29" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr34" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr35" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr33" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = _root.ENEMY5._rotation + 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr36" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 147 MovieClip "barr38" in Frame 16
onClipEvent (load) {
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(_x - 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x - 14;
}
if (_root.player.hitTest(_x + 20, _y, true) && (dead != true)) {
_root.player._x = _root.player._x + 14;
}
if (_root.player.hitTest(_x, _y - 14, true) && (dead != true)) {
_root.player._y = _root.player._y - 14;
}
if (_root.player.hitTest(_x, _y + 20, true) && (dead != true)) {
_root.player._y = _root.player._y + 14;
}
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
if (this.hitTest(_root.ENEMY)) {
_root.ENEMY._rotation = _root.ENEMY._rotation + 180;
}
if (this.hitTest(_root.ENEMY2)) {
_root.ENEMY2._rotation = _root.ENEMY2._rotation + 180;
}
if (this.hitTest(_root.ENEMY3)) {
_root.ENEMY3._rotation = _root.ENEMY3._rotation + 180;
}
if (this.hitTest(_root.ENEMY4)) {
_root.ENEMY4._rotation = _root.ENEMY4._rotation + 180;
}
if (this.hitTest(_root.ENEMY5)) {
_root.ENEMY5._rotation = 180;
}
if (this.hitTest(_root.ENEMY6)) {
_root.ENEMY6._rotation = _root.ENEMY6._rotation + 180;
}
if (this.hitTest(_root.ENEMY7)) {
_root.ENEMY7._rotation = _root.ENEMY7._rotation + 180;
}
if (this.hitTest(_root.ENEMY8)) {
_root.ENEMY8._rotation = _root.ENEMY8._rotation + 180;
}
if (this.hitTest(_root.ENEMY9)) {
_root.ENEMY9._rotation = _root.ENEMY9._rotation + 180;
}
if (this.hitTest(_root.ENEMY10)) {
_root.ENEMY10._rotation = _root.ENEMY10._rotation + 180;
}
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 171 MovieClip "BOnusX" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 500;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX._visible = false;
removeMovieClip(_root.bonusX);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 174 MovieClip "bonusX2" in Frame 16
onClipEvent (load) {
timer = 0;
dead = false;
this.gotoAndPlay(1);
_x = _root.BX;
_y = _root.BY;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
motion = 25;
acc = 0.25;
_root.score = _root.score + 100;
}
onClipEvent (enterFrame) {
if (_alpha <= 0) {
_visible = false;
removeMovieClip(this);
}
_alpha = (_alpha - (5 / acc));
_root.bonusX2._visible = false;
removeMovieClip(_root.bonusX2);
Y = Y + (motion * acc);
acc = acc * 0.94;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy" in Frame 16
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy2" in Frame 16
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x, _y - 19, true)) {
_rotation = 270;
Y = Y - 3;
}
if (_root.BG.hitTest(_x, _y + 19, true)) {
_rotation = 90;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy3" in Frame 16
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
Y = Y - 3;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 168 MovieClip "enemy4" in Frame 16
onClipEvent (load) {
X = _root.bg._x - _x;
Y = _root.BG._y - _y;
motion = 3;
_rotation = 90;
}
onClipEvent (enterFrame) {
if (_root.BG.hitTest(_x + 19, _y, true)) {
_rotation = 0;
Y = Y - 3;
}
if (_root.BG.hitTest(_x - 19, _y, true)) {
_rotation = 180;
Y = Y + 3;
}
if (this.hitTest(_root.player) && (_root.player.dead != true)) {
_root.lives = _root.lives - 1;
_root.player.dead = true;
_root.player.pirate.gotoAndPlay("die");
}
if (dead != true) {
X = X + (motion * Math.cos(_rotation * (Math.PI/180)));
Y = Y + (motion * Math.sin(_rotation * (Math.PI/180)));
}
if (dead == true) {
boo = boo + 1;
}
if (boo > 30) {
_visible = false;
}
_x = (_root.bg._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 179 MovieClip "ghost" in Frame 16
onClipEvent (load) {
_x = _root.player._x;
_y = _root.player._y;
X = _root.BG._x - _x;
Y = _root.BG._y - _y;
timer = 0;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (timer > 80) {
_visible = false;
this.gotoAndStop(70);
removeMovieClip(this);
}
_root.ghost._visible = false;
_root.ghost.gotoAndStop(70);
removeMovieClip(_root.ghost);
timer = timer + 1;
_x = (_root.BG._x - X);
_y = (_root.BG._y - Y);
}
Instance of Symbol 181 MovieClip "tree11" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10085);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree15" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10086);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree8" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10082);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree10" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10081);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree17" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10088);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree7" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10040);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree9" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10090);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree5" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10091);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree2" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10096);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree3" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10093);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10098);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 181 MovieClip "tree4" in Frame 16
onClipEvent (load) {
X = _root.Bg._x - _x;
Y = _root.Bg._y - _y;
this.swapDepths(10099);
}
onClipEvent (enterFrame) {
if ((_x <= -90) || (_x >= 550)) {
_visible = false;
}
if ((_x > -90) && (_x < 550)) {
_visible = true;
}
_x = (_root.Bg._x - X);
_y = (_root.Bg._y - Y);
}
Instance of Symbol 218 MovieClip "scorecard" in Frame 16
onClipEvent (load) {
this.swapDepths(30000);
}
Instance of Symbol 51 MovieClip "setsail" in Frame 16
onClipEvent (load) {
this.swapDepths(12000);
}
Instance of Symbol 255 MovieClip "die" in Frame 16
onClipEvent (load) {
this.swapDepths(70000);
}
Frame 17
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 18
stopAllSounds();
if (_root.Gover == true) {
gotoAndStop (1);
}
Frame 25
stop();
_quality = "High";
Instance of Symbol 343 MovieClip in Frame 25
onClipEvent (enterFrame) {
this.Names = _root.NME;
}
Frame 28
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 29
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 30
stop();
_quality = "High";
Instance of Symbol 352 MovieClip in Frame 30
onClipEvent (load) {
this.swapDepths(999000);
}
Instance of Symbol 353 MovieClip in Frame 30
onClipEvent (load) {
this.swapDepths(999999);
}
Frame 31
_root.BG._visible = false;
_root.barr._visible = false;
_root.barr2._visible = false;
_root.barr3._visible = false;
_root.barr4._visible = false;
_root.barr5._visible = false;
_root.barr6._visible = false;
_root.barr7._visible = false;
_root.barr8._visible = false;
_root.barr9._visible = false;
_root.barr10._visible = false;
_root.barr11._visible = false;
_root.barr12._visible = false;
_root.barr13._visible = false;
_root.barr14._visible = false;
_root.barr15._visible = false;
_root.barr16._visible = false;
_root.barr17._visible = false;
_root.barr18._visible = false;
_root.barr19._visible = false;
_root.barr20._visible = false;
_root.barr21._visible = false;
_root.barr22._visible = false;
_root.barr23._visible = false;
_root.barr24._visible = false;
_root.barr25._visible = false;
_root.barr26._visible = false;
_root.barr27._visible = false;
_root.barr28._visible = false;
_root.barr29._visible = false;
_root.barr30._visible = false;
_root.barr31._visible = false;
_root.barr32._visible = false;
_root.barr33._visible = false;
_root.barr34._visible = false;
_root.barr35._visible = false;
_root.barr36._visible = false;
_root.barr37._visible = false;
_root.barr38._visible = false;
_root.barr39._visible = false;
_root.barr40._visible = false;
_root.enemy._visible = false;
_root.enemy2._visible = false;
_root.enemy3._visible = false;
_root.enemy4._visible = false;
_root.enemy5._visible = false;
_root.enemy6._visible = false;
_root.enemy7._visible = false;
_root.player._visible = false;
_root.tree._visible = false;
_root.tree2._visible = false;
_root.tree3._visible = false;
_root.tree4._visible = false;
_root.tree5._visible = false;
_root.tree6._visible = false;
_root.tree7._visible = false;
_root.tree8._visible = false;
_root.tree9._visible = false;
_root.tree10._visible = false;
_root.tree11._visible = false;
_root.tree12._visible = false;
_root.tree13._visible = false;
_root.tree14._visible = false;
_root.tree15._visible = false;
_root.tree16._visible = false;
_root.tree17._visible = false;
_root.tree18._visible = false;
_root.tree19._visible = false;
_root.tree20._visible = false;
_root.treas._visible = false;
_root.treas2._visible = false;
_root.treas3._visible = false;
_root.teleport._visible = false;
_root.teleport2._visible = false;
_root.men._visible = false;
_root.player._visible = false;
removeMovieClip(_root.BG);
removeMovieClip(_root.barr);
removeMovieClip(_root.barr2);
removeMovieClip(_root.barr3);
removeMovieClip(_root.barr4);
removeMovieClip(_root.barr5);
removeMovieClip(_root.barr6);
removeMovieClip(_root.barr7);
removeMovieClip(_root.barr8);
removeMovieClip(_root.barr9);
removeMovieClip(_root.barr10);
removeMovieClip(_root.barr11);
removeMovieClip(_root.barr12);
removeMovieClip(_root.barr13);
removeMovieClip(_root.barr14);
removeMovieClip(_root.barr15);
removeMovieClip(_root.barr16);
removeMovieClip(_root.barr17);
removeMovieClip(_root.barr18);
removeMovieClip(_root.barr19);
removeMovieClip(_root.barr20);
removeMovieClip(_root.barr21);
removeMovieClip(_root.barr22);
removeMovieClip(_root.barr23);
removeMovieClip(_root.barr24);
removeMovieClip(_root.barr25);
removeMovieClip(_root.barr26);
removeMovieClip(_root.barr27);
removeMovieClip(_root.barr28);
removeMovieClip(_root.barr29);
removeMovieClip(_root.barr30);
removeMovieClip(_root.barr31);
removeMovieClip(_root.barr32);
removeMovieClip(_root.barr33);
removeMovieClip(_root.barr34);
removeMovieClip(_root.barr35);
removeMovieClip(_root.barr36);
removeMovieClip(_root.barr37);
removeMovieClip(_root.barr38);
removeMovieClip(_root.barr39);
removeMovieClip(_root.barr40);
removeMovieClip(_root.enemy);
removeMovieClip(_root.enemy2);
removeMovieClip(_root.enemy3);
removeMovieClip(_root.enemy4);
removeMovieClip(_root.enemy5);
removeMovieClip(_root.enemy6);
removeMovieClip(_root.enemy7);
removeMovieClip(_root.enemy8);
removeMovieClip(_root.player);
removeMovieClip(_root.tree);
removeMovieClip(_root.tree2);
removeMovieClip(_root.tree3);
removeMovieClip(_root.tree4);
removeMovieClip(_root.tree5);
removeMovieClip(_root.tree8);
removeMovieClip(_root.tree7);
removeMovieClip(_root.tree6);
removeMovieClip(_root.tree10);
removeMovieClip(_root.tree9);
removeMovieClip(_root.tree11);
removeMovieClip(_root.tree12);
removeMovieClip(_root.tree13);
removeMovieClip(_root.tree14);
removeMovieClip(_root.tree15);
removeMovieClip(_root.tree18);
removeMovieClip(_root.tree17);
removeMovieClip(_root.tree16);
removeMovieClip(_root.tree20);
removeMovieClip(_root.tree19);
removeMovieClip(_root.treas);
removeMovieClip(_root.treas2);
removeMovieClip(_root.treas3);
removeMovieClip(_root.teleport);
removeMovieClip(_root.teleport2);
removeMovieClip(_root.men);
removeMovieClip(_root.player);
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Frame 32
for (i in _root) {
_root[i].swapDepths(10102);
removeMovieClip(_root[i]);
}
Symbol 12 Button
on (release) {
_root.main.gotoAndPlay(2);
}
Symbol 13 Button
on (release) {
_root.main.gotoAndPlay("ins");
}
Symbol 14 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 29 Button
on (release) {
_root.setsail.play();
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 45
stop();
Symbol 43 MovieClip Frame 89
stop();
Symbol 48 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 51 MovieClip Frame 1
stop();
Stage.showMenu = false;
Symbol 51 MovieClip Frame 50
stop();
_root.play();
Symbol 79 MovieClip Frame 13
stop();
Symbol 82 MovieClip Frame 121
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 26
stopAllSounds();
Symbol 85 MovieClip Frame 35
_root.play();
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 41
if (_root.superB == true) {
duplicateMovieClip (_root.fireburst, "null" + _root.player.ele, _root.player.ele);
duplicateMovieClip (_root.fireburst2, ("null" + _root.player.ele) + 5, _root.player.ele + 5);
duplicateMovieClip (_root.fireburst3, ("null" + _root.player.ele) + 6, _root.player.ele + 6);
duplicateMovieClip (_root.fireburst4, ("null" + _root.player.ele) + 7, _root.player.ele + 7);
}
Symbol 124 MovieClip Frame 60
_root.player.bo = _root.player.bo - 1;
Symbol 124 MovieClip Frame 71
stop();
Symbol 135 MovieClip Frame 1
_root.player.swapDepths(500);
stop();
Symbol 135 MovieClip Frame 22
gotoAndPlay (2);
Symbol 135 MovieClip Frame 23
duplicateMovieClip (_root.ghost, ("null" + _root.player.ele) + 400, 1400);
_root.player.dead = true;
Symbol 135 MovieClip Frame 30
_root.player._x = _root.BG._x - _root.player.IX;
_root.player._y = _root.BG._y - _root.player.IY;
Symbol 135 MovieClip Frame 105
_root.player.dead = false;
_root.player.respawn = true;
Symbol 135 MovieClip Frame 106
_root.player.pirate.gotoAndStop(1);
Symbol 135 MovieClip Frame 107
_root.player.pirate.gotoAndStop(1);
Symbol 135 MovieClip Frame 108
gotoAndStop (1);
Symbol 135 MovieClip Frame 109
gotoAndStop (1);
Symbol 135 MovieClip Frame 110
gotoAndStop (1);
Symbol 135 MovieClip Frame 128
_root.player._x = _root.player.destinX;
_root.player._y = _root.player.destinY;
Symbol 135 MovieClip Frame 241
_root.player.teleport = false;
Symbol 135 MovieClip Frame 242
_root.player.teleport = false;
Symbol 135 MovieClip Frame 243
_root.player.teleport = false;
Symbol 135 MovieClip Frame 245
_root.player.gotoAndStop(1);
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 4
duplicateMovieClip (_root.bonusX2, bonus, 50000);
_root.score = _root.score + 50;
Symbol 147 MovieClip Frame 15
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
_root.treasure = _root.treasure + 1;
Symbol 154 MovieClip Frame 45
stop();
Symbol 167 MovieClip Frame 24
gotoAndPlay (2);
Symbol 167 MovieClip Frame 61
stop();
Symbol 179 MovieClip Frame 3
_root.player.killed = _root.player.killed + 1;
Symbol 179 MovieClip Frame 70
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
stop();
Symbol 205 Button
on (release) {
_root.setsail.play();
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 65
stop();
Symbol 206 MovieClip Frame 66
gotoAndStop (65);
Symbol 206 MovieClip Frame 67
gotoAndStop (65);
Symbol 206 MovieClip Frame 68
gotoAndStop (65);
Symbol 206 MovieClip Frame 69
gotoAndStop (65);
Symbol 206 MovieClip Frame 70
gotoAndStop (65);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
stopAllSounds();
Symbol 218 MovieClip Frame 3
_quality = "High";
Symbol 218 MovieClip Frame 80
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 52
stopAllSounds();
Symbol 255 MovieClip Frame 228
_quality = "High";
Symbol 255 MovieClip Frame 370
_quality = "Low";
Symbol 255 MovieClip Frame 482
stopAllSounds();
Symbol 255 MovieClip Frame 483
stop();
_root.play();
_root.Gover = true;
Symbol 280 MovieClip Frame 136
stop();
Symbol 316 MovieClip Frame 122
stop();
Symbol 331 MovieClip Frame 122
stop();
Symbol 337 Button
on (release) {
gotoAndStop (1);
}
Symbol 345 MovieClip Frame 51
stop();
Symbol 348 Button
on (release) {
play();
}
Symbol 352 MovieClip Frame 1
stopAllSounds();
_root.BG._visible = false;
_root.barr._visible = false;
_root.barr2._visible = false;
_root.barr3._visible = false;
_root.barr4._visible = false;
_root.barr5._visible = false;
_root.barr6._visible = false;
_root.barr7._visible = false;
_root.barr8._visible = false;
_root.barr9._visible = false;
_root.barr10._visible = false;
_root.barr11._visible = false;
_root.barr12._visible = false;
_root.barr13._visible = false;
_root.barr14._visible = false;
_root.barr15._visible = false;
_root.barr16._visible = false;
_root.barr17._visible = false;
_root.barr18._visible = false;
_root.barr19._visible = false;
_root.barr20._visible = false;
_root.barr21._visible = false;
_root.barr22._visible = false;
_root.barr23._visible = false;
_root.barr24._visible = false;
_root.barr25._visible = false;
_root.barr26._visible = false;
_root.barr27._visible = false;
_root.barr28._visible = false;
_root.barr29._visible = false;
_root.barr30._visible = false;
_root.barr31._visible = false;
_root.barr32._visible = false;
_root.barr33._visible = false;
_root.barr34._visible = false;
_root.barr35._visible = false;
_root.barr36._visible = false;
_root.barr37._visible = false;
_root.barr38._visible = false;
_root.barr39._visible = false;
_root.barr40._visible = false;
_root.enemy._visible = false;
_root.enemy2._visible = false;
_root.enemy3._visible = false;
_root.enemy4._visible = false;
_root.enemy5._visible = false;
_root.enemy6._visible = false;
_root.enemy7._visible = false;
_root.player._visible = false;
_root.tree._visible = false;
_root.tree2._visible = false;
_root.tree3._visible = false;
_root.tree4._visible = false;
_root.tree5._visible = false;
_root.tree6._visible = false;
_root.tree7._visible = false;
_root.tree8._visible = false;
_root.tree9._visible = false;
_root.tree10._visible = false;
_root.tree11._visible = false;
_root.tree12._visible = false;
_root.tree13._visible = false;
_root.tree14._visible = false;
_root.tree15._visible = false;
_root.tree16._visible = false;
_root.tree17._visible = false;
_root.tree18._visible = false;
_root.tree19._visible = false;
_root.tree20._visible = false;
_root.treas._visible = false;
_root.treas2._visible = false;
_root.treas3._visible = false;
_root.teleport._visible = false;
_root.teleport2._visible = false;
Symbol 352 MovieClip Frame 2
_quality = "low";
_root.BG._visible = false;
_root.barr._visible = false;
_root.barr2._visible = false;
_root.barr3._visible = false;
_root.barr4._visible = false;
_root.barr5._visible = false;
_root.barr6._visible = false;
_root.barr7._visible = false;
_root.barr8._visible = false;
_root.barr9._visible = false;
_root.barr10._visible = false;
_root.barr11._visible = false;
_root.barr12._visible = false;
_root.barr13._visible = false;
_root.barr14._visible = false;
_root.barr15._visible = false;
_root.barr16._visible = false;
_root.barr17._visible = false;
_root.barr18._visible = false;
_root.barr19._visible = false;
_root.barr20._visible = false;
_root.barr21._visible = false;
_root.barr22._visible = false;
_root.barr23._visible = false;
_root.barr24._visible = false;
_root.barr25._visible = false;
_root.barr26._visible = false;
_root.barr27._visible = false;
_root.barr28._visible = false;
_root.barr29._visible = false;
_root.barr30._visible = false;
_root.barr31._visible = false;
_root.barr32._visible = false;
_root.barr33._visible = false;
_root.barr34._visible = false;
_root.barr35._visible = false;
_root.barr36._visible = false;
_root.barr37._visible = false;
_root.barr38._visible = false;
_root.barr39._visible = false;
_root.barr40._visible = false;
_root.enemy._visible = false;
_root.enemy2._visible = false;
_root.enemy3._visible = false;
_root.enemy4._visible = false;
_root.enemy5._visible = false;
_root.enemy6._visible = false;
_root.enemy7._visible = false;
_root.player._visible = false;
_root.tree._visible = false;
_root.tree2._visible = false;
_root.tree3._visible = false;
_root.tree4._visible = false;
_root.tree5._visible = false;
_root.tree6._visible = false;
_root.tree7._visible = false;
_root.tree8._visible = false;
_root.tree9._visible = false;
_root.tree10._visible = false;
_root.tree11._visible = false;
_root.tree12._visible = false;
_root.tree13._visible = false;
_root.tree14._visible = false;
_root.tree15._visible = false;
_root.tree16._visible = false;
_root.tree17._visible = false;
_root.tree18._visible = false;
_root.tree19._visible = false;
_root.tree20._visible = false;
_root.treas._visible = false;
_root.treas2._visible = false;
_root.treas3._visible = false;
_root.teleport._visible = false;
_root.teleport2._visible = false;
_root.men._visible = false;
_root.player._visible = false;
removeMovieClip(_root.BG);
removeMovieClip(_root.barr);
removeMovieClip(_root.barr2);
removeMovieClip(_root.barr3);
removeMovieClip(_root.barr4);
removeMovieClip(_root.barr5);
removeMovieClip(_root.barr6);
removeMovieClip(_root.barr7);
removeMovieClip(_root.barr8);
removeMovieClip(_root.barr9);
removeMovieClip(_root.barr10);
removeMovieClip(_root.barr11);
removeMovieClip(_root.barr12);
removeMovieClip(_root.barr13);
removeMovieClip(_root.barr14);
removeMovieClip(_root.barr15);
removeMovieClip(_root.barr16);
removeMovieClip(_root.barr17);
removeMovieClip(_root.barr18);
removeMovieClip(_root.barr19);
removeMovieClip(_root.barr20);
removeMovieClip(_root.barr21);
removeMovieClip(_root.barr22);
removeMovieClip(_root.barr23);
removeMovieClip(_root.barr24);
removeMovieClip(_root.barr25);
removeMovieClip(_root.barr26);
removeMovieClip(_root.barr27);
removeMovieClip(_root.barr28);
removeMovieClip(_root.barr29);
removeMovieClip(_root.barr30);
removeMovieClip(_root.barr31);
removeMovieClip(_root.barr32);
removeMovieClip(_root.barr33);
removeMovieClip(_root.barr34);
removeMovieClip(_root.barr35);
removeMovieClip(_root.barr36);
removeMovieClip(_root.barr37);
removeMovieClip(_root.barr38);
removeMovieClip(_root.barr39);
removeMovieClip(_root.barr40);
removeMovieClip(_root.enemy);
removeMovieClip(_root.enemy2);
removeMovieClip(_root.enemy3);
removeMovieClip(_root.enemy4);
removeMovieClip(_root.enemy5);
removeMovieClip(_root.enemy6);
removeMovieClip(_root.enemy7);
removeMovieClip(_root.enemy8);
removeMovieClip(_root.player);
removeMovieClip(_root.tree);
removeMovieClip(_root.tree2);
removeMovieClip(_root.tree3);
removeMovieClip(_root.tree4);
removeMovieClip(_root.tree5);
removeMovieClip(_root.tree8);
removeMovieClip(_root.tree7);
removeMovieClip(_root.tree6);
removeMovieClip(_root.tree10);
removeMovieClip(_root.tree9);
removeMovieClip(_root.tree11);
removeMovieClip(_root.tree12);
removeMovieClip(_root.tree13);
removeMovieClip(_root.tree14);
removeMovieClip(_root.tree15);
removeMovieClip(_root.tree18);
removeMovieClip(_root.tree17);
removeMovieClip(_root.tree16);
removeMovieClip(_root.tree20);
removeMovieClip(_root.tree19);
removeMovieClip(_root.treas);
removeMovieClip(_root.treas2);
removeMovieClip(_root.treas3);
removeMovieClip(_root.teleport);
removeMovieClip(_root.teleport2);
removeMovieClip(_root.men);
removeMovieClip(_root.player);
Symbol 352 MovieClip Frame 177
_quality = "High";
stop();
Symbol 352 MovieClip Frame 292
stopAllSounds();
Symbol 352 MovieClip Frame 293
_root.play();
stop();