Frame 1
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
if (percent == 100) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 73
tellTarget ("_root.start.ripple") {
gotoAndPlay (2);
};
Frame 84
stop();
Frame 85
function bounce(b_angle, y_bounce, x_bounce) {
eval ("_root.score_panel.score.play_" + id).gotoandplay("bounce");
xspeed = 0;
yspeed = 0;
xspeed = xspeed + (x_bounce * Math.sin(((((-b_angle) + 180) / 360) * 2) * Math.PI));
yspeed = yspeed + (y_bounce * Math.cos(((((-b_angle) + 180) / 360) * 2) * Math.PI));
}
function check_wall() {
if ((_root.gamebounds.xMax - 10) < ((_x + radius) + xspeed)) {
xspeed = -(xspeed + 1);
} else if (((_x - radius) + xspeed) < (_root.gamebounds.xMin + 10)) {
xspeed = -(xspeed - 1);
} else if ((_root.gamebounds.yMax - 10) < ((_y + radius) + yspeed)) {
yspeed = -(yspeed + 1);
} else if (((_y - radius) + yspeed) < (_root.gamebounds.yMin + 10)) {
yspeed = -(yspeed - 1);
} else {
return("cool");
}
}
function start_movs() {
hover_1.bounce = bounce;
hover_1.check_wall = check_wall;
hover_2.bounce = bounce;
hover_2.check_wall = check_wall;
hover_1._x = player_1_startx;
hover_1._y = player_1_starty;
hover_2._x = player_2_startx;
hover_2._y = player_2_starty;
hover_1.gotoandplay(2);
hover_2.hull.gotoandstop(2);
hover_2.gotoandplay(2);
}
function addscore() {
if (_root.possesion ne "-") {
var temp_obj = (("_root.score_panel.score.player_" + _root.possesion) + "_score");
eval (temp_obj)++;
if (eval (temp_obj) == score_limit) {
end_game(_root.possesion);
}
if (eval (temp_obj) < 10) {
Set(temp_obj, "0" + eval (temp_obj));
}
}
}
function end_game(win) {
winner.gotoAndPlay(2);
endgame = "yes";
if (number_of_players == 1) {
if (win == 2) {
winner.display.text = "the mighty\ncomputer\nwins!";
} else {
winner.display.text = "the feeble\nhuman\nwins!";
}
} else {
winner.display.text = (("player " + win) + "\r") + " wins!";
}
hover_1.gotoandstop(1);
hover_2.gotoandstop(1);
eval ("hover_" + win).gotoandplay("win");
boat_trail.stop();
bomb.gotoandstop(24);
}
function get_angle(x1, y1, x2, y2, xspeed1, yspeed1, xspeed2, yspeed2, id) {
var yspeed = ((Math.abs(yspeed1) + Math.abs(yspeed2)) / 2);
var xspeed = ((Math.abs(xspeed1) + Math.abs(xspeed2)) / 2);
var angle = ((Math.atan2(y1 - y2, x1 - x2) * 180) / Math.PI);
angle = angle - 90;
eval (("hover_" + id) + ".bounce")(angle, (yspeed * 2) + 1, (xspeed * 2) + 1);
angle = angle - 180;
bomb.yspeed = 0;
bomb.xspeed = 0;
bomb.y_bounce = (yspeed * 3) + 1;
bomb.x_bounce = (xspeed * 3) + 1;
return(angle);
}
speed_limit = 6;
if (number_of_players == 1) {
comp_speed_limit = 5;
comp_drag = 0.045;
comp_acc = 0.5;
comp_turn_speed = 4;
}
bomb_speed_limit = 30;
_root.possesion = "-";
endgame = "no";
player_1_startx = 100;
player_1_starty = 100;
player_2_startx = 300;
player_2_starty = 300;
this.gotoAndStop(("game_" + game_type) + number_of_players.toString());
Instance of Symbol 151 MovieClip "game_area" in Frame 85
onClipEvent (load) {
_root.gamebounds = this.getBounds(_root);
}
Instance of Symbol 164 MovieClip "bomb" in Frame 85
onClipEvent (load) {
radius = _width / 2;
drag = 0.03;
acc = 6;
}
Frame 87
score_limit = 11;
start_movs();
stop();
Instance of Symbol 187 MovieClip "hover_2" in Frame 87
onClipEvent (load) {
id = 2;
other_id = 1;
radius = _width / 2;
}
Instance of Symbol 188 MovieClip "hover_1" in Frame 87
onClipEvent (load) {
id = 1;
other_id = 2;
drag = 0.045;
acc = 0.5;
turn_speed = 4;
radius = _width / 2;
}
Frame 91
score_limit = 11;
start_movs();
stop();
Instance of Symbol 206 MovieClip "hover_2" in Frame 91
onClipEvent (load) {
id = 2;
other_id = 1;
drag = 0.045;
acc = 0.5;
turn_speed = 4;
radius = _width / 2;
}
Frame 95
score_limit = 60;
timer.reset = int(getTimer() / 1000);
timer.gotoandplay(2);
start_movs();
stop();
Instance of Symbol 187 MovieClip "hover_2" in Frame 95
onClipEvent (load) {
id = 2;
other_id = 1;
radius = _width / 2;
}
Frame 99
score_limit = 60;
timer.reset = int(getTimer() / 1000);
timer.gotoandplay(2);
start_movs();
stop();
Instance of Symbol 206 MovieClip "hover_2" in Frame 99
onClipEvent (load) {
id = 2;
other_id = 1;
drag = 0.045;
acc = 0.5;
turn_speed = 4;
radius = _width / 2;
}
Symbol 23 MovieClip Frame 91
_root.play();
stop();
Symbol 23 MovieClip Frame 109
gotoAndPlay (1);
Symbol 31 Button
on (release) {
getURL ("http://www.hyro.com", "_blank");
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 50
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 64 Button
on (release) {
_root.number_of_players = 2;
gotoAndPlay (3);
}
Symbol 68 Button
on (release) {
_root.number_of_players = 1;
gotoAndPlay (3);
}
Symbol 79 Button
on (release) {
gotoAndStop (1);
}
Symbol 82 Button
on (release) {
_root.game_type = 1;
gotoAndPlay (23);
}
Symbol 85 Button
on (release) {
_root.game_type = 2;
gotoAndPlay (23);
}
Symbol 95 Button
on (release) {
gotoAndPlay (37);
}
Symbol 96 Button
on (release) {
gotoAndPlay (10);
}
Symbol 97 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("start");
};
}
Symbol 100 Button
on (release) {
gotoAndStop (3);
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
key3a.gotoAndStop(2);
Symbol 124 MovieClip Frame 32
key3a.gotoAndStop(1);
key1a.gotoAndStop(2);
Symbol 124 MovieClip Frame 65
key3a.gotoAndStop(2);
key1a.gotoAndStop(1);
Symbol 124 MovieClip Frame 75
key3a.gotoAndStop(1);
Symbol 124 MovieClip Frame 79
key2a.gotoAndStop(2);
Symbol 124 MovieClip Frame 116
key2a.gotoAndStop(1);
Symbol 125 Button
on (release) {
gotoAndStop(_root.game_type);
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 130 Button
on (release) {
gotoAndPlay (23);
}
Symbol 131 Button
on (release) {
gotoAndStop (3);
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 23
stop();
key = "?";
Instance of Symbol 138 MovieClip in Symbol 139 MovieClip Frame 23
onClipEvent (keyDown) {
_parent._parent.num = _parent.num;
_parent._parent.enterKey();
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 23
stop();
key = "?";
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 23
onClipEvent (keyDown) {
_parent._parent.num = _parent.num;
_parent._parent.enterKey();
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 23
stop();
key = "?";
Instance of Symbol 138 MovieClip in Symbol 141 MovieClip Frame 23
onClipEvent (keyDown) {
_parent._parent.num = _parent.num;
_parent._parent.enterKey();
}
Symbol 144 Button
on (release) {
gotoAndStop (4);
}
Symbol 149 MovieClip Frame 1
function set_keys(sub) {
var i = 1;
while (i < 4) {
var temp_code = eval (("_root.player_" + id) + "_key_array")[i];
if ((36 < temp_code) && (temp_code < 41)) {
eval (("key" + i) + sub).gotoandstop("arrow" + temp_code);
} else {
eval (("key" + i) + sub).gotoandstop(1);
Set((("key" + i) + sub) + ".key", chr(temp_code));
}
i++;
}
}
function checkKey(code) {
var i = 1;
while (i < 4) {
if (_root.player_1_key_array[i] == code) {
return("taken");
}
if (_root.player_2_key_array[i] == code) {
return("taken");
}
i++;
}
}
function enterKey() {
var code = Key.getCode();
if (checkKey(code) ne "taken") {
if ((64 < code) && (code < 91)) {
Set(("key" + num) + "a.key", chr(Key.getAscii()).toUpperCase());
eval (("key" + num) + "a").gotoAndStop(1);
var good = "yes";
} else if ((47 < code) && (code < 58)) {
Set(("key" + num) + "a.key", 48 - code);
eval (("key" + num) + "a").gotoAndStop(1);
var good = "yes";
} else if ((36 < code) && (code < 41)) {
eval (("key" + num) + "a").gotoandstop("arrow" + code);
var good = "yes";
}
if (good eq "yes") {
eval (("_root.player_" + id) + "_key_array")[num] = code;
if (num == 3) {
gotoAndStop(_root.number_of_players);
tellTarget ("_parent") {
gotoAndStop ("define_last");
};
} else {
eval (("key" + (num + 1)) + "a").gotoAndStop("define");
}
}
}
}
id = 1;
set_keys("a");
stop();
Instance of Symbol 139 MovieClip "key1a" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
num = 1;
}
Instance of Symbol 140 MovieClip "key3a" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
num = 3;
}
Instance of Symbol 141 MovieClip "key2a" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
num = 2;
}
Symbol 149 MovieClip Frame 2
id = 1;
set_keys("a");
id = 2;
set_keys("b");
stop();
Instance of Symbol 139 MovieClip "key1b" in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
num = 1;
}
Instance of Symbol 140 MovieClip "key3b" in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
num = 3;
}
Instance of Symbol 141 MovieClip "key2b" in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
num = 2;
}
Symbol 149 MovieClip Frame 3
tellTarget ("_parent") {
gotoAndStop ("defining");
};
id = 1;
set_keys("a");
key1a.gotoAndStop("define");
_root.player_1_key_array = new Array("blank", 0, 0, 0);
if (_root.number_of_players == 1) {
_root.player_2_key_array = new Array();
}
Symbol 149 MovieClip Frame 4
tellTarget ("_parent") {
gotoAndStop ("defining");
};
id = 2;
set_keys("a");
key1a.gotoAndStop("define");
_root.player_2_key_array = new Array("blank", 0, 0, 0);
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 19
if (_root.player_1_key_array[0] eq "") {
_root.player_1_key_array = new Array("blank", 65, 87, 68);
}
if ((_root.number_of_players == 2) && (_root.player_2_key_array[0] eq "")) {
_root.player_2_key_array = new Array("blank", 74, 73, 76);
}
stop();
Symbol 150 MovieClip Frame 32
stop();
Instance of Symbol 126 MovieClip in Symbol 150 MovieClip Frame 32
onClipEvent (load) {
gotoAndStop(_root.game_type);
}
Symbol 150 MovieClip Frame 46
stop();
Instance of Symbol 149 MovieClip "define_the_keys" in Symbol 150 MovieClip Frame 46
onClipEvent (load) {
gotoAndStop(_root.number_of_players);
}
Symbol 161 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
bomb.gotoandstop(_root.possesion + 1);
stop();
Symbol 163 MovieClip Frame 2
bomb.gotoandstop(_root.possesion + 1);
Symbol 163 MovieClip Frame 8
bomb.gotoandstop(_root.possesion + 1);
Symbol 163 MovieClip Frame 14
bomb.gotoandstop(_root.possesion + 1);
Symbol 163 MovieClip Frame 19
bomb.gotoandstop(_root.possesion + 1);
Symbol 164 MovieClip Frame 1
_x = (random(320) + 40);
_y = (random(320) + 40);
Symbol 164 MovieClip Frame 22
i = 1;
while (i < 3) {
temp_obj = eval ("_root.hover_" + i);
a = _y - temp_obj._y;
b = _x - temp_obj._x;
c = Math.sqrt((a * a) + (b * b));
if ((radius + temp_obj.radius) >= c) {
if (_root.possesion != i) {
_root.possesion = i;
bomb.bomb.gotoandstop(i + 1);
if (_root.game_type == 2) {
_root.timer.temp_score = eval (("_root.score_panel.score.player_" + _root.possesion) + "_score");
_root.timer.reset = int(getTimer() / 1000);
}
}
bomb.gotoandplay(2);
hitangle = _root.get_angle(_x, _y, temp_obj._x, temp_obj._y, temp_obj.xspeed, temp_obj.yspeed, xspeed, yspeed, i);
yspeed = yspeed + (y_bounce * Math.cos(((((-hitangle) + 180) / 360) * 2) * Math.PI));
xspeed = xspeed + (x_bounce * Math.sin(((((-hitangle) + 180) / 360) * 2) * Math.PI));
yspeed * 2;
xspeed * 2;
}
i++;
}
if (_root.bomb_speed_limit < Math.abs(yspeed)) {
if (0 < yspeed) {
yspeed = _root.bomb_speed_limit;
} else {
yspeed = -_root.bomb_speed_limit;
}
}
if (_root.bomb_speed_limit < Math.abs(xspeed)) {
if (0 < xspeed) {
xspeed = _root.bomb_speed_limit;
} else {
xspeed = -_root.bomb_speed_limit;
}
}
temp_obj = _root.boat_trail.boat;
a = _y - (_root.boat_trail._y - temp_obj._y);
b = _x - (_root.boat_trail._x - temp_obj._x);
c = Math.sqrt((a * a) + (b * b));
if ((radius + _root.boat_trail.radius) >= c) {
_root.boat_trail.stop();
_root.boat_trail.boat.gotoandplay("sink");
xspeed = 0;
yspeed = 0;
_root.addscore();
gotoAndPlay (25);
} else {
_alpha = 100;
}
if (_root.gamebounds.xMax < ((_x + radius) + xspeed)) {
xspeed = -xspeed;
} else if (((_x - radius) + xspeed) < _root.gamebounds.xMin) {
xspeed = -xspeed;
} else if (_root.gamebounds.yMax < ((_y + radius) + yspeed)) {
yspeed = -yspeed;
} else if (((_y - radius) + yspeed) < _root.gamebounds.yMin) {
yspeed = -yspeed;
} else {
_y = (_y + yspeed);
_x = (_x + xspeed);
yspeed = yspeed - (yspeed * drag);
xspeed = xspeed - (xspeed * drag);
}
play();
Symbol 164 MovieClip Frame 23
gotoAndPlay (22);
Symbol 164 MovieClip Frame 25
bomb.gotoandstop(_root.possesion + 3);
Symbol 164 MovieClip Frame 46
_root.possesion = "-";
gotoAndPlay (1);
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 2
play();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
play();
Symbol 175 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 179 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("intro");
};
}
Symbol 180 MovieClip Frame 20
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 23
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 2
if (angle < 0) {
angle = angle + 360;
}
if (360 < angle) {
angle = angle - 360;
}
if (_root.possesion == id) {
temp_obj = "_root.hover_1";
} else {
temp_obj = "_root.bomb";
}
dest_angle = (Math.atan2(eval (temp_obj)._y - _y, eval (temp_obj)._x - _x) * 180) / Math.PI;
dest_angle = dest_angle + 90;
if (dest_angle < 0) {
dest_angle = dest_angle + 360;
}
if (360 < dest_angle) {
dest_angle = dest_angle - 360;
}
dest_angle = int(dest_angle);
if (int(angle) != int(dest_angle)) {
test_angle = angle + (360 - dest_angle);
if (360 < test_angle) {
test_angle = test_angle - 360;
}
if (180 < test_angle) {
turn = 1;
} else {
turn = -1;
}
} else {
turn = 0;
}
var i = 0;
while (i < _root.comp_turn_speed) {
if (int(angle) == int(dest_angle)) {
break;
}
angle = angle + turn;
i++;
}
if (_root.comp_speed_limit < Math.abs(yspeed)) {
if (0 < yspeed) {
yspeed = _root.comp_speed_limit;
} else {
yspeed = -_root.comp_speed_limit;
}
}
if (_root.comp_speed_limit < Math.abs(xspeed)) {
if (0 < xspeed) {
xspeed = _root.comp_speed_limit;
} else {
xspeed = -_root.comp_speed_limit;
}
}
wall = check_wall();
if (wall eq "cool") {
yspeed = yspeed + (_root.comp_acc * Math.cos(((((-angle) + 180) / 360) * 2) * Math.PI));
xspeed = xspeed + (_root.comp_acc * Math.sin(((((-angle) + 180) / 360) * 2) * Math.PI));
}
_y = (_y + yspeed);
_x = (_x + xspeed);
yspeed = yspeed - (yspeed * _root.comp_drag);
xspeed = xspeed - (xspeed * _root.comp_drag);
_rotation = angle;
play();
Symbol 187 MovieClip Frame 3
gotoAndPlay (2);
Symbol 187 MovieClip Frame 5
hull.gotoAndStop(id);
play();
Symbol 187 MovieClip Frame 51
gotoAndPlay (5);
Symbol 188 MovieClip Frame 1
function get_angle(x1, y1, x2, y2, xspeed1, yspeed1, xspeed2, yspeed2, id) {
trace(_name + "andgle");
var yspeed = ((Math.abs(yspeed1) + Math.abs(yspeed2)) / 2);
var xspeed = ((Math.abs(xspeed1) + Math.abs(xspeed2)) / 2);
var angle = ((Math.atan2(y1 - y2, x1 - x2) * 180) / Math.PI);
angle = angle - 90;
if (angle < 0) {
angle = angle + 360;
}
eval (("_root.hover_" + id) + ".bounce")(angle, (yspeed * 3) + 1, (xspeed * 3) + 1);
angle = angle - 180;
if (angle < 0) {
angle = angle + 360;
}
bounce(angle, (yspeed * 3) + 1, (xspeed * 3) + 1);
}
stop();
Symbol 188 MovieClip Frame 2
if (Key.isDown(eval (("_root.player_" + id) + "_key_array")[3])) {
turn = turn_speed;
} else if (Key.isDown(eval (("_root.player_" + id) + "_key_array")[1])) {
turn = -turn_speed;
} else {
turn = 0;
}
angle = angle + turn;
if (angle < 0) {
angle = angle + 360;
}
if (360 < angle) {
angle = angle - 360;
}
if (_root.speed_limit < Math.abs(yspeed)) {
if (0 < yspeed) {
yspeed = _root.speed_limit;
} else {
yspeed = -_root.speed_limit;
}
}
if (_root.speed_limit < Math.abs(xspeed)) {
if (0 < xspeed) {
xspeed = _root.speed_limit;
} else {
xspeed = -_root.speed_limit;
}
}
temp_obj = eval ("_root.hover_" + other_id);
a = _y - temp_obj._y;
b = _x - temp_obj._x;
c = Math.sqrt((a * a) + (b * b));
if (((radius + temp_obj.radius) + 5) >= c) {
get_angle(_x, _y, temp_obj._x, temp_obj._y, temp_obj.xspeed, temp_obj.yspeed, xspeed, yspeed, other_id);
} else {
wall = check_wall();
if (wall eq "cool") {
if (Key.isDown(eval (("_root.player_" + id) + "_key_array")[2])) {
yspeed = yspeed + (acc * Math.cos(((((-angle) + 180) / 360) * 2) * Math.PI));
xspeed = xspeed + (acc * Math.sin(((((-angle) + 180) / 360) * 2) * Math.PI));
} else {
yspeed = yspeed - (yspeed * drag);
xspeed = xspeed - (xspeed * drag);
}
}
}
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = angle;
play();
Symbol 188 MovieClip Frame 3
gotoAndPlay (2);
Symbol 188 MovieClip Frame 5
hull.gotoAndStop(id);
play();
Symbol 188 MovieClip Frame 51
gotoAndPlay (5);
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 10
play();
Symbol 204 MovieClip Frame 55
if (_root.endgame ne "yes") {
_parent.play();
gotoAndStop (1);
} else {
stop();
}
Symbol 205 MovieClip Frame 1
radius = boat._width - 20;
Symbol 206 MovieClip Frame 1
function get_angle(x1, y1, x2, y2, xspeed1, yspeed1, xspeed2, yspeed2, id) {
trace(_name + "andgle");
var yspeed = ((Math.abs(yspeed1) + Math.abs(yspeed2)) / 2);
var xspeed = ((Math.abs(xspeed1) + Math.abs(xspeed2)) / 2);
var angle = ((Math.atan2(y1 - y2, x1 - x2) * 180) / Math.PI);
angle = angle - 90;
if (angle < 0) {
angle = angle + 360;
}
eval (("_root.hover_" + id) + ".bounce")(angle, (yspeed * 3) + 1, (xspeed * 3) + 1);
angle = angle - 180;
if (angle < 0) {
angle = angle + 360;
}
bounce(angle, (yspeed * 3) + 1, (xspeed * 3) + 1);
}
stop();
Symbol 206 MovieClip Frame 2
if (Key.isDown(eval (("_root.player_" + id) + "_key_array")[3])) {
turn = turn_speed;
} else if (Key.isDown(eval (("_root.player_" + id) + "_key_array")[1])) {
turn = -turn_speed;
} else {
turn = 0;
}
angle = angle + turn;
if (angle < 0) {
angle = angle + 360;
}
if (360 < angle) {
angle = angle - 360;
}
if (_root.speed_limit < Math.abs(yspeed)) {
if (0 < yspeed) {
yspeed = _root.speed_limit;
} else {
yspeed = -_root.speed_limit;
}
}
if (_root.speed_limit < Math.abs(xspeed)) {
if (0 < xspeed) {
xspeed = _root.speed_limit;
} else {
xspeed = -_root.speed_limit;
}
}
temp_obj = eval ("_root.hover_" + other_id);
a = _y - temp_obj._y;
b = _x - temp_obj._x;
c = Math.sqrt((a * a) + (b * b));
if (((radius + temp_obj.radius) + 5) >= c) {
get_angle(_x, _y, temp_obj._x, temp_obj._y, temp_obj.xspeed, temp_obj.yspeed, xspeed, yspeed, other_id);
} else {
wall = check_wall();
if (wall eq "cool") {
if (Key.isDown(eval (("_root.player_" + id) + "_key_array")[2])) {
yspeed = yspeed + (acc * Math.cos(((((-angle) + 180) / 360) * 2) * Math.PI));
xspeed = xspeed + (acc * Math.sin(((((-angle) + 180) / 360) * 2) * Math.PI));
} else {
yspeed = yspeed - (yspeed * drag);
xspeed = xspeed - (xspeed * drag);
}
}
}
_y = (_y + yspeed);
_x = (_x + xspeed);
_rotation = angle;
play();
Symbol 206 MovieClip Frame 3
gotoAndPlay (2);
Symbol 206 MovieClip Frame 5
hull.gotoAndStop(id);
play();
Symbol 206 MovieClip Frame 51
gotoAndPlay (5);
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 2
if (_root.possesion ne "-") {
var temp_obj = (("_root.score_panel.score.player_" + _root.possesion) + "_score");
temp_secs = int(getTimer() / 1000) - reset;
Set(temp_obj, Number(temp_score) + temp_secs);
if (eval (temp_obj) < 10) {
Set(temp_obj, "0" + eval (temp_obj));
}
if (eval (temp_obj) == _root.score_limit) {
gotoAndStop (1);
_root.end_game(_root.possesion);
}
}
play();
Symbol 207 MovieClip Frame 3
gotoAndPlay (2);