Frame 2
stop();
Frame 64
stop();
Frame 69
stop();
Frame 207
gotoAndPlay (208);
Frame 282
gotoAndPlay (283);
Frame 382
gotoAndPlay (383);
Frame 582
gotoAndPlay (583);
Frame 602
stop();
Frame 603
stop();
starttime = getTimer();
score = "0";
tellTarget ("/trailer") {
gotoAndStop (1);
}
Frame 611
gotoAndPlay (617);
score1 = score;
Frame 696
stop();
Frame 697
stop();
starttime = getTimer();
score = "0";
Frame 705
gotoAndPlay (710);
score2 = score;
stopAllSounds();
Frame 789
gotoAndPlay (790);
Frame 799
gotoAndPlay (800);
Frame 879
stop();
Frame 880
sine_lookup_table = "0.000/.0175/.0349/.0523/.0698/.0872/.1045/.1219/.1392/.1564/.1736/.1908/.2079/.2250/.2419/.2588/.2756/.2924/.3090/.3256/.3420/.3584/.3746/.3907/.4067/.4226/.4384/.4540/.4695/.4848/.5000/.5150/.5299/.5446/.5592/.5736/.5878/.6018/.6157/.6428/.6561/.6691/.6820/.6947/.7071/.7193/.7314/.7431/.7547/.7660/.7771/.7880/.7986/.8090/.8192/.8290/.8387/.8480/.8572/.8660/.8746/.8829/.8910/.8988/.9063/.9135/.9205/.9272/.9336/.9397/.9455/.9511/.9563/.9613/.9659/.9703/.9744/.9781/.9816/.9848/.9877/.9903/.9925/.9945/.9962/.9976/.9986/.9994/.9998/1.000";
shotspeed = "20";
score = "0";
starttime = getTimer();
time = "60";
duplicateMovieClip ("/gun", "/gun1", "9999");
tellTarget ("/gun1") {
gotoAndStop ("blank");
}
Frame 882
tellTarget ("/seal") {
gotoAndPlay (1);
}
Frame 908
tellTarget ("/seal") {
gotoAndPlay (1);
}
Frame 930
if (seal1/:hit == "0") {
call("losepoints");
}
Frame 955
if (seal2/:hit == "0") {
call("losepoints");
}
Frame 977
if (seal3/:hit == "0") {
call("losepoints");
}
Frame 1007
if (seal1/:hit == "0") {
call("losepoints");
}
Frame 1011
if (seal4/:hit == "0") {
call("losepoints");
}
Frame 1059
if (seal2/:hit == "0") {
call("losepoints");
}
Frame 1101
if (seal3/:hit == "0") {
call("losepoints");
}
Frame 1116
gotoAndPlay (882);
Frame 1118
if ("4" < score) {
score = score - "5";
} else if (score < "5") {
score = "0";
}
Frame 1119
duplicateMovieClip ("/blank", "blank1", "9999");
Frame 1120
duplicateMovieClip ("/blank", "blank1", "9999");
totalscore = (score + score1) + score2;
Frame 1121
play();
Frame 1206
gotoAndPlay (1207);
gotoAndPlay (1207);
Frame 1258
stopAllSounds();
Frame 1281
gotoAndPlay (1282);
Frame 1386
gotoAndPlay (1387);
Frame 1491
stop();
Symbol 23 MovieClip Frame 1
i = "0";
while ("6" >= i) {
i = i + "1";
setProperty("corn" add i, _yscale , getProperty("corn" add i, _yscale) + "2");
setProperty("corn" add i, _alpha , getProperty("corn" add i, _alpha) + "3");
if (getProperty("corn" add i, _yscale) >= "25") {
gotoAndStop (4);
}
}
Symbol 23 MovieClip Frame 2
i = "0";
while ("6" >= i) {
i = i + "1";
setProperty("corn" add i, _yscale , getProperty("corn" add i, _yscale) + "2");
setProperty("corn" add i, _alpha , getProperty("corn" add i, _alpha) + "3");
if (getProperty("corn" add i, _yscale) >= "25") {
gotoAndStop (4);
}
}
Symbol 23 MovieClip Frame 3
gotoAndPlay (2);
Symbol 23 MovieClip Frame 4
stop();
Symbol 24 MovieClip Frame 33
stop();
tellTarget ("../") {
play();
}
Symbol 27 MovieClip Frame 1
gotoAndPlay(random("70") + "1");
Symbol 55 MovieClip Frame 1
barxpos = getProperty("bar", _x);
barwidth = getProperty("bar", _width);
totalFrames = "615";
Symbol 55 MovieClip Frame 2
loadedFrames = getProperty("/", _framesloaded);
if (loadedFrames < totalFrames) {
percentageOutput = int((loadedFrames / totalFrames) * "100");
setProperty("bar", _x , barxpos + (barwidth * (percentageOutput / "100")));
} else {
gotoAndStop (4);
}
Symbol 55 MovieClip Frame 3
gotoAndPlay (2);
Symbol 55 MovieClip Frame 4
stop();
tellTarget ("/") {
play();
}
Symbol 59 Button
on (press) {
play();
}
Symbol 81 Button
on (press) {
stopAllSounds();
gotoAndStop (602);
}
Symbol 120 Button
on (release) {
gotoAndPlay (603);
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 10
gotoAndPlay (1);
Symbol 130 MovieClip Frame 11
stop();
Symbol 130 MovieClip Frame 16
stop();
Symbol 145 MovieClip Frame 1
gotoAndPlay(random("65") + "1");
Symbol 145 MovieClip Frame 20
gotoAndPlay (122);
Symbol 145 MovieClip Frame 110
x = _x - getProperty("../boat", _x);
if (("35" < x) and (x < "175")) {
Set("/:score", /:score + "1");
tellTarget ("/trailer") {
nextFrame();
};
tellTarget ("penguin_fall") {
gotoAndPlay ("good");
};
gotoAndStop (1);
} else {
tellTarget ("penguin_fall") {
gotoAndPlay ("bad");
};
}
Symbol 145 MovieClip Frame 121
gotoAndStop (1);
Symbol 145 MovieClip Frame 146
x = _x - getProperty("../boat", _x);
if (("35" < x) and (x < "175")) {
Set("/:score", /:score + "1");
tellTarget ("/trailer") {
nextFrame();
};
tellTarget ("penguin_fall") {
gotoAndPlay ("good");
};
gotoAndStop (1);
} else {
tellTarget ("penguin_fall") {
gotoAndPlay ("bad");
};
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 60
stop();
if ("29" < ../:score) {
tellTarget ("/") {
gotoAndStop ("win");
};
} else if (../:score < "30") {
tellTarget ("/") {
gotoAndStop ("lose");
};
} else {
tellTarget ("/") {
gotoAndStop ("lose");
};
}
Symbol 155 MovieClip Frame 1
xdif = getProperty("../trailer", _x) - getProperty("../location", _x);
if ("0" < int(xdif * xdif)) {
setProperty("../trailer", _x , getProperty("../location", _x) + (xdif * "0.9"));
setProperty("../trailerback", _x , getProperty("../location", _x) + (xdif * "0.9"));
setProperty("../boat", _x , (getProperty("../location", _x) + (xdif * "0.65")) - "125");
} else {
setProperty("../trailer", _x , getProperty("../location", _x));
setProperty("../trailerback", _x , getProperty("../location", _x));
setProperty("../boat", _x , getProperty("../location", _x) - "125");
}
Set("/:time", int((("60000" - getTimer()) + /:starttime) / "1000"));
tellTarget ("/timer") {
gotoAndStop("60" - /:time);
}
Symbol 155 MovieClip Frame 2
gotoAndPlay (1);
Symbol 156 MovieClip Frame 1
startDrag ("", true, "0", "0", "550", "350");
Symbol 161 Button
on (press) {
toggleHighQuality();
}
Symbol 166 Button
on (release) {
gotoAndStop (611);
}
Symbol 171 Button
on (press) {
stopAllSounds();
score = "0";
time = "60";
gotoAndStop (603);
}
Symbol 189 Button
on (release) {
gotoAndPlay (697);
}
Symbol 198 MovieClip Frame 1
stop();
Set("../:icebergintact", "1");
Symbol 198 MovieClip Frame 2
Set("../:icebergintact", "0");
play();
Symbol 198 MovieClip Frame 7
stop();
Symbol 204 MovieClip Frame 1
stop();
Set("../:fishleft", "1");
Symbol 204 MovieClip Frame 2
Set("../:fishleft", "0");
play();
Symbol 204 MovieClip Frame 8
stop();
Symbol 210 MovieClip Frame 1
stop();
Set("../:whaletohit", "1");
Symbol 210 MovieClip Frame 2
Set("../:whaletohit", "0");
play();
Symbol 210 MovieClip Frame 8
stop();
Symbol 211 MovieClip Frame 1
gotoAndPlay(random("60") + "1");
Symbol 211 MovieClip Frame 13
gotoAndPlay (304);
Symbol 211 MovieClip Frame 28
gotoAndPlay (181);
Symbol 211 MovieClip Frame 109
x = _x - getProperty("../boat", _x);
if ((((-"75") < x) and (x < "75")) and (icebergintact == "1")) {
if ("4" < /:score) {
Set("/:score", /:score - "5");
} else {
Set("/:score", "0");
}
tellTarget ("iceberg") {
gotoAndStop ("hit");
};
if ("0" < x) {
setProperty("../boat", _x , getProperty("../boat", _x) - "40");
} else if (x < "0") {
setProperty("../boat", _x , getProperty("../boat", _x) + "40");
}
}
Symbol 211 MovieClip Frame 110
call("iceberghittest");
Symbol 211 MovieClip Frame 111
call("iceberghittest");
Symbol 211 MovieClip Frame 112
call("iceberghittest");
Symbol 211 MovieClip Frame 113
call("iceberghittest");
Symbol 211 MovieClip Frame 114
call("iceberghittest");
Symbol 211 MovieClip Frame 115
call("iceberghittest");
Symbol 211 MovieClip Frame 116
call("iceberghittest");
Symbol 211 MovieClip Frame 117
call("iceberghittest");
Symbol 211 MovieClip Frame 118
call("iceberghittest");
Symbol 211 MovieClip Frame 119
call("iceberghittest");
Symbol 211 MovieClip Frame 120
call("iceberghittest");
Symbol 211 MovieClip Frame 121
call("iceberghittest");
Symbol 211 MovieClip Frame 122
call("iceberghittest");
Symbol 211 MovieClip Frame 123
call("iceberghittest");
Symbol 211 MovieClip Frame 124
call("iceberghittest");
Symbol 211 MovieClip Frame 125
call("iceberghittest");
Symbol 211 MovieClip Frame 126
call("iceberghittest");
Symbol 211 MovieClip Frame 127
call("iceberghittest");
Symbol 211 MovieClip Frame 128
call("iceberghittest");
Symbol 211 MovieClip Frame 129
call("iceberghittest");
Symbol 211 MovieClip Frame 130
call("iceberghittest");
Symbol 211 MovieClip Frame 131
call("iceberghittest");
Symbol 211 MovieClip Frame 132
call("iceberghittest");
Symbol 211 MovieClip Frame 133
call("iceberghittest");
Symbol 211 MovieClip Frame 134
call("iceberghittest");
Symbol 211 MovieClip Frame 135
call("iceberghittest");
Symbol 211 MovieClip Frame 136
call("iceberghittest");
Symbol 211 MovieClip Frame 137
call("iceberghittest");
Symbol 211 MovieClip Frame 138
call("iceberghittest");
Symbol 211 MovieClip Frame 139
call("iceberghittest");
Symbol 211 MovieClip Frame 140
call("iceberghittest");
Symbol 211 MovieClip Frame 171
gotoAndStop (1);
Symbol 211 MovieClip Frame 244
x = _x - getProperty("../boat", _x);
if ((((-"75") < x) and (x < "75")) and (fishleft == "1")) {
Set("/:score", /:score + "10");
tellTarget ("fishgroup") {
gotoAndStop ("hit");
};
}
Symbol 211 MovieClip Frame 245
call("fishhittest");
Symbol 211 MovieClip Frame 246
call("fishhittest");
Symbol 211 MovieClip Frame 247
call("fishhittest");
Symbol 211 MovieClip Frame 248
call("fishhittest");
Symbol 211 MovieClip Frame 249
call("fishhittest");
Symbol 211 MovieClip Frame 250
call("fishhittest");
Symbol 211 MovieClip Frame 251
call("fishhittest");
Symbol 211 MovieClip Frame 252
call("fishhittest");
Symbol 211 MovieClip Frame 253
call("fishhittest");
Symbol 211 MovieClip Frame 254
call("fishhittest");
Symbol 211 MovieClip Frame 255
call("fishhittest");
Symbol 211 MovieClip Frame 256
call("fishhittest");
Symbol 211 MovieClip Frame 257
call("fishhittest");
Symbol 211 MovieClip Frame 258
call("fishhittest");
Symbol 211 MovieClip Frame 259
call("fishhittest");
Symbol 211 MovieClip Frame 260
call("fishhittest");
Symbol 211 MovieClip Frame 261
call("fishhittest");
Symbol 211 MovieClip Frame 262
call("fishhittest");
Symbol 211 MovieClip Frame 263
call("fishhittest");
Symbol 211 MovieClip Frame 264
call("fishhittest");
Symbol 211 MovieClip Frame 265
call("fishhittest");
Symbol 211 MovieClip Frame 266
call("fishhittest");
Symbol 211 MovieClip Frame 286
gotoAndStop (1);
Symbol 211 MovieClip Frame 384
x = _x - getProperty("../boat", _x);
if ((((-"75") < x) and (x < "75")) and (whaletohit == "1")) {
if ("9" < /:score) {
Set("/:score", /:score - "10");
} else {
Set("/:score", "0");
}
tellTarget ("whale") {
gotoAndStop ("hit");
};
if ("0" < x) {
setProperty("../boat", _x , getProperty("../boat", _x) - "40");
} else if (x < "0") {
setProperty("../boat", _x , getProperty("../boat", _x) + "40");
}
}
Symbol 211 MovieClip Frame 385
call("whalehittest");
Symbol 211 MovieClip Frame 386
call("whalehittest");
Symbol 211 MovieClip Frame 387
call("whalehittest");
Symbol 211 MovieClip Frame 388
call("whalehittest");
Symbol 211 MovieClip Frame 389
call("whalehittest");
Symbol 211 MovieClip Frame 390
call("whalehittest");
Symbol 211 MovieClip Frame 391
call("whalehittest");
Symbol 211 MovieClip Frame 392
call("whalehittest");
Symbol 211 MovieClip Frame 393
call("whalehittest");
Symbol 211 MovieClip Frame 394
call("whalehittest");
Symbol 211 MovieClip Frame 395
call("whalehittest");
Symbol 211 MovieClip Frame 396
call("whalehittest");
Symbol 211 MovieClip Frame 397
call("whalehittest");
Symbol 211 MovieClip Frame 398
call("whalehittest");
Symbol 211 MovieClip Frame 399
call("whalehittest");
Symbol 211 MovieClip Frame 400
call("whalehittest");
Symbol 211 MovieClip Frame 401
call("whalehittest");
Symbol 211 MovieClip Frame 402
call("whalehittest");
Symbol 211 MovieClip Frame 403
call("whalehittest");
Symbol 211 MovieClip Frame 404
call("whalehittest");
Symbol 211 MovieClip Frame 405
call("whalehittest");
Symbol 211 MovieClip Frame 406
call("whalehittest");
Symbol 211 MovieClip Frame 407
call("whalehittest");
Symbol 211 MovieClip Frame 408
call("whalehittest");
Symbol 211 MovieClip Frame 409
call("whalehittest");
Symbol 211 MovieClip Frame 410
call("whalehittest");
Symbol 211 MovieClip Frame 411
call("whalehittest");
Symbol 211 MovieClip Frame 412
call("whalehittest");
Symbol 211 MovieClip Frame 413
call("whalehittest");
Symbol 211 MovieClip Frame 414
call("whalehittest");
Symbol 211 MovieClip Frame 415
call("whalehittest");
Symbol 211 MovieClip Frame 416
call("whalehittest");
Symbol 211 MovieClip Frame 417
call("whalehittest");
Symbol 211 MovieClip Frame 418
call("whalehittest");
Symbol 211 MovieClip Frame 419
call("whalehittest");
Symbol 211 MovieClip Frame 420
call("whalehittest");
Symbol 211 MovieClip Frame 421
call("whalehittest");
Symbol 211 MovieClip Frame 422
call("whalehittest");
Symbol 211 MovieClip Frame 423
call("whalehittest");
Symbol 211 MovieClip Frame 446
gotoAndStop (1);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 60
stop();
if ("49" < ../:score) {
tellTarget ("/") {
gotoAndStop ("win2");
};
} else if (../:score < "50") {
tellTarget ("/") {
gotoAndStop ("lose2");
};
} else {
tellTarget ("/") {
gotoAndStop ("lose2");
};
}
Symbol 221 MovieClip Frame 1
xdif = getProperty("../boat", _x) - getProperty("../location", _x);
angle = "360" - (xdif / "4");
boatangle = "360" - (xdif / "8");
setProperty("../trailer", _rotation , angle);
setProperty("../boat", _rotation , boatangle);
setProperty("../trailer", _xscale , "100");
setProperty("../trailer", _yscale , "100");
setProperty("../boat", _xscale , "100");
setProperty("../boat", _yscale , "100");
if ("0" < int(xdif * xdif)) {
setProperty("../trailer", _x , getProperty("../location", _x) + (xdif * "0.99"));
setProperty("../boat", _x , getProperty("../location", _x) + (xdif * "0.95"));
} else {
setProperty("../trailer", _x , getProperty("../location", _x));
setProperty("../boat", _x , getProperty("../location", _x));
}
Set("/:time", int((("60000" - getTimer()) + /:starttime) / "1000"));
tellTarget ("/timer") {
gotoAndStop("60" - /:time);
}
Symbol 221 MovieClip Frame 2
gotoAndPlay (1);
Symbol 225 Button
on (release) {
stopAllSounds();
gotoAndStop (705);
}
Symbol 227 Button
on (press) {
stopAllSounds();
score = "0";
time = "60";
gotoAndStop (697);
}
Symbol 253 Button
on (release) {
gotoAndPlay (880);
}
Symbol 256 MovieClip Frame 1
my_x = _x;
my_y = _y;
if (((("550" < my_y) or (my_y < "0")) or ("550" < my_x)) or (my_x < "0")) {
Set("/:shooting", "0");
removeMovieClip("");
} else {
_x = (my_x + xmov);
_y = (my_y + ymov);
}
call("hittest");
Symbol 256 MovieClip Frame 2
gotoAndPlay (1);
Symbol 256 MovieClip Frame 3
n = "4";
c = "20";
while ("0" < n) {
shipx = getProperty("../seal" add n, _x);
shipy = getProperty("../seal" add n, _y);
shipwidth = getProperty("../seal" add n, _width) - c;
shipheight = getProperty("../seal" add n, _height) - c;
shiptop = shipy - (shipheight / "2");
shipbottom = shipy + (shipheight / "2");
shipleft = shipx - (shipwidth / "2");
shipright = shipx + (shipwidth / "2");
if ((((shipleft < my_x) and (my_x < shipright)) and (shiptop < my_y)) and (my_y < shipbottom)) {
tellTarget ("../seal" add n) {
gotoAndStop ("hit");
};
Set("/:shooting", "0");
removeMovieClip("");
}
n = n - "1";
}
Symbol 257 MovieClip Frame 1
Set("/:time", int((("60000" - getTimer()) + /:starttime) / "1000"));
tellTarget ("/timer") {
gotoAndStop("60" - /:time);
}
Symbol 257 MovieClip Frame 2
gotoAndPlay (1);
Symbol 259 MovieClip Frame 1
gunx = _x;
guny = _y;
sx = getProperty("../ship", _x);
sy = getProperty("../ship", _y);
mouse_x = getProperty("../ship", _x) - gunx;
mouse_y = getProperty("../ship", _y) - guny;
if (mouse_x < "0") {
abs_mouse_x = mouse_x + (mouse_x * (-"2"));
xsign = -"1";
} else {
abs_mouse_x = mouse_x;
xsign = "1";
}
if (mouse_y < "0") {
abs_mouse_y = mouse_y + (mouse_y * (-"2"));
ysign = -"1";
} else {
abs_mouse_y = mouse_y;
ysign = "1";
}
input = (abs_mouse_x * abs_mouse_x) + (abs_mouse_y * abs_mouse_y);
call("sqrt");
hyp = output;
sin_theta = abs_mouse_y / hyp;
counter = "0";
found = "0";
while (!found) {
if (sin_theta >= (substring(..:sine_lookup_table, (counter * "6") + "1", "5"))) {
angle = counter;
} else {
found = "1";
}
counter = counter + "1";
}
if (sx < gunx) {
angle = ("90" - angle) + "90";
}
if (guny < sy) {
angle = angle + "180";
} else {
angle = ("90" - angle) + "90";
}
_rotation = angle;
Symbol 259 MovieClip Frame 2
gotoAndPlay (1);
Symbol 259 MovieClip Frame 3
n = "1";
counter = "0";
while (counter < "11") {
n = n - (((n * n) - input) / ("2" * n));
counter = counter + "1";
}
output = n;
Symbol 259 MovieClip Frame 4
if (/:shooting == "0") {
tellTarget ("/sound") {
play();
};
Set("/:shooting", "1");
shotname = "5000";
if ((shotname >= "5999") or (shotname < "5000")) {
shotname = "5000";
}
duplicateMovieClip ("../gunshot", "shot" add shotname, shotname);
tellTarget ("../shot" add shotname) {
gotoAndPlay (2);
};
Set(("../shot" add shotname) add ":xpos", gunx);
Set(("../shot" add shotname) add ":ypos", guny);
if (abs_mouse_x >= abs_mouse_y) {
Set(("../shot" add shotname) add ":xmov", ..:shotspeed * xsign);
Set(("../shot" add shotname) add ":ymov", (..:shotspeed * (abs_mouse_y / abs_mouse_x)) * ysign);
} else {
Set(("../shot" add shotname) add ":ymov", ..:shotspeed * ysign);
Set(("../shot" add shotname) add ":xmov", (..:shotspeed * (abs_mouse_x / abs_mouse_y)) * xsign);
}
setProperty("../shot" add shotname, _rotation , angle);
setProperty("../shot" add shotname, _x , gunx);
setProperty("../shot" add shotname, _y , guny);
}
Symbol 259 MovieClip Frame 6
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 263 Button
on (press) {
tellTarget ("/gun") {
call("shoot");
}
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 60
stop();
tellTarget ("/gun") {
gotoAndStop ("blank");
};
if ("59" < ../:score) {
tellTarget ("/") {
gotoAndPlay ("win3last");
};
} else if (../:score < "60") {
tellTarget ("/") {
gotoAndStop ("lose3");
};
} else {
tellTarget ("/") {
gotoAndStop ("lose3");
};
}
Symbol 276 MovieClip Frame 7
stop();
Symbol 278 MovieClip Frame 7
stop();
Symbol 280 MovieClip Frame 1
hit = "0";
Symbol 280 MovieClip Frame 7
gotoAndPlay (1);
Symbol 280 MovieClip Frame 8
hit = "1";
Set("/:score", /:score + "10");
Symbol 282 Button
on (press) {
score = "0";
gotoAndPlay (880);
}
Symbol 293 Button
on (press) {
score = "0";
gotoAndPlay (880);
}
Symbol 313 Button
on (release) {
stopAllSounds();
gotoAndStop (602);
}