Frame 1
percent_loaded = "0%";
Frame 3
_quality = "HIGH";
l = _root.getBytesLoaded();
t = _root.getBytesTotal();
percent = Math.ceil((l / t) * 100);
loader_stone.percent_shadow.gotoAndStop(percent);
loader_stone.percent_highlight.gotoAndStop(percent);
darkness._alpha = percent;
if (l < t) {
gotoAndPlay ("preloader_loop");
}
Frame 80
foreground.duplicateMovieClip("foreground_top", 10000);
foreground_top._width = 1000;
foreground_top._height = 900;
foreground_top._x = 0;
foreground_top._y = 0;
foreground_top.fog._alpha = 0;
background_image.moon._rotation = -45;
stopAllSounds();
gbl_level = (gbl_kills = (gbl_points = (gbl_money = 0)));
gbl_level_win = 35;
gbl_level_max = (gbl_kills_max = (gbl_points_max = (gbl_money_max = 0)));
gbl_game_over = (gbl_suicide = 0);
opt_quality = "MEDIUM";
gbl_sound_music = (gbl_sound_effects = 1);
opt_difficulty = 2;
opt_detail = 1;
_quality = "HIGH";
gbl_game_mode = "title";
if (gbl_sound_music == 1) {
music.gotoAndPlay("title");
}
Frame 117
title_container.gotoAndPlay("instructions");
Instance of Symbol 256 MovieClip in Frame 136
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 137
if (gbl_sound_music == 1) {
music.gotoAndPlay("title");
}
gbl_level = 0;
_quality = "HIGH";
Frame 138
stop();
Frame 139
function level_setup() {
gbl_level = gbl_level + 1;
gbl_level_timer_max = (gbl_level_timer = 1000 + (gbl_level * (20 * opt_difficulty)));
gbl_enemy_birth_timer = get_enemy_birth_rate();
gbl_enemy_type_limit = Math.min(Math.ceil(gbl_level / (5 - opt_difficulty)), 9);
gbl_enemy_total = (ar_player[plkl] = 0);
gbl_game_over = (gbl_suicide = 0);
show_hud();
show_defenses();
foreground_top.fog._alpha = gbl_level * 5;
background_image.play();
gbl_game_mode = "game";
}
stopAllSounds();
background_image.gotoAndStop(((opt_detail - 1) * 2) + 1);
background_image.moon.gotoAndStop(opt_detail);
ar_player = Array(0, 0, -1, -1, -1, -1, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
ppts = 0;
pmon = 1;
pwp1 = 2;
prw1 = 3;
pwp2 = 4;
prw2 = 5;
pgkl = 6;
plkl = 7;
pw0 = 8;
pd0 = 17;
pdar = pd0 + 9;
temp = Array("B.B. Gun", 0, 3, 30, 1, ".22 Pistol", 100, 4, 60, 2, "Colt 45", 225, 6, 90, 3, "9mm Beretta", 400, 8, 120, 4, "Shotgun", 600, 6, 150, 8, "Sniper Rifle", 1200, 12, 180, 8, "Uzi Carbine", 1700, 30, 120, 6, "Molotov C.T.", 2000, 2, 180, 15, "Frag. Grenade", 3000, 3, 150, 25);
gbl_ar_weapons = Array();
q = 0;
while ((q * 5) < temp.length) {
gbl_ar_weapons[q] = Array(temp[q * 5], temp[(q * 5) + 1], temp[(q * 5) + 2], temp[(q * 5) + 3], temp[(q * 5) + 4]);
q++;
}
ar_player[pwp1] = gbl_ar_weapons[0][1];
ar_player[pw0 + ar_player[pwp1]] = gbl_ar_weapons[0][2];
ar_player[prw1] = gbl_ar_weapons[0][3];
temp = Array("House", 0, 500, "Boards", 100, 100, "Sand Bags", 150, 150, "Barricade", 200, 200, "Barbed Wire", 300, 100, "Razor Wire", 1000, 250, "Iron Gate", 300, 300, "Bed of Nails", 500, 100, "Land Mines", 1000, 10, "Auto Repair", 2000, 0);
gbl_ar_defenses = Array();
q = 0;
while ((q * 3) < temp.length) {
gbl_ar_defenses[q] = Array(temp[q * 3], temp[(q * 3) + 1], temp[(q * 3) + 2]);
q++;
}
ar_player[pd0] = gbl_ar_defenses[0][2];
temp = Array(10, 3, 0.3, 0.8, 1.5, 15, 5, 0.4, 0.9, 2, 25, 8, 0.5, 1, 1.9, 40, 12, 0.6, 1.1, 2.2, 50, 18, 0.7, 1.2, 2.3, 75, 24, 0.8, 1.3, 2.2, 150, 32, 0.9, 1.4, 2.3, 250, 40, 1, 1.5, 2.4, 400, 50, 1.1, 1.6, 2.4);
gbl_ar_enemies = Array();
q = 0;
while ((q * 5) < temp.length) {
gbl_ar_enemies[q] = Array(temp[q * 5], temp[(q * 5) + 1], temp[(q * 5) + 2], temp[(q * 5) + 3], temp[(q * 5) + 4]);
q++;
}
Instance of Symbol 619 MovieClip "weapon_2" in Frame 139
//component parameters
onClipEvent (construct) {
weapon = 2;
}
Instance of Symbol 619 MovieClip "weapon_1" in Frame 139
//component parameters
onClipEvent (construct) {
weapon = 1;
}
Instance of Symbol 290 MovieClip "total_defense_bar" in Frame 139
//component parameters
onClipEvent (construct) {
percent = 0;
}
Instance of Symbol 290 MovieClip "time_bar" in Frame 139
//component parameters
onClipEvent (construct) {
percent = 0;
}
Instance of Symbol 625 MovieClip "cursor" in Frame 139
onClipEvent (enterFrame) {
Mouse.hide();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
}
Frame 140
function show_hud() {
temp = (temp2 = 0);
q = 0;
while (q < 7) {
if (ar_player[pd0 + q] >= 0) {
temp = temp + ar_player[pd0 + q];
temp2 = temp2 + gbl_ar_defenses[q][2];
}
q++;
}
hud_defenses = "Defenses:" + Math.ceil(temp);
total_defense_bar.percent = temp / temp2;
if (temp == 0) {
gbl_game_over = 1;
}
time_bar.percent = gbl_level_timer / gbl_level_timer_max;
hud_money = "$:" + _root.ar_player[pmon];
hud_points = "Pts:" + _root.ar_player[ppts];
hud_kills = "Kills:" + _root.ar_player[plkl];
hud_time = (("Assault:" + ((_root.gbl_level_win - (5 * _root.opt_difficulty)) - _root.gbl_level)) + "-") + Math.ceil(gbl_level_timer / 30);
weapon_1.rounds_all.gotoAndStop(ar_player[pwp1] + 2);
weapon_1.rounds_all.rounds.gotoAndStop((gbl_ar_weapons[ar_player[pwp1]][2] - ar_player[pw0 + ar_player[pwp1]]) + 1);
weapon_1.reload_bar.percent = ar_player[prw1] / gbl_ar_weapons[ar_player[pwp1]][3];
weapon_2.rounds_all.gotoAndStop(ar_player[pwp2] + 2);
weapon_2.rounds_all.rounds.gotoAndStop((gbl_ar_weapons[ar_player[pwp2]][2] - ar_player[pw0 + ar_player[pwp2]]) + 1);
weapon_2.reload_bar.percent = ar_player[prw2] / gbl_ar_weapons[ar_player[pwp2]][3];
}
function auto_repair() {
if (ar_player[pdar] > 0) {
q = 6;
while (q >= 0) {
if ((ar_player[pd0 + q] >= 0) and (ar_player[pd0 + q] < gbl_ar_defenses[q][2])) {
ar_player[pd0 + q] = ar_player[pd0 + q] + (ar_player[pdar] / 20);
ar_player[pd0 + q] = Math.min(ar_player[pd0 + q], gbl_ar_defenses[q][2]);
return;
}
q--;
}
}
}
function show_defenses() {
q = 0;
while (q < 9) {
_root.temp = q;
if (ar_player[pd0 + q] > 0) {
tellTarget ("defense" + q) {
_alpha = 100;
};
tellTarget ("defbar" + q) {
_alpha = 100;
defense_power = Math.ceil(_root.ar_player[_root.pd0 + _root.temp]);
};
tellTarget (("defbar" + q) + ".defense_bar") {
percent = _root.ar_player[_root.pd0 + _root.temp] / _root.gbl_ar_defenses[_root.temp][2];
};
if (ar_player[pd0 + q] < (gbl_ar_defenses[q][2] / 2)) {
tellTarget ("defense" + _root.temp) {
nextFrame();
};
} else {
tellTarget ("defense" + _root.temp) {
gotoAndStop (1);
};
}
} else {
ar_player[pd0 + q] == -1;
tellTarget ("defense" + q) {
_alpha = 0;
};
tellTarget ("defbar" + q) {
_alpha = 0;
defense_power = "";
gotoAndStop (1);
};
}
q++;
}
}
function get_enemy_birth_rate() {
temp = Math.max(5 - opt_difficulty, (40 - (gbl_level * opt_difficulty)) + Math.round(Math.random() * (90 - (2 * gbl_level))));
return(temp);
}
function create_new_enemy() {
gbl_enemy_birth_timer = gbl_enemy_birth_timer - 1;
if (gbl_enemy_birth_timer == 0) {
_root.temp = Math.ceil(Math.random() * _root.gbl_enemy_type_limit) - 1;
enemy_container.duplicateMovieClip("enemy" + gbl_enemy_total, gbl_enemy_total);
tellTarget ("enemy" + gbl_enemy_total) {
enemy_type = _root.temp;
gotoAndPlay (2);
enemies.enemy.burning.stop();
};
gbl_enemy_birth_timer = get_enemy_birth_rate();
gbl_enemy_total++;
}
}
function move_player() {
if ((_root._xmouse < (_root.player._x - 40)) and (_root.player._x > 225)) {
_root.player._x = _root.player._x - 1;
_root.player.gotoAndStop("left");
return(undefined);
}
if ((_root._xmouse > (_root.player._x + 40)) and (_root.player._x < 275)) {
_root.player._x = _root.player._x + 1;
_root.player.gotoAndStop("right");
return(undefined);
}
_root.player.gotoAndStop("aim");
}
function check_ammo() {
if (Key.isDown(17)) {
if (ar_player[pw0 + ar_player[pwp2]] > 0) {
return(2);
}
return(0);
}
if (ar_player[pw0 + ar_player[pwp1]] > 0) {
return(1);
}
return(0);
}
function check_weapons_fired() {
cursor.onMouseDown = function () {
weapon_fired = check_ammo();
if (gbl_sound_effects == 1) {
if (weapon_fired == 0) {
gun_empty.gotoAndPlay(2);
} else {
frame = (ar_player[pwp1 + ((weapon_fired - 1) * 2)] * 2) + 2;
gun_fire.gotoAndPlay(frame);
}
}
if (weapon_fired == 1) {
ar_player[pw0 + ar_player[pwp1]] = ar_player[pw0 + ar_player[pwp1]] - 1;
if (ar_player[pw0 + ar_player[pwp1]] == 0) {
ar_player[prw1] = 0;
}
show_shot();
}
if (weapon_fired == 2) {
ar_player[pw0 + ar_player[pwp2]] = ar_player[pw0 + ar_player[pwp2]] - 1;
if (ar_player[pw0 + ar_player[pwp2]] == 0) {
ar_player[prw2] = 0;
}
show_shot();
}
};
}
function show_shot() {
if (ar_player[pwp1 + ((weapon_fired - 1) * 2)] < 7) {
if (_root._xmouse > _root.player._x) {
bullet_tracer_right._height = _root._ymouse - _root.player._y;
bullet_tracer_right._width = _root._xmouse - _root.player._x;
bullet_tracer_right.play();
bullet_tracer_right._y = _root.player._y;
bullet_tracer_right._x = _root.player._x;
} else {
bullet_tracer_left._height = _root._ymouse - _root.player._y;
bullet_tracer_left._width = _root.player._x - _root._xmouse;
bullet_tracer_left.play();
bullet_tracer_left._y = _root.player._y;
bullet_tracer_left._x = _root.player._x;
}
}
if (ar_player[pwp1 + ((weapon_fired - 1) * 2)] == 7) {
name = "fire" + Math.round(Math.random() * 10000);
fire_container.fire.duplicateMovieClip("" + name, 4000 + Math.round(Math.random() * 1000));
tellTarget ("_root.fire_container." + name) {
_x = _root._xmouse;
_y = Math.max(_root._ymouse, 200);
play();
};
}
if (ar_player[pwp1 + ((weapon_fired - 1) * 2)] == 8) {
number = ar_player[pw0 + ar_player[pwp1 + ((weapon_fired - 1) * 2)]];
explosion_container.explosion.duplicateMovieClip("explosion" + number, 3000 + number);
tellTarget ("_root.explosion_container.explosion" + number) {
_x = _root._xmouse;
_y = Math.max(_root._ymouse, 200);
play();
};
}
}
function reload_weapons() {
if (ar_player[pw0 + ar_player[pwp1]] == 0) {
ar_player[prw1] = ar_player[prw1] + 1;
if (ar_player[prw1] >= gbl_ar_weapons[ar_player[pwp1]][3]) {
ar_player[pw0 + ar_player[pwp1]] = gbl_ar_weapons[ar_player[pwp1]][2];
ar_player[prw1] = gbl_ar_weapons[ar_player[pwp1]][3];
if (gbl_sound_effects == 1) {
frame = (ar_player[pwp1] * 2) + 2;
gun_reload.gotoAndPlay(frame);
}
}
}
if ((ar_player[pw0 + ar_player[pwp2]] == 0) and (ar_player[pwp2] != -1)) {
ar_player[prw2] = ar_player[prw2] + 1;
if (ar_player[prw2] >= gbl_ar_weapons[ar_player[pwp2]][3]) {
ar_player[pw0 + ar_player[pwp2]] = gbl_ar_weapons[ar_player[pwp2]][2];
ar_player[prw2] = gbl_ar_weapons[ar_player[pwp2]][3];
}
}
}
function set_tally_values() {
upkeep_money = ar_player[pmon];
upkeep_points = ar_player[ppts];
upkeep_level = (gbl_level + "/") + (gbl_level_win - (5 * opt_difficulty));
upkeep_level_kills = ar_player[plkl];
upkeep_game_kills = ar_player[pgkl];
}
function recall_max_scores() {
if (gbl_money_max < ar_player[pmon]) {
gbl_money_max = ar_player[pmon];
}
if (gbl_points_max < ar_player[ppts]) {
gbl_points_max = ar_player[ppts];
}
if (gbl_kills_max < ar_player[pgkl]) {
gbl_kills_max = ar_player[pgkl];
}
if (gbl_level_max < gbl_level) {
gbl_level_max = gbl_level;
}
}
level_setup();
Frame 141
_quality = opt_quality;
if (gbl_sound_music == 1) {
stopAllSounds();
music.gotoAndPlay("game_start");
}
Frame 153
check_weapons_fired();
reload_weapons();
move_player();
auto_repair();
show_defenses();
show_hud();
if (gbl_level_timer > 0) {
gbl_level_timer--;
create_new_enemy();
}
if (gbl_game_over == 1) {
recall_max_scores();
set_tally_values();
gotoAndPlay ("game_over");
} else if ((gbl_level_timer > 0) or (gbl_enemy_total > ar_player[plkl])) {
gotoAndPlay ("game_loop");
} else {
ar_player[pgkl] = ar_player[pgkl] + ar_player[plkl];
play();
}
Frame 164
set_tally_values();
if (gbl_level == (gbl_level_win - (5 * opt_difficulty))) {
recall_max_scores();
gotoAndPlay ("game_win");
}
Frame 165
function repair_cost(num) {
return(Math.ceil((gbl_ar_defenses[num][2] - ar_player[pd0 + num]) / 2));
}
function display_costs() {
weap_name = "";
weap_shots = "";
weap_damage = "";
weap_cost = "";
q = 0;
while (q < 9) {
weap_name = weap_name + (gbl_ar_weapons[q][0] + newline);
weap_shots = weap_shots + (gbl_ar_weapons[q][2] + newline);
weap_damage = weap_damage + (gbl_ar_weapons[q][4] + newline);
weap_cost = weap_cost + (("$" + gbl_ar_weapons[q][1]) + newline);
q++;
}
def_name = "";
def_power = "";
def_cost = "";
q = 0;
while (q < 10) {
def_name = def_name + (gbl_ar_defenses[q][0] + newline);
if ((ar_player[pd0 + q] == -1) or (q >= 7)) {
def_cost = def_cost + (("$" + gbl_ar_defenses[q][1]) + newline);
} else {
def_cost = def_cost + (("$" + repair_cost(q)) + newline);
}
if (ar_player[pd0 + q] > -1) {
def_power = def_power + (Math.ceil(ar_player[pd0 + q]) + newline);
} else {
def_power = def_power + (("+" + gbl_ar_defenses[q][2]) + newline);
}
q++;
}
}
function update_weapon_buttons() {
q = 0;
while (q < 9) {
if (ar_player[pw0 + q] == -1) {
tellTarget ("weap_" + q) {
gotoAndStop (1);
};
if ((ar_player[pmon] >= gbl_ar_weapons[q][1]) and (ar_player[pw0 + q] == -1)) {
tellTarget (("weap_" + q) + ".buy") {
gotoAndStop (1);
};
} else {
tellTarget (("weap_" + q) + ".buy") {
gotoAndStop (2);
};
}
} else {
tellTarget ("weap_" + q) {
gotoAndStop (2);
};
tellTarget (("weap_" + q) + ".main") {
gotoAndStop (1);
};
tellTarget (("weap_" + q) + ".alt") {
gotoAndStop (1);
};
if (_root.ar_player[pwp1] == q) {
tellTarget (("weap_" + q) + ".main") {
gotoAndStop (2);
};
tellTarget (("weap_" + q) + ".alt") {
gotoAndStop (1);
};
} else if (_root.ar_player[pwp2] == q) {
tellTarget (("weap_" + q) + ".main") {
gotoAndStop (1);
};
tellTarget (("weap_" + q) + ".alt") {
gotoAndStop (2);
};
} else if (_root.ar_player[pw0 + q] == -1) {
}
}
q++;
}
}
function update_defense_buttons() {
q = 0;
while (q < 9) {
if ((ar_player[pmon] >= gbl_ar_defenses[q][1]) and (ar_player[pd0 + q] == -1)) {
tellTarget ("def" + q) {
gotoAndStop (1);
};
} else {
tellTarget ("def" + q) {
gotoAndStop (2);
};
}
if ((ar_player[pd0 + q] != -1) and (q < 7)) {
if ((ar_player[pmon] > 0) and (repair_cost(q) > 0)) {
tellTarget ("def" + q) {
gotoAndStop (3);
};
} else {
tellTarget ("def" + q) {
gotoAndStop (4);
};
}
}
q++;
}
if (ar_player[pmon] >= gbl_ar_defenses[q][1]) {
tellTarget ("def" + q) {
gotoAndStop (1);
};
} else {
tellTarget ("def" + q) {
gotoAndStop (2);
};
}
}
if (gbl_sound_music == 1) {
stopAllSounds();
music.gotoAndPlay("upkeep");
}
gbl_game_mode = "upkeep";
foreground_top.fog._alpha = 0;
background_image.stop();
if (opt_quality == "LOW") {
_quality = "MEDIUM";
} else {
_quality = "HIGH";
}
display_costs();
update_weapon_buttons();
update_defense_buttons();
Instance of Symbol 766 MovieClip "def0" in Frame 165
//component parameters
onClipEvent (construct) {
number = 0;
}
Instance of Symbol 766 MovieClip "def1" in Frame 165
//component parameters
onClipEvent (construct) {
number = 1;
}
Instance of Symbol 766 MovieClip "def2" in Frame 165
//component parameters
onClipEvent (construct) {
number = 2;
}
Instance of Symbol 766 MovieClip "def3" in Frame 165
//component parameters
onClipEvent (construct) {
number = 3;
}
Instance of Symbol 766 MovieClip "def4" in Frame 165
//component parameters
onClipEvent (construct) {
number = 4;
}
Instance of Symbol 766 MovieClip "def5" in Frame 165
//component parameters
onClipEvent (construct) {
number = 5;
}
Instance of Symbol 766 MovieClip "def6" in Frame 165
//component parameters
onClipEvent (construct) {
number = 6;
}
Instance of Symbol 766 MovieClip "def7" in Frame 165
//component parameters
onClipEvent (construct) {
number = 7;
}
Instance of Symbol 766 MovieClip "def8" in Frame 165
//component parameters
onClipEvent (construct) {
number = 8;
}
Instance of Symbol 766 MovieClip "def9" in Frame 165
//component parameters
onClipEvent (construct) {
number = 9;
}
Instance of Symbol 787 MovieClip "weap_0" in Frame 165
//component parameters
onClipEvent (construct) {
number = 0;
}
Instance of Symbol 787 MovieClip "weap_4" in Frame 165
//component parameters
onClipEvent (construct) {
number = 4;
}
Instance of Symbol 787 MovieClip "weap_3" in Frame 165
//component parameters
onClipEvent (construct) {
number = 3;
}
Instance of Symbol 787 MovieClip "weap_1" in Frame 165
//component parameters
onClipEvent (construct) {
number = 1;
}
Instance of Symbol 787 MovieClip "weap_7" in Frame 165
//component parameters
onClipEvent (construct) {
number = 7;
}
Instance of Symbol 787 MovieClip "weap_8" in Frame 165
//component parameters
onClipEvent (construct) {
number = 8;
}
Instance of Symbol 787 MovieClip "weap_2" in Frame 165
//component parameters
onClipEvent (construct) {
number = 2;
}
Instance of Symbol 787 MovieClip "weap_6" in Frame 165
//component parameters
onClipEvent (construct) {
number = 6;
}
Instance of Symbol 787 MovieClip "weap_5" in Frame 165
//component parameters
onClipEvent (construct) {
number = 5;
}
Instance of Symbol 256 MovieClip in Frame 165
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 166
display_costs();
update_weapon_buttons();
update_defense_buttons();
set_tally_values();
Frame 167
gotoAndPlay ("upkeep_loop");
Frame 168
foreground_top.fog._alpha = 0;
background_image.stop();
gbl_game_mode = "game_over";
Instance of Symbol 625 MovieClip "cursor" in Frame 168
onClipEvent (enterFrame) {
Mouse.hide();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
}
Frame 172
_quality = "HIGH";
foreground_top.fog._alpha = 0;
stop();
Frame 174
_quality = "HIGH";
foreground_top.fog._alpha = 0;
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 29
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 2
moon._rotation = moon._rotation + 0.01;
if (moon._rotation > 90) {
moon._rotation = 270;
}
cloud1._x = cloud1._x - 1;
cloud2._x = cloud2._x - 1.2;
cloud3._x = cloud3._x - 1.4;
if (cloud1._x < -650) {
cloud1._x = 420 + (Math.random() * 100);
}
if (cloud2._x < -650) {
cloud2._x = 420 + (Math.random() * 100);
}
if (cloud3._x < -650) {
cloud3._x = 420 + (Math.random() * 100);
}
gotoAndPlay ("complex");
Symbol 84 MovieClip Frame 4
moon._rotation = moon._rotation + 0.01;
if (moon._rotation > 90) {
moon._rotation = 270;
}
gotoAndPlay ("simple");
Symbol 91 MovieClip Frame 1
gotoAndStop(frame);
Symbol 93 MovieClip Frame 1
stop();
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Symbol 93 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(2);
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 4;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 3;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 3;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Symbol 101 MovieClip Frame 1
start_pause = Math.ceil((Math.random() * 600) + 60);
blood_length = Math.random() * 25;
Symbol 101 MovieClip Frame 3
if (start_pause > 0) {
start_pause--;
} else if (line._height < blood_length) {
blood_add = (1 - (line._height / blood_length)) / 2;
line._height = line._height + blood_add;
drop._y = drop._y + blood_add;
}
gotoAndPlay ("loop");
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 7
stop();
Symbol 114 MovieClip Frame 10
stop();
Symbol 114 MovieClip Frame 13
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 4
stop();
Symbol 120 MovieClip Frame 7
stop();
Symbol 120 MovieClip Frame 10
stop();
Symbol 120 MovieClip Frame 13
stop();
Symbol 126 Button
on (release) {
_root.play();
}
Symbol 138 MovieClip Frame 1
if (_root.gbl_money_max == 0) {
stop();
}
Symbol 138 MovieClip Frame 2
stop();
Symbol 143 Button
on (release) {
this.gotoAndStop("instructions");
}
Symbol 146 Button
on (release) {
this.gotoAndStop("options");
}
Symbol 149 Button
on (release) {
this.gotoAndStop("credits");
}
Symbol 152 Button
on (release) {
this.gotoAndStop("play");
}
Instance of Symbol 155 MovieClip "bar" in Symbol 156 MovieClip Frame 1
on (press) {
startDrag (this, true, 0, 0, 0, 200);
}
on (release) {
stopDrag();
}
Symbol 209 MovieClip Frame 1
if (_root.opt_difficulty == 1) {
easy._alpha = 100;
} else {
easy._alpha = 0;
}
if (_root.opt_difficulty == 2) {
normal._alpha = 100;
} else {
normal._alpha = 0;
}
if (_root.opt_difficulty == 3) {
hard._alpha = 100;
} else {
hard._alpha = 0;
}
Symbol 210 MovieClip Frame 1
if (_root.opt_quality == "LOW") {
low._alpha = 100;
} else {
low._alpha = 0;
}
if (_root.opt_quality == "MEDIUM") {
medium._alpha = 100;
} else {
medium._alpha = 0;
}
if (_root.opt_quality == "HIGH") {
high._alpha = 100;
} else {
high._alpha = 0;
}
Symbol 211 MovieClip Frame 1
if (_root.opt_detail == 1) {
high._alpha = 100;
} else {
high._alpha = 0;
}
if (_root.opt_detail == 2) {
low._alpha = 100;
} else {
low._alpha = 0;
}
Symbol 212 MovieClip Frame 1
if (_root.gbl_sound_effects == 0) {
low._alpha = 100;
} else {
low._alpha = 0;
}
if (_root.gbl_sound_effects == 1) {
high._alpha = 100;
} else {
high._alpha = 0;
}
Symbol 213 MovieClip Frame 1
if (_root.gbl_sound_music == 0) {
low._alpha = 100;
} else {
low._alpha = 0;
}
if (_root.gbl_sound_music == 1) {
high._alpha = 100;
} else {
high._alpha = 0;
}
Symbol 219 Button
on (release) {
_root.opt_detail = 2;
background_image.gotoAndStop(((_root.opt_detail - 1) * 2) + 1);
background_image.moon.gotoAndStop(_root.opt_detail);
}
Symbol 222 Button
on (release) {
_root.opt_detail = 1;
background_image.gotoAndStop(((_root.opt_detail - 1) * 2) + 1);
background_image.moon.gotoAndStop(_root.opt_detail);
}
Symbol 223 Button
on (release) {
_root.opt_quality = "LOW";
}
Symbol 226 Button
on (release) {
_root.opt_quality = "MEDIUM";
}
Symbol 227 Button
on (release) {
_root.opt_quality = "HIGH";
}
Symbol 231 Button
on (release) {
_root.gbl_money_max = (_root.gbl_points_max = (_root.gbl_level_max = (_root.gbl_kills_max = 0)));
_root.opt_difficulty = 2;
}
Symbol 234 Button
on (release) {
_root.gbl_money_max = (_root.gbl_points_max = (_root.gbl_level_max = (_root.gbl_kills_max = 0)));
_root.opt_difficulty = 3;
}
Symbol 237 Button
on (release) {
_root.gbl_money_max = (_root.gbl_points_max = (_root.gbl_level_max = (_root.gbl_kills_max = 0)));
_root.opt_difficulty = 1;
}
Symbol 242 Button
on (release) {
_root.gbl_sound_effects = 0;
}
Symbol 243 Button
on (release) {
stopAllSounds();
_root.gbl_sound_music = 0;
}
Symbol 246 Button
on (release) {
_root.gbl_sound_effects = 1;
}
Symbol 247 Button
on (release) {
_root.music.gotoAndPlay("title");
_root.gbl_sound_music = 1;
}
Symbol 253 Button
on (release) {
getURL ("http://www.seawana.com/games.php", _blank);
}
Symbol 254 MovieClip Frame 5
gotoAndPlay ("play");
Symbol 254 MovieClip Frame 6
scroll_content._y = -Math.ceil((scroll_content._height * (scrollbar.bar._y / scrollbar._height)) + 110);
Symbol 254 MovieClip Frame 8
scroll_content._y = -Math.ceil((scroll_content._height * (scrollbar.bar._y / scrollbar._height)) + 110);
gotoAndPlay ("instructions");
Symbol 254 MovieClip Frame 9
background_image.gotoAndStop(((_root.opt_detail - 1) * 2) + 1);
background_image.moon.gotoAndStop(_root.opt_detail);
Symbol 254 MovieClip Frame 13
gotoAndPlay ("options");
Symbol 254 MovieClip Frame 19
gotoAndPlay ("credits");
Symbol 259 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
gotoAndStop(frame);
Symbol 267 MovieClip Frame 1
stop();
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Symbol 267 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(4);
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 3;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
frame = 2;
}
Symbol 270 MovieClip Frame 1
gotoAndStop(frame);
Symbol 271 MovieClip Frame 1
stop();
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Instance of Symbol 270 MovieClip in Symbol 271 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
frame = 1;
}
Symbol 271 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(6);
}
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(8);
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(10);
}
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(12);
}
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
if (_root.gbl_sound_effects == 1) {
_root.defense_break.gotoAndPlay(14);
}
Symbol 290 MovieClip Frame 1
this.light._width = this.dark._width * this.percent;
Symbol 291 MovieClip Frame 1
if (_root.opt_detail == 1) {
backing._alpha = 50;
} else {
backing._alpha = 100;
}
Instance of Symbol 290 MovieClip "defense_bar" in Symbol 291 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
percent = 0.5;
}
Symbol 301 Button
on (release) {
if (_root.ar_player[_root.pwp1 + ((_root.weapon_fired - 1) * 2)] < 7) {
_root.gbl_suicide = 1;
_root.gbl_game_over = 1;
}
}
Symbol 320 Button
on (release) {
if (_root.weapon_fired) {
_parent._parent.health = _parent._parent.health - (_root.gbl_ar_weapons[_root.ar_player[_root.pwp1 + ((_root.weapon_fired - 1) * 2)]][4] * damage_percent);
tellTarget ("_parent." + movie_clip_name) {
nextFrame();
};
if ((_parent._parent._parent._parent.health_old - _parent._parent.health) >= (_parent._parent._parent._parent.health_max / 2)) {
tellTarget ("_parent." + movie_clip_name) {
nextFrame();
};
}
if (_parent.health == 0) {
gotoAndPlay ("die");
}
}
}
Symbol 326 MovieClip Frame 1
frame = Math.floor(Math.random() * 3);
gotoAndStop(frame);
Symbol 330 MovieClip Frame 1
frame = Math.floor(Math.random() * 3);
gotoAndStop(frame);
Symbol 331 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
frame = Math.floor(Math.random() * 3);
gotoAndStop(frame);
Symbol 339 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 360 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
movie_clip_name = "leg_left";
damage_percent = 0.75;
}
Symbol 362 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 384 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
movie_clip_name = "leg_right";
damage_percent = 0.75;
}
Symbol 392 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 442 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 443 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
movie_clip_name = "arm_right";
damage_percent = 0.4;
}
Symbol 450 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 495 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
movie_clip_name = "arm_left";
damage_percent = 0.4;
}
Symbol 500 MovieClip Frame 1
frame = Math.floor(Math.random() * 3);
gotoAndStop(frame);
Symbol 501 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 516 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
movie_clip_name = "head";
damage_percent = 1.5;
}
Instance of Symbol 321 MovieClip in Symbol 516 MovieClip Frame 7
//component parameters
onClipEvent (construct) {
movie_clip_name = "head";
damage_percent = 1.5;
}
Symbol 518 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 1
stop();
Symbol 534 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 535 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
movie_clip_name = "body";
damage_percent = 1;
}
Symbol 541 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 1
stop();
Instance of Symbol 321 MovieClip in Symbol 542 MovieClip Frame 9
//component parameters
onClipEvent (construct) {
movie_clip_name = "tail";
damage_percent = 0.3;
}
Symbol 545 MovieClip Frame 1
gotoAndPlay(Math.ceil(Math.random() * 4));
Symbol 545 MovieClip Frame 2
gotoAndPlay(Math.ceil(Math.random() * 4));
Symbol 545 MovieClip Frame 3
gotoAndPlay(Math.ceil(Math.random() * 4));
Symbol 545 MovieClip Frame 4
gotoAndPlay(Math.ceil(Math.random() * 4));
Symbol 549 MovieClip Frame 35
stop();
Symbol 550 MovieClip Frame 3
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 5
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 7
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 9
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 11
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 13
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 15
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 17
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 19
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 21
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 23
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 25
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 27
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 29
if (attack == 1) {
gotoAndPlay ("attack");
} else if (health > 0) {
gotoAndPlay ("walk");
} else {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 32
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 34
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 36
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 38
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 40
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 42
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 44
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 46
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 48
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 50
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 52
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 54
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 56
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 58
if (health <= (-total_health)) {
gotoAndPlay ("explode");
} else if (health <= ((-total_health) / 2)) {
gotoAndPlay ("really_die");
} else if (health <= 0) {
gotoAndPlay ("die");
}
Symbol 550 MovieClip Frame 60
if (health > 0) {
gotoAndPlay ("attack");
}
Symbol 550 MovieClip Frame 61
temp = Math.floor(Math.random() * 3);
if (temp == 1) {
gotoAndPlay ("die1");
}
if (temp == 2) {
gotoAndPlay ("die2");
}
Symbol 550 MovieClip Frame 75
stop();
Symbol 550 MovieClip Frame 90
stop();
Symbol 550 MovieClip Frame 105
stop();
Symbol 550 MovieClip Frame 106
temp = Math.floor(Math.random() * 3);
if (temp == 1) {
gotoAndPlay ("really_die1");
}
if (temp == 2) {
gotoAndPlay ("really_die2");
}
Symbol 550 MovieClip Frame 125
stop();
Symbol 550 MovieClip Frame 144
stop();
Symbol 550 MovieClip Frame 172
stop();
Symbol 550 MovieClip Frame 173
temp = Math.floor(Math.random() * 3);
if (temp == 1) {
gotoAndPlay ("explode1");
}
if (temp == 2) {
gotoAndPlay ("explode2");
}
Symbol 550 MovieClip Frame 189
stop();
Symbol 550 MovieClip Frame 206
stop();
Symbol 550 MovieClip Frame 224
stop();
Symbol 551 MovieClip Frame 1
if (Math.random() < 0.5) {
nextFrame();
}
stop();
Symbol 551 MovieClip Frame 2
stop();
Symbol 573 MovieClip Frame 1
if (Math.random() < 0.5) {
gotoAndPlay ("two");
}
Symbol 573 MovieClip Frame 12
stop();
Symbol 573 MovieClip Frame 25
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
_x = ((Math.random() * 460) + 20);
_y = 430;
ya = (0.1 + ((_root.gbl_ar_enemies[enemy_type][3] * Math.random()) / 2)) + ((_root.gbl_ar_enemies[enemy_type][3] * Math.random()) / 2);
xa = ya * 0.8;
enemies.enemy.heads.gotoAndStop(enemy_type + 1);
enemies.enemy.bodys.gotoAndStop(enemy_type + 1);
enemies.enemy.arm_lefts.gotoAndStop(enemy_type + 1);
enemies.enemy.arm_rights.gotoAndStop(enemy_type + 1);
enemies.enemy.leg_lefts.gotoAndStop(enemy_type + 1);
enemies.enemy.leg_rights.gotoAndStop(enemy_type + 1);
enemies.enemy.tails.gotoAndStop(enemy_type + 1);
enemies.enemy.health = (enemies.enemy.total_health = _root.gbl_ar_enemies[enemy_type][1]);
health_max = (health_old = enemies.enemy.health);
enemies._width = enemies._width * _root.gbl_ar_enemies[enemy_type][4];
enemies._height = enemies._height * _root.gbl_ar_enemies[enemy_type][4];
step_test._y = enemies._height * 0.66;
max_width = this._width;
max_height = this._height;
max_y = _y;
enemies.enemy.attack = 0;
speak_timer = Math.ceil(Math.random() * 60);
play();
Symbol 574 MovieClip Frame 4
if (enemies.enemy.health > 0) {
top_y = 185;
defense_damage = 0;
if (_root.ar_player[_root.pd0 + 3] > 0) {
top_y = 195;
}
if (_root.ar_player[_root.pd0 + 4] > 0) {
top_y = 210;
defense_damage = 0.1;
}
if (_root.ar_player[_root.pd0 + 5] > 0) {
top_y = 220;
defense_damage = 0.3;
}
if (_root.ar_player[_root.pd0 + 6] > 0) {
top_y = 230;
defense_damage = 0;
}
if (_y > top_y) {
_y = (_y - ya);
percent = (max_y - _y) / max_y;
this._width = max_width * (1 - percent);
this._height = max_height * (1 - percent);
if (_x < 240) {
_x = (_x + (xa / 2));
if (_x < 200) {
_x = (_x + (xa / 2));
}
}
if (_x > 260) {
_x = (_x - (xa / 2));
if (_x > 300) {
_x = (_x - (xa / 2));
}
}
} else {
enemies.enemy.attack = 1;
enemies.enemy.health = enemies.enemy.health - defense_damage;
q = 6;
while (q >= 0) {
if (_root.ar_player[_root.pd0 + q] > 0) {
_root.ar_player[_root.pd0 + q] = _root.ar_player[_root.pd0 + q] - _root.gbl_ar_enemies[enemy_type][2];
if (_root.ar_player[_root.pd0 + q] <= 0) {
_root.ar_player[_root.pd0 + q] = -1;
if (q == 0) {
_root.gbl_game_over = 1;
}
}
break;
}
q--;
}
}
if (_root.gbl_sound_effects == 1) {
if (speak_timer > 0) {
speak_timer = speak_timer - 1;
} else {
tellTarget ("_root.enemy_" + enemy_type) {
play();
};
speak_timer = Math.ceil(Math.random() * 90) + 60;
}
}
}
if ((step_test.hitTest(_root.defense7) && (enemies.enemy.health > 0)) && (_root.ar_player[_root.pd0 + 7] > 0)) {
if ((Math.random() * 20) < 1) {
enemies.enemy.health = enemies.enemy.health - 1;
health_old = health_old - 1;
_root.ar_player[_root.pd0 + 7] = _root.ar_player[_root.pd0 + 7] - 1;
if (_root.ar_player[_root.pd0 + 7] == 0) {
_root.ar_player[_root.pd0 + 7] = -1;
}
blood._x = 0;
blood._y = 30;
blood.play();
}
}
if ((_root.defense8.hitTest(_x + step_test._x, _y + (step_test._y * 0.66), true) && (enemies.enemy.health > 0)) && (_root.ar_player[_root.pd0 + 8] > 0)) {
if ((Math.random() * 10) < 9) {
name = "landmine" + _root.ar_player[_root.pd0 + 8];
enemies.enemy.health = enemies.enemy.health - 30;
health_old = health_old - 30;
_root.ar_player[_root.pd0 + 8] = _root.ar_player[_root.pd0 + 8] - 1;
if (_root.ar_player[_root.pd0 + 8] == 0) {
_root.ar_player[_root.pd0 + 8] = -1;
}
_root.explosion_container.explosion.duplicateMovieClip("" + name, 3000 + Math.round(Math.random() * 1000));
_root.temp1 = _x + step_test._x;
_root.temp2 = _y + (step_test._y * 0.66);
_root.explosion_container.explosion._x = _root.temp1;
_root.explosion_container.explosion._y = _root.temp2;
tellTarget ("_root.explosion_container." + name) {
_x = _root.temp1;
_y = _root.temp2;
};
blood._x = 0;
blood._y = 15;
blood.play();
if (_root.gbl_sound_effects == 1) {
_root.gun_fire.gotoAndPlay(20);
}
}
}
if ((((((((((this.hitTest(_root.explosion_container.landmine0) || (this.hitTest(_root.explosion_container.landmine1))) || (this.hitTest(_root.explosion_container.landmine2))) || (this.hitTest(_root.explosion_container.landmine3))) || (this.hitTest(_root.explosion_container.landmine4))) || (this.hitTest(_root.explosion_container.landmine5))) || (this.hitTest(_root.explosion_container.landmine6))) || (this.hitTest(_root.explosion_container.landmine7))) || (this.hitTest(_root.explosion_container.landmine8))) || (this.hitTest(_root.explosion_container.landmine9))) && (enemies.enemy.health > 0)) {
if ((Math.random() * 10) < 9) {
enemies.enemy.health = enemies.enemy.health - (_root.gbl_ar_weapons[8][4] / 10);
health_old = health_old - (_root.gbl_ar_weapons[8][4] / 10);
blood._x = 0;
blood._y = 15 * _root.gbl_ar_enemies[enemy_type][4];
blood.play();
enemies.enemy.burning.play();
}
}
if (_root.fire_container.hitTest(_x + step_test._x, _y + (step_test._y * 0.66), true) && (enemies.enemy.health > 0)) {
if ((Math.random() * 10) < 3) {
enemies.enemy.health = enemies.enemy.health - (_root.gbl_ar_weapons[7][4] / 5);
health_old = health_old - (_root.gbl_ar_weapons[7][4] / 5);
blood._x = 0;
blood._y = 15 * _root.gbl_ar_enemies[enemy_type][4];
blood.play();
enemies.enemy.burning.play();
}
}
if (((this.hitTest(_root.explosion_container.explosion0) || (this.hitTest(_root.explosion_container.explosion1))) || (this.hitTest(_root.explosion_container.explosion2))) && (enemies.enemy.health > 0)) {
if ((Math.random() * 10) < 10) {
enemies.enemy.health = enemies.enemy.health - (_root.gbl_ar_weapons[8][4] / 10);
health_old = health_old - (_root.gbl_ar_weapons[8][4] / 10);
blood._x = 0;
blood._y = 15 * _root.gbl_ar_enemies[enemy_type][4];
blood.play();
enemies.enemy.burning.play();
}
}
if (enemies.enemy.health != health_old) {
if (defense_damage == 0) {
blood._x = _root._xmouse - _x;
blood._y = _root._ymouse - _y;
if (_root.gbl_sound_effects == 1) {
_root.enemy_hit.play();
}
} else {
blood._x = 0;
blood._y = 10 * _root.gbl_ar_enemies[enemy_type][4];
}
blood.play();
}
if ((enemies.enemy.health <= 0) or (_root.gbl_game_over == 1)) {
_alpha = (_alpha - 2);
if (_alpha <= 0) {
_root.ar_player[_root.plkl] = _root.ar_player[_root.plkl] + 1;
_root.ar_player[_root.ppts] = _root.ar_player[_root.ppts] + _root.gbl_ar_enemies[enemy_type][0];
_root.ar_player[_root.pmon] = _root.ar_player[_root.pmon] + (_root.gbl_ar_enemies[enemy_type][1] * (4 - _root.opt_difficulty));
this.removeMovieClip();
}
}
health_old = enemies.enemy.health;
if (_root.gbl_game_over == 1) {
this.removeMovieClip();
}
if (_root.gbl_game_mode != "game") {
this.removeMovieClip();
}
gotoAndPlay ("enemy_loop");
Symbol 577 MovieClip Frame 3
_x = -1000;
stop();
Symbol 582 MovieClip Frame 289
this.removeMovieClip();
Symbol 584 MovieClip Frame 20
this.removeMovieClip();
Symbol 584 MovieClip Frame 21
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 1
stop();
Instance of Symbol 290 MovieClip "reload_bar" in Symbol 619 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
percent = 0;
}
Symbol 620 Button
on (rollOver) {
_root.opt_quality = "LOW";
_quality = _root.opt_quality;
}
Symbol 621 Button
on (rollOver) {
_root.opt_quality = "MEDIUM";
_quality = _root.opt_quality;
}
Symbol 622 Button
on (rollOver) {
_root.opt_quality = "HIGH";
_quality = _root.opt_quality;
}
Symbol 623 Button
on (release) {
_root.gbl_game_mode = "title";
_root.gotoAndPlay("title_loop");
}
Symbol 637 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 3
stop();
Symbol 637 MovieClip Frame 5
stop();
Symbol 637 MovieClip Frame 7
stop();
Symbol 637 MovieClip Frame 9
stop();
Symbol 637 MovieClip Frame 11
stop();
Symbol 637 MovieClip Frame 13
stop();
Symbol 637 MovieClip Frame 15
stop();
Symbol 637 MovieClip Frame 17
stop();
Symbol 637 MovieClip Frame 19
stop();
Symbol 637 MovieClip Frame 21
stop();
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 3
stop();
Symbol 640 MovieClip Frame 5
stop();
Symbol 640 MovieClip Frame 7
stop();
Symbol 640 MovieClip Frame 9
stop();
Symbol 640 MovieClip Frame 11
stop();
Symbol 640 MovieClip Frame 13
stop();
Symbol 640 MovieClip Frame 15
stop();
Symbol 640 MovieClip Frame 17
stop();
Symbol 640 MovieClip Frame 19
stop();
Symbol 650 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 3
stop();
Symbol 650 MovieClip Frame 5
stop();
Symbol 650 MovieClip Frame 7
stop();
Symbol 650 MovieClip Frame 9
stop();
Symbol 650 MovieClip Frame 11
stop();
Symbol 650 MovieClip Frame 13
stop();
Symbol 650 MovieClip Frame 15
stop();
Symbol 650 MovieClip Frame 17
stop();
Symbol 650 MovieClip Frame 19
stop();
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 3
stop();
Symbol 659 MovieClip Frame 5
stop();
Symbol 659 MovieClip Frame 7
stop();
Symbol 659 MovieClip Frame 9
stop();
Symbol 659 MovieClip Frame 11
stop();
Symbol 659 MovieClip Frame 13
stop();
Symbol 659 MovieClip Frame 15
stop();
Symbol 668 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 668 MovieClip Frame 4
gotoAndStop (1);
Symbol 668 MovieClip Frame 6
gotoAndStop (1);
Symbol 668 MovieClip Frame 8
gotoAndStop (1);
Symbol 668 MovieClip Frame 10
gotoAndStop (1);
Symbol 668 MovieClip Frame 12
gotoAndStop (1);
Symbol 668 MovieClip Frame 14
gotoAndStop (1);
Symbol 668 MovieClip Frame 16
gotoAndStop (1);
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 676 MovieClip Frame 4
gotoAndStop (1);
Symbol 676 MovieClip Frame 6
gotoAndStop (1);
Symbol 676 MovieClip Frame 8
gotoAndStop (1);
Symbol 676 MovieClip Frame 10
gotoAndStop (1);
Symbol 676 MovieClip Frame 12
gotoAndStop (1);
Symbol 676 MovieClip Frame 14
gotoAndStop (1);
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 685 MovieClip Frame 4
gotoAndStop (1);
Symbol 685 MovieClip Frame 6
gotoAndStop (1);
Symbol 685 MovieClip Frame 8
gotoAndStop (1);
Symbol 685 MovieClip Frame 10
gotoAndStop (1);
Symbol 685 MovieClip Frame 12
gotoAndStop (1);
Symbol 685 MovieClip Frame 14
gotoAndStop (1);
Symbol 685 MovieClip Frame 16
gotoAndStop (1);
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 691 MovieClip Frame 4
gotoAndStop (1);
Symbol 691 MovieClip Frame 6
gotoAndStop (1);
Symbol 691 MovieClip Frame 8
gotoAndStop (1);
Symbol 691 MovieClip Frame 10
gotoAndStop (1);
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 699 MovieClip Frame 4
gotoAndStop (1);
Symbol 699 MovieClip Frame 6
gotoAndStop (1);
Symbol 699 MovieClip Frame 8
gotoAndStop (1);
Symbol 699 MovieClip Frame 10
gotoAndStop (1);
Symbol 699 MovieClip Frame 12
gotoAndStop (1);
Symbol 699 MovieClip Frame 14
gotoAndStop (1);
Symbol 707 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 707 MovieClip Frame 4
gotoAndStop (1);
Symbol 707 MovieClip Frame 6
gotoAndStop (1);
Symbol 707 MovieClip Frame 8
gotoAndStop (1);
Symbol 707 MovieClip Frame 10
gotoAndStop (1);
Symbol 707 MovieClip Frame 12
gotoAndStop (1);
Symbol 707 MovieClip Frame 14
gotoAndStop (1);
Symbol 714 MovieClip Frame 1
stop();
Symbol 714 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 714 MovieClip Frame 4
gotoAndStop (1);
Symbol 714 MovieClip Frame 6
gotoAndStop (1);
Symbol 714 MovieClip Frame 8
gotoAndStop (1);
Symbol 714 MovieClip Frame 10
gotoAndStop (1);
Symbol 714 MovieClip Frame 12
gotoAndStop (1);
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 722 MovieClip Frame 4
gotoAndStop (1);
Symbol 722 MovieClip Frame 6
gotoAndStop (1);
Symbol 722 MovieClip Frame 8
gotoAndStop (1);
Symbol 722 MovieClip Frame 10
gotoAndStop (1);
Symbol 722 MovieClip Frame 12
gotoAndStop (1);
Symbol 722 MovieClip Frame 14
gotoAndStop (1);
Symbol 729 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 729 MovieClip Frame 4
gotoAndStop (1);
Symbol 729 MovieClip Frame 6
gotoAndStop (1);
Symbol 729 MovieClip Frame 8
gotoAndStop (1);
Symbol 729 MovieClip Frame 10
gotoAndStop (1);
Symbol 729 MovieClip Frame 12
gotoAndStop (1);
Symbol 729 MovieClip Frame 14
gotoAndStop (1);
Symbol 731 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 2
gotoAndPlay((Math.ceil(Math.random() * ((this._totalframes / 2) - 2)) * 2) + 1);
Symbol 731 MovieClip Frame 4
gotoAndStop (1);
Symbol 731 MovieClip Frame 6
gotoAndStop (1);
Symbol 731 MovieClip Frame 8
gotoAndStop (1);
Symbol 731 MovieClip Frame 10
gotoAndStop (1);
Symbol 731 MovieClip Frame 12
gotoAndStop (1);
Symbol 731 MovieClip Frame 14
gotoAndStop (1);
Symbol 734 Button
on (rollOver) {
item_description = "A piddley b.b. gun isn't worth much, but compared to nothing, it's fricken' priceless. Heck, it reloads pretty fast too.";
}
on (rollOut) {
item_description = "";
}
Symbol 735 Button
on (rollOver) {
item_description = "Get double the damage of the b.b. gun, a larger clip, and keep a fast reload speed to boot. This weapon is an easy first choice upgrade.";
}
on (rollOut) {
item_description = "";
}
Symbol 736 Button
on (rollOver) {
item_description = "This weapon offers great stopping power, six rounds, and a medium reload time. Nice.";
}
on (rollOut) {
item_description = "";
}
Symbol 737 Button
on (rollOver) {
item_description = "Cops don't use these babies for nothing. A larger magazine and a larger round makes for a larger hole in your target.\nReload speed: medium.";
}
on (rollOut) {
item_description = "";
}
Symbol 738 Button
on (rollOver) {
item_description = "Ch-chick!\nThat, my friend, is the sound of an enemy who won't be down for breakfast.\nReload speed: medium";
}
on (rollOut) {
item_description = "";
}
Symbol 739 Button
on (rollOver) {
item_description = "Need damage power? Look no further than a high powered sniper rifle. It may reload slowly, but with a dozen round magazine, it barely matters.";
}
on (rollOut) {
item_description = "";
}
Symbol 740 Button
on (rollOver) {
item_description = "This weapon uses a smaller round for less damage, but that also allows it to hold a nice big clip.\nReload speed: slow";
}
on (rollOut) {
item_description = "";
}
Symbol 741 Button
on (rollOver) {
item_description = "These puppies leave a lingering firey mess for your enemies to tangle with. It takes a while to reload, but they burn just as long so it evens out.";
}
on (rollOut) {
item_description = "";
}
Symbol 742 Button
on (rollOver) {
item_description = "With these, you can quickly kill more than one enemy per shot.\nGot grouping?\nGet grenades.\nReload speed: very slow";
}
on (rollOut) {
item_description = "";
}
Symbol 743 Button
on (rollOver) {
item_description = "This is your last bastion of hope. Keep your house repaired or you're sure to become zombie food!";
}
on (rollOut) {
item_description = "";
}
Symbol 744 Button
on (rollOver) {
item_description = "Use these to board up the door and windows of the lower floor for some added protection.";
}
on (rollOut) {
item_description = "";
}
Symbol 745 Button
on (rollOver) {
item_description = "Not only does barbed wire slow enemies down, it'll do some damage to them while they try to break through it.";
}
on (rollOut) {
item_description = "";
}
Symbol 746 Button
on (rollOver) {
item_description = "Yet another handy deterant for an advancing brainless army.";
}
on (rollOut) {
item_description = "";
}
Symbol 747 Button
on (rollOver) {
item_description = "A good stack of well placed sandbags will help keep those creepy bastards off your porch.";
}
on (rollOut) {
item_description = "";
}
Symbol 748 Button
on (rollOver) {
item_description = "Barbed wire has nothing on this stuff. This razor sharp wire slices through enemies like butter. Come and get it.";
}
on (rollOut) {
item_description = "";
}
Symbol 749 Button
on (rollOver) {
item_description = "Boom! If a zombie steps on one of these little friends, they're toast and so are their close friends!\nCase closed.";
}
on (rollOut) {
item_description = "";
}
Symbol 750 Button
on (rollOver) {
item_description = "Need some help?\nThis will automatically repair your damaged defenses (not including nails or mines).";
}
on (rollOut) {
item_description = "";
}
Symbol 751 Button
on (rollOver) {
item_description = "Just a big tough iron gate.";
}
on (rollOut) {
item_description = "";
}
Symbol 752 Button
on (rollOver) {
item_description = "Throw a hundred of these babies onto your lawn to help repel any invading zombie forces.";
}
on (rollOut) {
item_description = "";
}
Symbol 757 Button
on (rollOver) {
_root.item_description = ("Buy " + _root.gbl_ar_defenses[number][0]) + " to increase your defenses.";
}
on (rollOut) {
_root.item_description = "";
}
on (release) {
_root.ar_player[_root.pmon] = _root.ar_player[_root.pmon] - _root.gbl_ar_defenses[number][1];
if (number < (_root.pdar - _root.pd0)) {
_root.ar_player[_root.pd0 + number] = _root.gbl_ar_defenses[number][2];
if (_root.gbl_sound_music == 1) {
_root.upkeep.gotoAndPlay("defense_buy");
}
} else if (_root.ar_player[_root.pd0 + number] == -1) {
_root.ar_player[_root.pd0 + number] = 1;
} else {
_root.ar_player[_root.pd0 + number] = _root.ar_player[_root.pd0 + number] + 1;
}
}
Symbol 763 Button
on (rollOver) {
_root.item_description = ("Repair your " + _root.gbl_ar_defenses[number][0]) + ".";
}
on (rollOut) {
_root.item_description = "";
}
on (release) {
if (_root.ar_player[_root.pmon] >= _root.repair_cost(number)) {
_root.ar_player[_root.pmon] = _root.ar_player[_root.pmon] - _root.repair_cost(number);
_root.ar_player[_root.pd0 + number] = _root.gbl_ar_defenses[number][2];
} else {
repair_percent = _root.ar_player[_root.pmon] / _root.repair_cost(number);
_root.ar_player[_root.pmon] = 0;
_root.ar_player[_root.pd0 + number] = _root.ar_player[_root.pd0 + number] + (_root.repair_cost(number) * repair_percent);
}
if (_root.gbl_sound_music == 1) {
_root.upkeep.gotoAndPlay("defense_repair");
}
}
Symbol 766 MovieClip Frame 1
stop();
Symbol 769 Button
on (release) {
level_setup();
gotoAndPlay ("game_start");
}
Symbol 770 Button
on (rollOver) {
_root.item_description = ("Purchase the " + _root.gbl_ar_weapons[number][0]) + ".";
}
on (rollOut) {
_root.item_description = "";
}
on (release) {
if (_root.gbl_sound_music == 1) {
_root.upkeep.gotoAndPlay("weapon_buy");
}
_root.ar_player[_root.pmon] = _root.ar_player[_root.pmon] - _root.gbl_ar_weapons[number][1];
_root.ar_player[_root.pw0 + number] = _root.gbl_ar_weapons[number][2];
_root.item_description = "";
}
Symbol 771 MovieClip Frame 1
stop();
Symbol 774 Button
on (rollOver) {
_root.item_description = ("Set the " + _root.gbl_ar_weapons[number][0]) + " as your alternate weapon.";
}
on (rollOut) {
_root.item_description = "";
}
on (release) {
if (_root.ar_player[_root.pwp1] == number) {
temp = _root.ar_player[_root.pwp2];
_root.ar_player[_root.pwp2] = number;
_root.ar_player[_root.pwp1] = temp;
temp = _root.ar_player[_root.prw2];
_root.ar_player[_root.prw2] = _root.ar_player[_root.prw1];
_root.ar_player[_root.prw1] = temp;
nextFrame();
} else {
_root.ar_player[_root.pwp2] = number;
_root.ar_player[_root.prw2] = _root.gbl_ar_weapons[_root.ar_player[_root.pwp2]][3];
nextFrame();
}
if (_root.gbl_sound_music == 1) {
_root.upkeep.gotoAndPlay("gun_select");
}
_root.item_description = ("The " + _root.gbl_ar_weapons[number][0]) + " is now your alternate weapon.\nHold down Control to use it instead of your main weapon.";
}
Symbol 779 MovieClip Frame 1
stop();
Symbol 782 Button
on (rollOver) {
_root.item_description = ("Set the " + _root.gbl_ar_weapons[number][0]) + " as your main weapon.";
}
on (rollOut) {
_root.item_description = "";
}
on (release) {
if (_root.ar_player[_root.pwp2] == number) {
temp = _root.ar_player[_root.pwp1];
_root.ar_player[_root.pwp1] = number;
_root.ar_player[_root.pwp2] = temp;
temp = _root.ar_player[_root.prw1];
_root.ar_player[_root.prw1] = _root.ar_player[_root.prw2];
_root.ar_player[_root.prw2] = temp;
nextFrame();
} else {
_root.ar_player[_root.pwp1] = number;
_root.ar_player[_root.prw1] = _root.gbl_ar_weapons[_root.ar_player[_root.pwp1]][3];
nextFrame();
}
if (_root.gbl_sound_music == 1) {
_root.upkeep.gotoAndPlay("gun_select");
}
_root.item_description = ("The " + _root.gbl_ar_weapons[number][0]) + " is now your main weapon.";
}
Symbol 786 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 1
buy.number = number;
stop();
Symbol 787 MovieClip Frame 2
main.number = number;
alt.number = number;
stop();
Symbol 840 MovieClip Frame 1
if (_root.gbl_suicide == 1) {
sum_up_text = "Your self inflicted wound incapacitates you.\nYou are eaten alive.";
} else {
sum_up_text = "The creatures break into the house,\n overpower you,\n and feast on your flesh.";
}
Symbol 846 Button
on (release) {
_root.gotoAndPlay("title_loop");
}
Symbol 857 MovieClip Frame 1
if (_root.gbl_sound_music == 1) {
_root.stopAllSounds();
_root.music.gotoAndPlay("game_over");
}
Symbol 857 MovieClip Frame 277
stop();
Instance of Symbol 856 MovieClip "cursor" in Symbol 857 MovieClip Frame 277
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse - 250;
this._y = _root._ymouse - 200;
}
Symbol 867 Button
on (release) {
gotoAndPlay ("title_loop");
}
Symbol 868 MovieClip Frame 1
if (_root.gbl_sound_music == 1) {
_root.stopAllSounds();
_root.music.gotoAndPlay("game_over");
}
Instance of Symbol 256 MovieClip in Symbol 868 MovieClip Frame 202
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Symbol 868 MovieClip Frame 203
stop();