Frame 1
Set("/:frame", _totalframes);
Frame 140
ifFrameLoaded (151) {
gotoAndPlay (151);
}
Frame 150
gotoAndPlay (140);
Frame 151
no_1 = "0";
no_2 = "0";
no_3 = "0";
no_4 = "0";
no_5 = "0";
no_6 = "0";
no_7 = "0";
no_name_1 = "huzzabox";
no_name_2 = "huzzabox";
no_name_3 = "huzzabox";
no_name_4 = "huzzabox";
no_name_5 = "huzzabox";
no_name_6 = "huzzabox";
no_name_7 = "huzzabox";
Frame 152
if (/:z == "1") {
stopAllSounds();
gotoAndStop (353);
}
Frame 153
gotoAndPlay (152);
Frame 353
stop();
Frame 354
stop();
Frame 355
i = "1";
count = "1";
setProperty("/ship", _x , "5");
intelval = "1";
resume_time = "1";
Set("/:resume", "0");
movie_enable = "1";
hit = "1";
power = "1";
contract = "1";
fish_temp_1 = "podgy_fish";
fish_temp_2 = "light_fish";
fish_temp_3 = "hairtail";
fish_temp_4 = "fly_fish";
fish_temp_5 = "shark";
fish_temp_6 = "scampi";
fish_temp_7 = "hippocampus";
fishhook_x = getProperty("/ship/fishhook", _x);
Set("/:time", "120");
Set("/:sorce", "0");
while (i < "8") {
Set("a" add i, "0");
i = i + "1";
}
light_con = "0";
podgy_con = "0";
hairtail_con = "0";
hipp_con = "0";
fly_con = "0";
scampi_con = "0";
Set("/:light_con", "0");
Set("/:podgy_con", "0");
Set("/:hairtail_con", "0");
Set("/:hipp_con", "0");
Set("/:fly_con", "0");
Set("/:scampi_con", "0");
tellTarget ("/power") {
gotoAndStop (30);
}
Frame 359
if (interval == "12") {
if (count < "4") {
choice_lorr = random("2") + "1";
choice_fish = random("7") + "1";
fish_name = "/" add eval ("fish_temp_" add choice_fish);
if (eval ("a" add choice_fish) == "0") {
Set("a" add choice_fish, "1");
tellTarget (fish_name) {
gotoAndPlay (2);
};
count = count + "1";
}
}
interval = "1";
}
if (/:resume == "1") {
if (resume_time >= "4") {
tellTarget ("/power") {
nextFrame();
};
resume_time = "1";
}
}
if ("11" < time_temp) {
time_temp = "1";
Set("/:time", /:time - "1");
} else {
time_temp = time_temp + "1";
}
Frame 360
interval = interval + "1";
resume_time = resume_time + "1";
if (/:time == "0") {
gotoAndPlay (374);
} else {
gotoAndPlay (359);
}
Frame 367
stopAllSounds();
gotoAndPlay (450);
Frame 374
stopAllSounds();
gotoAndPlay (380);
Frame 449
gotoAndPlay (525);
Frame 524
gotoAndPlay (525);
Frame 525
Set("/:light_s", /:light_con * "600");
Set("/:podgy_s", /:podgy_con * "500");
Set("/:hairtail_s", /:hairtail_con * "400");
Set("/:hipp_s", /:hipp_con * "300");
Set("/:fly_s", /:fly_con * "200");
Set("/:scampi_s", /:scampi_con * "100");
Set("/:sorce_temp", /:sorce);
Frame 526
stop();
Frame 529
i = "1";
Set("/:chang", "0");
while (i < "8") {
if (eval ("/:no_" add i) < /:sorce_temp) {
Set("/:chang", "1");
}
i = i + "1";
}
Frame 530
if (/:chang == "1") {
gotoAndStop (531);
} else {
gotoAndStop (532);
}
Frame 531
stop();
Frame 532
stop();
Symbol 152 Button
on (press) {
Set("/:z", "1");
}
Symbol 153 MovieClip Frame 166
fram = getProperty("/", _framesloaded);
Symbol 153 MovieClip Frame 177
if (fram < /:frame) {
gotoAndPlay (166);
} else {
gotoAndPlay (178);
}
Symbol 153 MovieClip Frame 214
stop();
Symbol 169 Button
on (release) {
gotoAndPlay (355);
}
Symbol 171 Button
on (release) {
gotoAndPlay (354);
}
Symbol 174 Button
on (press) {
gotoAndStop (353);
}
Symbol 189 MovieClip Frame 1
stop();
Set("/:flee", "0");
Symbol 189 MovieClip Frame 2
Set("/:flee", "1");
Symbol 189 MovieClip Frame 30
stop();
Set("/:flee", "1");
Symbol 194 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 20
stop();
Symbol 218 MovieClip Frame 30
gotoAndStop (1);
Set("/:movie_enable", "1");
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "10";
setProperty(my_name, _y , random("130") + "285");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 219 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "1";
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a7", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 219 MovieClip Frame 6
gotoAndPlay (5);
Symbol 219 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "0";
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a7", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 219 MovieClip Frame 16
gotoAndPlay (15);
Symbol 219 MovieClip Frame 24
Set("/:p", "4");
Set("/:c", "2");
y = fish_y;
Symbol 219 MovieClip Frame 25
if (/:flee == "0") {
setProperty(my_name, _y , y);
speed = speed + "5";
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a7", "0");
Set("/:resume", "1");
if (l == "1") {
gotoAndPlay (5);
} else if (l == "0") {
gotoAndPlay (15);
}
}
if (/:flee == "1") {
if ("24" < getProperty("/ship", _currentframe)) {
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a7", "0");
Set("/:resume", "1");
Set("/:hipp_con", /:hipp_con + "1");
Set("/:sorce", /:sorce + "300");
gotoAndStop (1);
} else {
setProperty(my_name, _x , /:fishhook_x);
setProperty(my_name, _y , (fishhook_y + fish_width) - "10");
}
}
Symbol 219 MovieClip Frame 26
fishhook_y = getProperty("/ship/fishhook", _y);
gotoAndPlay (25);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "8";
setProperty(my_name, _y , random("130") + "285");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 220 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "1";
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a4", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 220 MovieClip Frame 6
gotoAndPlay (5);
Symbol 220 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "0";
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a4", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 220 MovieClip Frame 16
gotoAndPlay (15);
Symbol 220 MovieClip Frame 24
Set("/:p", "3");
Set("/:c", "1");
y = fish_y;
Symbol 220 MovieClip Frame 25
if (/:flee == "0") {
setProperty(my_name, _y , y);
speed = speed + "5";
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a4", "0");
Set("/:resume", "1");
if (l == "1") {
gotoAndPlay (5);
} else if (l == "0") {
gotoAndPlay (15);
}
}
if (/:flee == "1") {
if ("24" < getProperty("/ship", _currentframe)) {
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a4", "0");
Set("/:resume", "1");
Set("/:fly_con", /:fly_con + "1");
Set("/:sorce", /:sorce + "200");
gotoAndStop (1);
} else {
setProperty(my_name, _x , /:fishhook_x);
setProperty(my_name, _y , (fishhook_y + fish_width) - "10");
}
}
Symbol 220 MovieClip Frame 26
fishhook_y = getProperty("/ship/fishhook", _y);
gotoAndPlay (25);
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "10";
setProperty(my_name, _y , random("130") + "320");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 221 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "1";
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a3", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 221 MovieClip Frame 6
gotoAndPlay (5);
Symbol 221 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "0";
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a3", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 221 MovieClip Frame 16
gotoAndPlay (15);
Symbol 221 MovieClip Frame 24
Set("/:p", "2");
Set("/:c", "3");
y = fish_y;
Symbol 221 MovieClip Frame 25
if (/:flee == "0") {
setProperty(my_name, _y , y);
speed = speed + "5";
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:resume", "1");
Set("/:a3", "0");
if (l == "1") {
gotoAndPlay (5);
} else if (l == "0") {
gotoAndPlay (15);
}
}
if (/:flee == "1") {
if ("24" < getProperty("/ship", _currentframe)) {
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a3", "0");
Set("/:resume", "1");
Set("/:hairtail_con", /:hairtail_con + "1");
Set("/:sorce", /:sorce + "400");
gotoAndStop (1);
} else {
setProperty(my_name, _x , /:fishhook_x);
setProperty(my_name, _y , fishhook_y);
}
}
Symbol 221 MovieClip Frame 26
fishhook_y = getProperty("/ship/fishhook", _y);
gotoAndPlay (25);
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "30";
setProperty(my_name, _y , random("130") + "285");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 222 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (25);
Set("/:hit", "0");
Set("/:movie_enable", "0");
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a5", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 222 MovieClip Frame 6
gotoAndPlay (5);
Symbol 222 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (25);
Set("/:hit", "0");
Set("/:movie_enable", "0");
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a5", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 222 MovieClip Frame 16
gotoAndPlay (15);
Symbol 222 MovieClip Frame 25
tellTarget ("/") {
gotoAndPlay ("end");
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "6";
setProperty(my_name, _y , random("130") + "285");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 223 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "1";
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a6", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 223 MovieClip Frame 6
gotoAndPlay (5);
Symbol 223 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "0";
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a6", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 223 MovieClip Frame 16
gotoAndPlay (15);
Symbol 223 MovieClip Frame 24
Set("/:p", "1");
Set("/:c", "1");
y = fish_y;
Symbol 223 MovieClip Frame 25
if (/:flee == "0") {
setProperty(my_name, _y , y);
speed = speed + "5";
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a6", "0");
Set("/:resume", "1");
if (l == "1") {
gotoAndPlay (5);
} else if (l == "0") {
gotoAndPlay (15);
}
}
if (/:flee == "1") {
if ("24" < getProperty("/ship", _currentframe)) {
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a6", "0");
Set("/:resume", "1");
Set("/:scampi_con", /:scampi_con + "1");
Set("/:sorce", /:sorce + "100");
gotoAndStop (1);
} else {
setProperty(my_name, _x , /:fishhook_x);
setProperty(my_name, _y , fishhook_y);
}
}
Symbol 223 MovieClip Frame 26
fishhook_y = getProperty("/ship/fishhook", _y);
gotoAndPlay (25);
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "14";
setProperty(my_name, _y , random("130") + "285");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 224 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "1";
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a2", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 224 MovieClip Frame 6
gotoAndPlay (5);
Symbol 224 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "0";
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a2", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 224 MovieClip Frame 16
gotoAndPlay (15);
Symbol 224 MovieClip Frame 24
Set("/:p", "2");
Set("/:c", "5");
y = fish_y;
Symbol 224 MovieClip Frame 25
if (/:flee == "0") {
setProperty(my_name, _y , y);
speed = speed + "5";
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a2", "0");
Set("/:resume", "1");
if (l == "1") {
gotoAndPlay (5);
} else if (l == "0") {
gotoAndPlay (15);
}
}
if (/:flee == "1") {
if ("24" < getProperty("/ship", _currentframe)) {
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a2", "0");
Set("/:resume", "1");
Set("/:light_con", /:light_con + "1");
Set("/:sorce", /:sorce + "600");
gotoAndStop (1);
} else {
setProperty(my_name, _x , /:fishhook_x);
setProperty(my_name, _y , fishhook_y);
}
}
Symbol 224 MovieClip Frame 26
fishhook_y = getProperty("/ship/fishhook", _y);
gotoAndPlay (25);
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 2
my_name = _target;
direction = /:choice_lorr;
former_x = getProperty(my_name, _x);
former_y = getProperty(my_name, _y);
speed = random("8") + "8";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
fish_width = "6";
setProperty(my_name, _y , random("130") + "285");
if (direction == "2") {
setProperty(my_name, _x , random("50") + "600");
gotoAndPlay (15);
} else if (direction == "1") {
gotoAndPlay (5);
}
turn_o = random("6") + "1";
Symbol 225 MovieClip Frame 5
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "1";
}
}
if ("600" < fish_x) {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a1", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x + speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (15);
}
Symbol 225 MovieClip Frame 6
gotoAndPlay (5);
Symbol 225 MovieClip Frame 15
fishhook_y = getProperty("/ship/fishhook", _y);
fish_x = getProperty(my_name, _x);
fish_y = getProperty(my_name, _y);
delta_x = /:fishhook_x - fish_x;
delta_y = fishhook_y - fish_y;
if (/:hit == "1") {
if (((fishhook_width + fish_width) * (fishhook_width + fish_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (24);
Set("/:hit", "0");
Set("/:movie_enable", "0");
l = "0";
}
}
if (fish_x < "0") {
gotoAndStop (1);
Set("/:count", "/:count - 1");
Set("/:a1", "0");
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
} else {
setProperty(my_name, _x , fish_x - speed);
}
if (turn_o == "3") {
turn = random("30");
}
if (turn == "19") {
gotoAndPlay (5);
}
Symbol 225 MovieClip Frame 16
gotoAndPlay (15);
Symbol 225 MovieClip Frame 24
Set("/:p", "2");
Set("/:c", "4");
y = fish_y;
Symbol 225 MovieClip Frame 25
if (/:flee == "0") {
setProperty(my_name, _y , y);
speed = speed + "5";
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a1", "0");
Set("/:resume", "1");
if (l == "1") {
gotoAndPlay (5);
} else if (l == "0") {
gotoAndPlay (15);
}
}
if (/:flee == "1") {
if ("24" < getProperty("/ship", _currentframe)) {
setProperty(my_name, _x , former_x);
setProperty(my_name, _y , former_y);
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:a1", "0");
Set("/:resume", "1");
Set("/:podgy_con", /:podgy_con + "1");
Set("/:sorce", /:sorce + "500");
gotoAndStop (1);
} else {
setProperty(my_name, _x , /:fishhook_x);
setProperty(my_name, _y , fishhook_y);
}
}
Symbol 225 MovieClip Frame 26
fishhook_y = getProperty("/ship/fishhook", _y);
gotoAndPlay (25);
Symbol 226 Button
on (keyPress "<Left>") {
if (/:movie_enable == "1") {
ship_current_x = getProperty("/ship", _x);
if ("5" >= ship_current_x) {
} else {
setProperty("/ship", _x , ship_current_x - "20");
Set("/:fishhook_x", /:fishhook_x - "20");
}
}
}
on (keyPress "<Right>") {
if (/:movie_enable == "1") {
ship_current_x = getProperty("/ship", _x);
if (ship_current_x >= "420.1") {
} else {
setProperty("/ship", _x , ship_current_x + "20");
Set("/:fishhook_x", /:fishhook_x + "20");
}
}
}
on (keyPress "<Up>") {
if (/:movie_enable == "1") {
tellTarget ("/ship") {
prevFrame();
};
}
}
on (keyPress "<Down>") {
if (/:movie_enable == "1") {
if (getProperty("/ship", _currentframe) == "20") {
} else {
tellTarget ("/ship") {
nextFrame();
};
}
}
}
on (keyPress "<Space>") {
if (/:movie_enable == "0") {
Set("/:resume", "0");
if (/:p < /:power) {
tellTarget ("/power") {
prevFrame();
};
Set("/:power", "1");
} else {
Set("/:power", /:power + "1");
}
if (/:c < /:contract) {
if (getProperty("/ship", _currentframe) == "1") {
tellTarget ("/ship") {
gotoAndPlay (21);
};
Set("/:movie_enable", "1");
} else {
tellTarget ("/ship") {
prevFrame();
};
}
Set("/:contract", "1");
} else {
Set("/:contract", /:contract + "1");
}
}
}
Symbol 227 MovieClip Frame 1
my_name = _target;
my_width = (getProperty(my_name, _height) / "2") - "5";
fishhook_width = getProperty("/ship/fishhook", _width) / "2";
Symbol 227 MovieClip Frame 2
fishhook_y = getProperty("/ship/fishhook", _y);
fishhook_x = /:fishhook_x;
clam_x = getProperty(my_name, _x);
clam_y = getProperty(my_name, _y);
delta_x = fishhook_x - clam_x;
delta_y = fishhook_y - clam_y;
if (((fishhook_width + my_width) * (fishhook_width + my_width)) >= ((delta_x * delta_x) + (delta_y * delta_y))) {
gotoAndPlay (10);
Set("/:movie_enable", "2");
Set("/:hit", "2");
Set("/:resume", "2");
bite_time = "1";
count_time = "1";
}
Symbol 227 MovieClip Frame 3
gotoAndPlay (2);
Symbol 227 MovieClip Frame 10
if ("2" < bite_time) {
bite_time = "1";
count_time = count_time + "1";
} else {
bite_time = bite_time + "1";
}
Symbol 227 MovieClip Frame 12
tellTarget ("/power") {
prevFrame();
}
Symbol 227 MovieClip Frame 14
tellTarget ("/power") {
prevFrame();
}
Symbol 227 MovieClip Frame 16
if ("5" < count_time) {
Set("/:movie_enable", "1");
Set("/:hit", "1");
Set("/:resume", "1");
tellTarget ("/ship") {
gotoAndStop (1);
};
gotoAndPlay (1);
} else {
gotoAndPlay (10);
tellTarget ("/power") {
prevFrame();
};
}
Symbol 258 Button
on (press) {
i = "1";
temp = /:sorce;
t_name = "";
while (i < "8") {
if (eval ("/:no_" add i) < temp) {
temp_a = eval ("/:no_" add i);
Set("/:no_" add i, temp);
temp = temp_a;
temp_name = eval ("/:no_name_" add i);
Set("/:no_name_" add i, /:t_name);
t_name = temp_name;
}
i = i + "1";
}
gotoAndPlay (355);
}
Symbol 264 Button
on (press) {
play();
}
Symbol 281 Button
on (press) {
i = "1";
temp = /:sorce;
t_name = /:name;
while (i < "8") {
if (eval ("/:no_" add i) < temp) {
temp_a = eval ("/:no_" add i);
Set("/:no_" add i, temp);
temp = temp_a;
temp_name = eval ("/:no_name_" add i);
Set("/:no_name_" add i, /:t_name);
t_name = temp_name;
}
i = i + "1";
}
gotoAndStop (532);
}
Symbol 284 Button
on (press, keyPress "<Enter>") {
i = "1";
temp = /:sorce;
t_name = /:name;
while (i < "8") {
if (eval ("/:no_" add i) < temp) {
temp_a = eval ("/:no_" add i);
Set("/:no_" add i, temp);
temp = temp_a;
temp_name = eval ("/:no_name_" add i);
Set("/:no_name_" add i, /:t_name);
t_name = temp_name;
}
i = i + "1";
}
gotoAndStop (532);
}
Symbol 286 Button
on (press) {
gotoAndPlay (355);
}