Frame 1
Loaded = Math.round(getBytesLoaded());
total = Math.round(getBytesTotal());
percent = Loaded / total;
trace(Loaded);
trace(total);
trace(percent);
bar._width = percent * 150;
text = Math.round(percent * 100) + "%";
if (Loaded == total) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
__com_mochibot__("ce487f77", this, 10301, true);
Frame 4
stop();
Frame 6
function generateParticles(xPos, yPos) {
var _local6 = 30 + (Math.random() * 20);
var _local5 = 0;
while (_local5 < _local6) {
var _local2 = this.attachMovie("particleObj", "particleObj" + particleCounter, this.getNextHighestDepth());
_local2._x = xPos;
_local2._y = yPos;
_local2._alpha = 30;
_local2._xscale = (_local2._yscale = 100 + (Math.random() * 300));
_local2._rotation = Math.random() * 360;
_local2.filters = [blurfilter];
_local2.dirX = Math.random() > 0.5;
_local2.dirY = Math.random() > 0.5;
_local2.speedX = Math.random() * 2;
_local2.speedY = Math.random() * 2;
_local2.onEnterFrame = function () {
var _local3 = this.speedX * Math.random();
var _local2 = this.speedY * Math.random();
this._y = this._y - (this.dirY ? (_local2) : (-_local2));
this._x = this._x - (this.dirX ? (_local3) : (-_local3));
this._xscale = (this._yscale = this._yscale - 10);
};
particleCounter++;
_local5++;
}
}
acceleration = 0.5;
speedDecay = 0.96;
rotationStep = 8;
maxSpeed = 8;
backSpeed = 1;
gravity = 5;
currentspeed = 0;
var particleCounter = 0;
var maxParticleCount = 15;
var isMouseDown = false;
var blurfilter = (new flash.filters.BlurFilter(9, 9, 1));
_global.score = 0;
_global.prey = 0;
_global.level1over = 0;
_global.level2over = 0;
_global.level3over = 0;
_global.level4over = 0;
_global.level5over = 0;
_global.level6over = 0;
_global.level7over = 0;
_global.level8over = 0;
_global.level9over = 0;
_global.level10over = 0;
_global.level11over = 0;
_global.level12over = 0;
_global.level13over = 0;
_global.level14over = 0;
_global.level15over = 0;
_global.level16over = 0;
_root._quality = "MEDIUM";
splashsound = new Sound();
splashsound.attachSound("splashsound");
bitesound = new Sound();
bitesound.attachSound("bitesound");
arrowhit = new Sound();
arrowhit.attachSound("arrowhit");
release = new Sound();
release.attachSound("release");
bite1 = new Sound();
bite1.attachSound("bite1");
bite2 = new Sound();
bite2.attachSound("bite2");
bite3 = new Sound();
bite3.attachSound("bite3");
bite4 = new Sound();
bite4.attachSound("bite4");
bonus = new Sound();
bonus.attachSound("bonus");
stageIntro = new Sound();
stageIntro.attachSound("stageIntro");
clickmouse = new Sound();
clickmouse.attachSound("clickmouse");
wingsflap = new Sound();
wingsflap.attachSound("wingsflap");
boss_sonar = new Sound();
boss_sonar.attachSound("boss_sonar");
boss_enginesound = new Sound();
boss_enginesound.attachSound("boss_enginesound");
boss_netdrop = new Sound();
boss_netdrop.attachSound("boss_netdrop");
boss_shoot1 = new Sound();
boss_shoot1.attachSound("boss_shoot1");
boss_shoot2 = new Sound();
boss_shoot2.attachSound("boss_shoot2");
boss_explosion = new Sound();
boss_explosion.attachSound("boss_explosion");
pullstring = new Sound();
pullstring.attachSound("pullstring");
boss_warn = new Sound();
boss_warn.attachSound("boss_warn");
orca_sound = new Sound();
orca_sound.attachSound("orca_sound");
seal_sound = new Sound();
seal_sound.attachSound("seal_sound");
timersound = new Sound();
timersound.attachSound("timersound");
pain1 = new Sound();
pain1.attachSound("pain1");
pain2 = new Sound();
pain2.attachSound("pain2");
pain3 = new Sound();
pain3.attachSound("pain3");
pain4 = new Sound();
pain4.attachSound("pain4");
water_dash = new Sound();
water_dash.attachSound("water_dash");
water_attack = new Sound();
water_attack.attachSound("water_attack");
cagehit = new Sound();
cagehit.attachSound("cagehit");
uwsound = new Sound(underwatersoundMC);
uwsound.attachSound("underwatersound");
wvsound = new Sound(wavesoundMC);
wvsound.attachSound("wavesound");
soundbg = new Sound(soundbgMC);
soundbg.attachSound("soundbg");
levelsound = new Sound(levelsoundMC);
levelsound.attachSound("levelsound");
mapsound = new Sound(mapsoundMC);
mapsound.attachSound("mapsound");
stop();
stop();
stopAllSounds();
_root.wvsound.start(0, 999);
Frame 7
stop();
stopAllSounds();
_root.stageIntro.start();
_global.herolife = 500;
_global.levelgoal = 0;
_global.crunch = 0;
_global.checkcrunch = 0;
_global.gameover = 0;
_global.biting = 0;
_global.levelcomplete = 0;
_global.timeover = 0;
_global.bosslife = 150;
_global.fish1kill = 0;
_global.fish2kill = 0;
_global.otterkill = 0;
_global.birdfloatkill = 0;
_global.seagullkill = 0;
_global.diverkill = 0;
_global.sealkill = 0;
_global.esealkill = 0;
_global.orcakill = 0;
_global.sharkkill = 0;
_global.surferkill = 0;
_global.fishermenkill = 0;
_global.humpbackkill = 0;
_global.surferkill = 0;
_global.bosskill = 0;
_global.researcherkill = 0;
Frame 8
stop();
_global.gamelevel = 20;
stopAllSounds();
_root.soundbg.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 8
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
if (_y > 540) {
_y = 540;
}
this._y = this._y + 1;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 8
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 9
stop();
stopAllSounds();
_root.stageIntro.start();
_global.level14over = 1;
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtlevelprey = ((((((((((_global.researcherkill + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 21)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 20) && (_global.prey < 41)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 40) && (_global.prey < 61)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 60) && (_global.prey < 81)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 80) && (_global.prey < 101)) {
txtrank = "Big Shark";
} else if ((_global.prey > 100) && (_global.prey < 121)) {
txtrank = "Killer Great White";
} else if (_global.prey > 120) {
txtrank = "Freaking Fish God";
}
Frame 11
stop();
stopAllSounds();
Frame 12
stop();
stopAllSounds();
_global.herolife = 500;
_global.levelgoal = 0;
_global.crunch = 0;
_global.checkcrunch = 0;
_global.gameover = 0;
_global.biting = 0;
_global.levelcomplete = 0;
_global.timeover = 0;
_global.bosslife = 150;
_global.soldier1dead = 0;
_global.soldier2dead = 0;
_global.fish1kill = 0;
_global.fish2kill = 0;
_global.otterkill = 0;
_global.birdfloatkill = 0;
_global.seagullkill = 0;
_global.diverkill = 0;
_global.sealkill = 0;
_global.esealkill = 0;
_global.orcakill = 0;
_global.sharkkill = 0;
_global.surferkill = 0;
_global.fishermankill = 0;
_global.humpbackkill = 0;
_global.surferkill = 0;
_global.bosskill = 0;
_global.researcherkill = 0;
_global.sealgoal = 0;
_global.esealgoal = 0;
_global.ottergoal = 0;
_global.birdfloatgoal = 0;
_global.seagullgoal = 0;
_global.divergoal = 0;
_global.orcagoal = 0;
_global.sharkgoal = 0;
_global.surfergoal = 0;
_global.fishermangoal = 0;
_global.researchergoal = 0;
_global.humpbackgoal = 0;
_global.bossgoal = 0;
stop();
_root.mapsound.start(0, 999);
Frame 13
stop();
stopAllSounds();
_root.stageIntro.start();
Frame 14
stop();
_global.goal = 100;
_global.gamelevel = 1;
_global.sealgoal = 3;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 14
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
if (_y > 540) {
_y = 540;
}
this._y = this._y + 1;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 14
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 15
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtlevelprey = (((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 16
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level1over != 1) {
_root.gotoAndStop("title");
}
Frame 17
stop();
_global.goal = 200;
_global.gamelevel = 2;
_global.sealgoal = 2;
_global.ottergoal = 2;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 17
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
if (_y > 540) {
_y = 540;
}
this._y = this._y + 1;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 17
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 18
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtlevelprey = (((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 19
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level2over != 1) {
_root.gotoAndStop("title");
}
Frame 20
stop();
_global.goal = 200;
_global.gamelevel = 3;
_global.divergoal = 2;
_global.ottergoal = 3;
_global.surfergoal = 2;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 20
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
if (_y > 540) {
_y = 540;
}
this._y = this._y + 1;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 20
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 21
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtlevelprey = ((((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 22
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level3over != 1) {
_root.gotoAndStop("title");
}
Frame 23
stop();
_global.goal = 600;
_global.gamelevel = 4;
_global.sealgoal = 3;
_global.surfergoal = 3;
_global.seagullgoal = 2;
_global.birdfloatgoal = 2;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 23
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 23
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 24
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtlevelprey = ((((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 25
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level4over != 1) {
_root.gotoAndStop("title");
}
Frame 26
boss.boss_float.harpoon.onEnterFrame = function () {
if (_global.soldier2dead == 0) {
mousex = (_root.shark._x - 10) - this._parent._parent._x;
mousey = ((_root.shark._y - 10) - this._parent._parent._y) * -1;
angle = Math.atan2(mousey, mousex);
_root.boss.boss_float.harpoon._rotation = ((-angle) * 180) / Math.PI;
myrot = _root.boss.boss_float.harpoon._rotation;
if (myrot > 60) {
_root.boss.boss_float.harpoon._rotation = 60;
}
if (myrot < 1) {
_root.boss.boss_float.harpoon._rotation = 1;
}
}
};
boss.boss_float.harpoon2.onEnterFrame = function () {
if (_global.soldier1dead == 0) {
mousex2 = (_root.shark._x - 10) - this._parent._parent._x;
mousey2 = ((_root.shark._y - 10) - this._parent._parent._y) * -1;
angle2 = Math.atan2(mousey2, mousex2);
_root.boss.boss_float.harpoon2._rotation = ((-angle2) * 180) / Math.PI;
if (_root.boss.boss_float.harpoon2._rotation > 0) {
myrot2 = _root.boss.boss_float.harpoon2._rotation;
}
if (myrot2 > 170) {
_root.boss.boss_float.harpoon2._rotation = 170;
}
if (myrot2 < 1) {
_root.boss.boss_float.harpoon2._rotation = 1;
}
if (myrot2 > 90) {
_root.boss.boss_float.soldiertop._xscale = Math.abs(_root.boss.boss_float.soldiertop._xscale);
}
if (myrot2 < 90) {
_root.boss.boss_float.soldiertop._xscale = -Math.abs(_root.boss.boss_float.soldiertop._xscale);
}
}
};
stop();
_global.goal = 600;
_global.gamelevel = 5;
_global.bossgoal = 1;
stopAllSounds();
_root.soundbg.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.boss_enginesound.start(0, 999);
_root.boss_sonar.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1156 MovieClip "boss" in Frame 26
onClipEvent (load) {
_global.bosslife = 100;
gettarget = 0;
}
onClipEvent (enterFrame) {
if (_global.bosslife > 0) {
if (gettarget == 0) {
if (_root.shark._alpha == 0) {
speed = 0;
} else {
speed = 1.5;
}
currentx = this._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettarget = 1;
if (gettargetx > currentx) {
moveforward = 1;
}
if (gettargetx < currentx) {
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._x < gettargetx) {
this._x = this._x + speed;
} else {
gettarget = 0;
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._x > gettargetx) {
this._x = this._x - speed;
} else {
gettarget = 0;
}
}
if ((_global.harpoon1shoot == 1) && (_global.soldier2dead == 0)) {
_global.harpoon1shoot = 0;
_root.boss.boss_float.harpoon._xscale = 95;
angle = _root.boss.boss_float.harpoon._rotation - 1;
start_ball_x = _root.boss.boss_float.harpoon._x + (50 * Math.cos((angle * Math.PI) / 180));
start_ball_y = _root.boss.boss_float.harpoon._y - (20 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("harpoon_arrow", "cannonball_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * 30;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * 30;
_root.release.start();
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + 2;
this._x = this._x + (this.dirx / 2);
this._y = this._y + (this.diry / 2);
this._rotation = (Math.atan2(this.diry, this.dirx) * 180) / Math.PI;
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 20;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
} else if ((_global.harpoon2shoot == 1) && (_global.soldier1dead == 0)) {
_global.harpoon2shoot = 0;
_root.boss.boss_float.harpoon2._xscale = 95;
angle2 = _root.boss.boss_float.harpoon2._rotation - 1;
start_ball_x2 = _root.boss.boss_float.harpoon2._x + (50 * Math.cos((angle2 * Math.PI) / 180));
start_ball_y2 = _root.boss.boss_float.harpoon2._y - (20 * Math.sin((angle2 * Math.PI) / 180));
cannonball_fired2 = attachMovie("harpoon_arrow", "cannonball2_" + _root.getNextHighestDepth(), _root.getNextHighestDepth() + 1, {_x:start_ball_x2, _y:start_ball_y2});
cannonball_fired2.dirx2 = Math.cos((angle2 * Math.PI) / 180) * 30;
cannonball_fired2.diry2 = Math.sin((angle2 * Math.PI) / 180) * 30;
_root.release.start();
cannonball_fired2.onEnterFrame = function () {
this.diry2 = this.diry2 + 2;
this._x = this._x + (this.dirx2 / 2);
this._y = this._y + (this.diry2 / 2);
this._rotation = (Math.atan2(this.diry2, this.dirx2) * 180) / Math.PI;
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 20;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
}
} else {
_global.score = _global.score + 500;
this.boss_float.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 26
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 26
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 27
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtbosskill = _global.bosskill;
txtlevelprey = (((((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.bosskill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 28
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level5over != 1) {
_root.gotoAndStop("title");
}
Frame 29
stop();
_global.goal = 600;
_global.gamelevel = 6;
_global.sealgoal = 10;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 29
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 29
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 30
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtlevelprey = ((((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 31
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level6over != 1) {
_root.gotoAndStop("title");
}
Frame 32
stop();
_global.goal = 600;
_global.gamelevel = 7;
_global.sharkgoal = 1;
_global.esealgoal = 2;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 32
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 32
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 33
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtlevelprey = ((((((((_global.fish1kill + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 34
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level7over != 1) {
_root.gotoAndStop("title");
}
Frame 35
stop();
_global.goal = 600;
_global.gamelevel = 8;
_global.sharkgoal = 2;
_global.seagullgoal = 3;
_global.orcagoal = 1;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.orca_sound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 35
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 35
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 36
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtlevelprey = (((((((((_global.orcakill + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 38
stop();
stopAllSounds();
_global.herolife = 500;
_global.levelgoal = 0;
_global.crunch = 0;
_global.checkcrunch = 0;
_global.gameover = 0;
_global.biting = 0;
_global.levelcomplete = 0;
_global.timeover = 0;
_global.bosslife = 150;
_global.soldier1dead = 0;
_global.soldier2dead = 0;
_global.fish1kill = 0;
_global.fish2kill = 0;
_global.otterkill = 0;
_global.birdfloatkill = 0;
_global.seagullkill = 0;
_global.diverkill = 0;
_global.sealkill = 0;
_global.esealkill = 0;
_global.orcakill = 0;
_global.sharkkill = 0;
_global.surferkill = 0;
_global.fishermankill = 0;
_global.humpbackkill = 0;
_global.surferkill = 0;
_global.bosskill = 0;
_global.researcherkill = 0;
_global.sealgoal = 0;
_global.esealgoal = 0;
_global.ottergoal = 0;
_global.birdfloatgoal = 0;
_global.seagullgoal = 0;
_global.divergoal = 0;
_global.orcagoal = 0;
_global.sharkgoal = 0;
_global.surfergoal = 0;
_global.fishermangoal = 0;
_global.researchergoal = 0;
_global.humpbackgoal = 0;
_global.bossgoal = 0;
stop();
_root.mapsound.start(0, 999);
Frame 40
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level8over != 1) {
_root.gotoAndStop("title");
}
Instance of Symbol 1360 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkface)) {
i = 0;
rushspeed = _root.shark.speed;
bumped = 1;
if (rushspeed > 10) {
xx = 20;
_root.cagehit.start();
_parent._parent.gotoAndPlay(2);
} else if ((rushspeed > 8) && (rushspeed < 10)) {
xx = 10;
} else {
bumped = 0;
}
}
if (bumped == 1) {
i = i + 1;
if (i < 20) {
if (rushspeed > 8) {
xx = xx - 1;
_root.shark.speed = _root.shark.speed - 1;
_root.shark._y = _root.shark._y + xx;
} else {
_root.shark.speed = 0;
}
} else {
bumped = 0;
}
}
}
Instance of Symbol 1349 MovieClip in Frame 40
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((_parent._parent.bumpers == 2) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x - 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.researcherkill = _global.researcherkill + 1;
_global.researchergoal = _global.researchergoal - 1;
this.gotoAndStop("dead");
}
}
Instance of Symbol 1349 MovieClip in Frame 40
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((_parent._parent.bumpers == 1) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x + 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.researcherkill = _global.researcherkill + 1;
_global.researchergoal = _global.researchergoal - 1;
this.gotoAndStop("dead");
}
}
Frame 41
stop();
_global.goal = 600;
_global.gamelevel = 9;
_global.sharkgoal = 2;
_global.researchergoal = 3;
_global.orcagoal = 1;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.orca_sound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1374 MovieClip in Frame 41
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 719 MovieClip "shark" in Frame 41
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 41
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 42
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtlevelprey = ((((((((((_global.researcherkill + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 43
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level9over != 1) {
_root.gotoAndStop("title");
}
Frame 44
boss2.boss_float.harpoon.onEnterFrame = function () {
if (_global.soldier2dead == 0) {
mousex = (_root.shark._x - 10) - this._parent._parent._x;
mousey = ((_root.shark._y - 10) - this._parent._parent._y) * -1;
angle = Math.atan2(mousey, mousex);
_root.boss2.boss_float.harpoon._rotation = ((-angle) * 180) / Math.PI;
myrot = _root.boss2.boss_float.harpoon._rotation;
if (myrot > 60) {
_root.boss2.boss_float.harpoon._rotation = 60;
}
if (myrot < 1) {
_root.boss2.boss_float.harpoon._rotation = 1;
}
}
};
boss2.boss_float.harpoon2.onEnterFrame = function () {
if (_global.soldier1dead == 0) {
mousex2 = (_root.shark._x - 10) - this._parent._parent._x;
mousey2 = ((_root.shark._y - 10) - this._parent._parent._y) * -1;
angle2 = Math.atan2(mousey2, mousex2);
_root.boss2.boss_float.harpoon2._rotation = ((-angle2) * 180) / Math.PI;
if (_root.boss2.boss_float.harpoon2._rotation > 0) {
myrot2 = _root.boss2.boss_float.harpoon2._rotation;
}
if (myrot2 > 170) {
_root.boss2.boss_float.harpoon2._rotation = 170;
}
if (myrot2 < 1) {
_root.boss2.boss_float.harpoon2._rotation = 1;
}
if (myrot2 > 90) {
_root.boss2.boss_float.soldiertop._xscale = Math.abs(_root.boss2.boss_float.soldiertop._xscale);
}
if (myrot2 < 90) {
_root.boss2.boss_float.soldiertop._xscale = -Math.abs(_root.boss2.boss_float.soldiertop._xscale);
}
}
};
stop();
_global.goal = 600;
_global.gamelevel = 10;
_global.bossgoal = 1;
stopAllSounds();
_root.soundbg.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.boss_enginesound.start(0, 999);
_root.orca_sound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1397 MovieClip "boss2" in Frame 44
onClipEvent (load) {
_global.bosslife = 200;
gettarget = 0;
}
onClipEvent (enterFrame) {
if (_global.bosslife > 0) {
if (gettarget == 0) {
if (_root.shark._alpha == 0) {
speed = 0;
} else {
speed = 1.5;
}
currentx = this._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettarget = 1;
if (gettargetx > currentx) {
moveforward = 1;
}
if (gettargetx < currentx) {
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._x < gettargetx) {
this._x = this._x + speed;
} else {
gettarget = 0;
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._x > gettargetx) {
this._x = this._x - speed;
} else {
gettarget = 0;
}
}
if ((_global.harpoon1shoot == 1) && (_global.soldier2dead == 0)) {
_global.harpoon1shoot = 0;
_root.boss2.boss_float.harpoon._xscale = 95;
angle = _root.boss2.boss_float.harpoon._rotation - 1;
start_ball_x = _root.boss2.boss_float.harpoon._x + (50 * Math.cos((angle * Math.PI) / 180));
start_ball_y = _root.boss2.boss_float.harpoon._y - (20 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("harpoon_arrow", "cannonball_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * 30;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * 30;
_root.release.start();
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + 2;
this._x = this._x + (this.dirx / 2);
this._y = this._y + (this.diry / 2);
this._rotation = (Math.atan2(this.diry, this.dirx) * 180) / Math.PI;
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 50;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
} else if ((_global.harpoon2shoot == 1) && (_global.soldier1dead == 0)) {
_global.harpoon2shoot = 0;
_root.boss2.boss_float.harpoon2._xscale = 95;
angle2 = _root.boss2.boss_float.harpoon2._rotation - 1;
start_ball_x2 = _root.boss2.boss_float.harpoon2._x + (50 * Math.cos((angle2 * Math.PI) / 180));
start_ball_y2 = _root.boss2.boss_float.harpoon2._y - (20 * Math.sin((angle2 * Math.PI) / 180));
cannonball_fired2 = attachMovie("harpoon_arrow", "cannonball2_" + _root.getNextHighestDepth(), _root.getNextHighestDepth() + 1, {_x:start_ball_x2, _y:start_ball_y2});
cannonball_fired2.dirx2 = Math.cos((angle2 * Math.PI) / 180) * 30;
cannonball_fired2.diry2 = Math.sin((angle2 * Math.PI) / 180) * 30;
_root.release.start();
cannonball_fired2.onEnterFrame = function () {
this.diry2 = this.diry2 + 2;
this._x = this._x + (this.dirx2 / 2);
this._y = this._y + (this.diry2 / 2);
this._rotation = (Math.atan2(this.diry2, this.dirx2) * 180) / Math.PI;
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 50;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
}
} else {
_global.score = _global.score + 500;
this.boss_float.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 44
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 44
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 45
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtbosskill = _global.bosskill;
txtlevelprey = (((((((((((_global.bosskill + _global.researcherkill) + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 46
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level10over != 1) {
_root.gotoAndStop("title");
}
Frame 47
stop();
_global.goal = 600;
_global.gamelevel = 11;
_global.esealgoal = 3;
_global.researchergoal = 6;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1374 MovieClip in Frame 47
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 1374 MovieClip in Frame 47
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 719 MovieClip "shark" in Frame 47
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 47
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 48
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtlevelprey = ((((((((((_global.researcherkill + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 49
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level11over != 1) {
_root.gotoAndStop("title");
}
Frame 50
stop();
_global.goal = 600;
_global.gamelevel = 12;
_global.orcagoal = 1;
_global.sharkgoal = 3;
_global.fishermangoal = 3;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.orca_sound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1528 MovieClip in Frame 50
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 719 MovieClip "shark" in Frame 50
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 50
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 51
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtfishermankill = _global.fishermankill;
txtlevelprey = (((((((((((_global.fishermankill + _global.researcherkill) + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 52
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level12over != 1) {
_root.gotoAndStop("title");
}
Frame 53
stop();
_global.goal = 600;
_global.gamelevel = 13;
_global.orcagoal = 5;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.orca_sound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 53
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 53
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 54
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtlevelprey = ((((((((((_global.researcherkill + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 55
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level13over != 1) {
_root.gotoAndStop("title");
}
Frame 56
stop();
_global.goal = 600;
_global.gamelevel = 14;
_global.sealgoal = 3;
_global.divergoal = 5;
_global.ottergoal = 3;
_global.surfergoal = 4;
_global.seagullgoal = 3;
_global.birdfloatgoal = 3;
_global.esealgoal = 3;
_global.fishermangoal = 6;
stopAllSounds();
_root.levelsound.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1528 MovieClip in Frame 56
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 1528 MovieClip in Frame 56
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 719 MovieClip "shark" in Frame 56
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 56
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 57
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtfishermankill = _global.fishermankill;
txtlevelprey = (((((((((((_global.fishermankill + _global.researcherkill) + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 58
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level14over != 1) {
_root.gotoAndStop("title");
}
Frame 59
boss3.boss_float.harpoon.onEnterFrame = function () {
if (_global.soldier2dead == 0) {
mousex = (_root.shark._x - 10) - this._parent._parent._x;
mousey = ((_root.shark._y - 10) - this._parent._parent._y) * -1;
angle = Math.atan2(mousey, mousex);
_root.boss3.boss_float.harpoon._rotation = ((-angle) * 180) / Math.PI;
myrot = _root.boss3.boss_float.harpoon._rotation;
if (myrot > 60) {
_root.boss3.boss_float.harpoon._rotation = 60;
}
if (myrot < 1) {
_root.boss3.boss_float.harpoon._rotation = 1;
}
}
};
boss3.boss_float.harpoon2.onEnterFrame = function () {
if (_global.soldier1dead == 0) {
mousex2 = (_root.shark._x - 10) - this._parent._parent._x;
mousey2 = ((_root.shark._y - 10) - this._parent._parent._y) * -1;
angle2 = Math.atan2(mousey2, mousex2);
_root.boss3.boss_float.harpoon2._rotation = ((-angle2) * 180) / Math.PI;
if (_root.boss3.boss_float.harpoon2._rotation > 0) {
myrot2 = _root.boss3.boss_float.harpoon2._rotation;
}
if (myrot2 > 170) {
_root.boss3.boss_float.harpoon2._rotation = 170;
}
if (myrot2 < 1) {
_root.boss3.boss_float.harpoon2._rotation = 1;
}
if (myrot2 > 90) {
_root.boss3.boss_float.soldiertop._xscale = Math.abs(_root.boss3.boss_float.soldiertop._xscale);
}
if (myrot2 < 90) {
_root.boss3.boss_float.soldiertop._xscale = -Math.abs(_root.boss3.boss_float.soldiertop._xscale);
}
}
};
stop();
_global.goal = 600;
_global.gamelevel = 15;
_global.bossgoal = 1;
stopAllSounds();
_root.soundbg.start(0, 999);
_root.uwsound.start(0, 999);
_root.wvsound.start(0, 999);
_root.boss_enginesound.start(0, 999);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
Instance of Symbol 397 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (_global.crunch > 3) {
_root.camera.wickedkiller.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 3) {
_root.camera.triplecrunch.gotoAndPlay(2);
_global.crunch = 0;
} else if (_global.crunch == 2) {
_root.camera.doublecrunch.gotoAndPlay(2);
_global.crunch = 0;
}
}
Instance of Symbol 1720 MovieClip "boss3" in Frame 59
onClipEvent (load) {
_global.bosslife = 250;
gettarget = 0;
}
onClipEvent (enterFrame) {
if (_global.bosslife > 0) {
if (gettarget == 0) {
speed = 0.5;
currentx = this._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettarget = 1;
if (gettargetx > currentx) {
moveforward = 1;
}
if (gettargetx < currentx) {
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._x < gettargetx) {
this._x = this._x + speed;
} else {
gettarget = 0;
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._x > gettargetx) {
this._x = this._x - speed;
} else {
gettarget = 0;
}
}
if ((_global.harpoon1shoot == 1) && (_global.soldier2dead == 0)) {
_global.harpoon1shoot = 0;
_root.boss3.boss_float.harpoon._xscale = 95;
angle = _root.boss3.boss_float.harpoon._rotation - 1;
start_ball_x = _root.boss3.boss_float.harpoon._x + (50 * Math.cos((angle * Math.PI) / 180));
start_ball_y = _root.boss3.boss_float.harpoon._y - (20 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("harpoon_arrow", "cannonball_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * 30;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180) * 30;
_root.release.start();
cannonball_fired.onEnterFrame = function () {
this.diry = this.diry + 2;
this._x = this._x + (this.dirx / 2);
this._y = this._y + (this.diry / 2);
this._rotation = (Math.atan2(this.diry, this.dirx) * 180) / Math.PI;
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 50;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
} else if ((_global.harpoon2shoot == 1) && (_global.soldier1dead == 0)) {
_global.harpoon2shoot = 0;
_root.boss3.boss_float.harpoon2._xscale = 95;
angle2 = _root.boss3.boss_float.harpoon2._rotation - 1;
start_ball_x2 = _root.boss3.boss_float.harpoon2._x + (50 * Math.cos((angle2 * Math.PI) / 180));
start_ball_y2 = _root.boss3.boss_float.harpoon2._y - (20 * Math.sin((angle2 * Math.PI) / 180));
cannonball_fired2 = attachMovie("harpoon_arrow", "cannonball2_" + _root.getNextHighestDepth(), _root.getNextHighestDepth() + 1, {_x:start_ball_x2, _y:start_ball_y2});
cannonball_fired2.dirx2 = Math.cos((angle2 * Math.PI) / 180) * 30;
cannonball_fired2.diry2 = Math.sin((angle2 * Math.PI) / 180) * 30;
_root.release.start();
cannonball_fired2.onEnterFrame = function () {
this.diry2 = this.diry2 + 2;
this._x = this._x + (this.dirx2 / 2);
this._y = this._y + (this.diry2 / 2);
this._rotation = (Math.atan2(this.diry2, this.dirx2) * 180) / Math.PI;
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 50;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
}
} else {
_global.score = _global.score + 500;
this.boss_float.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip "shark" in Frame 59
onClipEvent (load) {
busy = 0;
fallspeed = 0;
startbg = 0;
xxx = 0;
caught = 0;
}
onClipEvent (enterFrame) {
if ((((_global.herolife > 0) && (_global.timeover == 0)) && (_global.gameover == 0)) && (caught == 0)) {
if (this.bodycenter.hitTest(_root.bluewater) && (falling == 1)) {
if (fallspeed > 20) {
_root.splashsound.start();
_root.attachMovie("splash", "splash_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:_root.shark._x, _y:-160});
}
}
if (this.bodycenter.hitTest(_root.bluewater)) {
falling = 0;
fallspeed = 0;
_root.uwsound.setVolume(40);
_root.wvsound.setVolume(0);
} else {
_root.gravity = 4;
fallspeed = fallspeed + 1;
falling = 1;
startbg = 0;
_root.uwsound.setVolume(0);
_root.wvsound.setVolume(100);
}
if ((falling == 0) && (startbg == 0)) {
startbg = 1;
}
if (_x > 2000) {
_x = 2000;
}
if (_x < -1250) {
_x = -1250;
}
if (_y > 540) {
_y = 540;
}
if (this.speed > 0.3) {
this.speed = this.speed * _root.speedDecay;
if (_root.camera._xscale > 37) {
if (this.speed < _root.maxSpeed) {
_root.camera._xscale = _root.camera._xscale - 0.3;
_root.camera._yscale = _root.camera._yscale - 0.3;
}
}
} else {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this.speed = 0;
}
if ((Key.isDown(38) && (this.speed < _root.maxSpeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("swim");
}
}
if (Key.isDown(40) && (falling != 1)) {
this.speed = this.speed - _root.backSpeed;
if (busy != 1) {
this.gotoAndStop("spin");
}
}
if (Key.isDown(37) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation - (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn");
}
}
if (Key.isDown(39) && (Math.abs(this.speed) > 0.3)) {
this._rotation = this._rotation + (_root.rotationStep * (this.speed / _root.maxSpeed));
if (falling != 1) {
this._x = this._x + (this.speedx / 2);
this._y = this._y + (this.speedy / 2);
}
if (busy != 1) {
this.gotoAndStop("turn2");
}
}
if (Key.isDown(32)) {
if (busy != 1) {
this.gotoAndStop("bite");
}
}
dashspeed = _root.maxSpeed * 3;
if ((Key.isDown(90) && (this.speed < dashspeed)) && (falling != 1)) {
this.speed = this.speed + _root.acceleration;
if (_root.camera._xscale < 45) {
_root.camera._xscale = _root.camera._xscale + 0.3;
_root.camera._yscale = _root.camera._yscale + 0.3;
}
if (busy != 1) {
this.gotoAndStop("dash");
}
}
if (Key.isDown(67)) {
if (busy != 1) {
this.gotoAndStop("dash");
}
}
this.rotation = this._rotation;
this.speedx = Math.sin(this.rotation * (Math.PI/180)) * this.speed;
this.speedy = (Math.cos(this.rotation * (Math.PI/180)) * this.speed) * -1;
if (falling == 1) {
this._x = this._x + this.speedx;
this._y = this._y + (this.speedy + _root.gravity);
} else {
this._x = this._x + this.speedx;
if (_root.gravity > 0.2) {
_root.gravity = _root.gravity - 0.1;
}
this._y = this._y + (this.speedy + _root.gravity);
}
_root.currentspeed = this.speedy;
}
if ((_global.herolife <= 0) && (xxx != 1)) {
xxx = 1;
_root.camera.go.gotoAndPlay(2);
this.gotoAndStop("dead");
}
if (_global.herolife <= 0) {
_root.camera._xscale = 37;
_root.camera._yscale = 37;
this._y = this._y + _root.gravity;
}
}
Instance of Symbol 828 MovieClip "camera" in Frame 59
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 60
stop();
stopAllSounds();
_root.stageIntro.start();
txtfish1kill = _global.fish1kill;
txtfish2kill = _global.fish2kill;
txtotterkill = _global.otterkill;
txtsealkill = _global.sealkill;
txtesealkill = _global.esealkill;
txtbirdfloatkill = _global.birdfloatkill;
txtdiverkill = _global.diverkill;
txtseagullkill = _global.seagullkill;
txtsurferkill = _global.surferkill;
txtsharkkill = _global.sharkkill;
txtorcakill = _global.orcakill;
txtresearcherkill = _global.researcherkill;
txtbosskill = _global.bosskill;
txtlevelprey = (((((((((((_global.bosskill + _global.researcherkill) + _global.orcakill) + _global.fish1kill) + _global.fish2kill) + _global.otterkill) + _global.sealkill) + _global.esealkill) + _global.birdfloatkill) + _global.diverkill) + _global.seagullkill) + _global.surferkill) + _global.sharkkill;
_global.prey = _global.prey + txtlevelprey;
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Frame 61
stop();
stopAllSounds();
_root.stageIntro.start();
txttotalprey = _global.prey;
_global.score = txtlevelprey + _global.score;
txttotalscore = _global.score;
if ((_global.prey > 0) && (_global.prey < 51)) {
txtrank = "Cute Lil Guppy";
} else if ((_global.prey > 50) && (_global.prey < 101)) {
txtrank = "Small Sardines";
} else if ((_global.prey > 100) && (_global.prey < 151)) {
txtrank = "Proud Herring";
} else if ((_global.prey > 150) && (_global.prey < 201)) {
txtrank = "Fierce Barracuda";
} else if ((_global.prey > 200) && (_global.prey < 251)) {
txtrank = "Big Shark";
} else if ((_global.prey > 250) && (_global.prey < 301)) {
txtrank = "Killer Great White";
} else if (_global.prey > 300) {
txtrank = "Freaking Fish God";
}
Symbol 10 MovieClip [harpoon_arrow] Frame 10
stop();
Symbol 13 MovieClip [ParticleObj] Frame 40
removeMovieClip(this);
stop();
Symbol 18 MovieClip [arrowbubble] Frame 34
this.removeMovieClip();
Symbol 43 MovieClip Frame 47
stop();
Symbol 63 MovieClip Frame 39
stop();
Symbol 64 MovieClip [splash] Frame 51
stop();
Symbol 77 Button
on (release) {
getURL ("http://www.ultimateflashgame.com", "_blank");
}
Symbol 87 Button
on (release) {
_root.getURL("http://www.addictinggames.com", "_blank");
}
Symbol 249 MovieClip Frame 98
stop();
Symbol 250 MovieClip Frame 1
_root.stop();
Symbol 250 MovieClip Frame 205
_root.play();
Symbol 254 Button
on (release) {
_root.getURL("http://www.gonzo-games.com", "_blank");
}
Symbol 261 MovieClip Frame 164
_root.play();
stop();
Instance of Symbol 272 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.scope.recticle.crosshair)) {
_global.mission = "failed";
}
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 331 Button
on (release) {
_root.clickmouse.start();
_global.modeselect = "story";
gotoAndPlay (76);
}
Symbol 332 Button
on (release) {
_root.clickmouse.start();
_global.modeselect = "load";
gotoAndPlay (76);
}
Symbol 333 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("credits");
}
Symbol 334 Button
on (release) {
_root.clickmouse.start();
_global.modeselect = "free";
gotoAndPlay (76);
}
Symbol 335 Button
on (release) {
_root.clickmouse.start();
getURL ("http://www.addictinggames.com/filters/bloody.html", "_blank");
}
Symbol 338 Button
on (release) {
_root.clickmouse.start();
_root._quality = "MEDIUM";
if (_global.modeselect == "story") {
_root.gotoAndStop("map");
} else if (_global.modeselect == "free") {
_root.gotoAndStop("intro20");
} else if (_global.modeselect == "load") {
}
_root.clickmouse.start();
myLSO = SharedObject.getLocal("uniqueName");
if (myLSO.data.myObj == undefined) {
trace("No Saved Game");
} else {
trace("Loaded Game");
_global.score = myLSO.data.myObj.objArray[0];
_global.prey = myLSO.data.myObj.objArray[1];
_global.level1over = myLSO.data.myObj.objArray[2];
_global.level2over = myLSO.data.myObj.objArray[3];
_global.level3over = myLSO.data.myObj.objArray[4];
_global.level4over = myLSO.data.myObj.objArray[5];
_global.level5over = myLSO.data.myObj.objArray[6];
_global.level6over = myLSO.data.myObj.objArray[7];
_global.level7over = myLSO.data.myObj.objArray[8];
_global.level8over = myLSO.data.myObj.objArray[9];
_global.level9over = myLSO.data.myObj.objArray[10];
_global.level10over = myLSO.data.myObj.objArray[11];
_global.level11over = myLSO.data.myObj.objArray[12];
_global.level12over = myLSO.data.myObj.objArray[13];
_global.level13over = myLSO.data.myObj.objArray[14];
_global.level14over = myLSO.data.myObj.objArray[15];
_global.loadedgame = 1;
if (_global.level8over == 1) {
_root.gotoAndStop("map2");
} else {
_root.gotoAndStop("map");
}
}
}
Symbol 339 Button
on (release) {
_root.clickmouse.start();
_root._quality = "LOW";
if (_global.modeselect == "story") {
_root.gotoAndStop("map");
} else if (_global.modeselect == "free") {
_root.gotoAndStop("intro20");
} else if (_global.modeselect == "load") {
}
_root.clickmouse.start();
myLSO = SharedObject.getLocal("uniqueName");
if (myLSO.data.myObj == undefined) {
trace("No Saved Game");
} else {
trace("Loaded Game");
_global.score = myLSO.data.myObj.objArray[0];
_global.prey = myLSO.data.myObj.objArray[1];
_global.level1over = myLSO.data.myObj.objArray[2];
_global.level2over = myLSO.data.myObj.objArray[3];
_global.level3over = myLSO.data.myObj.objArray[4];
_global.level4over = myLSO.data.myObj.objArray[5];
_global.level5over = myLSO.data.myObj.objArray[6];
_global.level6over = myLSO.data.myObj.objArray[7];
_global.level7over = myLSO.data.myObj.objArray[8];
_global.level8over = myLSO.data.myObj.objArray[9];
_global.level9over = myLSO.data.myObj.objArray[10];
_global.level10over = myLSO.data.myObj.objArray[11];
_global.level11over = myLSO.data.myObj.objArray[12];
_global.level12over = myLSO.data.myObj.objArray[13];
_global.level13over = myLSO.data.myObj.objArray[14];
_global.level14over = myLSO.data.myObj.objArray[15];
_global.loadedgame = 1;
if (_global.level8over == 1) {
_root.gotoAndStop("map2");
} else {
_root.gotoAndStop("map");
}
}
}
Symbol 340 MovieClip Frame 75
stop();
Symbol 340 MovieClip Frame 95
stop();
Symbol 345 Button
on (release) {
_root.getURL("http://www.gonzo-games.com", "_blank");
}
Symbol 349 Button
on (release) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 357 Button
on (release) {
getURL ("http://www.addictinggames.com/pottyracers.html", blank);
}
Symbol 380 MovieClip Frame 1
stop();
exhale = random(20);
CountDown = Math.round(getTimer() / 1000) + exhale;
this.onEnterFrame = function () {
time = Math.round(getTimer() / 1000);
TimeLeft = CountDown - time;
if (time == CountDown) {
this.nextFrame();
}
};
Instance of Symbol 377 MovieClip in Symbol 380 MovieClip Frame 1
/* no clip actions */
Symbol 380 MovieClip Frame 2
stop();
breathe = 3;
CountDown = Math.round(getTimer() / 1000) + breathe;
this.onEnterFrame = function () {
time = Math.round(getTimer() / 1000);
TimeLeft = CountDown - time;
if (time == CountDown) {
this.prevFrame();
}
};
Symbol 386 Button
on (release) {
_root.clickmouse.start();
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 389 Button
on (release) {
_root.gotoAndStop("level20");
}
Symbol 394 MovieClip Frame 36
stop();
Symbol 421 MovieClip Frame 13
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Instance of Symbol 422 MovieClip in Symbol 423 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 2;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (gettarget == 0) {
speed = 2;
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 670) + -153;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (this.hitTest(_root.shark.sharkbite.bite)) {
life = 0;
_root.bite1.start();
_global.crunch = _global.crunch + 1;
_global.herolife = _global.herolife + 15;
_root.generateParticles(_parent._x, _parent._y);
}
if (this.hitTest(_root.shark.sight)) {
speed = 4;
}
}
if ((life == 0) && (checking == 0)) {
checking = 1;
_global.fish1kill = _global.fish1kill + 1;
_global.score = _global.score + 10;
this.gotoAndStop("dead");
}
}
Symbol 431 MovieClip Frame 13
stop();
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Instance of Symbol 432 MovieClip in Symbol 433 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 2;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (gettarget == 0) {
speed = 2;
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 670) + -153;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (this.hitTest(_root.shark.sharkbite.bite)) {
life = 0;
_root.bite1.start();
_global.crunch = _global.crunch + 1;
_global.herolife = _global.herolife + 30;
_root.generateParticles(_parent._x, _parent._y);
}
if (this.hitTest(_root.shark.sight)) {
speed = 6;
}
}
if ((life == 0) && (checking == 0)) {
checking = 1;
_global.fish2kill = _global.fish2kill + 1;
_global.score = _global.score + 20;
this.gotoAndStop("dead");
}
}
Symbol 453 MovieClip Frame 61
stop();
Symbol 459 MovieClip Frame 61
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 2
stop();
Symbol 460 MovieClip Frame 3
stop();
Symbol 460 MovieClip Frame 4
stop();
Instance of Symbol 460 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 2;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (gettarget == 0) {
speed = 2;
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 169) + -153;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (this.hitTest(_root.shark.sharkbite.bite)) {
life = 0;
_root.bite1.start();
_global.crunch = _global.crunch + 1;
_global.herolife = _global.herolife + 40;
_root.generateParticles(_parent._x, _parent._y);
}
if (this.hitTest(_root.shark.sight)) {
speed = 6;
}
}
if ((life == 0) && (checking == 0)) {
checking = 1;
_global.otterkill = _global.otterkill + 1;
_global.ottergoal = _global.ottergoal - 1;
_global.score = _global.score + 80;
this.gotoAndStop("dead");
}
}
Symbol 476 MovieClip Frame 21
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 479 MovieClip Frame 34
stop();
Symbol 480 MovieClip Frame 27
stop();
Symbol 481 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 2
stop();
Symbol 481 MovieClip Frame 3
stop();
Symbol 481 MovieClip Frame 4
stop();
Instance of Symbol 481 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 4;
bloodloss = 1;
bitten = 0;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if ((life > 0) && (life > 50)) {
this.gotoAndStop("swim");
}
if (life < 60) {
life = life - 0.2;
this.gotoAndStop("dead");
}
if (bitten == 1) {
speed = 1;
}
if (gettarget == 0) {
if (bitten == 0) {
speed = 2;
}
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 670) + -153;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (this.hitTest(_root.shark.sharkbite.bite) && (crunch != 1)) {
crunch = 1;
_global.crunch = _global.crunch + 1;
}
if ((this.hitTest(_root.shark.sharkbite.bite) && (life < 60)) && (bitten == 1)) {
life = 0;
bloodloss = 0;
_global.herolife = _global.herolife + 30;
_root.generateParticles(_parent._x, _parent._y);
}
if ((this.hitTest(_root.shark.sharkbite.bite) && (life == 100)) && (bitten == 0)) {
bitten = 1;
bloodloss = 1;
life = 50;
_root.bite2.start();
_global.herolife = _global.herolife + 30;
_root.generateParticles(_parent._x, _parent._y);
}
if (this.hitTest(_root.shark.sight) && (bitten == 0)) {
speed = 6;
}
}
if ((life <= 0) && (checking == 0)) {
_root.seal_sound.start();
checking = 1;
_global.score = _global.score + 100;
_global.sealkill = _global.sealkill + 1;
_global.sealgoal = _global.sealgoal - 1;
if (bloodloss == 0) {
_root.bite2.start();
this.gotoAndStop("dead2");
}
if (bloodloss == 1) {
this.gotoAndStop("dead3");
}
}
}
Symbol 546 MovieClip Frame 13
_root.release.start();
_parent.arrowshoot = 1;
Symbol 550 MovieClip Frame 14
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 553 MovieClip Frame 25
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 553 MovieClip Frame 41
stop();
Symbol 554 MovieClip Frame 1
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 554 MovieClip Frame 16
stop();
Symbol 557 MovieClip Frame 3
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 557 MovieClip Frame 8
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 557 MovieClip Frame 12
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 557 MovieClip Frame 18
stop();
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 2
stop();
Symbol 558 MovieClip Frame 3
stop();
Symbol 558 MovieClip Frame 4
stop();
Symbol 558 MovieClip Frame 5
stop();
Symbol 558 MovieClip Frame 6
stop();
Symbol 558 MovieClip Frame 7
stop();
Symbol 558 MovieClip Frame 8
stop();
Instance of Symbol 558 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 1;
bloodloss = 1;
bitten = 0;
dashing = 0;
biteleg = 0;
bitehead = 0;
withweapon = random(2);
aimshoot = 0;
arrowshoot = 0;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (life < 60) {
life = life - 0.2;
this.gotoAndStop("dead1");
}
if (bitten == 1) {
speed = 1;
}
if (gettarget == 0) {
if (bitten == 0) {
speed = 2;
dashing = 0;
if (withweapon == 1) {
this.gotoAndStop("swimwep");
} else {
this.gotoAndStop("swim");
}
}
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 88) + -153;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if (((moveforward == 1) && (gettarget == 1)) && (aimshoot == 0)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (((moveforward == 0) && (gettarget == 1)) && (aimshoot == 0)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (((this._parent.diverbody.hitTest(_root.shark.sharkbite.bite) && (life > 0)) && (bitten == 0)) && (bitehead == 0)) {
bitehead = 1;
bitten = 1;
life = 0;
bloodloss = 0;
_root.bite3.start();
_global.crunch = _global.crunch + 1;
_global.herolife = _global.herolife + 50;
_global.levelgoal = _global.levelgoal + 15;
this.gotoAndStop("dead2");
_root.generateParticles(_parent._x, _parent._y);
}
if (((this._parent.diverbody.hitTest(_root.shark.sharkbite.bite) && (life < 60)) && (bitten == 1)) && (biteleg == 1)) {
bitehead = 1;
bitten = 1;
life = 0;
_root.bite4.start();
bloodloss = 0;
_global.herolife = _global.herolife + 50;
this.gotoAndStop("dead4");
_root.generateParticles(_parent._x, _parent._y);
}
if (((this._parent.diverlegs.hitTest(_root.shark.sharkbite.bite) && (life == 100)) && (bitten == 0)) && (biteleg == 0)) {
biteleg = 1;
bitten = 1;
bloodloss = 1;
_root.bite2.start();
life = 50;
_global.crunch = _global.crunch + 1;
_global.herolife = _global.herolife + 50;
this.gotoAndStop("dead");
_root.generateParticles(_parent._x, _parent._y);
}
if (withweapon != 1) {
if ((this._parent.diverlegs.hitTest(_root.shark.sight) && (bitten == 0)) && (dashing == 0)) {
dashing = 1;
this.gotoAndStop("dash");
speed = 3;
}
} else if (this._parent.sight.hitTest(_root.shark.sharkdetect) && (bitten == 0)) {
aimshoot = 1;
if (moveforward == 1) {
mousex = _root.shark._x - this._parent._x;
mousey = (_root.shark._y - this._parent._y) * -1;
angle = Math.atan2(mousey, mousex);
this._parent._rotation = ((-angle) * 180) / Math.PI;
myrot = this._parent._rotation;
if (myrot > 45) {
this._parent._rotation = 45;
}
if (myrot < -45) {
this._parent._rotation = -45;
}
if (aimshoot == 1) {
this.gotoAndStop("shoot");
}
if (arrowshoot == 1) {
arrowshoot = 0;
angle = this._parent._rotation - 1;
start_ball_x = this._x + (40 * Math.cos((angle * Math.PI) / 180));
start_ball_y = this._y - (3 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("diver_arrow", "cannonball_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * 40;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180);
cannonball_fired.onEnterFrame = function () {
this._x = this._x + (this.dirx / 2);
this._y = this._y + (this.diry / 2);
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 70;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
}
} else {
mousex = _root.shark._x - this._parent._x;
mousey = (_root.shark._y - this._parent._y) * -1;
angle = Math.atan2(mousey, mousex);
this._parent._rotation = ((-angle) * 360) / Math.PI;
myrot = this._parent._rotation;
if (myrot > 45) {
this._parent._rotation = 45;
}
if (myrot < -45) {
this._parent._rotation = -45;
}
if (aimshoot == 1) {
this.gotoAndStop("shoot");
}
if (arrowshoot == 1) {
arrowshoot = 0;
angle = this._parent._rotation - 1;
start_ball_x = this._x + (40 * Math.cos((angle * Math.PI) / 180));
start_ball_y = this._y - (3 * Math.sin((angle * Math.PI) / 180));
cannonball_fired = attachMovie("diver_arrow", "cannonball_" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:start_ball_x, _y:start_ball_y});
cannonball_fired.dirx = Math.cos((angle * Math.PI) / 180) * 40;
cannonball_fired.diry = Math.sin((angle * Math.PI) / 180);
cannonball_fired.onEnterFrame = function () {
this._x = this._x + (this.dirx / 2);
this._y = this._y + (this.diry / 2);
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 70;
_root.generateParticles(_root.shark._x, _root.shark._y);
_root.arrowhit.start();
this.removeMovieClip();
}
};
}
}
} else {
aimshoot = 0;
if (moveforward == 1) {
this._parent._rotation = 0;
} else {
this._parent._rotation = 360;
}
if (bitten == 0) {
this.gotoAndStop("swimwep");
}
}
} else if ((life <= 0) && (checking == 0)) {
checking = 1;
_global.score = _global.score + 180;
_global.diverkill = _global.diverkill + 1;
_global.divergoal = _global.divergoal - 1;
if (bloodloss == 1) {
this.gotoAndStop("dead3");
}
}
}
Symbol 587 MovieClip Frame 11
gotoAndPlay (6);
Symbol 599 MovieClip Frame 16
stop();
Symbol 600 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 2
stop();
Symbol 600 MovieClip Frame 3
stop();
Instance of Symbol 600 MovieClip "seabird" in Symbol 601 MovieClip Frame 1
onClipEvent (load) {
alive = 1;
flying = 0;
this.gotoAndStop("float");
}
onClipEvent (enterFrame) {
if ((alive == 1) && (_global.timeover == 0)) {
if (this.sight.hitTest(_root.shark.sharkdetect) && (flying == 0)) {
flying = 1;
_root.wingsflap.start(1, 0);
this.gotoAndStop("fly");
}
if ((flying == 1) && (_parent._y > -350)) {
_parent._y = _parent._y - 5;
}
if ((flying == 1) && (_root.shark._y > -40)) {
flying = 0;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
_parent._x = gettargetx;
_parent._y = -160;
this.gotoAndStop("float");
}
if (this.body.hitTest(_root.shark.sharkbite.bite) && (alive == 1)) {
alive = 0;
_global.birdfloatkill = _global.birdfloatkill + 1;
_global.birdfloatgoal = _global.birdfloatgoal - 1;
if ((flying == 1) && (_parent._y < -175)) {
_root.camera.aerialkill.gotoAndPlay(2);
}
_root.bite1.start();
_global.crunch = _global.crunch + 1;
_global.score = _global.score + 60;
_global.herolife = _global.herolife + 40;
}
} else {
this.gotoAndStop("dead");
}
}
Symbol 635 MovieClip Frame 21
stop();
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
stop();
Instance of Symbol 636 MovieClip in Symbol 637 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 4;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (gettarget == 0) {
speed = 4;
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
}
if (this.hitTest(_root.shark.sharkbite.bite)) {
life = 0;
_root.bite1.start();
_global.crunch = _global.crunch + 1;
_root.camera.aerialkill.gotoAndPlay(2);
_global.herolife = _global.herolife + 50;
}
}
if ((life == 0) && (checking == 0)) {
checking = 1;
_global.score = _global.score + 80;
_global.seagullkill = _global.seagullkill + 1;
_global.seagullgoal = _global.seagullgoal - 1;
this.gotoAndStop("dead");
}
}
Symbol 690 MovieClip Frame 13
_root.water_dash.start();
Symbol 690 MovieClip Frame 39
_parent.gotoAndStop("swim");
Symbol 692 MovieClip Frame 2
_parent.gotoAndStop("swim");
Symbol 694 MovieClip Frame 2
_parent.gotoAndStop("swim");
Symbol 705 MovieClip Frame 1
_parent.busy = 1;
Symbol 705 MovieClip Frame 17
_parent._rotation = _parent._rotation + 180;
_parent._xscale = _parent._xscale * -1;
_parent.busy = 0;
_parent.gotoAndStop("swim");
Symbol 715 MovieClip Frame 1
_root.camera._xscale = 36;
_root.camera._yscale = 36;
_parent.busy = 1;
Symbol 715 MovieClip Frame 2
_root.camera._xscale = 35;
_root.camera._yscale = 35;
_root.water_attack.start();
_global.crunch = 0;
Symbol 715 MovieClip Frame 3
_root.camera._xscale = 34;
_root.camera._yscale = 34;
Symbol 715 MovieClip Frame 4
_root.camera._xscale = 33;
_root.camera._yscale = 33;
_global.biting = 1;
Symbol 715 MovieClip Frame 5
_root.camera._xscale = 32;
_root.camera._yscale = 32;
Symbol 715 MovieClip Frame 6
_root.camera._xscale = 31;
_root.camera._yscale = 31;
Symbol 715 MovieClip Frame 7
_root.camera._xscale = 30;
_root.camera._yscale = 30;
Symbol 715 MovieClip Frame 8
_root.camera._xscale = 30;
_root.camera._yscale = 30;
Symbol 715 MovieClip Frame 9
_root.camera._xscale = 31;
_root.camera._yscale = 31;
Symbol 715 MovieClip Frame 10
_root.camera._xscale = 32;
_root.camera._yscale = 32;
Symbol 715 MovieClip Frame 11
_root.camera._xscale = 33;
_root.camera._yscale = 33;
Symbol 715 MovieClip Frame 12
_root.camera._xscale = 34;
_root.camera._yscale = 34;
_global.crunch = 0;
Symbol 715 MovieClip Frame 13
_root.camera._xscale = 35;
_root.camera._yscale = 35;
Symbol 715 MovieClip Frame 14
_root.camera._xscale = 36;
_root.camera._yscale = 36;
_root.camera._xscale = 37;
_root.camera._yscale = 37;
_global.biting = 0;
_parent.busy = 0;
_parent.gotoAndStop("swim");
Symbol 718 MovieClip Frame 80
stop();
_global.gameover = 1;
Symbol 719 MovieClip Frame 1
stop();
Instance of Symbol 656 MovieClip "sharkdetect" in Symbol 719 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herolife > 500) {
_global.herolife = 500;
}
}
Instance of Symbol 656 MovieClip "sharkface" in Symbol 719 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herolife > 500) {
_global.herolife = 500;
}
}
Symbol 719 MovieClip Frame 2
stop();
Symbol 719 MovieClip Frame 3
stop();
Symbol 719 MovieClip Frame 4
stop();
Symbol 719 MovieClip Frame 5
stop();
Symbol 719 MovieClip Frame 6
stop();
Symbol 719 MovieClip Frame 7
stop();
Instance of Symbol 725 MovieClip in Symbol 729 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _global.herolife;
}
Symbol 743 MovieClip Frame 1
stop();
Symbol 743 MovieClip Frame 10
stop();
Symbol 767 MovieClip Frame 1
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 1
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 2
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.ottergoal >= 0) {
this.txtgoal = "=" + _global.ottergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 2
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.ottergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 3
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.ottergoal >= 0) {
this.txtgoal = "=" + _global.ottergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.divergoal >= 0) {
this.txtgoal = "=" + _global.divergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.surfergoal >= 0) {
this.txtgoal = "=" + _global.surfergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.ottergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.divergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 3
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.surfergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 4
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.surfergoal >= 0) {
this.txtgoal = "=" + _global.surfergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.seagullgoal >= 0) {
this.txtgoal = "=" + _global.seagullgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.birdfloatgoal >= 0) {
this.txtgoal = "=" + _global.birdfloatgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.seagullgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.birdfloatgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.surfergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 5
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.bossgoal >= 0) {
this.txtgoal = "=" + _global.bossgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 5
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.bossgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 6
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 6
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 7
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.sharkgoal >= 0) {
this.txtgoal = "=" + _global.sharkgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.esealgoal >= 0) {
this.txtgoal = "=" + _global.esealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 7
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.esealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 7
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sharkgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 8
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.seagullgoal >= 0) {
this.txtgoal = "=" + _global.seagullgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.orcagoal >= 0) {
this.txtgoal = "=" + _global.orcagoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 8
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.seagullgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 8
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.orcagoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 9
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.researchergoal >= 0) {
this.txtgoal = "=" + _global.researchergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 9
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.researchergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 10
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_global.bossgoal >= 0) {
this.txtgoal = "=" + _global.bossgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 10
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.bossgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 11
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.researchergoal >= 0) {
this.txtgoal = "=" + _global.researchergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.esealgoal >= 0) {
this.txtgoal = "=" + _global.esealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 11
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.esealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 11
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.researchergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 12
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.sharkgoal >= 0) {
this.txtgoal = "=" + _global.sharkgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.orcagoal >= 0) {
this.txtgoal = "=" + _global.orcagoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.fishermangoal >= 0) {
this.txtgoal = "=" + _global.fishermangoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sharkgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.orcagoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 12
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.fishermangoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 13
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.orcagoal >= 0) {
this.txtgoal = "=" + _global.orcagoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 13
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.orcagoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 14
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.seagullgoal >= 0) {
this.txtgoal = "=" + _global.seagullgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.birdfloatgoal >= 0) {
this.txtgoal = "=" + _global.birdfloatgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.ottergoal >= 0) {
this.txtgoal = "=" + _global.ottergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.esealgoal >= 0) {
this.txtgoal = "=" + _global.esealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.divergoal >= 0) {
this.txtgoal = "=" + _global.divergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.surfergoal >= 0) {
this.txtgoal = "=" + _global.surfergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.fishermangoal >= 0) {
this.txtgoal = "=" + _global.fishermangoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.ottergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.divergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.surfergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.seagullgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.birdfloatgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.esealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.fishermangoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 15
stop();
Instance of Symbol 733 MovieClip in Symbol 767 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_global.bossgoal >= 0) {
this.txtgoal = "=" + _global.bossgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 743 MovieClip in Symbol 767 MovieClip Frame 15
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.bossgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 767 MovieClip Frame 16
stop();
Symbol 775 MovieClip Frame 1
stop();
Symbol 775 MovieClip Frame 2
_global.score = _global.score + 200;
_root.bonus.start();
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 2
_global.score = _global.score + 300;
_root.bonus.start();
Symbol 783 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 2
_global.score = _global.score + 1000;
_root.bonus.start();
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 2
_root.bonus.start();
_global.score = _global.score + 1000;
Symbol 790 Button
on (release) {
if (_global.gamelevel == 20) {
_root.gotoAndStop("intro20");
} else if (_global.level8over == 1) {
_root.gotoAndStop("map2");
} else {
_root.gotoAndStop("map");
}
}
Symbol 792 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 794 Button
on (release) {
_root.getURL("http://www.addictinggames.com", "_blank");
}
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 26
stop();
Symbol 806 MovieClip Frame 5
_root.timersound.start();
Symbol 807 MovieClip Frame 1
stop();
Symbol 807 MovieClip Frame 2
stop();
Instance of Symbol 807 MovieClip in Symbol 808 MovieClip Frame 1
onClipEvent (load) {
if (_global.gamelevel == 1) {
totaltime = 120;
} else if (_global.gamelevel == 2) {
totaltime = 120;
} else if (_global.gamelevel == 3) {
totaltime = 180;
} else if (_global.gamelevel == 4) {
totaltime = 180;
} else if (_global.gamelevel == 5) {
totaltime = 120;
} else if (_global.gamelevel == 6) {
totaltime = 90;
} else if (_global.gamelevel == 7) {
totaltime = 90;
} else if (_global.gamelevel == 8) {
totaltime = 120;
} else if (_global.gamelevel == 9) {
totaltime = 180;
} else if (_global.gamelevel == 10) {
totaltime = 180;
} else if (_global.gamelevel == 11) {
totaltime = 180;
} else if (_global.gamelevel == 12) {
totaltime = 180;
} else if (_global.gamelevel == 13) {
totaltime = 300;
} else if (_global.gamelevel == 14) {
totaltime = 180;
} else if (_global.gamelevel == 15) {
totaltime = 240;
} else if (_global.gamelevel == 20) {
totaltime = 180;
}
port = 0;
}
onClipEvent (enterFrame) {
if (_global.gamelevel == 20) {
if (totaltime > 30) {
this.gotoAndStop(1);
this._parent.mintime.textColor = 52224;
this._parent.sectime.textColor = 52224;
} else {
this.gotoAndStop(2);
this._parent.mintime.textColor = 16187392 /* 0xF70000 */;
this._parent.sectime.textColor = 16187392 /* 0xF70000 */;
}
if (((port == 0) && (_global.gameover == 0)) && (_global.levelcomplete == 0)) {
totaltime = totaltime - 0.05;
hr = 0;
min = Math.floor((totaltime / 3600) * 60);
sec = Math.floor((((totaltime / 3600) * 60) - min) * 60);
this._parent.txtminutes = min;
this._parent.txtseconds = sec;
if (sec < 10) {
this._parent.txtseconds = "0" + sec;
}
if (min < 10) {
this._parent.txtminutes = "0" + min;
}
} else if ((_global.gameover == 1) && (_global.herolife > 0)) {
_global.gameover = 0;
}
if (totaltime < 1) {
if (_global.gamelevel == 20) {
_global.levelcomplete = 1;
} else {
_global.timeover = 1;
}
port = 1;
}
}
}
Symbol 811 Button
on (release) {
_root.gotoAndStop("map");
}
Symbol 812 MovieClip Frame 1
stop();
Symbol 812 MovieClip Frame 15
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
_global.levelsuccess = 1;
_global.herolife = 500;
Symbol 817 MovieClip Frame 51
if (_global.gamelevel == 1) {
_root.gotoAndStop("success1");
} else if (_global.gamelevel == 2) {
_root.gotoAndStop("success2");
} else if (_global.gamelevel == 3) {
_root.gotoAndStop("success3");
} else if (_global.gamelevel == 4) {
_root.gotoAndStop("success4");
} else if (_global.gamelevel == 5) {
_root.gotoAndStop("success5");
} else if (_global.gamelevel == 6) {
_root.gotoAndStop("success6");
} else if (_global.gamelevel == 7) {
_root.gotoAndStop("success7");
} else if (_global.gamelevel == 8) {
_root.gotoAndStop("success8");
} else if (_global.gamelevel == 9) {
_root.gotoAndStop("success9");
} else if (_global.gamelevel == 10) {
_root.gotoAndStop("success10");
} else if (_global.gamelevel == 11) {
_root.gotoAndStop("success11");
} else if (_global.gamelevel == 12) {
_root.gotoAndStop("success12");
} else if (_global.gamelevel == 13) {
_root.gotoAndStop("success13");
} else if (_global.gamelevel == 14) {
_root.gotoAndStop("success14");
} else if (_global.gamelevel == 15) {
_root.gotoAndStop("success15");
} else if (_global.gamelevel == 20) {
_root.gotoAndStop("success20");
}
Symbol 819 Button
on (release) {
if (_root._quality == "MEDIUM") {
_root._quality = "HIGH";
} else if (_root._quality == "HIGH") {
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root._quality = "MEDIUM";
}
}
Symbol 820 Button
on (release) {
if ((_root.soundbg.getVolume() == 100) || (_root.levelsound.getVolume() == 100)) {
_root.soundbg.setVolume(0);
_root.levelsound.setVolume(0);
_root.orca_sound.setVolume(0);
_root.boss_enginesound.setVolume(0);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(0);
} else {
_root.soundbg.setVolume(100);
_root.levelsound.setVolume(100);
_root.orca_sound.setVolume(100);
_root.boss_enginesound.setVolume(100);
_root.wvsound.setVolume(0);
_root.uwsound.setVolume(40);
}
}
Symbol 821 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 822 Button
on (release) {
if (_global.gamelevel == 20) {
_root.gotoAndStop("intro20");
} else if (_global.level8over == 1) {
_root.gotoAndStop("map2");
} else {
_root.gotoAndStop("map");
}
}
Instance of Symbol 826 MovieClip in Symbol 827 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamelevel == 5) {
this._xscale = _global.bosslife;
} else if (_global.gamelevel == 10) {
this._xscale = _global.bosslife / 2;
} else if (_global.gamelevel == 15) {
this._xscale = _global.bosslife / 2.5;
}
}
Symbol 828 MovieClip Frame 1
function camControl() {
if (_global.gameover != 1) {
if (this.shake < 0.6) {
this.shake = 0;
} else {
this._x = this._x - (this.shake * this.shakeDir);
this._y = this._y - (this.shake * this.shakeDir);
this.shakeDir = this.shakeDir * -1;
this.shake = this.shake * this.shakeFric;
}
parentColor.setTransform(camColor.getTransform());
var _local5 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local5);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local5;
_parent._yscale = 100 * _local4;
}
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
shake = 0;
shakeFric = 0.9;
shakeDir = 1;
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
stop();
Instance of Symbol 729 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.shark.speed > 0) {
_global.herolife = _global.herolife - 0.4;
} else {
_global.herolife = _global.herolife - 0.2;
}
}
Instance of Symbol 767 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamelevel == 1) {
this.gotoAndStop(1);
} else if (_global.gamelevel == 2) {
this.gotoAndStop(2);
} else if (_global.gamelevel == 3) {
this.gotoAndStop(3);
} else if (_global.gamelevel == 4) {
this.gotoAndStop(4);
} else if (_global.gamelevel == 5) {
this.gotoAndStop(5);
} else if (_global.gamelevel == 6) {
this.gotoAndStop(6);
} else if (_global.gamelevel == 7) {
this.gotoAndStop(7);
} else if (_global.gamelevel == 8) {
this.gotoAndStop(8);
} else if (_global.gamelevel == 9) {
this.gotoAndStop(9);
} else if (_global.gamelevel == 10) {
this.gotoAndStop(10);
} else if (_global.gamelevel == 11) {
this.gotoAndStop(11);
} else if (_global.gamelevel == 12) {
this.gotoAndStop(12);
} else if (_global.gamelevel == 13) {
this.gotoAndStop(13);
} else if (_global.gamelevel == 14) {
this.gotoAndStop(14);
} else if (_global.gamelevel == 15) {
this.gotoAndStop(15);
} else if (_global.gamelevel == 20) {
this.gotoAndStop(16);
}
}
Instance of Symbol 770 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.scoretxt < _global.score) {
this.scoretxt = this.scoretxt + 10;
}
if (this.scoretxt > _global.score) {
this.scoretxt = _global.score;
}
if ((_global.gameover == 1) && (_global.herolife > 0)) {
_global.gameover = 0;
}
}
Instance of Symbol 808 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamelevel == 20) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 812 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.timeover == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 817 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamelevel == 1) {
if ((_global.sealgoal <= 0) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level1over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 2) {
if (((_global.sealgoal <= 0) && (_global.ottergoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level2over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 3) {
if ((((_global.divergoal <= 0) && (_global.surfergoal <= 0)) && (_global.ottergoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level3over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 4) {
if (((((_global.sealgoal <= 0) && (_global.surfergoal <= 0)) && (_global.seagullgoal <= 0)) && (_global.birdfloatgoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level4over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 5) {
if ((_global.bossgoal == 0) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level5over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 6) {
if ((_global.sealgoal <= 0) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level6over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 7) {
if (((_global.sharkgoal <= 0) && (_global.esealgoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level7over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 8) {
if ((((_global.seagullgoal <= 0) && (_global.orcagoal <= 0)) && (_global.sharkgoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level8over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 9) {
if ((((_global.researchergoal <= 0) && (_global.orcagoal <= 0)) && (_global.sharkgoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level9over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 10) {
if ((_global.bossgoal == 0) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level10over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 11) {
if (((_global.researchergoal <= 0) && (_global.esealgoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level11over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 12) {
if ((((_global.fishermangoal <= 0) && (_global.sharkgoal <= 0)) && (_global.orcagoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level12over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 13) {
if ((_global.orcagoal <= 0) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level13over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 14) {
if (((((((((_global.fishermangoal <= 0) && (_global.birdfloatgoal <= 0)) && (_global.seagullgoal <= 0)) && (_global.ottergoal <= 0)) && (_global.sealgoal <= 0)) && (_global.esealgoal <= 0)) && (_global.divergoal <= 0)) && (_global.surfergoal <= 0)) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level14over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 15) {
if ((_global.bossgoal == 0) && (checking != 1)) {
checking = 1;
_global.levelcomplete = 1;
_global.level15over = 1;
this.gotoAndPlay(2);
}
}
if (_global.gamelevel == 20) {
if ((_global.levelcomplete == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 827 MovieClip in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamelevel == 5) {
this._alpha = 100;
} else if (_global.gamelevel == 10) {
this._alpha = 100;
} else if (_global.gamelevel == 15) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Symbol 842 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 850 Button
on (release) {
_root.getURL("http://www.ultimateflashgame.com");
}
Symbol 866 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro1");
}
Symbol 867 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro2");
}
Symbol 868 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro3");
}
Symbol 869 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro4");
}
Symbol 870 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro5");
}
Symbol 871 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro6");
}
Symbol 872 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro8");
}
Symbol 873 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro9");
}
Symbol 874 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro11");
}
Symbol 875 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro12");
}
Symbol 876 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro7");
}
Symbol 877 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro15");
}
Symbol 878 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro10");
}
Symbol 879 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro13");
}
Symbol 880 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro14");
}
Symbol 889 MovieClip Frame 1
stop();
Symbol 889 MovieClip Frame 15
stop();
Symbol 904 MovieClip Frame 21
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 907 MovieClip Frame 34
stop();
Symbol 908 MovieClip Frame 27
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 2
stop();
Symbol 909 MovieClip Frame 3
stop();
Symbol 909 MovieClip Frame 4
stop();
Symbol 910 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 911 MovieClip Frame 1
if (_global.level1over == 1) {
btn2._alpha = 100;
} else {
btn2._alpha = 0;
}
if (_global.level2over == 1) {
btn3._alpha = 100;
} else {
btn3._alpha = 0;
}
if (_global.level3over == 1) {
btn4._alpha = 100;
} else {
btn4._alpha = 0;
}
if (_global.level4over == 1) {
btn5._alpha = 100;
} else {
btn5._alpha = 0;
}
if (_global.level5over == 1) {
btn6._alpha = 100;
} else {
btn6._alpha = 0;
}
if (_global.level6over == 1) {
btn7._alpha = 100;
} else {
btn7._alpha = 0;
}
if (_global.level7over == 1) {
btn8._alpha = 100;
} else {
btn8._alpha = 0;
}
if (_global.level8over == 1) {
btn9._alpha = 100;
} else {
btn9._alpha = 0;
}
if (_global.level9over == 1) {
btn10._alpha = 100;
} else {
btn10._alpha = 0;
}
if (_global.level10over == 1) {
btn11._alpha = 100;
} else {
btn11._alpha = 0;
}
if (_global.level11over == 1) {
btn12._alpha = 100;
} else {
btn12._alpha = 0;
}
if (_global.level12over == 1) {
btn13._alpha = 100;
} else {
btn13._alpha = 0;
}
if (_global.level13over == 1) {
btn14._alpha = 100;
} else {
btn14._alpha = 0;
}
if (_global.level14over == 1) {
btn15._alpha = 100;
} else {
btn15._alpha = 0;
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level1over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level2over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level3over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level4over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level5over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level6over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level8over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level9over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level11over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level12over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level10over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level13over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level14over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level15over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 889 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level7over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 914 Button
on (release) {
myLSO = SharedObject.getLocal("uniqueName");
if (myLSO.data.myObj == undefined) {
trace("Saved Game");
} else {
trace("Overwrote Saved Game");
}
myObj = {};
myObj.objArray = new Array();
myObj.objArray[0] = _global.score;
myObj.objArray[1] = _global.prey;
myObj.objArray[2] = _global.level1over;
myObj.objArray[3] = _global.level2over;
myObj.objArray[4] = _global.level3over;
myObj.objArray[5] = _global.level4over;
myObj.objArray[6] = _global.level5over;
myObj.objArray[7] = _global.level6over;
myObj.objArray[8] = _global.level7over;
myObj.objArray[9] = _global.level8over;
myObj.objArray[10] = _global.level9over;
myObj.objArray[11] = _global.level10over;
myObj.objArray[12] = _global.level11over;
myObj.objArray[13] = _global.level12over;
myObj.objArray[14] = _global.level13over;
myObj.objArray[15] = _global.level14over;
myLSO.data.myObj = myObj;
_root.gamesaved.gotoAndPlay(2);
}
Symbol 917 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 921 MovieClip Frame 1
stop();
Symbol 924 Button
on (release) {
_root.clickmouse.start();
getURL ("http://www.addictinggames.com/filters/bloody.html", "_blank");
}
Symbol 925 Button
on (release) {
_root.gotoAndStop("level1");
}
Symbol 941 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("map");
}
Symbol 947 Button
on (release) {
_root.gotoAndStop("level2");
}
Symbol 960 Button
on (release) {
_root.gotoAndStop("level3");
}
Symbol 973 MovieClip Frame 1
stop();
Symbol 973 MovieClip Frame 2
stop();
Symbol 980 MovieClip Frame 28
gotoAndPlay (9);
Symbol 992 MovieClip Frame 1
xx = random(4);
if (xx == 1) {
_root.pain1.start();
} else if (xx == 2) {
_root.pain2.start();
} else if (xx == 3) {
_root.pain3.start();
} else {
_root.pain4.start();
}
Symbol 992 MovieClip Frame 26
stop();
Symbol 993 MovieClip Frame 1
stop();
Symbol 993 MovieClip Frame 2
stop();
Symbol 993 MovieClip Frame 3
stop();
Symbol 993 MovieClip Frame 4
stop();
Instance of Symbol 993 MovieClip "surfer" in Symbol 995 MovieClip Frame 1
onClipEvent (load) {
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
if (_parent._x < -1500) {
_parent._x = 2261;
}
if (this._parent.surferbody.hitTest(_root.funnel.wavepoint)) {
if (this._parent._y < -177) {
this.gotoAndStop("ride");
}
if (_root.funnel.wavedirection == "up") {
this._parent._x = this._parent._x - 1.5;
riding = 1;
this._parent._y = this._parent._y - 1;
}
if ((_root.funnel.wavedirection == "down") && (riding == 1)) {
if (this._parent._y < -177) {
this._parent._x = this._parent._x - 8;
this._parent._y = this._parent._y + 4;
}
}
} else {
if (_root.funnel.wavedirection == "") {
riding = 0;
this._parent._x = _parent._x - 1;
if (_parent._y < -175) {
this._parent._y = this._parent._y + _root.gravity;
}
this._parent.surfer.gotoAndStop("float");
}
if (this._parent.sight.hitTest(_root.shark.sharkdetect) && (alive == 1)) {
riding = 0;
this._parent._x = _parent._x - 6;
if (_parent._y < -175) {
this._parent._y = this._parent._y + _root.gravity;
}
this._parent.surfer.gotoAndStop("float");
}
}
if (this._parent.surferbody.hitTest(_root.shark.sharkbite.bite) && (alive == 1)) {
alive = 0;
_global.surferkill = _global.surferkill + 1;
_global.surfergoal = _global.surfergoal - 1;
_root.bite3.start();
_global.crunch = _global.crunch + 1;
_global.score = _global.score + 200;
_global.herolife = _global.herolife + 100;
}
} else {
this._parent.surfer.gotoAndStop("dead");
}
}
Symbol 1008 Button
on (release) {
_root.gotoAndStop("level4");
}
Symbol 1026 Button
on (release) {
_root.gotoAndStop("level5");
}
Symbol 1035 MovieClip Frame 1
stop();
Symbol 1035 MovieClip Frame 2
stop();
Symbol 1045 MovieClip Frame 1
_root.bite3.start();
_global.herolife = _global.herolife + 50;
Symbol 1045 MovieClip Frame 16
stop();
Symbol 1046 MovieClip Frame 1
stop();
Symbol 1046 MovieClip Frame 2
stop();
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 4
if (_global.bosslife <= 40) {
_root.boss_warn.start();
}
Symbol 1065 MovieClip Frame 20
if (_global.bosslife <= 90) {
_root.boss_warn.start();
}
Symbol 1071 MovieClip Frame 29
_global.harpoon1shoot = 1;
Symbol 1071 MovieClip Frame 32
_root.boss.boss_float.harpoon._xscale = 100;
Symbol 1071 MovieClip Frame 43
_global.harpoon2shoot = 1;
Symbol 1071 MovieClip Frame 46
_root.boss.boss_float.harpoon2._xscale = 100;
Symbol 1097 MovieClip Frame 1
_root.boss_netdrop.start();
Symbol 1097 MovieClip Frame 15
stop();
Instance of Symbol 1096 MovieClip "netsight" in Symbol 1097 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect) && (checking != 1)) {
checking = 1;
_parent._parent.pod_status = "catch";
}
}
Symbol 1102 MovieClip Frame 4
stop();
Symbol 1108 MovieClip Frame 7
gotoAndPlay (5);
Symbol 1109 MovieClip Frame 1
stop();
Instance of Symbol 1089 MovieClip in Symbol 1109 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect) && (_parent.pod_status == "rotate")) {
_parent.pod_status = "shoot";
}
}
Symbol 1109 MovieClip Frame 2
stop();
Symbol 1109 MovieClip Frame 3
stop();
Symbol 1109 MovieClip Frame 4
stop();
Instance of Symbol 1109 MovieClip "pod" in Symbol 1110 MovieClip Frame 1
onClipEvent (load) {
i = 0;
inv = 0;
rotation_dir = 1;
pod_status = "rotate";
slowdown = 0;
dir = (this._rotation + 90) * 0.0174532925;
}
onClipEvent (enterFrame) {
if (pod_status == "rotate") {
inv = 0;
this.gotoAndStop(1);
} else if (pod_status == "shoot") {
this.gotoAndStop(2);
dir = (this._rotation + 90) * 0.0174532925;
} else if (pod_status == "rewind") {
this.gotoAndStop(3);
} else if (pod_status == "catch") {
inv = inv + 1;
if (inv == 50) {
pod_status = "rewind";
_root.shark._alpha = 100;
_root.shark.caught = 0;
this.gotoAndStop(3);
} else {
_root.shark.caught = 1;
_root.shark._alpha = 0;
if (_global.herolife > 0) {
_global.herolife = _global.herolife - 2;
}
this.gotoAndStop(4);
}
}
switch (pod_status) {
case "rotate" :
this._rotation = this._rotation + rotation_dir;
if ((this._rotation == 60) or (this._rotation == -60)) {
rotation_dir = rotation_dir * -1;
}
break;
case "shoot" :
slowdown = 0;
this._x = this._x + (10 * Math.cos(dir));
this._y = this._y + (10 * Math.sin(dir));
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
i++;
if (i == 50) {
_root.pullstring.start();
pod_status = "rewind";
}
_parent.rod.clear();
_parent.rod.lineStyle(1, 0);
_parent.rod.moveTo(30, -56);
_parent.rod.lineTo(this._x, this._y);
break;
case "rewind" :
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
this._x = this._x - ((10 - slowdown) * Math.cos(dir));
this._y = this._y - ((10 - slowdown) * Math.sin(dir));
if (this._y < 0) {
this._y = -56;
this._x = 30;
i = 0;
pod_status = "rotate";
}
_parent.rod.clear();
_parent.rod.lineStyle(1, 0);
_parent.rod.moveTo(30, -56);
_parent.rod.lineTo(this._x, this._y);
}
}
Symbol 1153 MovieClip Frame 1
_root.boss_explosion.start();
Symbol 1153 MovieClip Frame 19
_root.boss_explosion.start();
Symbol 1153 MovieClip Frame 55
stop();
_global.bosskill = _global.bosskill + 1;
_global.bossgoal = _global.bossgoal - 1;
Symbol 1155 MovieClip Frame 1
stop();
Instance of Symbol 1046 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) && (_global.soldier2dead == 0)) {
_global.soldier2dead = 1;
_global.biting = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 1046 MovieClip "soldiertop" in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) && (_global.soldier1dead == 0)) {
_global.soldier1dead = 1;
_global.biting = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 1065 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 40) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1086 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 50) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1086 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 30) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1112 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) {
_global.biting = 0;
_global.bosslife = _global.bosslife - 15;
_parent.hurt.gotoAndPlay(2);
_root.bite3.start();
}
}
Symbol 1155 MovieClip Frame 2
stop();
Symbol 1169 Button
on (release) {
_root.gotoAndStop("level6");
}
Symbol 1185 Button
on (release) {
_root.gotoAndStop("level7");
}
Instance of Symbol 909 MovieClip in Symbol 1203 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 4;
bloodloss = 1;
bitten = 0;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if ((life > 0) && (life > 50)) {
this.gotoAndStop("swim");
}
if (life < 60) {
life = life - 0.2;
this.gotoAndStop("dead");
}
if (bitten == 1) {
speed = 1;
}
if (gettarget == 0) {
if (bitten == 0) {
speed = 4;
}
currentx = this._parent._x;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 670) + -153;
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (this.hitTest(_root.shark.sharkbite.bite) && (crunch != 1)) {
crunch = 1;
_global.crunch = _global.crunch + 1;
}
if ((this.hitTest(_root.shark.sharkbite.bite) && (life == 100)) && (_global.biting == 1)) {
life = life - 25;
_global.biting = 0;
_root.bite2.start();
_global.herolife = _global.herolife + 40;
_root.generateParticles(_parent._x, _parent._y);
}
if (((this.hitTest(_root.shark.sharkbite.bite) && (life == 75)) && (bitten == 0)) && (_global.biting == 1)) {
_global.biting = 0;
bitten = 1;
bloodloss = 1;
life = 50;
_root.bite3.start();
_global.herolife = _global.herolife + 80;
_root.generateParticles(_parent._x, _parent._y);
}
if (((this.hitTest(_root.shark.sharkbite.bite) && (life < 60)) && (bitten == 1)) && (_global.biting == 1)) {
_global.biting = 0;
life = 0;
bloodloss = 0;
_global.herolife = _global.herolife + 80;
_root.generateParticles(_parent._x, _parent._y);
}
if (this.hitTest(_root.shark.sight) && (bitten == 0)) {
speed = 8;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_global.score = _global.score + 280;
_global.esealkill = _global.esealkill + 1;
_global.esealgoal = _global.esealgoal - 1;
if (bloodloss == 0) {
_root.bite4.start();
this.gotoAndStop("dead2");
}
if (bloodloss == 1) {
this.gotoAndStop("dead3");
}
}
}
Symbol 1212 MovieClip Frame 14
_parent.gotoAndStop("swim");
Symbol 1215 MovieClip Frame 80
stop();
_global.gameover = 1;
Symbol 1216 MovieClip Frame 1
stop();
Symbol 1216 MovieClip Frame 2
stop();
Symbol 1216 MovieClip Frame 3
stop();
Instance of Symbol 1216 MovieClip in Symbol 1220 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 4;
bloodloss = 1;
bitten = 0;
sharkdetect = 1;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (bitten == 1) {
speed = 10;
}
if (gettarget == 0) {
bitten = 0;
currentx = this._parent._x;
if (sharkdetect == 0) {
speed = 2;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 670) + -153;
} else {
speed = 8;
gettargetx = _root.shark._x;
gettargety = _root.shark._y;
}
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (_parent.sight.hitTest(_root.shark.sharkdetect) && (sharkdetect == 0)) {
sharkdetect = 1;
gettarget = 0;
} else {
sharkdetect = 0;
}
if (_parent.sharkbiterange.hitTest(_root.shark.sharkdetect) && (_global.levelcomplete == 0)) {
this.gotoAndStop("bite");
}
if (this.sharkbite.bite.hitTest(_root.shark.sharkdetect) && (_global.levelcomplete == 0)) {
_root.bite4.start();
_global.herolife = _global.herolife - 25;
_root.generateParticles(_root.shark._x, _root.shark._y);
}
if ((this.hitTest(_root.shark.sharkbite.bite) && (crunch != 1)) && (_global.biting == 1)) {
crunch = 1;
bitten = 1;
_global.biting = 0;
_global.crunch = _global.crunch + 1;
life = life - 50;
_root.bite4.start();
_global.herolife = _global.herolife + 50;
_root.generateParticles(_parent._x, _parent._y);
}
crunch = 0;
if (this.hitTest(_root.shark.sight) && (bitten == 0)) {
speed = 4;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_global.sharkkill = _global.sharkkill + 1;
_global.sharkgoal = _global.sharkgoal - 1;
_global.score = _global.score + 300;
this.gotoAndStop("dead");
}
}
Symbol 1234 Button
on (release) {
_root.gotoAndStop("level8");
}
Symbol 1254 MovieClip Frame 17
if (_parent.life > 60) {
_parent.gotoAndStop("swim");
}
if ((_parent.life <= 60) && (_parent.life >= 40)) {
_parent.gotoAndStop("dead1");
}
if ((_parent.life <= 20) && (_parent.life >= 1)) {
_parent.gotoAndStop("dead2");
}
Symbol 1275 MovieClip Frame 35
stop();
Symbol 1284 MovieClip Frame 17
if (_parent.life > 60) {
_parent.gotoAndStop("swim");
}
if ((_parent.life <= 60) && (_parent.life >= 40)) {
_parent.gotoAndStop("dead1");
}
if ((_parent.life <= 20) && (_parent.life >= 1)) {
_parent.gotoAndStop("dead2");
}
Symbol 1293 MovieClip Frame 17
if (_parent.life > 60) {
_parent.gotoAndStop("swim");
}
if ((_parent.life <= 60) && (_parent.life >= 40)) {
_parent.gotoAndStop("dead1");
}
if ((_parent.life <= 20) && (_parent.life >= 1)) {
_parent.gotoAndStop("dead2");
}
Symbol 1294 MovieClip Frame 1
stop();
Symbol 1294 MovieClip Frame 2
stop();
Symbol 1294 MovieClip Frame 3
stop();
Symbol 1294 MovieClip Frame 4
stop();
Symbol 1294 MovieClip Frame 5
stop();
Symbol 1294 MovieClip Frame 6
stop();
Symbol 1294 MovieClip Frame 7
stop();
Instance of Symbol 1294 MovieClip "orca" in Symbol 1295 MovieClip Frame 1
onClipEvent (load) {
life = 100;
checking = 0;
currentx = this._parent._x;
currenty = this._parent._y;
gettargetx = this._parent._x;
gettargety = this._parent._y;
gettarget = 0;
moveforward = 1;
speed = 4;
bloodloss = 1;
bitten = 0;
sharkdetect = 1;
}
onClipEvent (enterFrame) {
if ((life > 0) && (_global.timeover == 0)) {
if (bitten == 1) {
speed = 12;
}
if (gettarget == 0) {
bitten = 0;
currentx = this._parent._x;
if (sharkdetect == 0) {
speed = 2;
gettargetx = Math.floor(Math.random() * 3260) + -1260;
gettargety = Math.floor(Math.random() * 670) + -153;
} else {
speed = 8;
gettargetx = _root.shark._x;
gettargety = _root.shark._y;
}
gettarget = 1;
if (gettargetx > currentx) {
this._parent._xscale = Math.abs(this._parent._xscale);
moveforward = 1;
}
if (gettargetx < currentx) {
this._parent._xscale = -Math.abs(this._parent._xscale);
moveforward = 0;
}
}
if ((moveforward == 1) && (gettarget == 1)) {
if (this._parent._x < gettargetx) {
this._parent._x = this._parent._x + speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if ((moveforward == 0) && (gettarget == 1)) {
if (this._parent._x > gettargetx) {
this._parent._x = this._parent._x - speed;
} else {
gettarget = 0;
}
if (this._parent._y < gettargety) {
this._parent._y = this._parent._y + (speed / 2);
}
if (this._parent._y > gettargety) {
this._parent._y = this._parent._y - (speed / 2);
}
}
if (_parent.orcavision.hitTest(_root.shark.sharkdetect) && (sharkdetect == 0)) {
sharkdetect = 1;
gettarget = 0;
} else {
sharkdetect = 0;
}
if (_parent.orcabite.hitTest(_root.shark.sharkdetect) && (_global.levelcomplete == 0)) {
if (life > 60) {
this.gotoAndStop("bite");
}
if ((life <= 60) && (life >= 40)) {
this.gotoAndStop("bite2");
}
if ((life <= 20) && (life >= 1)) {
this.gotoAndStop("bite3");
}
}
if (this.orcabiting.orcajaws.hitTest(_root.shark.sharkdetect) && (_global.levelcomplete == 0)) {
_root.bite4.start();
_global.herolife = _global.herolife - 50;
_root.generateParticles(_root.shark._x, _root.shark._y);
}
if ((this.hitTest(_root.shark.sharkbite.bite) && (crunch != 1)) && (_global.biting == 1)) {
crunch = 1;
bitten = 1;
_global.biting = 0;
_global.crunch = _global.crunch + 1;
life = life - 10;
_root.bite4.start();
_global.herolife = _global.herolife + 100;
_root.generateParticles(_parent._x, _parent._y);
}
if (((life <= 60) && (life >= 40)) && (crunch == 1)) {
this.gotoAndStop("dead1");
}
if (((life <= 20) && (life >= 1)) && (crunch == 1)) {
this.gotoAndStop("dead2");
}
crunch = 0;
if (this.hitTest(_root.shark.sight) && (bitten == 0)) {
speed = 4;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.orca_sound.start();
_global.orcakill = _global.orcakill + 1;
_global.orcagoal = _global.orcagoal - 1;
_global.score = _global.score + 400;
this.gotoAndStop("dead3");
}
}
Symbol 1311 Button
on (release) {
_root.gotoAndStop("level9");
}
Symbol 1319 MovieClip Frame 1
stop();
Symbol 1319 MovieClip Frame 2
stop();
Symbol 1319 MovieClip Frame 3
stop();
Symbol 1327 MovieClip Frame 1
stop();
Symbol 1327 MovieClip Frame 2
stop();
Symbol 1327 MovieClip Frame 3
stop();
Symbol 1331 MovieClip Frame 1
stop();
Symbol 1331 MovieClip Frame 2
stop();
Symbol 1331 MovieClip Frame 3
stop();
Symbol 1335 MovieClip Frame 1
stop();
Symbol 1335 MovieClip Frame 2
stop();
Symbol 1335 MovieClip Frame 3
stop();
Instance of Symbol 1319 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1331 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1335 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1336 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1331 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1335 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1331 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1335 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1338 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1331 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1335 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1341 MovieClip Frame 40
_parent.falling = 1;
stop();
Symbol 1347 MovieClip Frame 1
xx = random(4);
if (xx == 1) {
_root.pain1.start();
} else if (xx == 2) {
_root.pain2.start();
} else if (xx == 3) {
_root.pain3.start();
} else {
_root.pain4.start();
}
Instance of Symbol 1319 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1331 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1335 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1347 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1347 MovieClip Frame 51
stop();
Instance of Symbol 1319 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1331 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1335 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1319 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1321 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1323 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1327 MovieClip in Symbol 1348 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1348 MovieClip Frame 75
gotoAndPlay (51);
Symbol 1349 MovieClip Frame 1
stop();
Symbol 1349 MovieClip Frame 2
stop();
Symbol 1349 MovieClip Frame 3
stop();
Symbol 1349 MovieClip Frame 4
stop();
Symbol 1349 MovieClip Frame 5
stop();
Symbol 1349 MovieClip Frame 6
stop();
Symbol 1353 MovieClip Frame 1
stop();
Symbol 1353 MovieClip Frame 2
stop();
Symbol 1353 MovieClip Frame 3
stop();
Symbol 1354 MovieClip Frame 1
stop();
Symbol 1358 MovieClip Frame 1
stop();
Instance of Symbol 1349 MovieClip "rswimmer" in Symbol 1358 MovieClip Frame 1
onClipEvent (load) {
body = 3;
this.gotoAndStop(3);
}
Symbol 1358 MovieClip Frame 24
stop();
Symbol 1370 MovieClip Frame 191
stop();
Instance of Symbol 1358 MovieClip in Symbol 1370 MovieClip Frame 191
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
cagelife = 3;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (cagelife > 0)) && (_global.biting == 1)) {
_global.biting = 0;
_root.cagehit.start();
cagelife = cagelife - 1;
this.rcage2.gotoAndPlay(2);
}
if (cagelife == 2) {
this.rcage.gotoAndStop(2);
}
if (cagelife == 1) {
this.rcage.gotoAndStop(3);
}
if (cagelife <= 0) {
life = 0;
}
}
if ((life <= 0) && (checking == 0)) {
_parent.stop();
_root.bite3.start();
checking = 1;
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.researcherkill = _global.researcherkill + 1;
_global.researchergoal = _global.researchergoal - 1;
this.rswimmer.gotoAndStop("dead");
this.gotoAndPlay(2);
}
}
Instance of Symbol 1360 MovieClip in Symbol 1373 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkface)) {
i = 0;
rushspeed = _root.shark.speed;
bumped = 1;
if (rushspeed > 10) {
xx = 20;
_root.cagehit.start();
_parent._parent.gotoAndPlay(2);
} else if ((rushspeed > 8) && (rushspeed < 10)) {
xx = 10;
} else {
bumped = 0;
}
}
if (bumped == 1) {
i = i + 1;
if (i < 20) {
if (rushspeed > 8) {
xx = xx - 1;
_root.shark.speed = _root.shark.speed - 1;
_root.shark._y = _root.shark._y + xx;
} else {
_root.shark.speed = 0;
}
} else {
bumped = 0;
}
}
}
Instance of Symbol 1349 MovieClip in Symbol 1373 MovieClip Frame 1
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((_parent._parent.bumpers == 2) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x - 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.researcherkill = _global.researcherkill + 1;
_global.researchergoal = _global.researchergoal - 1;
this.gotoAndStop("dead");
}
}
Instance of Symbol 1349 MovieClip in Symbol 1373 MovieClip Frame 1
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((_parent._parent.bumpers == 1) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x + 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.researcherkill = _global.researcherkill + 1;
_global.researchergoal = _global.researchergoal - 1;
this.gotoAndStop("dead");
}
}
Symbol 1374 MovieClip Frame 1
stop();
Symbol 1374 MovieClip Frame 18
bumpers = bumpers + 1;
_root.splashsound.start();
Symbol 1374 MovieClip Frame 25
stop();
Symbol 1375 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("map2");
}
Symbol 1390 Button
on (release) {
_root.gotoAndStop("level10");
}
Symbol 1393 MovieClip Frame 1
stop();
Instance of Symbol 1046 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) && (_global.soldier2dead == 0)) {
_global.soldier2dead = 1;
_global.biting = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 1046 MovieClip "soldiertop" in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) && (_global.soldier1dead == 0)) {
_global.soldier1dead = 1;
_global.biting = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 1112 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) {
_global.biting = 0;
_global.bosslife = _global.bosslife - 20;
_parent.hurt.gotoAndPlay(2);
_root.bite3.start();
}
}
Instance of Symbol 1065 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 70) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1086 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 90) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1086 MovieClip in Symbol 1393 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 130) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Symbol 1393 MovieClip Frame 2
stop();
Symbol 1410 Button
on (release) {
_root.gotoAndStop("level11");
}
Instance of Symbol 1417 MovieClip in Symbol 1419 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkdetect) && (_global.timeover == 0)) && (_global.gameover == 0)) {
_global.herolife = _global.herolife - 2;
if (random(5) == 1) {
_root.generateParticles(_root.shark._x, _root.shark._y);
}
}
}
Symbol 1434 Button
on (release) {
_root.gotoAndStop("level12");
}
Symbol 1441 MovieClip Frame 1
stop();
Symbol 1441 MovieClip Frame 2
stop();
Symbol 1441 MovieClip Frame 3
stop();
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1446 MovieClip Frame 2
stop();
Symbol 1446 MovieClip Frame 3
stop();
Symbol 1450 MovieClip Frame 1
stop();
Symbol 1450 MovieClip Frame 2
stop();
Symbol 1450 MovieClip Frame 3
stop();
Symbol 1454 MovieClip Frame 1
stop();
Symbol 1454 MovieClip Frame 2
stop();
Symbol 1454 MovieClip Frame 3
stop();
Instance of Symbol 1441 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1450 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1454 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1455 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1450 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1454 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1456 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1450 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1454 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1457 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1450 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1454 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1460 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1460 MovieClip Frame 40
_parent.falling = 1;
stop();
Symbol 1466 MovieClip Frame 1
xx = random(4);
if (xx == 1) {
_root.pain1.start();
} else if (xx == 2) {
_root.pain2.start();
} else if (xx == 3) {
_root.pain3.start();
} else {
_root.pain4.start();
}
Instance of Symbol 1441 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1450 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1454 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1466 MovieClip Frame 51
stop();
Symbol 1483 MovieClip Frame 47
stop();
Symbol 1496 MovieClip Frame 39
stop();
Symbol 1497 MovieClip Frame 51
stop();
Instance of Symbol 1441 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1450 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1454 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1441 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1442 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1444 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1446 MovieClip in Symbol 1498 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1498 MovieClip Frame 75
gotoAndPlay (51);
Symbol 1499 MovieClip Frame 1
stop();
Symbol 1499 MovieClip Frame 2
stop();
Symbol 1499 MovieClip Frame 3
stop();
Symbol 1499 MovieClip Frame 4
stop();
Symbol 1499 MovieClip Frame 5
stop();
Symbol 1499 MovieClip Frame 6
stop();
Instance of Symbol 1508 MovieClip in Symbol 1512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkbite.bite) && (bitten != 1)) {
bitten = 1;
_root.bite2.start();
_parent._parent._parent.fman1.polefall = 1;
_parent._parent.gotoAndStop(2);
}
}
Symbol 1521 MovieClip Frame 17
stop();
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1522 MovieClip Frame 2
stop();
Instance of Symbol 1499 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
body = 2;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((_parent._parent.bumpers == 1) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x - 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.fishermankill = _global.fishermankill + 1;
_global.fishermangoal = _global.fishermangoal - 1;
this.gotoAndStop("dead");
}
}
Instance of Symbol 1501 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkface)) {
i = 0;
rushspeed = _root.shark.speed;
bumped = 1;
if (rushspeed > 10) {
xx = 20;
_root.cagehit.start();
_parent._parent.gotoAndPlay(2);
} else if ((rushspeed > 8) && (rushspeed < 10)) {
xx = 10;
} else {
bumped = 0;
}
}
if (bumped == 1) {
i = i + 1;
if (i < 20) {
if (rushspeed > 8) {
xx = xx - 1;
_root.shark.speed = _root.shark.speed - 1;
_root.shark._y = _root.shark._y + xx;
} else {
_root.shark.speed = 0;
}
} else {
bumped = 0;
}
}
}
Instance of Symbol 1499 MovieClip "fman1" in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
polefall = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((polefall == 1) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x + 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.fishermankill = _global.fishermankill + 1;
_global.fishermangoal = _global.fishermangoal - 1;
this.gotoAndStop("dead");
}
}
Instance of Symbol 1499 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
body = 1;
this.gotoAndStop(1);
startfall = 0;
fallstop = 0;
life = 100;
checking = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if ((_parent._parent.bumpers == 2) && (startfall == 0)) {
startfall = 1;
this.gotoAndStop("fall");
}
if ((falling == 1) && (fallstop == 0)) {
this._y = this._y + 5;
if (this.rfall.rhead.hitTest(_root.bluewater)) {
fallstop = 1;
this.gotoAndStop("swim2");
_root.splashsound.start();
}
}
if (fallstop == 1) {
this._x = this._x - 1;
}
if (this.hitTest(_root.shark.sharkbite.bite) && (fallstop == 1)) {
life = 0;
_global.crunch = _global.crunch + 1;
}
}
if ((life <= 0) && (checking == 0)) {
checking = 1;
_root.bite4.start();
_global.score = _global.score + 250;
_global.herolife = _global.herolife + 100;
_global.fishermankill = _global.fishermankill + 1;
_global.fishermangoal = _global.fishermangoal - 1;
this.gotoAndStop("dead");
}
}
Symbol 1528 MovieClip Frame 1
stop();
Symbol 1528 MovieClip Frame 18
bumpers = bumpers + 1;
_root.splashsound.start();
Symbol 1528 MovieClip Frame 25
stop();
Symbol 1542 Button
on (release) {
_root.gotoAndStop("level13");
}
Symbol 1552 Button
on (release) {
_root.gotoAndStop("level14");
}
Symbol 1575 Button
on (release) {
_root.gotoAndStop("level15");
}
Symbol 1588 MovieClip Frame 1
stop();
Symbol 1596 MovieClip Frame 4
if (_global.bosslife <= 90) {
_root.boss_warn.start();
}
Symbol 1596 MovieClip Frame 20
if (_global.bosslife <= 90) {
_root.boss_warn.start();
}
Symbol 1618 MovieClip Frame 15
_parent.gotoAndStop(3);
Symbol 1635 MovieClip Frame 5
_root.boss_shoot1.start();
_root.camera.shake = _root.camera.shake + 2.5;
Instance of Symbol 1622 MovieClip in Symbol 1635 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 10;
}
}
Symbol 1635 MovieClip Frame 31
_parent._parent.gotoAndPlay(1);
Symbol 1636 MovieClip Frame 1
stop();
Symbol 1636 MovieClip Frame 2
stop();
Symbol 1636 MovieClip Frame 3
stop();
Symbol 1642 MovieClip Frame 1
explosion = 0;
exploded = 0;
Symbol 1642 MovieClip Frame 38
_root.boss_shoot2.start();
Instance of Symbol 1636 MovieClip in Symbol 1642 MovieClip Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect)) {
_parent.exploded = 1;
_parent.explosion = 1;
_parent.stop();
this.gotoAndStop(3);
}
if ((_parent.explosion == 1) && (_parent.exploded == 0)) {
this.gotoAndStop(2);
}
}
Symbol 1642 MovieClip Frame 87
explosion = 1;
Symbol 1642 MovieClip Frame 88
explosion = 0;
exploded = 0;
stop();
Symbol 1643 MovieClip Frame 48
_global.harpoon1shoot = 1;
Symbol 1643 MovieClip Frame 51
_root.boss.boss_float.harpoon._xscale = 100;
Symbol 1643 MovieClip Frame 62
_global.harpoon2shoot = 1;
Symbol 1643 MovieClip Frame 65
_root.boss.boss_float.harpoon2._xscale = 100;
Symbol 1667 MovieClip Frame 1
_root.boss_netdrop.start();
Symbol 1667 MovieClip Frame 15
stop();
Instance of Symbol 1666 MovieClip "netsight" in Symbol 1667 MovieClip Frame 15
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkdetect) && (_root.shark._alpha == 100)) && (checking != 1)) {
checking = 1;
_parent._parent.pod_status = "catch";
}
}
Symbol 1672 MovieClip Frame 4
stop();
Symbol 1676 MovieClip Frame 1
stop();
exhale = random(20);
CountDown = Math.round(getTimer() / 1000) + exhale;
this.onEnterFrame = function () {
time = Math.round(getTimer() / 1000);
TimeLeft = CountDown - time;
if (time == CountDown) {
this.nextFrame();
}
};
Instance of Symbol 1608 MovieClip in Symbol 1676 MovieClip Frame 1
/* no clip actions */
Symbol 1676 MovieClip Frame 2
stop();
breathe = 3;
CountDown = Math.round(getTimer() / 1000) + breathe;
this.onEnterFrame = function () {
time = Math.round(getTimer() / 1000);
TimeLeft = CountDown - time;
if (time == CountDown) {
this.prevFrame();
}
};
Symbol 1679 MovieClip Frame 7
gotoAndPlay (5);
Symbol 1680 MovieClip Frame 1
stop();
Instance of Symbol 1660 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect) && (_parent.pod_status == "rotate")) {
_parent.pod_status = "shoot";
}
}
Symbol 1680 MovieClip Frame 2
stop();
Symbol 1680 MovieClip Frame 3
stop();
Symbol 1680 MovieClip Frame 4
stop();
Instance of Symbol 1680 MovieClip "pod" in Symbol 1682 MovieClip Frame 1
onClipEvent (load) {
i = 0;
inv = 0;
rotation_dir = 1;
pod_status = "rotate";
slowdown = 0;
dir = (this._rotation + 90) * 0.0174532925;
}
onClipEvent (enterFrame) {
if (pod_status == "rotate") {
inv = 0;
this.gotoAndStop(1);
} else if (pod_status == "shoot") {
this.gotoAndStop(2);
dir = (this._rotation + 90) * 0.0174532925;
} else if (pod_status == "rewind") {
this.gotoAndStop(3);
} else if (pod_status == "catch") {
inv = inv + 1;
if (inv == 50) {
pod_status = "rewind";
_root.shark._alpha = 100;
_root.shark.caught = 0;
this.gotoAndStop(3);
} else {
_root.shark.caught = 1;
_root.shark._alpha = 0;
if (_global.herolife > 0) {
_global.herolife = _global.herolife - 3;
}
this.gotoAndStop(4);
}
}
switch (pod_status) {
case "rotate" :
this._rotation = this._rotation + rotation_dir;
if ((this._rotation == 60) or (this._rotation == -60)) {
rotation_dir = rotation_dir * -1;
}
break;
case "shoot" :
slowdown = 0;
this._x = this._x + (10 * Math.cos(dir));
this._y = this._y + (10 * Math.sin(dir));
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
i++;
if (i == 50) {
_root.pullstring.start();
pod_status = "rewind";
}
_parent.rod.clear();
_parent.rod.lineStyle(1, 0);
_parent.rod.moveTo(30, -56);
_parent.rod.lineTo(this._x, this._y);
break;
case "rewind" :
hot_spot_x = this._x + (40 * Math.cos(dir));
hot_spot_y = this._y + (40 * Math.sin(dir));
this._x = this._x - ((10 - slowdown) * Math.cos(dir));
this._y = this._y - ((10 - slowdown) * Math.sin(dir));
if (this._y < 0) {
this._y = -56;
this._x = 30;
i = 0;
pod_status = "rotate";
}
_parent.rod.clear();
_parent.rod.lineStyle(1, 0);
_parent.rod.moveTo(30, -56);
_parent.rod.lineTo(this._x, this._y);
}
}
Symbol 1717 MovieClip Frame 1
_root.boss_explosion.start();
Symbol 1717 MovieClip Frame 19
_root.boss_explosion.start();
Symbol 1717 MovieClip Frame 55
stop();
_global.bosskill = _global.bosskill + 1;
_global.bossgoal = _global.bossgoal - 1;
Symbol 1719 MovieClip Frame 1
stop();
Instance of Symbol 1046 MovieClip in Symbol 1719 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) && (_global.soldier2dead == 0)) {
_global.soldier2dead = 1;
_global.biting = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 1046 MovieClip "soldiertop" in Symbol 1719 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) && (_global.soldier1dead == 0)) {
_global.soldier1dead = 1;
_global.biting = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 1579 MovieClip in Symbol 1719 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkbite.bite) && (_global.biting == 1)) {
_global.biting = 0;
_global.bosslife = _global.bosslife - 20;
_parent.hurt.gotoAndPlay(2);
_root.bite3.start();
}
}
Instance of Symbol 1596 MovieClip in Symbol 1719 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 90) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1658 MovieClip in Symbol 1719 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 90) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1658 MovieClip in Symbol 1719 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 130) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Symbol 1719 MovieClip Frame 2
stop();
Symbol 1727 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("ending");
}
Symbol 1738 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("title");
}
Symbol 1741 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("credits");
}