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
stop();
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();
_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 8
stop();
stopAllSounds();
_root.stageIntro.start();
Frame 9
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 480 MovieClip in Frame 9
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 637 MovieClip "shark" in Frame 9
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 738 MovieClip "camera" in Frame 9
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 10
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 11
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level1over != 1) {
_root.gotoAndStop("title");
}
Frame 12
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 480 MovieClip in Frame 12
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 637 MovieClip "shark" in Frame 12
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 738 MovieClip "camera" in Frame 12
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 13
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 14
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level2over != 1) {
_root.gotoAndStop("title");
}
Frame 15
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 480 MovieClip in Frame 15
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 637 MovieClip "shark" in Frame 15
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 738 MovieClip "camera" in Frame 15
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 16
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 17
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level3over != 1) {
_root.gotoAndStop("title");
}
Frame 18
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 480 MovieClip in Frame 18
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 637 MovieClip "shark" in Frame 18
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 738 MovieClip "camera" in Frame 18
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 19
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 20
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level4over != 1) {
_root.gotoAndStop("title");
}
Frame 21
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 480 MovieClip in Frame 21
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 1123 MovieClip "boss" in Frame 21
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 637 MovieClip "shark" in Frame 21
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 738 MovieClip "camera" in Frame 21
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 22
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 23
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level5over != 1) {
_root.gotoAndStop("title");
}
Frame 24
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 480 MovieClip in Frame 24
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 637 MovieClip "shark" in Frame 24
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 738 MovieClip "camera" in Frame 24
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 25
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 26
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level6over != 1) {
_root.gotoAndStop("title");
}
Frame 27
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 480 MovieClip in Frame 27
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 637 MovieClip "shark" in Frame 27
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 738 MovieClip "camera" in Frame 27
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 28
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 29
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level7over != 1) {
_root.gotoAndStop("title");
}
Frame 30
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 480 MovieClip in Frame 30
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 637 MovieClip "shark" in Frame 30
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 738 MovieClip "camera" in Frame 30
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 31
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 32
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level8over != 1) {
_root.gotoAndStop("title");
}
Instance of Symbol 1325 MovieClip in Frame 32
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 1314 MovieClip in Frame 32
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 1314 MovieClip in Frame 32
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 33
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 480 MovieClip in Frame 33
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 1338 MovieClip in Frame 33
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 637 MovieClip "shark" in Frame 33
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 738 MovieClip "camera" in Frame 33
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 34
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 35
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level9over != 1) {
_root.gotoAndStop("title");
}
Frame 36
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 480 MovieClip in Frame 36
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 1359 MovieClip "boss2" in Frame 36
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 637 MovieClip "shark" in Frame 36
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 738 MovieClip "camera" in Frame 36
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 37
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 38
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level10over != 1) {
_root.gotoAndStop("title");
}
Frame 39
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 480 MovieClip in Frame 39
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 1338 MovieClip in Frame 39
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 1338 MovieClip in Frame 39
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 637 MovieClip "shark" in Frame 39
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 738 MovieClip "camera" in Frame 39
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 40
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 41
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level11over != 1) {
_root.gotoAndStop("title");
}
Frame 42
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 480 MovieClip in Frame 42
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 1490 MovieClip in Frame 42
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 637 MovieClip "shark" in Frame 42
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 738 MovieClip "camera" in Frame 42
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 43
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 44
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level12over != 1) {
_root.gotoAndStop("title");
}
Frame 45
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 480 MovieClip in Frame 45
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 637 MovieClip "shark" in Frame 45
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 738 MovieClip "camera" in Frame 45
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 46
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 47
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level13over != 1) {
_root.gotoAndStop("title");
}
Frame 48
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 480 MovieClip in Frame 48
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 1490 MovieClip in Frame 48
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 1490 MovieClip in Frame 48
onClipEvent (load) {
bumpers = 0;
}
Instance of Symbol 637 MovieClip "shark" in Frame 48
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 738 MovieClip "camera" in Frame 48
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 49
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 50
stop();
stopAllSounds();
_root.stageIntro.start();
if (_global.level14over != 1) {
_root.gotoAndStop("title");
}
Frame 51
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 480 MovieClip in Frame 51
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 1681 MovieClip "boss3" in Frame 51
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 637 MovieClip "shark" in Frame 51
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 738 MovieClip "camera" in Frame 51
onClipEvent (enterFrame) {
if (_global.gameover != 1) {
_x = _root.shark._x;
_y = (_root.shark._y - 10);
}
}
Frame 52
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 53
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";
}
Frame 55
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 56
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 480 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 637 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;
if (_y > 540) {
_y = 540;
}
this._y = this._y + 1;
}
}
Instance of Symbol 738 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();
_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 59
stop();
stopAllSounds();
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 332 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("map");
}
Symbol 333 Button
on (release) {
_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;
_root.gotoAndStop("map");
}
}
Symbol 334 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("credits");
}
Symbol 335 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro20");
}
Symbol 336 Button
on (release) {
_root.clickmouse.start();
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 337 MovieClip Frame 75
stop();
Symbol 342 Button
on (release) {
_root.getURL("http://www.gonzo-games.com", "_blank");
}
Symbol 346 Button
on (release) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 363 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro1");
}
Symbol 364 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro2");
}
Symbol 365 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro3");
}
Symbol 366 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro4");
}
Symbol 367 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro5");
}
Symbol 368 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro6");
}
Symbol 369 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro8");
}
Symbol 370 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro9");
}
Symbol 371 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro11");
}
Symbol 372 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro12");
}
Symbol 373 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro7");
}
Symbol 374 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro15");
}
Symbol 375 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro10");
}
Symbol 376 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro13");
}
Symbol 377 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("intro14");
}
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 15
stop();
Symbol 405 MovieClip Frame 21
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 408 MovieClip Frame 34
stop();
Symbol 409 MovieClip Frame 27
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 2
stop();
Symbol 410 MovieClip Frame 3
stop();
Symbol 410 MovieClip Frame 4
stop();
Symbol 413 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 414 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 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level1over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level2over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level3over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level4over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level5over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level6over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level8over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level9over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level11over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level12over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level10over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level13over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level14over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level15over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 386 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.level7over == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 418 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 421 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 448 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 445 MovieClip in Symbol 448 MovieClip Frame 1
/* no clip actions */
Symbol 448 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 454 Button
on (release) {
_root.clickmouse.start();
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 471 Button
on (release) {
_root.gotoAndStop("level1");
}
Symbol 476 MovieClip Frame 36
stop();
Symbol 507 MovieClip Frame 13
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 2
stop();
Instance of Symbol 508 MovieClip in Symbol 509 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 517 MovieClip Frame 13
stop();
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 2
stop();
Instance of Symbol 518 MovieClip in Symbol 519 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 539 MovieClip Frame 61
stop();
Symbol 545 MovieClip Frame 61
stop();
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 2
stop();
Symbol 546 MovieClip Frame 3
stop();
Symbol 546 MovieClip Frame 4
stop();
Instance of Symbol 546 MovieClip in Symbol 547 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 562 MovieClip Frame 21
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 565 MovieClip Frame 34
stop();
Symbol 566 MovieClip Frame 27
stop();
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 2
stop();
Symbol 567 MovieClip Frame 3
stop();
Symbol 567 MovieClip Frame 4
stop();
Instance of Symbol 567 MovieClip in Symbol 568 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 608 MovieClip Frame 13
_root.water_dash.start();
Symbol 608 MovieClip Frame 39
_parent.gotoAndStop("swim");
Symbol 610 MovieClip Frame 2
_parent.gotoAndStop("swim");
Symbol 612 MovieClip Frame 2
_parent.gotoAndStop("swim");
Symbol 623 MovieClip Frame 1
_parent.busy = 1;
Symbol 623 MovieClip Frame 17
_parent._rotation = _parent._rotation + 180;
_parent._xscale = _parent._xscale * -1;
_parent.busy = 0;
_parent.gotoAndStop("swim");
Symbol 633 MovieClip Frame 1
_root.camera._xscale = 36;
_root.camera._yscale = 36;
_parent.busy = 1;
Symbol 633 MovieClip Frame 2
_root.camera._xscale = 35;
_root.camera._yscale = 35;
_root.water_attack.start();
_global.crunch = 0;
Symbol 633 MovieClip Frame 3
_root.camera._xscale = 34;
_root.camera._yscale = 34;
Symbol 633 MovieClip Frame 4
_root.camera._xscale = 33;
_root.camera._yscale = 33;
_global.biting = 1;
Symbol 633 MovieClip Frame 5
_root.camera._xscale = 32;
_root.camera._yscale = 32;
Symbol 633 MovieClip Frame 6
_root.camera._xscale = 31;
_root.camera._yscale = 31;
Symbol 633 MovieClip Frame 7
_root.camera._xscale = 30;
_root.camera._yscale = 30;
Symbol 633 MovieClip Frame 8
_root.camera._xscale = 30;
_root.camera._yscale = 30;
Symbol 633 MovieClip Frame 9
_root.camera._xscale = 31;
_root.camera._yscale = 31;
Symbol 633 MovieClip Frame 10
_root.camera._xscale = 32;
_root.camera._yscale = 32;
Symbol 633 MovieClip Frame 11
_root.camera._xscale = 33;
_root.camera._yscale = 33;
Symbol 633 MovieClip Frame 12
_root.camera._xscale = 34;
_root.camera._yscale = 34;
_global.crunch = 0;
Symbol 633 MovieClip Frame 13
_root.camera._xscale = 35;
_root.camera._yscale = 35;
Symbol 633 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 636 MovieClip Frame 80
stop();
_global.gameover = 1;
Symbol 637 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip "sharkdetect" in Symbol 637 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herolife > 500) {
_global.herolife = 500;
}
}
Instance of Symbol 574 MovieClip "sharkface" in Symbol 637 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.herolife > 500) {
_global.herolife = 500;
}
}
Symbol 637 MovieClip Frame 2
stop();
Symbol 637 MovieClip Frame 3
stop();
Symbol 637 MovieClip Frame 4
stop();
Symbol 637 MovieClip Frame 5
stop();
Symbol 637 MovieClip Frame 6
stop();
Symbol 637 MovieClip Frame 7
stop();
Instance of Symbol 643 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _global.herolife;
}
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 10
stop();
Symbol 677 MovieClip Frame 1
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 2
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.ottergoal >= 0) {
this.txtgoal = "=" + _global.ottergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 2
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.ottergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 3
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.ottergoal >= 0) {
this.txtgoal = "=" + _global.ottergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.divergoal >= 0) {
this.txtgoal = "=" + _global.divergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_global.surfergoal >= 0) {
this.txtgoal = "=" + _global.surfergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 3
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.ottergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 3
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.divergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 3
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.surfergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 4
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.surfergoal >= 0) {
this.txtgoal = "=" + _global.surfergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.seagullgoal >= 0) {
this.txtgoal = "=" + _global.seagullgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.birdfloatgoal >= 0) {
this.txtgoal = "=" + _global.birdfloatgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.seagullgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.birdfloatgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 4
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.surfergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 5
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.bossgoal >= 0) {
this.txtgoal = "=" + _global.bossgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 5
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.bossgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 6
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 6
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 7
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.sharkgoal >= 0) {
this.txtgoal = "=" + _global.sharkgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_global.esealgoal >= 0) {
this.txtgoal = "=" + _global.esealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.esealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 7
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sharkgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 8
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.seagullgoal >= 0) {
this.txtgoal = "=" + _global.seagullgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_global.orcagoal >= 0) {
this.txtgoal = "=" + _global.orcagoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 8
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.seagullgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 8
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.orcagoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 9
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.researchergoal >= 0) {
this.txtgoal = "=" + _global.researchergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 9
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.researchergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 10
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_global.bossgoal >= 0) {
this.txtgoal = "=" + _global.bossgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 10
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.bossgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 11
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.researchergoal >= 0) {
this.txtgoal = "=" + _global.researchergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.esealgoal >= 0) {
this.txtgoal = "=" + _global.esealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.esealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 11
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.researchergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 12
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.sharkgoal >= 0) {
this.txtgoal = "=" + _global.sharkgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.orcagoal >= 0) {
this.txtgoal = "=" + _global.orcagoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.fishermangoal >= 0) {
this.txtgoal = "=" + _global.fishermangoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sharkgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.orcagoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 12
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.fishermangoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 13
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.orcagoal >= 0) {
this.txtgoal = "=" + _global.orcagoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 13
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.orcagoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 14
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.sealgoal >= 0) {
this.txtgoal = "=" + _global.sealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.seagullgoal >= 0) {
this.txtgoal = "=" + _global.seagullgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.birdfloatgoal >= 0) {
this.txtgoal = "=" + _global.birdfloatgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.ottergoal >= 0) {
this.txtgoal = "=" + _global.ottergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.esealgoal >= 0) {
this.txtgoal = "=" + _global.esealgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.divergoal >= 0) {
this.txtgoal = "=" + _global.divergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.surfergoal >= 0) {
this.txtgoal = "=" + _global.surfergoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_global.fishermangoal >= 0) {
this.txtgoal = "=" + _global.fishermangoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.sealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.ottergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.divergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.surfergoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.seagullgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.birdfloatgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.esealgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 14
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.fishermangoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 15
stop();
Instance of Symbol 649 MovieClip in Symbol 677 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_global.bossgoal >= 0) {
this.txtgoal = "=" + _global.bossgoal;
} else {
this.txtgoal = "=0";
}
}
Instance of Symbol 659 MovieClip in Symbol 677 MovieClip Frame 15
onClipEvent (load) {
checking = 0;
}
onClipEvent (enterFrame) {
if ((_global.bossgoal <= 0) && (checking == 0)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Symbol 677 MovieClip Frame 16
stop();
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
_global.score = _global.score + 200;
_root.bonus.start();
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 2
_global.score = _global.score + 300;
_root.bonus.start();
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
_global.score = _global.score + 1000;
_root.bonus.start();
Symbol 696 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 2
_root.bonus.start();
_global.score = _global.score + 1000;
Symbol 700 Button
on (release) {
if (_global.gamelevel == 20) {
_root.gotoAndStop("intro20");
} else {
_root.gotoAndStop("map");
}
}
Symbol 702 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 704 Button
on (release) {
_root.getURL("http://www.addictinggames.com", "_blank");
}
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 26
stop();
Symbol 716 MovieClip Frame 5
_root.timersound.start();
Symbol 717 MovieClip Frame 1
stop();
Symbol 717 MovieClip Frame 2
stop();
Instance of Symbol 717 MovieClip in Symbol 718 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 721 Button
on (release) {
_root.gotoAndStop("map");
}
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 15
stop();
Symbol 727 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 2
_global.levelsuccess = 1;
_global.herolife = 500;
Symbol 727 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 729 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 730 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 731 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 732 Button
on (release) {
if (_global.gamelevel == 20) {
_root.gotoAndStop("intro20");
} else {
_root.gotoAndStop("map");
}
}
Instance of Symbol 736 MovieClip in Symbol 737 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 738 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 647 MovieClip in Symbol 738 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 677 MovieClip in Symbol 738 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 680 MovieClip in Symbol 738 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 718 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.gamelevel == 20) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 722 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.timeover == 1) && (checking != 1)) {
checking = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 727 MovieClip in Symbol 738 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 737 MovieClip in Symbol 738 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 750 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("map");
}
Symbol 758 Button
on (release) {
_root.gotoAndStop("level2");
}
Symbol 772 Button
on (release) {
_root.gotoAndStop("level3");
}
Symbol 838 MovieClip Frame 13
_root.release.start();
_parent.arrowshoot = 1;
Symbol 842 MovieClip Frame 14
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 845 MovieClip Frame 25
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 845 MovieClip Frame 41
stop();
Symbol 846 MovieClip Frame 1
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 846 MovieClip Frame 16
stop();
Symbol 849 MovieClip Frame 3
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 849 MovieClip Frame 8
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 849 MovieClip Frame 12
_root.generateParticles(_parent._parent._x, _parent._parent._y);
Symbol 849 MovieClip Frame 18
stop();
Symbol 850 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 2
stop();
Symbol 850 MovieClip Frame 3
stop();
Symbol 850 MovieClip Frame 4
stop();
Symbol 850 MovieClip Frame 5
stop();
Symbol 850 MovieClip Frame 6
stop();
Symbol 850 MovieClip Frame 7
stop();
Symbol 850 MovieClip Frame 8
stop();
Instance of Symbol 850 MovieClip in Symbol 855 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 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 2
stop();
Symbol 873 MovieClip Frame 28
gotoAndPlay (9);
Symbol 885 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 885 MovieClip Frame 26
stop();
Symbol 886 MovieClip Frame 1
stop();
Symbol 886 MovieClip Frame 2
stop();
Symbol 886 MovieClip Frame 3
stop();
Symbol 886 MovieClip Frame 4
stop();
Instance of Symbol 886 MovieClip "surfer" in Symbol 888 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 901 Button
on (release) {
_root.gotoAndStop("level4");
}
Symbol 949 MovieClip Frame 11
gotoAndPlay (6);
Symbol 961 MovieClip Frame 16
stop();
Symbol 962 MovieClip Frame 1
stop();
Symbol 962 MovieClip Frame 2
stop();
Symbol 962 MovieClip Frame 3
stop();
Instance of Symbol 962 MovieClip "seabird" in Symbol 963 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 975 MovieClip Frame 21
stop();
Symbol 976 MovieClip Frame 1
stop();
Symbol 976 MovieClip Frame 2
stop();
Instance of Symbol 976 MovieClip in Symbol 977 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 993 Button
on (release) {
_root.gotoAndStop("level5");
}
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1002 MovieClip Frame 2
stop();
Symbol 1012 MovieClip Frame 1
_root.bite3.start();
_global.herolife = _global.herolife + 50;
Symbol 1012 MovieClip Frame 16
stop();
Symbol 1013 MovieClip Frame 1
stop();
Symbol 1013 MovieClip Frame 2
stop();
Symbol 1024 MovieClip Frame 1
stop();
Symbol 1032 MovieClip Frame 4
if (_global.bosslife <= 40) {
_root.boss_warn.start();
}
Symbol 1032 MovieClip Frame 20
if (_global.bosslife <= 90) {
_root.boss_warn.start();
}
Symbol 1038 MovieClip Frame 29
_global.harpoon1shoot = 1;
Symbol 1038 MovieClip Frame 32
_root.boss.boss_float.harpoon._xscale = 100;
Symbol 1038 MovieClip Frame 43
_global.harpoon2shoot = 1;
Symbol 1038 MovieClip Frame 46
_root.boss.boss_float.harpoon2._xscale = 100;
Symbol 1064 MovieClip Frame 1
_root.boss_netdrop.start();
Symbol 1064 MovieClip Frame 15
stop();
Instance of Symbol 1063 MovieClip "netsight" in Symbol 1064 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect) && (checking != 1)) {
checking = 1;
_parent._parent.pod_status = "catch";
}
}
Symbol 1069 MovieClip Frame 4
stop();
Symbol 1075 MovieClip Frame 7
gotoAndPlay (5);
Symbol 1076 MovieClip Frame 1
stop();
Instance of Symbol 1056 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect) && (_parent.pod_status == "rotate")) {
_parent.pod_status = "shoot";
}
}
Symbol 1076 MovieClip Frame 2
stop();
Symbol 1076 MovieClip Frame 3
stop();
Symbol 1076 MovieClip Frame 4
stop();
Instance of Symbol 1076 MovieClip "pod" in Symbol 1077 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 1120 MovieClip Frame 1
_root.boss_explosion.start();
Symbol 1120 MovieClip Frame 19
_root.boss_explosion.start();
Symbol 1120 MovieClip Frame 55
stop();
_global.bosskill = _global.bosskill + 1;
_global.bossgoal = _global.bossgoal - 1;
Symbol 1122 MovieClip Frame 1
stop();
Instance of Symbol 1013 MovieClip in Symbol 1122 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 1013 MovieClip "soldiertop" in Symbol 1122 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 1032 MovieClip in Symbol 1122 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 40) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1053 MovieClip in Symbol 1122 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 50) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1053 MovieClip in Symbol 1122 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 30) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1079 MovieClip in Symbol 1122 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 1122 MovieClip Frame 2
stop();
Symbol 1136 Button
on (release) {
_root.gotoAndStop("level6");
}
Symbol 1152 Button
on (release) {
_root.gotoAndStop("level7");
}
Instance of Symbol 410 MovieClip in Symbol 1169 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 1178 MovieClip Frame 14
_parent.gotoAndStop("swim");
Symbol 1181 MovieClip Frame 80
stop();
_global.gameover = 1;
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 2
stop();
Symbol 1182 MovieClip Frame 3
stop();
Instance of Symbol 1182 MovieClip in Symbol 1186 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 1200 Button
on (release) {
_root.gotoAndStop("level8");
}
Symbol 1219 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 1240 MovieClip Frame 35
stop();
Symbol 1249 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 1258 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 1259 MovieClip Frame 1
stop();
Symbol 1259 MovieClip Frame 2
stop();
Symbol 1259 MovieClip Frame 3
stop();
Symbol 1259 MovieClip Frame 4
stop();
Symbol 1259 MovieClip Frame 5
stop();
Symbol 1259 MovieClip Frame 6
stop();
Symbol 1259 MovieClip Frame 7
stop();
Instance of Symbol 1259 MovieClip "orca" in Symbol 1260 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 1276 Button
on (release) {
_root.gotoAndStop("level9");
}
Symbol 1284 MovieClip Frame 1
stop();
Symbol 1284 MovieClip Frame 2
stop();
Symbol 1284 MovieClip Frame 3
stop();
Symbol 1292 MovieClip Frame 1
stop();
Symbol 1292 MovieClip Frame 2
stop();
Symbol 1292 MovieClip Frame 3
stop();
Symbol 1296 MovieClip Frame 1
stop();
Symbol 1296 MovieClip Frame 2
stop();
Symbol 1296 MovieClip Frame 3
stop();
Symbol 1300 MovieClip Frame 1
stop();
Symbol 1300 MovieClip Frame 2
stop();
Symbol 1300 MovieClip Frame 3
stop();
Instance of Symbol 1284 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1296 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1300 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1301 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1296 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1300 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1302 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1296 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1300 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1303 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1296 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1300 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1306 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1306 MovieClip Frame 40
_parent.falling = 1;
stop();
Symbol 1312 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 1284 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1296 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1300 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1312 MovieClip Frame 51
stop();
Instance of Symbol 1284 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1296 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1300 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1284 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1286 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1288 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1292 MovieClip in Symbol 1313 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1313 MovieClip Frame 75
gotoAndPlay (51);
Symbol 1314 MovieClip Frame 1
stop();
Symbol 1314 MovieClip Frame 2
stop();
Symbol 1314 MovieClip Frame 3
stop();
Symbol 1314 MovieClip Frame 4
stop();
Symbol 1314 MovieClip Frame 5
stop();
Symbol 1314 MovieClip Frame 6
stop();
Symbol 1318 MovieClip Frame 1
stop();
Symbol 1318 MovieClip Frame 2
stop();
Symbol 1318 MovieClip Frame 3
stop();
Symbol 1319 MovieClip Frame 1
stop();
Symbol 1323 MovieClip Frame 1
stop();
Instance of Symbol 1314 MovieClip "rswimmer" in Symbol 1323 MovieClip Frame 1
onClipEvent (load) {
body = 3;
this.gotoAndStop(3);
}
Symbol 1323 MovieClip Frame 24
stop();
Symbol 1334 MovieClip Frame 191
stop();
Instance of Symbol 1323 MovieClip in Symbol 1334 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 1325 MovieClip in Symbol 1337 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 1314 MovieClip in Symbol 1337 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 1314 MovieClip in Symbol 1337 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 1338 MovieClip Frame 1
stop();
Symbol 1338 MovieClip Frame 18
bumpers = bumpers + 1;
_root.splashsound.start();
Symbol 1338 MovieClip Frame 25
stop();
Symbol 1353 Button
on (release) {
_root.gotoAndStop("level10");
}
Symbol 1356 MovieClip Frame 1
stop();
Instance of Symbol 1013 MovieClip in Symbol 1356 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 1013 MovieClip "soldiertop" in Symbol 1356 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 1079 MovieClip in Symbol 1356 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 1032 MovieClip in Symbol 1356 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 70) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1053 MovieClip in Symbol 1356 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 90) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1053 MovieClip in Symbol 1356 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 130) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Symbol 1356 MovieClip Frame 2
stop();
Symbol 1372 Button
on (release) {
_root.gotoAndStop("level11");
}
Instance of Symbol 1379 MovieClip in Symbol 1381 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 1395 Button
on (release) {
_root.gotoAndStop("level12");
}
Symbol 1402 MovieClip Frame 1
stop();
Symbol 1402 MovieClip Frame 2
stop();
Symbol 1402 MovieClip Frame 3
stop();
Symbol 1407 MovieClip Frame 1
stop();
Symbol 1407 MovieClip Frame 2
stop();
Symbol 1407 MovieClip Frame 3
stop();
Symbol 1411 MovieClip Frame 1
stop();
Symbol 1411 MovieClip Frame 2
stop();
Symbol 1411 MovieClip Frame 3
stop();
Symbol 1415 MovieClip Frame 1
stop();
Symbol 1415 MovieClip Frame 2
stop();
Symbol 1415 MovieClip Frame 3
stop();
Instance of Symbol 1402 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1411 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1415 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1416 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1411 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1415 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1417 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1411 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1415 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1418 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1411 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1415 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1421 MovieClip Frame 40
_parent.falling = 1;
stop();
Symbol 1427 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 1402 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1411 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1415 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1427 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1427 MovieClip Frame 51
stop();
Symbol 1444 MovieClip Frame 47
stop();
Symbol 1457 MovieClip Frame 39
stop();
Symbol 1458 MovieClip Frame 51
stop();
Instance of Symbol 1402 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1411 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1415 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1402 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1403 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1405 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Instance of Symbol 1407 MovieClip in Symbol 1459 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.body);
}
Symbol 1459 MovieClip Frame 75
gotoAndPlay (51);
Symbol 1460 MovieClip Frame 1
stop();
Symbol 1460 MovieClip Frame 2
stop();
Symbol 1460 MovieClip Frame 3
stop();
Symbol 1460 MovieClip Frame 4
stop();
Symbol 1460 MovieClip Frame 5
stop();
Symbol 1460 MovieClip Frame 6
stop();
Instance of Symbol 1469 MovieClip in Symbol 1473 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 1482 MovieClip Frame 17
stop();
Symbol 1483 MovieClip Frame 1
stop();
Symbol 1483 MovieClip Frame 2
stop();
Instance of Symbol 1460 MovieClip in Symbol 1484 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 1462 MovieClip in Symbol 1484 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 1460 MovieClip "fman1" in Symbol 1484 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 1460 MovieClip in Symbol 1484 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 1490 MovieClip Frame 1
stop();
Symbol 1490 MovieClip Frame 18
bumpers = bumpers + 1;
_root.splashsound.start();
Symbol 1490 MovieClip Frame 25
stop();
Symbol 1504 Button
on (release) {
_root.gotoAndStop("level13");
}
Symbol 1515 Button
on (release) {
_root.gotoAndStop("level14");
}
Symbol 1537 Button
on (release) {
_root.gotoAndStop("level15");
}
Symbol 1549 MovieClip Frame 1
stop();
Symbol 1557 MovieClip Frame 4
if (_global.bosslife <= 90) {
_root.boss_warn.start();
}
Symbol 1557 MovieClip Frame 20
if (_global.bosslife <= 90) {
_root.boss_warn.start();
}
Symbol 1579 MovieClip Frame 15
_parent.gotoAndStop(3);
Symbol 1596 MovieClip Frame 5
_root.boss_shoot1.start();
_root.camera.shake = _root.camera.shake + 2.5;
Instance of Symbol 1583 MovieClip in Symbol 1596 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect)) {
_global.herolife = _global.herolife - 10;
}
}
Symbol 1596 MovieClip Frame 31
_parent._parent.gotoAndPlay(1);
Symbol 1597 MovieClip Frame 1
stop();
Symbol 1597 MovieClip Frame 2
stop();
Symbol 1597 MovieClip Frame 3
stop();
Symbol 1603 MovieClip Frame 1
explosion = 0;
exploded = 0;
Symbol 1603 MovieClip Frame 38
_root.boss_shoot2.start();
Instance of Symbol 1597 MovieClip in Symbol 1603 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 1603 MovieClip Frame 87
explosion = 1;
Symbol 1603 MovieClip Frame 88
explosion = 0;
exploded = 0;
stop();
Symbol 1604 MovieClip Frame 48
_global.harpoon1shoot = 1;
Symbol 1604 MovieClip Frame 51
_root.boss.boss_float.harpoon._xscale = 100;
Symbol 1604 MovieClip Frame 62
_global.harpoon2shoot = 1;
Symbol 1604 MovieClip Frame 65
_root.boss.boss_float.harpoon2._xscale = 100;
Symbol 1628 MovieClip Frame 1
_root.boss_netdrop.start();
Symbol 1628 MovieClip Frame 15
stop();
Instance of Symbol 1627 MovieClip "netsight" in Symbol 1628 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 1633 MovieClip Frame 4
stop();
Symbol 1637 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 1569 MovieClip in Symbol 1637 MovieClip Frame 1
/* no clip actions */
Symbol 1637 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 1640 MovieClip Frame 7
gotoAndPlay (5);
Symbol 1641 MovieClip Frame 1
stop();
Instance of Symbol 1621 MovieClip in Symbol 1641 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shark.sharkdetect) && (_parent.pod_status == "rotate")) {
_parent.pod_status = "shoot";
}
}
Symbol 1641 MovieClip Frame 2
stop();
Symbol 1641 MovieClip Frame 3
stop();
Symbol 1641 MovieClip Frame 4
stop();
Instance of Symbol 1641 MovieClip "pod" in Symbol 1643 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 1678 MovieClip Frame 1
_root.boss_explosion.start();
Symbol 1678 MovieClip Frame 19
_root.boss_explosion.start();
Symbol 1678 MovieClip Frame 55
stop();
_global.bosskill = _global.bosskill + 1;
_global.bossgoal = _global.bossgoal - 1;
Symbol 1680 MovieClip Frame 1
stop();
Instance of Symbol 1013 MovieClip in Symbol 1680 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 1013 MovieClip "soldiertop" in Symbol 1680 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 1540 MovieClip in Symbol 1680 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 1557 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 90) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1619 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 90) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Instance of Symbol 1619 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_global.bosslife < 130) && (checking != 1)) {
checking = 1;
this._alpha = 30;
}
}
Symbol 1680 MovieClip Frame 2
stop();
Symbol 1688 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("ending");
}
Symbol 1700 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("title");
}
Symbol 1703 Button
on (release) {
_root.clickmouse.start();
_root.gotoAndStop("credits");
}
Symbol 1705 Button
on (release) {
_root.gotoAndStop("level20");
}
Symbol 1717 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 1724 Button
on (release) {
_root.getURL("http://www.ultimateflashgame.com");
}