Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_parent.getBytesLoaded() / 2800);
}
Instance of Symbol 133 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (0 < _alpha) {
_alpha = (_alpha - 1);
}
}
Frame 3
stop();
Instance of Symbol 363 MovieClip in Frame 3
onClipEvent (enterFrame) {
_parent.engine._x = 325;
}
Symbol 4 MovieClip Frame 1
stop();
Symbol 41 Button
on (keyPress "<Space>") {
gotoAndPlay (2);
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
play();
Symbol 64 Button
on (press, keyPress "<Space>") {
gotoAndPlay (2);
}
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 5
friction = (-(_parent.animationspeed / 25)) - 5;
Symbol 71 MovieClip Frame 7
x = 0;
while (x < 6) {
diver = _parent._parent["diver" + x];
x = x + 1;
if (bitebox.hitTest(diver) && (diver._currentframe != 3)) {
if (3 < diver._currentframe) {
diver.gotoAndStop(5);
} else {
diver.gotoAndStop(2);
}
}
if (((((diver._currentframe == 1) && (!bitebox.hitTest(diver))) && ((shark._x - 250) < diver._x)) && (math.abs(diverman._y - shark._y) < 100)) && (200 < _parent._parent.distance)) {
diver.gotoAndStop(4);
}
if (bitebox.hitTest(diver.body)) {
diver.gotoAndStop(3);
}
}
x = 0;
while (x < 6) {
fish = _parent._parent["fish" + x];
x = x + 1;
if (bitebox.hitTest(fish)) {
fish.gotoAndStop(2);
}
}
Symbol 71 MovieClip Frame 8
_parent._parent.shark._x = _parent._parent.shark._x - friction;
friction = friction + 2;
Symbol 71 MovieClip Frame 9
call("back");
Symbol 71 MovieClip Frame 10
call("back");
Symbol 71 MovieClip Frame 11
call("back");
Symbol 71 MovieClip Frame 12
call("back");
Symbol 71 MovieClip Frame 28
gotoAndStop (1);
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
play();
Symbol 75 MovieClip Frame 21
gotoAndPlay (2);
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
play();
Symbol 76 MovieClip Frame 21
gotoAndPlay (2);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
play();
Symbol 77 MovieClip Frame 21
gotoAndPlay (2);
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
play();
Symbol 78 MovieClip Frame 21
gotoAndPlay (2);
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
play();
Symbol 79 MovieClip Frame 21
gotoAndPlay (2);
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
play();
Symbol 80 MovieClip Frame 21
gotoAndPlay (2);
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
play();
Symbol 81 MovieClip Frame 21
gotoAndPlay (2);
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
play();
Symbol 82 MovieClip Frame 21
gotoAndPlay (2);
Symbol 84 MovieClip Frame 1
stop();
x = 0;
Symbol 84 MovieClip Frame 2
play();
x = x + 0.5;
_parent._parent.shark._y = _parent._parent.shark._y + x;
Symbol 84 MovieClip Frame 3
call("die");
Symbol 84 MovieClip Frame 4
call("die");
Symbol 84 MovieClip Frame 5
call("die");
Symbol 84 MovieClip Frame 6
call("die");
Symbol 84 MovieClip Frame 7
call("die");
Symbol 84 MovieClip Frame 8
call("die");
Symbol 84 MovieClip Frame 9
call("die");
Symbol 84 MovieClip Frame 10
call("die");
Symbol 84 MovieClip Frame 11
call("die");
Symbol 84 MovieClip Frame 12
call("die");
Symbol 84 MovieClip Frame 13
call("die");
Symbol 84 MovieClip Frame 14
call("die");
Symbol 84 MovieClip Frame 15
call("die");
Symbol 84 MovieClip Frame 16
call("die");
Symbol 84 MovieClip Frame 17
call("die");
Symbol 84 MovieClip Frame 18
call("die");
Symbol 84 MovieClip Frame 19
call("die");
Symbol 84 MovieClip Frame 20
call("die");
Symbol 84 MovieClip Frame 21
gotoAndPlay (2);
call("die");
Instance of Symbol 75 MovieClip "blood1" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 76 MovieClip "blood2" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 77 MovieClip "blood3" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 78 MovieClip "blood4" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 79 MovieClip "blood5" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 80 MovieClip "blood6" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 81 MovieClip "blood7" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 82 MovieClip "blood8" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 84 MovieClip "blood9" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 131 MovieClip Frame 49
gotoAndPlay (1);
Symbol 145 Button
on (release) {
gotoAndPlay (539);
}
Symbol 167 MovieClip Frame 14
gotoAndPlay (1);
Symbol 177 MovieClip Frame 40
_parent.dead = 1;
Symbol 177 MovieClip Frame 41
_parent._x = -900;
_parent.gotoAndStop(1);
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 3
play();
if (knifebox.hitTest(_parent._parent._parent.shark)) {
_parent._parent.knifeblood.knifeblood1.gotoAndPlay(2);
}
Symbol 196 MovieClip Frame 8
play();
if (knifebox.hitTest(_parent._parent._parent.shark)) {
_parent._parent.knifeblood.knifeblood2.gotoAndPlay(2);
}
Symbol 196 MovieClip Frame 14
play();
if (knifebox.hitTest(_parent._parent._parent.shark)) {
_parent._parent.knifeblood.knifeblood3.gotoAndPlay(2);
}
Symbol 196 MovieClip Frame 18
play();
if (knifebox.hitTest(_parent._parent._parent.shark)) {
_parent._parent.knifeblood.knifeblood14gotoAndPlay(2);
}
Symbol 204 MovieClip Frame 2
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 1;
Symbol 204 MovieClip Frame 3
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 204 MovieClip Frame 4
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 204 MovieClip Frame 5
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 204 MovieClip Frame 6
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 3;
Symbol 204 MovieClip Frame 7
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 3;
Symbol 204 MovieClip Frame 8
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 204 MovieClip Frame 9
_parent._y = _parent._y - 3;
_parent._x = _parent._x + 4;
Symbol 204 MovieClip Frame 10
_parent._y = _parent._y - 3;
_parent._x = _parent._x + 4;
Symbol 204 MovieClip Frame 11
_parent._y = _parent._y - 3;
_parent._x = _parent._x + 3;
Symbol 204 MovieClip Frame 12
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 1;
Symbol 204 MovieClip Frame 13
_parent._y = _parent._y + 1;
_parent._parent._x = _parent._parent._x - 1;
Symbol 204 MovieClip Frame 14
x = 0;
while (x < 5) {
diver = _parent._parent["diver" + x];
knifeblood = _parent._parent["knifeblood" + x];
knifeblood._x = diver._x - 100;
knifeblood._y = diver._y;
sharkdifx = Math.abs(diver._x - (_parent._parent.shark._x + 120));
sharkdify = Math.abs(diver._y - (_parent._parent.shark._y + 5));
if (sharkdifx < 140) {
if (sharkdify < 40) {
if (diver.diver.knife._currentframe < 3) {
with (diver.diver.knife) {
gotoAndPlay(3);
}
}
}
}
x = x + 1;
}
Symbol 204 MovieClip Frame 15
call("knifejab");
Symbol 204 MovieClip Frame 16
call("knifejab");
Symbol 204 MovieClip Frame 17
call("knifejab");
Symbol 204 MovieClip Frame 18
call("knifejab");
Symbol 204 MovieClip Frame 19
call("knifejab");
Symbol 204 MovieClip Frame 20
call("knifejab");
Symbol 204 MovieClip Frame 21
call("knifejab");
Symbol 204 MovieClip Frame 22
call("knifejab");
Symbol 204 MovieClip Frame 23
call("knifejab");
Symbol 204 MovieClip Frame 24
call("knifejab");
Symbol 204 MovieClip Frame 25
call("knifejab");
gotoAndPlay (14);
knifeblood._x = diver._x - 100;
knifeblood._y = diver._y;
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
play();
_parent._parent._parent.shark._x = _parent._parent._parent.shark._x + 6;
_parent._parent._parent.health = _parent._parent._parent.health + 6;
Symbol 215 MovieClip Frame 6
x = 0;
while (x < 5) {
diver = _parent._parent["diver" + x];
knifeblood = _parent._parent["knifeblood" + x];
knifeblood._x = diver._x;
knifeblood._y = diver._y;
sharkdifx = Math.abs(diver._x - (_parent._parent.shark._x + 36));
sharkdify = Math.abs(diver._y - (_parent._parent.shark._y + 5));
if (sharkdifx < 150) {
if (sharkdify < 40) {
if (diver.diver.knife._currentframe < 2) {
with (diver.diver.knife) {
gotoAndPlay(2);
}
}
}
}
x = x + 1;
}
Symbol 215 MovieClip Frame 7
call("knifejab");
Symbol 215 MovieClip Frame 8
call("knifejab");
Symbol 215 MovieClip Frame 9
call("knifejab");
Symbol 215 MovieClip Frame 10
call("knifejab");
Symbol 215 MovieClip Frame 11
call("knifejab");
Symbol 215 MovieClip Frame 12
call("knifejab");
Symbol 215 MovieClip Frame 13
call("knifejab");
Symbol 215 MovieClip Frame 14
call("knifejab");
Symbol 215 MovieClip Frame 15
gotoAndPlay (6);
call("knifejab");
Symbol 216 MovieClip Frame 1
stop();
scare = 0;
Symbol 216 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 216 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 216 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 216 MovieClip Frame 4
stop();
turn = 0;
Symbol 216 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Instance of Symbol 75 MovieClip "blood1" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 76 MovieClip "blood2" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 77 MovieClip "blood3" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 78 MovieClip "blood4" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 79 MovieClip "blood5" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 80 MovieClip "blood6" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 81 MovieClip "blood7" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 82 MovieClip "blood8" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 84 MovieClip "blood9" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 227 MovieClip Frame 49
gotoAndPlay (1);
Symbol 231 MovieClip Frame 1
stop();
scare = 0;
Symbol 231 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 231 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 231 MovieClip Frame 4
stop();
turn = 0;
Symbol 231 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Instance of Symbol 75 MovieClip "blood1" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 76 MovieClip "blood2" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 77 MovieClip "blood3" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 78 MovieClip "blood4" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 79 MovieClip "blood5" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 80 MovieClip "blood6" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 81 MovieClip "blood7" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 82 MovieClip "blood8" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 84 MovieClip "blood9" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 233 MovieClip Frame 49
gotoAndPlay (1);
Symbol 240 Button
on (release) {
with (_parent) {
gotoAndStop(2);
}
}
Symbol 255 Button
on (release) {
_root.swHighScoreObject.showTab = "view";
_visible = false;
docount = true;
_root.disabler._visible = true;
loadMovieNum (_root.HSHubURL, 2);
}
Instance of Symbol 138 MovieClip "reef1" in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 5;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 140 MovieClip "reef2" in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 5;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 142 MovieClip "reef1" in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 10;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 144 MovieClip "reef2" in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 10;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Symbol 265 MovieClip Frame 410
with (shark.head) {
gotoAndPlay(2);
}
Instance of Symbol 227 MovieClip "shark" in Symbol 265 MovieClip Frame 413
onClipEvent (enterFrame) {
if (xspeed < 1) {
xspeed = 5;
}
xspeed = xspeed + 0.5;
_x = (_x - xspeed);
nextFrame();
}
onClipEvent (enterFrame) {
nextFrame();
}
onClipEvent (enterFrame) {
nextFrame();
}
Symbol 265 MovieClip Frame 415
with (shark.head) {
gotoAndPlay(2);
}
Instance of Symbol 231 MovieClip "divera" in Symbol 265 MovieClip Frame 506
onClipEvent (enterFrame) {
gotoAndStop (4);
}
Symbol 265 MovieClip Frame 507
with (divera) {
gotoAndStop(4);
}
Symbol 265 MovieClip Frame 527
with (divera.diver.knife) {
gotoAndPlay(2);
}
Symbol 265 MovieClip Frame 532
with (shark.head) {
gotoAndPlay(2);
}
Instance of Symbol 233 MovieClip "shark" in Symbol 265 MovieClip Frame 538
onClipEvent (enterFrame) {
if (xspeed < 1) {
xspeed = 10;
}
xspeed = xspeed + 1;
_x = (_x + xspeed);
nextFrame();
}
onClipEvent (load) {
nextFrame();
}
onClipEvent (load) {
nextFrame();
}
Symbol 265 MovieClip Frame 580
stop();
function playAgain() {
_root.HSHubSubmitter._visible = true;
_root.disabler._visible = false;
}
System.security.allowDomain("shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "ssk0501";
_level0.swHighScoreObject.gameTitle = "Mad Shark";
_level0.swHighScoreObject.screenWidth = 550;
_level0.swHighScoreObject.screenHeight = 400;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = _parent.distance;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Instance of Symbol 257 MovieClip "HSHubSubmitter" in Symbol 265 MovieClip Frame 580
onClipEvent (load) {
this.swapDepths(100033);
docount = false;
}
onClipEvent (enterFrame) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (60 < trycount)) {
docount = false;
trycount = 0;
}
}
}
Instance of Symbol 260 MovieClip "disabler" in Symbol 265 MovieClip Frame 580
onClipEvent (load) {
this.swapDepths(120001);
_visible = false;
}
Symbol 272 MovieClip Frame 40
gotoAndPlay (1);
Symbol 297 MovieClip Frame 12
gotoAndPlay (1);
Symbol 304 MovieClip Frame 70
with (_parent) {
_x = -1000;
gotoAndStop(1);
}
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 4;
_parent.health = _parent.health - 1.5;
with (_parent.shark.head.blood1) {
gotoAndPlay(2);
}
Instance of Symbol 304 MovieClip in Symbol 305 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 4;
_parent.health = _parent.health - 1.5;
with (_parent.shark.head.blood1) {
gotoAndPlay(2);
}
Instance of Symbol 304 MovieClip in Symbol 306 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 2;
_parent.health = _parent.health - 1;
with (_parent.shark.head.blood10) {
gotoAndPlay(2);
}
Instance of Symbol 304 MovieClip in Symbol 307 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 308 MovieClip Frame 1
stop();
scare = 0;
Symbol 308 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 308 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 308 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 308 MovieClip Frame 4
stop();
turn = 0;
Symbol 308 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Instance of Symbol 75 MovieClip "blood1" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 76 MovieClip "blood2" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 77 MovieClip "blood3" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 78 MovieClip "blood4" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 79 MovieClip "blood5" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 80 MovieClip "blood6" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 81 MovieClip "blood7" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 82 MovieClip "blood8" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 84 MovieClip "blood9" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 309 MovieClip Frame 49
gotoAndPlay (1);
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 304 MovieClip in Symbol 311 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 4;
_parent.health = _parent.health - 1.5;
with (_parent.shark.head.blood1) {
gotoAndPlay(2);
}
Instance of Symbol 304 MovieClip in Symbol 312 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 313 MovieClip Frame 1
stop();
scare = 0;
Symbol 313 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 313 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 313 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 313 MovieClip Frame 4
stop();
turn = 0;
Symbol 313 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 314 MovieClip Frame 1
stop();
scare = 0;
Symbol 314 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 314 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 314 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 314 MovieClip Frame 4
stop();
turn = 0;
Symbol 314 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 315 MovieClip Frame 1
stop();
scare = 0;
Symbol 315 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 315 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 315 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 315 MovieClip Frame 4
stop();
turn = 0;
Symbol 315 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 316 MovieClip Frame 1
stop();
scare = 0;
Symbol 316 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 6;
_parent.health = _parent.health - 2;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip " diver1" in Symbol 316 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 316 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 10;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 316 MovieClip Frame 4
stop();
turn = 0;
Symbol 316 MovieClip Frame 5
stop();
turn = 0;
scare = 2;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 323 MovieClip Frame 40
gotoAndPlay (1);
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
stop();
Symbol 343 Button
on (keyPress "r") {
gotoAndStop (1);
}
Symbol 349 Button
on (release) {
_root.swHighScoreObject.showTab = "submit";
_visible = false;
docount = true;
_root.disabler._visible = true;
loadMovieNum (_root.HSHubURL, 2);
}
Symbol 353 Button
on (release) {
with (_parent) {
gotoAndStop(1);
}
}
Symbol 356 Button
on (release) {
with (_parent) {
gotoAndStop(2);
}
}
Symbol 361 MovieClip Frame 21
function playAgain() {
_root.HSHubSubmitter._visible = true;
_root.disabler._visible = false;
}
System.security.allowDomain("shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "ssk0501";
_level0.swHighScoreObject.gameTitle = "Mad Shark";
_level0.swHighScoreObject.screenWidth = 550;
_level0.swHighScoreObject.screenHeight = 400;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = _parent.distance;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Instance of Symbol 352 MovieClip "HSHubSubmitter" in Symbol 361 MovieClip Frame 21
onClipEvent (load) {
this.swapDepths(100033);
docount = false;
}
onClipEvent (enterFrame) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (60 < trycount)) {
docount = false;
trycount = 0;
}
}
}
Instance of Symbol 260 MovieClip "disabler" in Symbol 361 MovieClip Frame 21
onClipEvent (load) {
this.swapDepths(120001);
_visible = false;
}
Symbol 361 MovieClip Frame 31
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 2
function godiver(divernum, diverstate) {
diverman = this["diver" + divernum];
this.diverstate = diverstate;
difx = diverman._x - shark._x;
xspeed = shark.animationspeed / 30;
if ((((((shark._x - (120 + (distance / 10))) < diverman._x) && (math.abs(diverman._y - shark._y) < 100)) && (diverman._currentframe != 4)) && (diverstate == 1)) && (100 < distance)) {
diverman.gotoAndStop(4);
}
if (diverstate == 2) {
xspeed = xspeed + 4;
diverman._y = diverman._y - 4;
}
if (diverstate == 5) {
if (_x < (shark._x - 60)) {
xspeed = xspeed - 5;
}
diverman._y = diverman._y - 4;
}
if (diverstate == 4) {
if (diverman._x < (shark._x - 60)) {
xspeed = xspeed - 3;
if (((shark._y - 20) < diverman._y) && (diverman._y < (shark._y + 100))) {
diverman._y = diverman._y + 6;
} else if ((diverman._y < (shark._y + 20)) && ((shark._y - 100) < diverman._y)) {
diverman._y = diverman._y - 6;
}
if ((shark._y + 100) < diverman._y) {
diverman._y = diverman._y - 3;
}
}
if ((((shark._x - 20) < diverman._x) && (diverman._x < (shark._x + 20))) or (50 < math.abs(diverman._y - shark._y))) {
xspeed = xspeed + 3;
}
if (shark._x < diverman._x) {
xspeed = xspeed - (distance / 200);
if ((shark._y + 20) < diverman._y) {
diverman._y = diverman._y - 6;
} else if (diverman._y < (shark._y - 20)) {
diverman._y = diverman._y + 6;
}
}
}
if (xspeed < -20) {
xspeed = -20;
}
diverman._x = diverman._x + (xspeed - 5);
if (diverman._y < -210) {
diverman._y = -210;
}
if (250 < diverman._y) {
diverman._y = 250;
}
if (1000 < diverman._x) {
diverman.gotoAndStop(1);
diverman._x = -1000;
diverman._y = random(400) - 200;
if ((divernum * 300) < distance) {
diverman.gotoAndStop(4);
}
}
if (diverman._x < -1000) {
diverman.gotoAndStop(1);
diverman._x = 1000;
diverman._y = random(400) - 200;
}
}
stop();
distance = 0;
Instance of Symbol 266 MovieClip "reef1" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = (480 - _parent.shark._y) / 2;
xspeed = (_parent.shark.animationspeed / 50) + 3;
_y = ypos;
if (500 < _y) {
_y = 500;
}
if (_y < 100) {
_y = 100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 267 MovieClip "reef2" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = (480 - _parent.shark._y) / 2;
xspeed = (_parent.shark.animationspeed / 50) + 3;
_y = ypos;
if (500 < _y) {
_y = 500;
}
if (_y < 100) {
_y = 100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 273 MovieClip "wave1" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = _parent.reef1._y - 700;
_y = ypos;
}
Instance of Symbol 278 MovieClip "vibration5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.fish5;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = (differenceleft * 0.75);
_yscale = (differenceleft * 0.75);
}
if (400 < fish._x) {
_xscale = (differenceright * 0.75);
_yscale = (differenceright * 0.75);
}
}
Instance of Symbol 279 MovieClip "vibration5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.fish4;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = differenceleft;
_yscale = differenceleft;
}
if (400 < fish._x) {
_xscale = differenceright;
_yscale = differenceright;
}
}
Instance of Symbol 280 MovieClip "vibration5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.fish3;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = differenceleft;
_yscale = differenceleft;
}
if (400 < fish._x) {
_xscale = differenceright;
_yscale = differenceright;
}
}
Instance of Symbol 281 MovieClip "vibration5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.fish2;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = (differenceleft * 0.75);
_yscale = (differenceleft * 0.75);
}
if (400 < fish._x) {
_xscale = (differenceright * 0.75);
_yscale = (differenceright * 0.75);
}
}
Instance of Symbol 282 MovieClip "vibration5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.fish1;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = differenceleft;
_yscale = differenceleft;
}
if (400 < fish._x) {
_xscale = differenceright;
_yscale = differenceright;
}
}
Instance of Symbol 285 MovieClip "vibrationdiver" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.diver1;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = differenceleft;
_yscale = differenceleft;
}
if (400 < fish._x) {
_xscale = differenceright;
_yscale = differenceright;
}
}
Instance of Symbol 286 MovieClip "vibrationdiver" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.diver2;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = differenceleft;
_yscale = differenceleft;
}
if (400 < fish._x) {
_xscale = differenceright;
_yscale = differenceright;
}
}
Instance of Symbol 287 MovieClip "vibrationdiver" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
fish = _parent.diver3;
differenceleft = 100 + ((fish._x + 400) / 10);
differenceright = 100 - ((fish._x - 400) / 10);
if (0 < fish._x) {
_x = (400 - _xscale);
}
if (fish._x < -400) {
_x = -390;
}
_y = fish._y;
if (fish._x < -400) {
_alpha = differenceleft;
}
if (-400 < fish._x) {
_alpha = (_alpha - 10);
}
if (300 < fish._x) {
if (380 < fish._x) {
_alpha = differenceright;
}
if (fish._x < 400) {
_alpha = (_alpha - 10);
}
}
if (fish._x < -400) {
_xscale = differenceleft;
_yscale = differenceleft;
}
if (400 < fish._x) {
_xscale = differenceright;
_yscale = differenceright;
}
}
Instance of Symbol 305 MovieClip "fish1" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = -(_parent.shark._y / 1.5);
xspeed = (_parent.shark.animationspeed / 20) + 7;
_y = ypos;
if (500 < _y) {
_y = 500;
}
if (_y < -100) {
_y = -100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
_x = (_x - 10);
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 306 MovieClip "fish4" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = -(_parent.shark._y / 1.5);
xspeed = (_parent.shark.animationspeed / 20) + 8;
_y = (ypos - 150);
if (500 < _y) {
_y = 500;
}
if (_y < -100) {
_y = -100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
_x = (_x - 10);
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 307 MovieClip "fish5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = -(_parent.shark._y / 1.5);
xspeed = (_parent.shark.animationspeed / 20) + 11;
_y = (ypos - 100);
if (500 < _y) {
_y = 500;
}
if (_y < -100) {
_y = -100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
_x = (_x - 10);
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 308 MovieClip "diver3" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.godiver(3, this._currentframe);
}
Instance of Symbol 309 MovieClip "shark" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.health < 200) {
nextFrame();
speed = 35 + (_parent.strength / 10);
turn = _rotation;
animationspeed = (-_x) + 250;
if (animationspeed < 0) {
animationspeed = 0;
}
x = 0;
_x = (_x + (_xmouse / speed));
if (375 < _x) {
_x = 375;
}
_y = (_y + (_ymouse / (speed / 2)));
if (_y < (-210 - (animationspeed / 20))) {
_y = (-210 - (animationspeed / 20));
}
if (300 < _y) {
_parent.strength = 0;
_parent.health = 0;
x = 0;
while (x < 10) {
with (["blood" + x]) {
gotoAndStop(1);
}
x = x + 1;
with (_parent) {
gotoAndStop(3);
}
}
}
_rotation = (-(_ymouse / (0.75 * speed)));
while (x < (animationspeed / 100)) {
nextFrame();
x = x + Number(1);
}
}
}
Instance of Symbol 311 MovieClip "fish3" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = -(_parent.shark._y / 1.5);
xspeed = (_parent.shark.animationspeed / 20) + 10;
_y = (ypos + 200);
if (500 < _y) {
_y = 500;
}
if (_y < -100) {
_y = -100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
_x = (_x - 10);
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 312 MovieClip "fish2" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = -(_parent.shark._y / 1.5);
xspeed = (_parent.shark.animationspeed / 20) + 9;
_y = (ypos - 300);
if (500 < _y) {
_y = 500;
}
if (_y < -100) {
_y = -100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
_x = (_x - 10);
}
Instance of Symbol 313 MovieClip "diver1" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.godiver(1, this._currentframe);
}
Instance of Symbol 314 MovieClip "diver2" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.godiver(2, this._currentframe);
}
Instance of Symbol 315 MovieClip "diver4" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.godiver(4, this._currentframe);
}
Instance of Symbol 316 MovieClip "diver5" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.godiver(5, this._currentframe);
}
Instance of Symbol 317 MovieClip "reef1" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = (500 - _parent.shark._y) / 1.25;
xspeed = (_parent.shark.animationspeed / 20) + 7;
_y = ypos;
if (500 < _y) {
_y = 500;
}
if (_y < 100) {
_y = 100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
_parent.distance = _parent.distance + 10;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 318 MovieClip "reef2" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = (500 - _parent.shark._y) / 1.25;
xspeed = (_parent.shark.animationspeed / 20) + 7;
_y = ypos;
if (500 < _y) {
_y = 500;
}
if (_y < 100) {
_y = 100;
}
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
_parent.distance = _parent.distance + 10;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 324 MovieClip "wave1" in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = _parent.reef1._y - 700;
_y = ypos;
}
Instance of Symbol 340 MovieClip in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
if (250 < _parent.shark._x) {
_parent.strength = _parent.strength - 0.1;
}
if (_parent.shark._x < 250) {
_parent.strength = _parent.strength + 0.05;
}
if (_parent.shark._x < 75) {
_parent.strength = _parent.strength + 0.075;
}
if (_parent.shark._x < -100) {
_parent.strength = _parent.strength + 0.1;
}
if (120 < _parent.strength) {
_parent.strength = 120;
}
if (_parent.strength < 0) {
_parent.strength = 0;
}
_xscale = (100 - _parent.strength);
if (100 < _xscale) {
_xscale = 100;
}
if (_xscale < 1) {
_xscale = 1;
}
if (100 < _parent.strength) {
with (_parent.strengthflash) {
gotoAndStop(2);
}
_parent.shark._x = _parent.shark._x - (100 - _parent.strength);
_parent.shark._y = _parent.shark._y + 1;
}
if (_parent.strength < 100) {
with (_parent.strengthflash) {
gotoAndStop(1);
}
}
}
Instance of Symbol 341 MovieClip in Symbol 362 MovieClip Frame 2
onClipEvent (enterFrame) {
x = (x = 0);
while (x < int(_parent.health / 10)) {
if (_parent.shark["blood" + x]._currentframe < 2) {
with (_parent.shark["blood" + x]) {
gotoAndPlay(2);
}
}
x = x + 1;
}
if (_parent.health < 0) {
_parent.health = 0;
}
if (100 < _parent.health) {
_parent.health = 100;
with (_parent.music) {
gotoAndStop(2);
}
}
_xscale = (100 - _parent.health);
if (100 < _xscale) {
_xscale = 100;
}
if (_xscale < 1) {
_xscale = 1;
}
}
Symbol 362 MovieClip Frame 3
stop();