Frame 1
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
Frame 5
ifFrameLoaded (35) {
gotoAndPlay (12);
}
Frame 11
gotoAndPlay (1);
Frame 12
_focusrect = "0";
game = "torpedojoe";
score = "0";
scorelist = "retrieving highest score...";
listsize = "10";
loadVariablesNum ("http://216.247.235.192/cgi-bin/highscore.cgi", "0", "POST");
listsize = "10";
stop();
Frame 22
gotoAndPlay (23);
Frame 23
playing = "1";
gameover = "0";
showjoe = "0";
ship1 = "0";
ship2 = "0";
creation = "4";
points = "0";
score = "0";
nextlevel = "12";
maxtorps = "5";
mermaid = "0";
mermen = "0";
level = "1";
_focusrect = "0";
a = "0";
while (a < maxtorps) {
tellTarget ("/torpedo" add a) {
canfire = "1";
canhit = "0";
gotoAndStop (1);
};
tellTarget ("/torpsplash" add a) {
gotoAndStop (1);
};
a = a + "1";
}
Frame 25
if (gameover) {
gotoAndPlay (29);
} else {
gotoAndPlay (24);
}
Frame 28
stop();
Frame 29
_focusrect = "0";
stop();
Frame 30
stop();
Frame 31
game = "torpedojoe";
score = "0";
scorelist = "retrieving high scores...";
loadVariablesNum ("http://216.247.235.192/cgi-bin/highscore.cgi", "0", "POST");
stop();
Frame 32
playing = "1";
showjoe = "0";
ship1 = "0";
ship2 = "0";
creation = "8";
points = "0";
nextlevel = "12";
maxtorps = "1";
mermaid = "0";
wow = "0";
tellTarget ("/torpedo0") {
canfire = "0";
canhit = "0";
gotoAndStop (1);
}
Frame 34
if (wow) {
nextlevel = -"1";
mermaid = "0";
tellTarget ("/torpedo0") {
lasty = "500";
torpspeed = "500";
_y = "0";
_x = (random("480") + "10");
canhit = "1";
gotoAndStop (1);
};
}
gotoAndPlay (33);
Symbol 30 MovieClip Frame 1
Set("..:candie", "1");
Symbol 30 MovieClip Frame 7
Set("..:candie", "0");
Symbol 30 MovieClip Frame 11
Set("..:candie", "1");
Symbol 30 MovieClip Frame 25
Set("..:candie", "0");
Symbol 30 MovieClip Frame 31
Set("..:candie", "1");
Symbol 52 Button
on (release) {
play();
}
Symbol 53 Button
on (release) {
gotoAndPlay (26);
}
Symbol 54 Button
on (release) {
gotoAndPlay (32);
}
Symbol 55 Button
on (release) {
gotoAndPlay (31);
}
Symbol 82 MovieClip Frame 2
canhit = "1";
canfire = "0";
call("move");
lasty = "330";
Symbol 82 MovieClip Frame 3
call("move");
Symbol 82 MovieClip Frame 4
call("move");
Symbol 82 MovieClip Frame 5
call("move");
Symbol 82 MovieClip Frame 6
call("move");
Symbol 82 MovieClip Frame 7
call("move");
Symbol 82 MovieClip Frame 8
call("move");
Symbol 82 MovieClip Frame 9
call("move");
Symbol 82 MovieClip Frame 10
call("move");
Symbol 82 MovieClip Frame 11
call("move");
Symbol 82 MovieClip Frame 12
gotoAndPlay (11);
call("move");
Symbol 82 MovieClip Frame 13
lasty = _y + "6";
_xscale = (_y / "2.5");
_yscale = (_y / "2.5");
_y = (_y - ((torpspeed * _y) / "25"));
if (_y < "50") {
canhit = "0";
canfire = "1";
}
if (canhit == "0") {
gotoAndStop (1);
}
Symbol 97 MovieClip Frame 7
a = "/torpedo" add (substring(_name, "11", "-1"));
Set(a add ":torpspeed", torpspeed);
setProperty(a, _x , _x);
setProperty(a, _y , _y);
tellTarget (a) {
gotoAndPlay ("fire");
}
Symbol 97 MovieClip Frame 15
gotoAndStop (1);
Symbol 99 Button
on (keyPress "!") {
if (speed == "11") {
speed = "100";
} else {
speed = "0";
}
}
Symbol 101 Button
on (keyPress "~") {
if (((int(speed / "2") * "2") <> speed) and ("10" >= speed)) {
speed = speed + "1";
} else {
speed = "0";
}
}
Symbol 104 MovieClip Frame 1
if (..:speed == "100") {
gotoAndPlay (3);
}
Symbol 104 MovieClip Frame 2
if (..:speed <> "100") {
gotoAndPlay (1);
}
Symbol 104 MovieClip Frame 3
if (..:speed <> "100") {
gotoAndPlay (1);
}
Symbol 104 MovieClip Frame 4
if (..:speed <> "100") {
gotoAndPlay (1);
}
Symbol 104 MovieClip Frame 5
if (..:speed == "100") {
gotoAndPlay (3);
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 30
stop();
Symbol 109 Button
on (release) {
if (_level0:torpedo == "0") {
tellTarget ("powerbar") {
stop();
};
stopDrag();
torpspeed = (getTimer() - time) / "700";
if ("5" < torpspeed) {
torpspeed = "5";
} else if (torpspeed < "0.5") {
torpspeed = "0.5";
}
if (speed == "100") {
torpspeed = "8";
Set("_level0:points", -"100000");
}
play();
}
}
on (press) {
if (_level0:torpedo == "0") {
tellTarget ("powerbar") {
play();
};
time = getTimer();
}
}
on (keyPress "`") {
if (((int(speed / "2") * "2") == speed) and ("10" >= speed)) {
speed = speed + "1";
} else {
speed = "0";
}
}
Symbol 112 MovieClip Frame 2
a = "0";
b = "1";
while (a < _level0:maxtorps) {
if (eval (("_level0/torpedo" add a) add ":canfire") == "1") {
b = "0";
a = _level0:maxtorps;
}
a = a + "1";
}
if (b or (!_level0:playing)) {
gotoAndPlay (1);
} else {
startDrag ("/torp", true, "5", "253", "495", "253");
}
Symbol 112 MovieClip Frame 3
stop();
Symbol 112 MovieClip Frame 6
a = "0";
while (a < _level0:maxtorps) {
if (eval (("_level0/torpedo" add a) add ":canfire") == "1") {
Set(("/torpedo" add a) add ":canfire", "0");
Set(("/torpsplash" add a) add ":torpspeed", torpspeed);
setProperty("/torpsplash" add a, _x , _x);
setProperty("/torpsplash" add a, _y , _y);
tellTarget ("/torpsplash" add a) {
gotoAndPlay ("fire");
};
a = _level0:maxtorps;
}
a = a + "1";
}
Symbol 112 MovieClip Frame 10
gotoAndPlay (1);
Symbol 116 MovieClip Frame 1
Set("..:candie", "1");
Symbol 137 MovieClip Frame 14
Set("..:alive", "0");
Symbol 138 MovieClip Frame 2
if ((random("150") < _level0:level) and (eval ("_level0:ship" add (substring(_name, "2", "-1"))) == "0")) {
alive = "1";
Set("_level0:ship" add (substring(_name, "2", "-1")), "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 3
call("move");
Symbol 138 MovieClip Frame 4
call("move");
Symbol 138 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:ship" add (substring(_name, "2", "-1")), "0");
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 7
_x = (-"150");
scaler = _y / "2.6";
speed = random("3") + "4";
_xscale = scaler;
_yscale = scaler;
Symbol 138 MovieClip Frame 8
if (_x < "750") {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x + ((speed * scaler) / "100"));
call("ishit");
} else {
candie = "0";
Set("_level0:ship" add (substring(_name, "2", "-1")), "0");
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("216" / "100") * scaler))) and ((_x + (("170" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:playing", "0");
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 142 MovieClip Frame 1
Set("..:candie", "1");
Symbol 161 MovieClip Frame 14
Set("..:alive", "0");
Symbol 162 MovieClip Frame 2
if ((random("500") < _level0:level) and (eval ("_level0:ship" add (substring(_name, "2", "-1"))) == "0")) {
alive = "1";
Set("_level0:ship" add (substring(_name, "2", "-1")), "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 3
call("move");
Symbol 162 MovieClip Frame 4
call("move");
Symbol 162 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:ship" add (substring(_name, "2", "-1")), "0");
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 7
_x = "600";
scaler = _y / "2.6";
speed = random("3") + "4";
_xscale = scaler;
_yscale = scaler;
Symbol 162 MovieClip Frame 8
if ((-"250") < _x) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x - ((speed * scaler) / "100"));
call("ishit");
} else {
candie = "0";
Set("_level0:ship" add (substring(_name, "2", "-1")), "0");
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("248" / "100") * scaler))) and ((_x + (("135" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:playing", "0");
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 175 MovieClip Frame 25
Set("..:alive", "0");
Symbol 176 MovieClip Frame 2
if (("0" < _level0:creation) and (random("50") == "1")) {
alive = "1";
Set("_level0:creation", _level0:creation - "1");
Set("_level0:nextlevel", _level0:nextlevel - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 176 MovieClip Frame 3
call("move");
Symbol 176 MovieClip Frame 4
call("move");
Symbol 176 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 176 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 176 MovieClip Frame 7
_x = ("480" + random("50"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 176 MovieClip Frame 8
if ((-"20") < _x) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x - (("6" * scaler) / "100"));
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 176 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("20" / "100") * scaler))) and ((_x + (("20" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:points", _level0:points + ("150" * _level0:level));
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 185 MovieClip Frame 1
Set("..:candie", "1");
Symbol 185 MovieClip Frame 7
Set("..:candie", "0");
Symbol 185 MovieClip Frame 10
? , "..:candie");
Symbol 185 MovieClip Frame 24
Set("..:candie", "0");
Symbol 185 MovieClip Frame 27
Set("..:candie", "1");
Symbol 193 MovieClip Frame 25
Set("..:alive", "0");
Symbol 194 MovieClip Frame 2
if (("0" < _level0:creation) and (random("300") == "1")) {
alive = "1";
Set("_level0:creation", _level0:creation - "1");
Set("_level0:nextlevel", _level0:nextlevel - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 194 MovieClip Frame 3
call("move");
Symbol 194 MovieClip Frame 4
call("move");
Symbol 194 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 194 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 194 MovieClip Frame 7
_x = ("480" + random("50"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 194 MovieClip Frame 8
if ((-"20") < _x) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x - (("8" * scaler) / "100"));
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 194 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("20" / "100") * scaler))) and ((_x + (("20" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:points", _level0:points + ("500" * _level0:level));
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 205 MovieClip Frame 1
Set("..:candie", "1");
Symbol 233 MovieClip Frame 21
Set("..:alive", "0");
Symbol 234 MovieClip Frame 2
if (("0" < _level0:creation) and (random("50") == "1")) {
alive = "1";
Set("_level0:creation", _level0:creation - "1");
Set("_level0:nextlevel", _level0:nextlevel - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 234 MovieClip Frame 3
call("move");
Symbol 234 MovieClip Frame 4
call("move");
Symbol 234 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 234 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 234 MovieClip Frame 7
_x = ("480" + random("50"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 234 MovieClip Frame 8
if ((-"20") < _x) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x - (("10" * scaler) / "100"));
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 234 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("20" / "100") * scaler))) and ((_x + (("20" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:points", _level0:points + ("750" * _level0:level));
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 248 MovieClip Frame 1
Set("..:candie", "1");
Symbol 248 MovieClip Frame 31
Set("..:alive", "0");
Symbol 284 MovieClip Frame 10
if ("1.5" >= ..:sex) {
gotoAndPlay (53);
}
Symbol 284 MovieClip Frame 22
if ("4" >= ..:sex) {
gotoAndPlay (53);
}
Symbol 284 MovieClip Frame 69
Set("..:alive", "0");
Symbol 285 MovieClip Frame 2
if (((("0" >= _level0:nextlevel) and (random("15") == "1")) and (_level0:mermaid == "0")) or (random("2000") == "1")) {
alive = "1";
Set("_level0:mermaid", "1");
Set("_level0:nextlevel", ((_level0:level * _level0:level) * "4") + "12");
Set("_level0:creation", _level0:creation - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 285 MovieClip Frame 3
call("move");
Symbol 285 MovieClip Frame 4
call("move");
Symbol 285 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 285 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 285 MovieClip Frame 7
_x = ("20" + random("460"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 285 MovieClip Frame 8
if (alive) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 285 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("18" / "100") * scaler))) and ((_x + (("18" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
sex = eval (tor add ":torpspeed");
Set("_level0:creation", _level0:creation + "1");
Set("_level0:points", _level0:points + "500");
Set("_level0:level", _level0:level + "1");
Set("_level0:nextlevel", ((_level0:level * _level0:level) * "3") + "12");
alive = "1";
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 289 MovieClip Frame 1
Set("..:candie", "0");
Symbol 289 MovieClip Frame 11
Set("..:candie", "1");
Symbol 289 MovieClip Frame 43
Set("..:candie", "0");
Symbol 289 MovieClip Frame 51
Set("..:alive", "0");
Symbol 309 MovieClip Frame 25
Set("..:alive", "0");
Symbol 310 MovieClip Frame 2
if (("0" < _level0:creation) and (random("30") == "1")) {
alive = "1";
Set("_level0:creation", _level0:creation - "1");
Set("_level0:nextlevel", _level0:nextlevel - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 310 MovieClip Frame 3
call("move");
Symbol 310 MovieClip Frame 4
call("move");
Symbol 310 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 310 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 310 MovieClip Frame 7
_x = ("20" + random("460"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 310 MovieClip Frame 8
if (alive) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x - (((random("3") - "1") * scaler) / "100"));
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 310 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("40" / "100") * scaler))) and ((_x + (("40" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:points", _level0:points + ("15" * _level0:level));
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 317 MovieClip Frame 1
Set("..:candie", "0");
Symbol 317 MovieClip Frame 11
Set("..:candie", "1");
Symbol 317 MovieClip Frame 44
Set("..:candie", "0");
Symbol 317 MovieClip Frame 51
Set("..:alive", "0");
Symbol 332 MovieClip Frame 25
Set("..:alive", "0");
Symbol 333 MovieClip Frame 2
if (("0" < _level0:creation) and (random("100") == "1")) {
alive = "1";
Set("_level0:creation", _level0:creation - "1");
Set("_level0:nextlevel", _level0:nextlevel - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 333 MovieClip Frame 3
call("move");
Symbol 333 MovieClip Frame 4
call("move");
Symbol 333 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 333 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 333 MovieClip Frame 7
_x = ("20" + random("460"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 333 MovieClip Frame 8
if (alive) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
_x = (_x - (((random("3") - "1") * scaler) / "100"));
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 333 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("40" / "100") * scaler))) and ((_x + (("40" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
Set("_level0:points", _level0:points + ("50" * _level0:level));
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 345 MovieClip Frame 1
Set("..:candie", "1");
Symbol 345 MovieClip Frame 31
Set("..:alive", "0");
Symbol 354 MovieClip Frame 41
Set("..:alive", "0");
Symbol 355 MovieClip Frame 2
if (((("0" >= _level0:nextlevel) and (random("15") == "1")) and (_level0:merman == "0")) or (random("4000") == "1")) {
alive = "1";
Set("_level0:merman", "1");
Set("_level0:nextlevel", ((_level0:level * _level0:level) * "4") + "12");
Set("_level0:creation", _level0:creation - "1");
candie = "0";
call("startingpos");
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 355 MovieClip Frame 3
call("move");
Symbol 355 MovieClip Frame 4
call("move");
Symbol 355 MovieClip Frame 5
if (!alive) {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 355 MovieClip Frame 6
if (alive) {
gotoAndPlay (5);
} else {
Set("_level0:creation", _level0:creation + "1");
gotoAndPlay (1);
}
Symbol 355 MovieClip Frame 7
_x = ("20" + random("460"));
scaler = _y / "2.6";
_xscale = scaler;
_yscale = scaler;
Symbol 355 MovieClip Frame 8
if (alive) {
if (_currentframe == "4") {
gotoAndPlay (3);
}
call("ishit");
} else {
Set("_level0:creation", _level0:creation + "1");
candie = "0";
gotoAndPlay (1);
}
Symbol 355 MovieClip Frame 9
if (candie) {
a = "0";
while (a < _level0:maxtorps) {
tor = "_level0/torpedo" add a;
if (eval (tor add ":canhit")) {
if ((((getProperty(tor, _x) >= (_x - (("18" / "100") * scaler))) and ((_x + (("18" / "100") * scaler)) >= getProperty(tor, _x))) and ((_y + "5") >= getProperty(tor, _y))) and (eval (tor add ":lasty") >= _y)) {
a = _level0:maxtorps;
alive = "1";
sex = eval (tor add ":torpspeed");
Set("_level0:creation", _level0:creation + "1");
Set("_level0:points", _level0:points + "1000");
Set("_level0:level", _level0:level + "1");
Set("_level0:nextlevel", ((_level0:level * _level0:level) * "3") + "12");
alive = "1";
gotoAndPlay (5);
tellTarget (tor) {
canhit = "0";
canfire = "1";
gotoAndStop ("unseen");
};
}
}
a = a + "1";
}
}
Symbol 363 MovieClip Frame 1
points = _level0:points;
Symbol 363 MovieClip Frame 2
points = _level0:points;
Symbol 382 MovieClip Frame 2
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 4
stopAllSounds();
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 5
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 6
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 7
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 8
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 9
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 10
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 11
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 12
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 13
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 14
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 15
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 16
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 17
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 18
if (!_level0:showjoe) {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 19
if (_level0:showjoe) {
gotoAndPlay (13);
} else {
gotoAndPlay (1);
}
Symbol 388 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("init");
}
}
Symbol 389 Button
on (release, keyPress "<Enter>") {
Set("_level0:score", _level0:points);
Set("_level0:gameover", "1");
}
Symbol 391 MovieClip Frame 1
if (!_level0:playing) {
stopDrag();
tellTarget ("/torp") {
gotoAndPlay ("wait");
};
gotoAndPlay (3);
}
Symbol 391 MovieClip Frame 2
if (_level0:playing) {
gotoAndPlay (1);
} else {
stopDrag();
tellTarget ("/torp") {
gotoAndPlay ("wait");
};
}
Symbol 391 MovieClip Frame 11
Set("_level0:showjoe", "1");
Symbol 391 MovieClip Frame 34
time = getTimer();
Symbol 391 MovieClip Frame 36
if ("7000" < (getTimer() - time)) {
Set("_level0:gameover", "1");
}
gotoAndPlay (35);
Symbol 414 Button
on (release) {
gotoAndPlay (12);
}
Symbol 418 Button
on (release, keyPress "<Enter>") {
if (_level0:name eq "enter name here") {
Set("_level0:name", "anonymous");
}
game = "torpedojoe";
scorelist = "wait. retrieving high scores...";
loadVariablesNum ("http://216.247.235.192/cgi-bin/highscore.cgi", "0", "POST");
score = "0";
gotoAndPlay (30);
}
Symbol 420 Button
on (release) {
gotoAndPlay (23);
}
Symbol 425 Button
on (release) {
fscommand ("quit");
}
Symbol 436 Button
on (release) {
getURL ("http://www.joecartoon.com");
fscommand ("quit");
}
Symbol 437 Button
on (keyPress "~") {
wow = "1" - wow;
}