Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_parent.getBytesLoaded() / 2500);
}
Frame 2
stop();
Symbol 4 MovieClip Frame 1
stop();
Symbol 20 Button
on (release) {
gotoAndPlay (383);
}
Symbol 45 MovieClip Frame 10
gotoAndPlay (1);
Symbol 48 MovieClip Frame 1
_parent.scare = 1;
Symbol 48 MovieClip Frame 6
_parent.scare = 2;
_parent._y = _parent._y - 2;
Symbol 48 MovieClip Frame 7
_parent.scare = 4;
_parent._y = _parent._y + 3;
Symbol 48 MovieClip Frame 8
gotoAndPlay (1);
_parent.scare = 5;
_parent._y = _parent._y + 1;
Symbol 48 MovieClip Frame 9
_parent.scare = 2;
Symbol 55 MovieClip Frame 41
with (_parent) {
_x = -2000;
gotoAndStop(1);
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
x = 0;
play();
while (x < 5) {
diver = _parent._parent._parent["diver" + x];
sharkdifx = Math.abs(diver._x - (_parent._parent._parent.shark._x + 50));
sharkdify = Math.abs(diver._y - (_parent._parent._parent.shark._y + 7));
if (sharkdifx < 145) {
if (sharkdify < 25) {
with (_parent._parent.knifeblood.knifeblood1) {
gotoAndPlay(2);
}
}
}
x = x + 1;
}
Symbol 74 MovieClip Frame 5
x = 0;
while (x < 5) {
diver = _parent._parent._parent["diver" + x];
sharkdifx = Math.abs(diver._x - (_parent._parent._parent.shark._x + 50));
sharkdify = Math.abs(diver._y - (_parent._parent._parent.shark._y + 7));
if (sharkdifx < 145) {
if (sharkdify < 25) {
with (_parent._parent.knifeblood.knifeblood2) {
gotoAndPlay(2);
}
}
}
x = x + 1;
}
Symbol 74 MovieClip Frame 9
x = 0;
while (x < 5) {
diver = _parent._parent._parent["diver" + x];
sharkdifx = Math.abs(diver._x - (_parent._parent._parent.shark._x + 50));
sharkdify = Math.abs(diver._y - (_parent._parent._parent.shark._y + 7));
if (sharkdifx < 145) {
if (sharkdify < 30) {
with (_parent._parent.knifeblood.knifeblood3) {
gotoAndPlay(2);
}
}
}
x = x + 1;
}
Symbol 74 MovieClip Frame 12
x = 0;
while (x < 5) {
diver = _parent._parent._parent["diver" + x];
sharkdifx = Math.abs(diver._x - (_parent._parent._parent.shark._x + 50));
sharkdify = Math.abs(diver._y - (_parent._parent._parent.shark._y + 7));
if (sharkdifx < 145) {
if (sharkdify < 25) {
with (_parent._parent.knifeblood.knifeblood4) {
gotoAndPlay(2);
}
}
}
x = x + 1;
}
Symbol 82 MovieClip Frame 2
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 1;
Symbol 82 MovieClip Frame 3
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 82 MovieClip Frame 4
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 82 MovieClip Frame 5
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 82 MovieClip Frame 6
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 3;
Symbol 82 MovieClip Frame 7
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 3;
Symbol 82 MovieClip Frame 8
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 2;
Symbol 82 MovieClip Frame 9
_parent._y = _parent._y - 3;
_parent._x = _parent._x + 4;
Symbol 82 MovieClip Frame 10
_parent._y = _parent._y - 3;
_parent._x = _parent._x + 4;
Symbol 82 MovieClip Frame 11
_parent._y = _parent._y - 3;
_parent._x = _parent._x + 3;
Symbol 82 MovieClip Frame 12
_parent._y = _parent._y - 1;
_parent._x = _parent._x + 1;
Symbol 82 MovieClip Frame 13
_parent._y = _parent._y + 1;
_parent._parent._x = _parent._parent._x - 1;
Symbol 82 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 < 2) {
with (diver.diver.knife) {
gotoAndPlay(2);
}
}
}
}
x = x + 1;
}
Symbol 82 MovieClip Frame 15
call("knifejab");
Symbol 82 MovieClip Frame 16
call("knifejab");
Symbol 82 MovieClip Frame 17
call("knifejab");
Symbol 82 MovieClip Frame 18
call("knifejab");
Symbol 82 MovieClip Frame 19
call("knifejab");
Symbol 82 MovieClip Frame 20
call("knifejab");
Symbol 82 MovieClip Frame 21
call("knifejab");
Symbol 82 MovieClip Frame 22
call("knifejab");
Symbol 82 MovieClip Frame 23
call("knifejab");
gotoAndPlay (14);
knifeblood._x = diver._x - 100;
knifeblood._y = diver._y;
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
play();
_parent._parent._parent.shark._x = _parent._parent._parent.shark._x + 8;
_parent._parent._parent.strength = _parent._parent._parent.strength + 8;
_parent._parent._parent.health = _parent._parent._parent.health + 8;
Symbol 95 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 95 MovieClip Frame 7
call("knifejab");
Symbol 95 MovieClip Frame 8
call("knifejab");
Symbol 95 MovieClip Frame 9
call("knifejab");
Symbol 95 MovieClip Frame 10
call("knifejab");
Symbol 95 MovieClip Frame 11
call("knifejab");
Symbol 95 MovieClip Frame 12
call("knifejab");
Symbol 95 MovieClip Frame 13
call("knifejab");
Symbol 95 MovieClip Frame 14
call("knifejab");
Symbol 95 MovieClip Frame 15
gotoAndPlay (6);
call("knifejab");
Symbol 96 MovieClip Frame 1
stop();
scare = 0;
Symbol 96 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 48 MovieClip " diver1" in Symbol 96 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 96 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 96 MovieClip Frame 4
stop();
turn = 0;
Symbol 96 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 95 MovieClip "diver" in Symbol 96 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Symbol 132 Button
on (press, keyPress "<Space>") {
gotoAndPlay (2);
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
play();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 4
friction = (-(_parent.animationspeed / 25)) - 5;
Symbol 150 MovieClip Frame 5
_parent._parent.strength = _parent._parent.strength + 5;
x = 0;
while (x < 5) {
diver = _parent._parent["diver" + x];
x = x + 1;
if (Math.abs(diver._x - (_parent._x - 95)) < 50) {
if (Math.abs(diver._y - ((_parent._y + 17.5) - (_parent._rotation * 2))) < 15) {
if (3 < diver._currentframe) {
with (diver) {
gotoAndStop(5);
}
} else {
with (diver) {
gotoAndStop(2);
}
}
}
}
if (15 < Math.abs(diver._y - ((_parent._y + 17.5) - (_parent._rotation * 2)))) {
if ((diver._currentframe < 2) and ((diver._x < 350) and (-350 < diver._x))) {
with (diver) {
gotoAndStop(4);
}
}
}
if (50 < Math.abs(diver._x - (_parent._x - 95))) {
if ((diver._currentframe < 2) and ((diver._x < 350) and (-350 < diver._x))) {
with (diver) {
gotoAndStop(4);
}
}
}
if (Math.abs(diver._x - (_parent._x - 75)) < 25) {
if (Math.abs(diver._y - ((_parent._y + 17.5) - (_parent._rotation * 2))) < 15) {
with (diver) {
gotoAndStop(3);
}
}
}
}
x = 0;
while (x < 6) {
fish = _parent._parent["fish" + x];
x = x + 1;
if (Math.abs(fish._x - (_parent._x - 95)) < (30 * (fish._xscale / 100))) {
if (Math.abs(fish._y - ((_parent._y + 17.5) - (_parent._rotation * 2))) < (15 * (fish._xscale / 100))) {
with (fish) {
gotoAndStop(2);
}
}
}
}
Symbol 150 MovieClip Frame 6
_parent._parent.shark._x = _parent._parent.shark._x - friction;
friction = friction + 2;
Symbol 150 MovieClip Frame 7
call("back");
Symbol 150 MovieClip Frame 8
call("back");
Symbol 150 MovieClip Frame 9
call("back");
Symbol 150 MovieClip Frame 10
call("back");
Symbol 150 MovieClip Frame 26
gotoAndStop (1);
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
play();
Symbol 154 MovieClip Frame 21
gotoAndPlay (2);
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
play();
Symbol 155 MovieClip Frame 21
gotoAndPlay (2);
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
play();
Symbol 156 MovieClip Frame 21
gotoAndPlay (2);
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
play();
Symbol 157 MovieClip Frame 21
gotoAndPlay (2);
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
play();
Symbol 158 MovieClip Frame 21
gotoAndPlay (2);
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
play();
Symbol 159 MovieClip Frame 21
gotoAndPlay (2);
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
play();
Symbol 160 MovieClip Frame 21
gotoAndPlay (2);
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
play();
Symbol 161 MovieClip Frame 21
gotoAndPlay (2);
Symbol 163 MovieClip Frame 1
stop();
x = 0;
Symbol 163 MovieClip Frame 2
play();
x = x + 0.5;
_parent._parent.shark._y = _parent._parent.shark._y + x;
Symbol 163 MovieClip Frame 3
call("die");
Symbol 163 MovieClip Frame 4
call("die");
Symbol 163 MovieClip Frame 5
call("die");
Symbol 163 MovieClip Frame 6
call("die");
Symbol 163 MovieClip Frame 7
call("die");
Symbol 163 MovieClip Frame 8
call("die");
Symbol 163 MovieClip Frame 9
call("die");
Symbol 163 MovieClip Frame 10
call("die");
Symbol 163 MovieClip Frame 11
call("die");
Symbol 163 MovieClip Frame 12
call("die");
Symbol 163 MovieClip Frame 13
call("die");
Symbol 163 MovieClip Frame 14
call("die");
Symbol 163 MovieClip Frame 15
call("die");
Symbol 163 MovieClip Frame 16
call("die");
Symbol 163 MovieClip Frame 17
call("die");
Symbol 163 MovieClip Frame 18
call("die");
Symbol 163 MovieClip Frame 19
call("die");
Symbol 163 MovieClip Frame 20
call("die");
Symbol 163 MovieClip Frame 21
gotoAndPlay (2);
call("die");
Instance of Symbol 154 MovieClip "blood1" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 155 MovieClip "blood2" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 156 MovieClip "blood3" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 157 MovieClip "blood4" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "blood5" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 159 MovieClip "blood6" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 160 MovieClip "blood7" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 161 MovieClip "blood8" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 163 MovieClip "blood9" in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 201 MovieClip Frame 40
gotoAndPlay (1);
Instance of Symbol 154 MovieClip "blood1" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 155 MovieClip "blood2" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 156 MovieClip "blood3" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 157 MovieClip "blood4" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "blood5" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 159 MovieClip "blood6" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 160 MovieClip "blood7" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 161 MovieClip "blood8" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 163 MovieClip "blood9" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 204 MovieClip Frame 40
gotoAndPlay (1);
Symbol 208 MovieClip Frame 1
stop();
scare = 0;
Symbol 208 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 48 MovieClip " diver1" in Symbol 208 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 208 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 208 MovieClip Frame 4
stop();
turn = 0;
Symbol 208 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 95 MovieClip "diver" in Symbol 208 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Instance of Symbol 154 MovieClip "blood1" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 155 MovieClip "blood2" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 156 MovieClip "blood3" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 157 MovieClip "blood4" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "blood5" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 159 MovieClip "blood6" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 160 MovieClip "blood7" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 161 MovieClip "blood8" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 163 MovieClip "blood9" in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 210 MovieClip Frame 40
gotoAndPlay (1);
Symbol 217 Button
on (release) {
with (_parent) {
gotoAndStop(2);
}
}
Instance of Symbol 13 MovieClip "reef1" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 5;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 15 MovieClip "reef2" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 5;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 17 MovieClip "reef1" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 10;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Instance of Symbol 19 MovieClip "reef2" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
xspeed = 10;
_x = (_x + xspeed);
if (1000 < _x) {
_x = -1000;
}
if (_x < -1000) {
_x = 1000;
}
}
Symbol 229 MovieClip Frame 276
with (shark.head) {
gotoAndPlay(2);
}
Instance of Symbol 204 MovieClip "shark" in Symbol 229 MovieClip Frame 280
onClipEvent (enterFrame) {
if (xspeed < 1) {
xspeed = 5;
}
xspeed = xspeed + 0.5;
_x = (_x - xspeed);
nextFrame();
}
onClipEvent (enterFrame) {
nextFrame();
}
onClipEvent (enterFrame) {
nextFrame();
}
Symbol 229 MovieClip Frame 282
with (shark.head) {
gotoAndPlay(2);
}
Instance of Symbol 208 MovieClip "divera" in Symbol 229 MovieClip Frame 356
onClipEvent (enterFrame) {
gotoAndStop (4);
}
Symbol 229 MovieClip Frame 357
with (divera) {
gotoAndStop(4);
}
Symbol 229 MovieClip Frame 373
with (divera.diver.knife) {
gotoAndPlay(2);
}
Symbol 229 MovieClip Frame 378
with (shark.head) {
gotoAndPlay(2);
}
Instance of Symbol 210 MovieClip "shark" in Symbol 229 MovieClip Frame 382
onClipEvent (enterFrame) {
if (xspeed < 1) {
xspeed = 10;
}
xspeed = xspeed + 1;
_x = (_x + xspeed);
nextFrame();
}
onClipEvent (load) {
nextFrame();
}
onClipEvent (load) {
nextFrame();
}
Symbol 229 MovieClip Frame 413
stop();
Symbol 236 MovieClip Frame 40
gotoAndPlay (1);
Symbol 261 MovieClip Frame 12
gotoAndPlay (1);
Symbol 268 MovieClip Frame 70
with (_parent) {
_x = -1000;
gotoAndStop(1);
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 20;
_parent.health = _parent.health - 5;
with (_parent.shark.head.blood1) {
gotoAndPlay(2);
}
Instance of Symbol 268 MovieClip in Symbol 269 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 20;
_parent.health = _parent.health - 5;
with (_parent.shark.head.blood1) {
gotoAndPlay(2);
}
Instance of Symbol 268 MovieClip in Symbol 270 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood10) {
gotoAndPlay(2);
}
Instance of Symbol 268 MovieClip in Symbol 271 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 272 MovieClip Frame 1
stop();
scare = 0;
Symbol 272 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 48 MovieClip " diver1" in Symbol 272 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 272 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 272 MovieClip Frame 4
stop();
turn = 0;
Symbol 272 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 95 MovieClip "diver" in Symbol 272 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Instance of Symbol 154 MovieClip "blood1" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 10) {
gotoAndStop (1);
}
}
Instance of Symbol 155 MovieClip "blood2" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 20) {
gotoAndStop (1);
}
}
Instance of Symbol 156 MovieClip "blood3" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 30) {
gotoAndStop (1);
}
}
Instance of Symbol 157 MovieClip "blood4" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 40) {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "blood5" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 50) {
gotoAndStop (1);
}
}
Instance of Symbol 159 MovieClip "blood6" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 60) {
gotoAndStop (1);
}
}
Instance of Symbol 160 MovieClip "blood7" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 70) {
gotoAndStop (1);
}
}
Instance of Symbol 161 MovieClip "blood8" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 80) {
gotoAndStop (1);
}
}
Instance of Symbol 163 MovieClip "blood9" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health < 90) {
gotoAndStop (1);
}
}
Symbol 273 MovieClip Frame 40
gotoAndPlay (1);
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 30;
_parent.health = _parent.health - 10;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 268 MovieClip in Symbol 275 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 20;
_parent.health = _parent.health - 5;
with (_parent.shark.head.blood1) {
gotoAndPlay(2);
}
Instance of Symbol 268 MovieClip in Symbol 276 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x + 10;
}
Symbol 277 MovieClip Frame 1
stop();
scare = 0;
Symbol 277 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 48 MovieClip " diver1" in Symbol 277 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 277 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 277 MovieClip Frame 4
stop();
turn = 0;
Symbol 277 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 95 MovieClip "diver" in Symbol 277 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Symbol 278 MovieClip Frame 1
stop();
scare = 0;
Symbol 278 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 48 MovieClip " diver1" in Symbol 278 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 278 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 278 MovieClip Frame 4
stop();
turn = 0;
Symbol 278 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 95 MovieClip "diver" in Symbol 278 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Symbol 279 MovieClip Frame 1
stop();
scare = 0;
Symbol 279 MovieClip Frame 2
stop();
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 3;
with (_parent.shark.head.blood2) {
gotoAndPlay(2);
}
Instance of Symbol 48 MovieClip " diver1" in Symbol 279 MovieClip Frame 2
onClipEvent (enterFrame) {
}
Symbol 279 MovieClip Frame 3
stop();
scare = -10;
_parent.strength = _parent.strength - 15;
_parent.health = _parent.health - 4;
with (_parent.shark.head.blood3) {
gotoAndPlay(2);
}
Symbol 279 MovieClip Frame 4
stop();
turn = 0;
Symbol 279 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 95 MovieClip "diver" in Symbol 279 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Symbol 286 MovieClip Frame 40
gotoAndPlay (1);
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 310 Button
on (release) {
with (_parent) {
gotoAndStop(1);
}
}
Symbol 313 Button
on (release) {
with (_parent) {
gotoAndStop(2);
}
}
Symbol 319 MovieClip Frame 31
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
distance = 0;
Instance of Symbol 230 MovieClip "reef1" in Symbol 320 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 231 MovieClip "reef2" in Symbol 320 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 237 MovieClip "wave1" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = _parent.reef1._y - 700;
_y = ypos;
}
Instance of Symbol 242 MovieClip "vibration5" in Symbol 320 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 243 MovieClip "vibration5" in Symbol 320 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 244 MovieClip "vibration5" in Symbol 320 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 245 MovieClip "vibration5" in Symbol 320 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 246 MovieClip "vibration5" in Symbol 320 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 249 MovieClip "vibrationdiver" in Symbol 320 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 250 MovieClip "vibrationdiver" in Symbol 320 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 251 MovieClip "vibrationdiver" in Symbol 320 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 269 MovieClip "fish1" in Symbol 320 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 270 MovieClip "fish4" in Symbol 320 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 271 MovieClip "fish5" in Symbol 320 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 272 MovieClip "diver3" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
escapeupdify = (_parent.shark._y - 200) - _y;
escapedowndify = (_parent.shark._y + 200) - _y;
dify = _parent.shark._y - _y;
difx = _parent.shark._x - _x;
ypos = (-(_parent.shark._y / 1.5)) - scare;
xspeed = ((_parent.shark.animationspeed / 20) + 2) - scare;
if (_currentframe eq 1) {
_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);
if (Math.abs((_y - _parent.shark._y) < 200)) {
if (Math.abs(_parent.shark._x < _x)) {
if ((_x < 400) and (_currentframe < 2)) {
gotoAndStop (4);
}
}
}
if (_currentframe eq 4) {
if ((_parent.shark._x - 100) < _x) {
_x = (_x + (_parent.distance / 100));
_y = (_y + (dify * 0.08));
}
if (_x < (_parent.shark._x - 100)) {
if (_y < (_parent.shark._y - _parent.shark._rotation)) {
_y = (_y + (escapeupdify * 0.025));
}
if ((_parent.shark._y - _parent.shark._rotation) < _y) {
_y = (_y + (escapedowndify * 0.025));
}
}
if ((25 < Math.abs(dify)) and (_x < (_parent.shark._x + 75))) {
_x = (_x + 10);
}
}
if (_currentframe eq 2) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_currentframe eq 5) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_y < -210) {
_y = -210;
}
if (250 < _y) {
_y = 250;
}
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 273 MovieClip "shark" in Symbol 320 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 * 0.75)));
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 275 MovieClip "fish3" in Symbol 320 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 276 MovieClip "fish2" in Symbol 320 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 277 MovieClip "diver1" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
escapeupdify = (_parent.shark._y - 200) - _y;
escapedowndify = (_parent.shark._y + 200) - _y;
dify = _parent.shark._y - _y;
difx = _parent.shark._x - _x;
ypos = (-(_parent.shark._y / 1.5)) - scare;
xspeed = ((_parent.shark.animationspeed / 20) + 2) - scare;
if (_currentframe eq 1) {
_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);
if (Math.abs((_y - _parent.shark._y) < 200)) {
if (Math.abs(_parent.shark._x < _x)) {
if ((_x < 400) and (_currentframe < 2)) {
gotoAndStop (4);
}
}
}
if (_currentframe eq 4) {
if ((_parent.shark._x - 100) < _x) {
_x = (_x + (_parent.distance / 100));
_y = (_y + (dify * 0.09));
}
if (_x < (_parent.shark._x - 100)) {
if (_y < (_parent.shark._y - _parent.shark._rotation)) {
_y = (_y + (escapeupdify * 0.025));
}
if ((_parent.shark._y - _parent.shark._rotation) < _y) {
_y = (_y + (escapedowndify * 0.025));
}
}
if ((25 < Math.abs(dify)) and (_x < (_parent.shark._x + 75))) {
_x = (_x + 5);
}
}
if (_currentframe eq 2) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_currentframe eq 5) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_y < -210) {
_y = -210;
}
if (250 < _y) {
_y = 250;
}
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 278 MovieClip "diver2" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
escapeupdify = (_parent.shark._y - 200) - _y;
escapedowndify = (_parent.shark._y + 200) - _y;
dify = _parent.shark._y - _y;
difx = _parent.shark._x - _x;
ypos = (-(_parent.shark._y / 1.5)) - scare;
xspeed = ((_parent.shark.animationspeed / 20) + 2) - scare;
if (_currentframe eq 1) {
_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);
if (Math.abs((_y - _parent.shark._y) < 200)) {
if (Math.abs(_parent.shark._x < _x)) {
if ((_x < 400) and (_currentframe < 2)) {
gotoAndStop (4);
}
}
}
if (_currentframe eq 4) {
if ((_parent.shark._x - 100) < _x) {
_x = (_x + (_parent.distance / 100));
_y = (_y + (dify * 0.07));
}
if (_x < (_parent.shark._x - 100)) {
if (_y < (_parent.shark._y - _parent.shark._rotation)) {
_y = (_y + (escapeupdify * 0.025));
}
if ((_parent.shark._y - _parent.shark._rotation) < _y) {
_y = (_y + (escapedowndify * 0.025));
}
}
if ((25 < Math.abs(dify)) and (_x < (_parent.shark._x + 75))) {
_x = (_x + 10);
}
}
if (_currentframe eq 2) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_currentframe eq 5) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_y < -210) {
_y = -210;
}
if (250 < _y) {
_y = 250;
}
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 279 MovieClip "diver4" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
escapeupdify = (_parent.shark._y - 200) - _y;
escapedowndify = (_parent.shark._y + 200) - _y;
dify = _parent.shark._y - _y;
difx = _parent.shark._x - _x;
ypos = (-(_parent.shark._y / 1.5)) - scare;
xspeed = ((_parent.shark.animationspeed / 20) + 2) - scare;
if (_currentframe eq 1) {
_y = (ypos - 250);
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);
if (Math.abs((_y - _parent.shark._y) < 200)) {
if (Math.abs(_parent.shark._x < _x)) {
if ((_x < 400) and (_currentframe < 2)) {
gotoAndStop (4);
}
}
}
if (_currentframe eq 4) {
if ((_parent.shark._x - 100) < _x) {
_x = (_x + (_parent.distance / 100));
_y = (_y + (dify * 0.1));
}
if (_x < (_parent.shark._x - 100)) {
if (_y < (_parent.shark._y - _parent.shark._rotation)) {
_y = (_y + (escapeupdify * 0.025));
}
if ((_parent.shark._y - _parent.shark._rotation) < _y) {
_y = (_y + (escapedowndify * 0.025));
}
}
if ((25 < Math.abs(dify)) and (_x < (_parent.shark._x + 75))) {
_x = (_x + 5);
}
}
if (_currentframe eq 2) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_currentframe eq 5) {
_x = (_x + 3);
_y = (_y - 3);
}
if (_y < -210) {
_y = -210;
}
if (250 < _y) {
_y = 250;
}
_x = (_x + (_parent.distance / 100));
}
Instance of Symbol 280 MovieClip "reef1" in Symbol 320 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 281 MovieClip "reef2" in Symbol 320 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 287 MovieClip "wave1" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
ypos = _parent.reef1._y - 700;
_y = ypos;
}
Instance of Symbol 298 MovieClip in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = (_parent.shark.animationspeed / 5);
if (100 < _xscale) {
_xscale = 100;
}
if (_xscale < 1) {
_xscale = 1;
}
}
Instance of Symbol 302 MovieClip in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
if (250 < _parent.shark._x) {
_parent.strength = _parent.strength - 0.5;
}
if (_parent.shark._x < 250) {
_parent.strength = _parent.strength + 0.125;
}
if (_parent.shark._x < 75) {
_parent.strength = _parent.strength + 0.25;
}
if (_parent.shark._x < -100) {
_parent.strength = _parent.strength + 0.5;
}
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 303 MovieClip in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
if (100 < _parent.strength) {
_parent.health = _parent.health + 1;
}
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 320 MovieClip Frame 3
stop();