Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar.gotoAndStop(Math.round(getPercent * 100));
_root.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Frame 2
gotoAndPlay (1);
Frame 3
Stage.showMenu = false;
NewgroundsAPI.connectMovie(4864);
Frame 6
stop();
Frame 182
stopAllSounds();
Frame 189
Frame 1333
var myUN = ng_username;
_root.usertext.text = myUN;
Instance of Symbol 122 MovieClip in Frame 1334
onClipEvent (enterFrame) {
this._rotation = this._rotation - 25;
}
Frame 1336
stop();
Frame 1356
stop();
Frame 1357
var main = new Sound(_root.musicbox);
main.setVolume(100);
stop();
_global.score = 0;
_global.shells = 0;
_global.health = 100;
Instance of Symbol 172 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._y = this._y - 5;
this._y = this._y + _global.ygo;
if (this._y > 700) {
this._y = -100;
}
if (this._y < -200) {
this._y = 600;
}
}
Instance of Symbol 181 MovieClip "bullet1" in Frame 1357
onClipEvent (load) {
bullgo = 0;
die = 0;
}
onClipEvent (enterFrame) {
if (bullgo == 1) {
if (die == 0) {
mespeed = 30;
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (this._x > 800) {
bullgo = 0;
die = 0;
}
if (this._x < -100) {
bullgo = 0;
die = 0;
}
if (this._y > 600) {
bullgo = 0;
die = 0;
}
if (this._y < -100) {
bullgo = 0;
die = 0;
}
}
}
Instance of Symbol 181 MovieClip "bullet2" in Frame 1357
onClipEvent (load) {
bullgo = 0;
die = 0;
}
onClipEvent (enterFrame) {
if (bullgo == 1) {
if (die == 0) {
mespeed = 30;
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (this._x > 800) {
bullgo = 0;
die = 0;
}
if (this._x < -100) {
bullgo = 0;
die = 0;
}
if (this._y > 600) {
bullgo = 0;
die = 0;
}
if (this._y < -100) {
bullgo = 0;
die = 0;
}
}
}
Instance of Symbol 181 MovieClip "bullet3" in Frame 1357
onClipEvent (load) {
bullgo = 0;
die = 0;
}
onClipEvent (enterFrame) {
if (bullgo == 1) {
if (die == 0) {
mespeed = 30;
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (this._x > 800) {
bullgo = 0;
die = 0;
}
if (this._x < -100) {
bullgo = 0;
die = 0;
}
if (this._y > 600) {
bullgo = 0;
die = 0;
}
if (this._y < -100) {
bullgo = 0;
die = 0;
}
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 157 MovieClip "player" in Frame 1357
onClipEvent (load) {
speed = 0;
maxspeed = 10;
_global.rotspeed1 = 4;
}
onClipEvent (enterFrame) {
_root.shells.text = _global.shells;
_root.score.text = _global.score;
if (Key.isDown(37)) {
this._rotation = this._rotation - ((speed / 3) + _global.rotspeed1);
} else {
_global.goleft = 0;
}
if (Key.isDown(39)) {
this._rotation = this._rotation + ((speed / 3) + _global.rotspeed1);
} else {
_global.goright = 0;
}
if (Key.isDown(32)) {
this.machinegun.machinegunin.play();
}
if (speed < maxspeed) {
speed = speed + 1;
}
if (Key.isDown(38)) {
}
_root.topdepth1._x = _root.topdepth1._x + _global.xgo;
_root.topdepth2._x = _root.topdepth2._x + _global.xgo;
_root.topdepth3._x = _root.topdepth3._x + _global.xgo;
_root.topdepth1._y = _root.topdepth1._y + (_global.ygo - 4);
_root.topdepth2._y = _root.topdepth2._y + (_global.ygo - 4);
_root.topdepth3._y = _root.topdepth3._y + (_global.ygo - 4);
if (_root.topdepth3._x > 886.4) {
_root.topdepth3._x = _root.topdepth1._x - 704.2;
}
if (_root.topdepth2._x > 886.4) {
_root.topdepth2._x = _root.topdepth3._x - 704.2;
}
if (_root.topdepth1._x > 886.4) {
_root.topdepth1._x = _root.topdepth2._x - 704.2;
}
if (_root.topdepth3._x < -1035.4) {
_root.topdepth3._x = _root.topdepth2._x + 704.2;
}
if (_root.topdepth2._x < -1035.4) {
_root.topdepth2._x = _root.topdepth1._x + 704.2;
}
if (_root.topdepth1._x < -1035.4) {
_root.topdepth1._x = _root.topdepth3._x + 704.2;
}
_global.xgo = Math.cos((Math.PI * this._rotation) / 180) * speed;
_global.ygo = Math.sin((Math.PI * this._rotation) / 180) * speed;
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 187 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.fish1._y, this._x - _root.fish1._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
if (die == 0) {
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
}
if (die == 0) {
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 21 MovieClip "fish1" in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 21 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 0) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 192 MovieClip in Frame 1357
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 471) + 30;
if (this._x < -1000) {
this._x = 900;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
if (this._x > 1000) {
this._x = -900;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
reat = new Sound();
reat.attachSound("lazer");
reat.start(0, 1);
this.gotoAndPlay("die");
pickup = Math.floor(Math.random() * 3) + 1;
if (pickup == 1) {
_root.player.gotoAndPlay("light1");
}
if (pickup == 2) {
_root.player.gotoAndPlay();
}
if (pickup == 3) {
_root.player.gotoAndPlay("gun");
}
scoreworth = 200;
multiplyer = 1;
if (_root.tools.powerup1._currentframe > 10) {
multiplyer = 2;
}
scoreity = Math.round(scoreworth * multiplyer);
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.sidebar1.sidebarflash.gotoAndPlay("yellow");
_root.tools.sidebar2.sidebarflash.gotoAndPlay("yellow");
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 197 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_global.score = _global.score + 1000;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 197 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 3) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_global.score = _global.score + 1000;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 221 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 1900) {
this._x = -1100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -1200) {
this._x = 1800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 1700) {
this._y = -1100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -1200) {
this._y = 1600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
if (die == 0) {
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
}
if (die == 0) {
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
if (this.hitspot.hitTest(_root.player)) {
if (die == 0) {
_global.health = _global.health - 10;
this.diver.gun.play();
}
}
}
Instance of Symbol 197 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_global.score = _global.score + 1000;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 197 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_global.score = _global.score + 1000;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 197 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
if (die == 0) {
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_global.score = _global.score + 1000;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
}
Instance of Symbol 221 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 1900) {
this._x = -1100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -1200) {
this._x = 1800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 1700) {
this._y = -1100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -1200) {
this._y = 1600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
if (die == 0) {
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
}
if (die == 0) {
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
if (this.hitspot.hitTest(_root.player)) {
if (die == 0) {
_global.health = _global.health - 10;
this.diver.gun.play();
}
}
}
Instance of Symbol 221 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 1900) {
this._x = -1100;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._x < -1200) {
this._x = 1800;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y > 1700) {
this._y = -1100;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < -1200) {
this._y = 1600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
}
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
if (die == 0) {
scareamound = 400;
if (meanfish == 1) {
if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (scared < scareamound) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
}
if (die == 0) {
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 1) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
if (this.hitspot.hitTest(_root.player)) {
if (die == 0) {
_global.health = _global.health - 10;
this.diver.gun.play();
}
}
}
Instance of Symbol 223 MovieClip "topdepth1" in Frame 1357
onClipEvent (enterFrame) {
if (this._y > 700) {
this._y = -100;
}
if (this._y < -200) {
this._y = 600;
}
}
Instance of Symbol 230 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
Rrandy = Math.floor(Math.random() * 359) + 1;
Rrandy = Rrandy - 180;
if (this._x > 1900) {
this._x = -600;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (this._x < -1200) {
this._x = 1000;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (this._y > 1700) {
this._y = -600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (this._y < -1200) {
this._y = 1000;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (die == 0) {
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 7) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 230 MovieClip in Frame 1357
onClipEvent (load) {
die = 0;
mespeed = 8;
turnspeed = 4;
die = 0;
fiftyfifty = Math.round(Math.random() * 1) + 1;
selectfish = 1;
shotdie = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
Rrandy = Math.floor(Math.random() * 359) + 1;
Rrandy = Rrandy - 180;
if (this._x > 1900) {
this._x = -600;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (this._x < -1200) {
this._x = 1000;
this._y = yrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (this._y > 1700) {
this._y = -600;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (this._y < -1200) {
this._y = 1000;
this._x = xrandy;
this.gotoAndStop(frandy);
shotdie = 0;
this.gotoAndStop(1);
die = 0;
this._rotation = Rrandy;
}
if (die == 0) {
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
}
if (die == 0) {
if (_root.bullet1.hitTest(this.eat)) {
if (_root.bullet13.die == 0) {
shotdie++;
_root.bullet1.gotoAndPlay("die");
_root.bullet1.die = 1;
}
}
if (_root.bullet2.hitTest(this.eat)) {
if (_root.bullet2.die == 0) {
shotdie++;
_root.bullet2.gotoAndPlay("die");
_root.bullet2.die = 1;
}
}
if (_root.bullet3.hitTest(this.eat)) {
if (_root.bullet3.die == 0) {
shotdie++;
_root.bullet3.gotoAndPlay("die");
_root.bullet3.die = 1;
}
}
if (shotdie > 7) {
die = 1;
shotdie = 0;
this.gotoAndPlay("die");
scoreity = 20;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 184 MovieClip in Frame 1357
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
yrandy = Math.floor(Math.random() * 499) + 1;
xrandy = Math.floor(Math.random() * 799) + 1;
frandy = Math.floor(Math.random() * 9) + 1;
if (this._x > 900) {
this._x = -100;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._x < -200) {
this._x = 800;
this._y = yrandy;
this.gotoAndStop(frandy);
}
if (this._y > 700) {
this._y = -100;
this._x = xrandy;
this.gotoAndStop(frandy);
}
if (this._y < -200) {
this._y = 600;
this._x = xrandy;
this.gotoAndStop(frandy);
}
}
Instance of Symbol 241 MovieClip in Frame 1357
onClipEvent (load) {
_global.supply = 400;
}
onClipEvent (enterFrame) {
_global.supply = _global.supply - 0.5;
this.gotoAndStop(Math.round(_global.supply / 10));
}
Instance of Symbol 251 MovieClip "health" in Frame 1357
onClipEvent (enterFrame) {
this.gotoAndStop(_global.health);
if (_global.health < 0) {
if (_global.health > -10000) {
_root.player.play();
_root.play();
_global.xgo = 0;
setty = setty - 0.5;
var main = new Sound(_root.musicbox);
main.setVolume(setty);
_global.ygo = 0;
}
} else {
setty = 100;
}
}
Instance of Symbol 281 MovieClip "musicbox" in Frame 1357
onClipEvent (enterFrame) {
trace(this.getVolume);
}
Frame 1404
_root.gotoAndPlay("themenu");
Symbol 16 MovieClip Frame 16
gotoAndPlay (1);
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 48
stop();
Symbol 284 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var params = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var extra = {page:special};
}
SendLink(NEWGROUNDS, extra);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var i in params) {
params[i] = unescape(params[i]);
movie_options[i] = params[i];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var target_url = ((((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url));
var XML_in = new XML();
XML_in.ignoreWhite = true;
XML_in.load(target_url);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var target_url = ((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id);
for (var x in extra) {
target_url = target_url + ((("&" + escape(x)) + "=") + escape(extra[x]));
}
trace(target_url);
if (debug) {
target_url = target_url + "&debug=1";
}
if (open_in_browser) {
getURL (target_url, "_blank");
} else {
var XML_in = new XML();
XML_in.ignoreWhite = true;
XML_in.onLoad = function (success) {
var params = new Object();
var i = 0;
while (i < this.firstChild.childNodes.length) {
var param = this.firstChild.childNodes[i];
var param_name = param.nodeName;
var param_value = param.attributes.value;
if (param_value == Number(param_value)) {
param_value = Number(param_value);
}
params[param_name] = param_value;
i++;
}
NewgroundsAPI.ReadGatewayData(params);
};
XML_in.load(target_url);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var center = new Object();
center.x = Stage.width / 2;
center.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(center.x - 240, center.y - 120);
_root.NGAPI_new_version_overlay.lineTo(center.x + 240, center.y - 120);
_root.NGAPI_new_version_overlay.lineTo(center.x + 240, center.y + 80);
_root.NGAPI_new_version_overlay.lineTo(center.x - 240, center.y + 80);
_root.NGAPI_new_version_overlay.lineTo(center.x - 240, center.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(center.x + 210, center.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 230, center.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 230, center.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 210, center.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 210, center.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(center.x + 214, center.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 226, center.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(center.x + 226, center.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 214, center.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var message = ((("Version " + version) + " is now available at:") + newline);
var link_start = message.length;
message = message + movie_url;
var link_end = message.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, center.x - 210, center.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = message;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(link_start, link_end, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var message = (("This movie has not been approved for use on " + hostname) + ".");
message = message + "\r\rFor an aproved copy, please visit:\r";
var link_start = message.length;
message = message + movie_url;
var link_end = message.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = message;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(link_start, link_end, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 42 Button
on (press) {
play();
}
Symbol 46 Button
on (press) {
_root.gotoAndPlay("thisfinished");
}
Instance of Symbol 65 MovieClip in Symbol 69 MovieClip Frame 1
on (press) {
getURL ("http://www.jjwallace.info/thankyou.php", _blank);
}
Symbol 83 MovieClip Frame 47
stop();
Symbol 84 Button
on (press) {
_root.gotoAndPlay("thisfinished2");
}
Symbol 88 Button
on (press) {
getURL ("http://animalactor.newgrounds.com/", _blank);
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 111 Button
on (press) {
play();
fx1 = new Sound(zoop);
fx1.attachSound("pop");
fx1.stop("pop");
fx1.start(0, 1);
}
Symbol 144 MovieClip Frame 19
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 2
_root.bullet1.bullgo = 1;
_root.bullet1._x = _root.player._x + (Math.cos(((Math.PI * _root.player._rotation) + 450) / 180) * 30);
_root.bullet1._y = _root.player._y + (Math.sin(((Math.PI * _root.player._rotation) + 450) / 180) * 30);
_root.bullet1._rotation = _root.player._rotation;
Symbol 153 MovieClip Frame 7
stop();
Symbol 153 MovieClip Frame 8
_root.bullet2.bullgo = 1;
_root.bullet2._x = _root.player._x + (Math.cos(((Math.PI * _root.player._rotation) + 450) / 180) * 30);
_root.bullet2._y = _root.player._y + (Math.sin(((Math.PI * _root.player._rotation) + 450) / 180) * 30);
_root.bullet2._rotation = _root.player._rotation;
Symbol 153 MovieClip Frame 13
stop();
Symbol 153 MovieClip Frame 14
_root.bullet3.bullgo = 1;
_root.bullet3._x = _root.player._x + (Math.cos(((Math.PI * _root.player._rotation) + 450) / 180) * 30);
_root.bullet3._y = _root.player._y + (Math.sin(((Math.PI * _root.player._rotation) + 450) / 180) * 30);
_root.bullet3._rotation = _root.player._rotation;
Symbol 153 MovieClip Frame 19
stop();
gotoAndPlay (2);
Symbol 155 MovieClip Frame 10
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
Symbol 157 MovieClip Frame 35
stop();
Symbol 165 Button
on (press) {
fx12 = new Sound(zoop);
fx12.attachSound("sfxswitch1");
fx12.stop("sfxswitch1");
fx12.start(0, 1);
play();
}
Symbol 168 MovieClip Frame 1
_quality = "medium";
stop();
Symbol 168 MovieClip Frame 2
_quality = "high";
stop();
Symbol 168 MovieClip Frame 3
_quality = "low";
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 5
this.die = 1;
Symbol 181 MovieClip Frame 15
this._x = 2000;
die = 0;
Symbol 184 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 48
stop();
Symbol 192 MovieClip Frame 32
gotoAndPlay (1);
Symbol 192 MovieClip Frame 51
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 15
_global.supply = _global.supply + 100;
Instance of Symbol 196 MovieClip in Symbol 197 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
if (this._alpha == 100) {
this._alpha = 0;
_global.shells++;
this.play();
}
}
}
Symbol 197 MovieClip Frame 48
stop();
Symbol 205 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip "eater" in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip "eater" in Symbol 221 MovieClip Frame 5
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 221 MovieClip Frame 61
stop();
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 196 MovieClip in Symbol 230 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
if (this._alpha == 100) {
this._alpha = 0;
_global.shells++;
this.play();
}
}
}
Instance of Symbol 196 MovieClip in Symbol 230 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
if (this._alpha == 100) {
this._alpha = 0;
_global.shells++;
this.play();
}
}
}
Instance of Symbol 196 MovieClip in Symbol 230 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
if (this._alpha == 100) {
this._alpha = 0;
_global.shells++;
this.play();
}
}
}
Symbol 230 MovieClip Frame 34
stop();
Symbol 281 MovieClip Frame 636
_root.wooo._y = -200;