Frame 1
Stage.showMenu = false;
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("ea0b3d66", this, 10301, true);
myVar.gamer = 41;
gameName = "lastshot";
debug = false;
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Frame 2
stop();
Frame 5
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["mcScoreboard" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["mcScoreboard" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
trace("up");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
trace("down");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
var gameID = 41;
Dsource = "www";
mcScoreboard1.sboard.dir = "stop";
mcScoreboard2.sboard.dir = "stop";
mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false;
mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
btnMain.onRelease = function () {
currentPage = "main";
fader.play();
};
Frame 6
function Point(xx, yy) {
this.X = xx;
this.Y = yy;
}
function Line(x1, y1, x2, y2) {
this.beg = new Point(x1, y1);
this.end = new Point(x2, y2);
}
function Wall() {
}
function Wall_h() {
}
function Wall_v() {
}
function znak(num) {
if (znak < 0) {
return(-1);
}
return(1);
}
function setSound() {
_root.shotSound = new Sound(_root);
_root.shotSound.attachSound("shot.wav");
_root.shotSound.stop();
_root.lawSound = new Sound(_root);
_root.lawSound.attachSound("law.wav");
_root.lawSound.stop();
_root.shotgunSound = new Sound(_root);
_root.shotgunSound.attachSound("shotgun.wav");
_root.shotgunSound.stop();
_root.subbarrelSound = new Sound(_root);
_root.subbarrelSound.attachSound("subbarrel.wav");
_root.subbarrelSound.stop();
_root.dieSound = new Sound(_root);
_root.dieSound.attachSound("die.wav");
_root.dieSound.stop();
}
function Man() {
}
function Soldier() {
this.constr();
this.HP = 100;
trace("Soldier HP: " + this.HP);
this.team = null;
this.weapon = null;
this.min_kick = _global.DIFFICULTLY;
this.kick = this.min_kick;
this.attacking = null;
this.gox = this._x;
this.goy = this._y;
this.patrolX = null;
this.patrolY = null;
this.lastSeenPlayerX = null;
this.lastSeenPlayerY = null;
}
function Turret() {
this.constr();
this.team = 2;
this.weapon = null;
this.min_kick = _global.DIFFICULTLY;
this.kick = this.min_kick;
this.attacking = null;
this.fire_rate = 3;
this.HP = 700;
this.puzo = 20;
this.weapon = new TurretGun();
}
function Player() {
this.constr();
trace(this.weap_1);
trace(_root.hero0);
this.team = 1;
this.currAction = null;
this.weapon = this.weap_3;
this.kurok = false;
this.min_kick = 0;
_root.addYou();
}
function Weapon() {
this._type = null;
this.link = null;
this.plus = null;
this.cal = null;
this.kickback = null;
this.max_kick = null;
this.fire_rate = null;
this.damage = null;
this.ammo = null;
this.clip = null;
this.max_clip = null;
this.melee = null;
this.alternate = null;
this.alt_rate = null;
this.alt_treat = null;
this.alt_use = null;
this.alt_clip = null;
this.alt_maxclip = null;
this.alt_ammo = null;
this.alt_type = null;
this.description = null;
this.alt_description = null;
}
function LAW() {
this._type = "rifle";
this.link = "LAW";
this.plus = 1;
this.cal = "AT Rocket";
this.kickback = 30;
this.max_kick = 40;
this.fire_rate = 1;
this.damage = 0;
this.ammo = 3;
this.treat = 1;
this.max_clip = 1;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Light AT Weapon";
}
function FLY() {
this._type = "rifle";
this.link = "FLY";
this.plus = 1;
this.cal = "AT Rocket";
this.kickback = 0;
this.max_kick = 40;
this.fire_rate = 1;
this.damage = 0;
this.ammo = 5;
this.treat = 1;
this.max_clip = 1;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "AT system 'Fly'";
}
function PKM() {
this._type = "rifle";
this.link = "PKM";
this.plus = 1;
this.cal = "7.62x54 mm";
this.kickback = 6;
this.max_kick = 25;
this.fire_rate = 3;
this.damage = 100;
this.ammo = 100;
this.treat = 1;
this.max_clip = 100;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "PKM";
}
function M60() {
this._type = "rifle";
this.link = "M60";
this.plus = 1;
this.cal = ".308";
this.kickback = 4;
this.max_kick = 30;
this.fire_rate = 3;
this.damage = 90;
this.ammo = 100;
this.treat = 1;
this.max_clip = 200;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "M60 machinegun";
}
function PPD() {
this._type = "rifle";
this.link = "PPD";
this.plus = 1;
this.cal = "7.62x45 mm";
this.kickback = 4;
this.max_kick = 30;
this.fire_rate = 3;
this.damage = 80;
this.ammo = 60;
this.treat = 1;
this.max_clip = 60;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "PPD machinegun";
}
function MG_36() {
this._type = "rifle";
this.link = "MG_36";
this.plus = 1;
this.cal = "7.92x48 mm";
this.kickback = 5;
this.max_kick = 30;
this.fire_rate = 3;
this.damage = 85;
this.ammo = 80;
this.treat = 1;
this.max_clip = 40;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "MG 38 machinegun";
}
function Browning_30() {
this._type = "rifle";
this.link = "Browning_30";
this.plus = 1;
this.cal = ".30";
this.kickback = 6;
this.max_kick = 40;
this.fire_rate = 3;
this.damage = 120;
this.ammo = 100;
this.treat = 1;
this.max_clip = 100;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Browning .30 cal";
}
function AK_47() {
this._type = "rifle";
this.link = "AK_47";
this.plus = 1;
this.cal = "7.62x39 mm";
this.kickback = 7;
this.max_kick = 28;
this.fire_rate = 3;
this.damage = 70;
this.ammo = 90;
this.treat = 1;
this.max_clip = 30;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 20;
this.alt_treat = 0;
this.alt_use = false;
this.description = "AK 47";
this.alt_description = "Bayonet thrust";
}
function M_16() {
this._type = "rifle";
this.link = "M_16";
this.plus = 1;
this.cal = ".223";
this.kickback = 5;
this.max_kick = 20;
this.fire_rate = 3;
this.damage = 55;
this.ammo = 90;
this.treat = 1;
this.max_clip = 30;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 15;
this.alt_treat = 3;
this.alt_use = false;
this.description = "M 16 rifle";
this.alt_description = "Burst";
}
function SVD() {
this._type = "rifle";
this.link = "SVD";
this.plus = 1;
this.cal = "7.62x54 mm";
this.kickback = 18;
this.max_kick = 25;
this.fire_rate = 8;
this.damage = 130;
this.ammo = 30;
this.treat = 1;
this.max_clip = 10;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "SVD Sniper rifle";
}
function M50() {
this._type = "rifle";
this.link = "M50";
this.plus = 1;
this.cal = ".50";
this.kickback = 30;
this.max_kick = 60;
this.fire_rate = 15;
this.damage = 500;
this.ammo = 16;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "M50 Sniper rifle";
}
function PPH_41() {
this._type = "rifle";
this.link = "PPH_41";
this.plus = 1;
this.cal = "7.62x17 mm";
this.kickback = 5;
this.max_kick = 18;
this.fire_rate = 3;
this.damage = 40;
this.ammo = 72;
this.treat = 1;
this.max_clip = 72;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "PPH-41 SMG";
}
function SKS() {
this._type = "rifle";
this.link = "SKS";
this.plus = 1;
this.cal = "7.62x39 mm";
this.kickback = 10;
this.max_kick = 25;
this.fire_rate = 8;
this.damage = 70;
this.ammo = 30;
this.treat = 1;
this.max_clip = 10;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "SKS carabine";
}
function StG_42() {
this._type = "rifle";
this.link = "StG_42";
this.plus = 1;
this.cal = "7.92x48 mm";
this.kickback = 10;
this.max_kick = 30;
this.fire_rate = 7;
this.damage = 78;
this.ammo = 45;
this.treat = 1;
this.max_clip = 15;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "StG. 42 rifle";
}
function Garand_M1() {
this._type = "rifle";
this.link = "Garand_M1";
this.plus = 1;
this.cal = "7.62x45 mm";
this.kickback = 6;
this.max_kick = 20;
this.fire_rate = 5;
this.damage = 70;
this.ammo = 24;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Garand M1";
}
function UZI() {
this._type = "smg";
this.link = "UZI";
this.plus = 1;
this.cal = ".45";
this.kickback = 6;
this.max_kick = 25;
this.fire_rate = 2;
this.damage = 35;
this.ammo = 84;
this.treat = 1;
this.max_clip = 28;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "MAC 10";
}
function MP5() {
this._type = "smg";
this.link = "MP5";
this.plus = 1;
this.cal = "9 mm";
this.kickback = 3;
this.max_kick = 20;
this.fire_rate = 2;
this.damage = 45;
this.ammo = 90;
this.treat = 1;
this.max_clip = 30;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 12;
this.alt_treat = 3;
this.alt_use = false;
this.description = "MP-5 Navy";
this.alt_description = "Burst";
}
function MP_40() {
this._type = "smg";
this.link = "MP_40";
this.plus = 1;
this.cal = "9 mm";
this.kickback = 4;
this.max_kick = 25;
this.fire_rate = 3;
this.damage = 35;
this.ammo = 96;
this.treat = 1;
this.max_clip = 32;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "MP-40";
}
function Thompson() {
this._type = "smg";
this.link = "Thompson";
this.plus = 1;
this.cal = ".45";
this.kickback = 6;
this.max_kick = 15;
this.fire_rate = 2;
this.damage = 42;
this.ammo = 90;
this.treat = 1;
this.max_clip = 30;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Thompson M1A1";
}
function SPAS_12() {
this._type = "rifle";
this.link = "SPAS_12";
this.plus = 1;
this.cal = ".12";
this.kickback = 12;
this.max_kick = 30;
this.fire_rate = 6;
this.damage = 20;
this.ammo = 35;
this.treat = 1;
this.max_clip = 7;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "SPAS-12";
}
function Benelli_M3() {
this._type = "shotgun";
this.link = "Benelli_M3";
this.plus = 1;
this.cal = ".12";
this.kickback = 14;
this.max_kick = 20;
this.fire_rate = 13;
this.damage = 25;
this.ammo = 24;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Benelli M3 Super 90";
}
function DB() {
this._type = "rifle";
this.link = "DB";
this.plus = 1;
this.cal = ".12";
this.kickback = 8;
this.max_kick = 30;
this.fire_rate = 8;
this.damage = 20;
this.ammo = 20;
this.treat = 1;
this.max_clip = 2;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 20;
this.alt_treat = 2;
this.alt_use = false;
this.description = "Double Barrel Shotgun";
this.alt_description = "Double shot";
}
function HK_28() {
this._type = "shotgun";
this.link = "HK_28";
this.plus = 1;
this.cal = ".12";
this.kickback = 17;
this.max_kick = 30;
this.fire_rate = 15;
this.damage = 20;
this.ammo = 32;
this.treat = 2;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "H&K 28";
}
function Browning_1921() {
this._type = "shotgun";
this.link = "Browning_1921";
this.plus = 1;
this.cal = ".12";
this.kickback = 16;
this.max_kick = 30;
this.fire_rate = 15;
this.damage = 20;
this.ammo = 32;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Remington M192";
}
function PM() {
this._type = "pistol";
this.link = "PM";
this.plus = 2;
this.cal = "9 mm";
this.kickback = 9;
this.max_kick = 12;
this.fire_rate = 8;
this.damage = 40;
this.ammo = 24;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Makarov";
}
function Beretta() {
this._type = "pistol";
this.link = "Beretta";
this.plus = 2;
this.cal = "9 mm";
this.kickback = 10;
this.max_kick = 20;
this.fire_rate = 8;
this.damage = 45;
this.ammo = 30;
this.treat = 1;
this.max_clip = 15;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Beretta 92F";
}
function TT_33() {
this._type = "pistol";
this.link = "TT_33";
this.plus = 2;
this.cal = "7.62x17 mm";
this.kickback = 10;
this.max_kick = 22;
this.fire_rate = 8;
this.damage = 35;
this.ammo = 24;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Tokarev TT-33";
}
function Colt_1917() {
this._type = "pistol";
this.link = "Colt_1917";
this.plus = 2;
this.cal = ".45";
this.kickback = 12;
this.max_kick = 25;
this.fire_rate = 8;
this.damage = 40;
this.ammo = 28;
this.treat = 1;
this.max_clip = 7;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Colt 1911";
}
function WALTER() {
this._type = "pistol";
this.link = "WALTER";
this.plus = 2;
this.cal = "9 mm";
this.kickback = 9;
this.max_kick = 15;
this.fire_rate = 6;
this.damage = 25;
this.ammo = 36;
this.treat = 1;
this.max_clip = 12;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Walter P38";
}
function Knife() {
this._type = "knife";
this.link = "Knife";
this.plus = 3;
this.cal = "none";
this.kickback = 0;
this.max_kick = 2;
this.fire_rate = 10;
this.damage = 80;
this.ammo = 0;
this.radius = 10;
this.treat = 0;
this.max_clip = 1;
this.clip = 1;
this.melee = true;
this.alternate = false;
this.description = "Army Knife";
}
function RocketLauncher() {
this._type = "rifle";
this.link = "RocketLauncher";
this.plus = 1;
this.cal = "AT Rocket";
this.kickback = 13;
this.max_kick = 20;
this.fire_rate = 10;
this.damage = 0;
this.ammo = 30;
this.treat = 1;
this.max_clip = 10;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Rocket Launcher";
}
function SuperShotgun() {
this._type = "rifle";
this.link = "SuperShotgun";
this.plus = 1;
this.cal = ".12";
this.kickback = 8;
this.max_kick = 20;
this.fire_rate = 6;
this.damage = 30;
this.ammo = 84;
this.treat = 3;
this.max_clip = 42;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Super Shotgun";
}
function Minigun() {
this._type = "smg";
this.link = "Minigun";
this.plus = 1;
this.cal = ".308";
this.kickback = 3;
this.max_kick = 10;
this.fire_rate = 1;
this.damage = 60;
this.ammo = 500;
this.treat = 2;
this.max_clip = 250;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Avenger Minigun";
}
function SW_38() {
this._type = "pistol";
this.link = "SW_38";
this.plus = 2;
this.cal = ".38";
this.kickback = 1;
this.max_kick = 12;
this.fire_rate = 10;
this.damage = 25;
this.ammo = 12;
this.treat = 1;
this.max_clip = 6;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Pistol";
}
function Scorpion() {
this._type = "pistol";
this.link = "Scorpion";
this.plus = 2;
this.cal = "9 mm";
this.kickback = 4;
this.max_kick = 16;
this.fire_rate = 5;
this.damage = 30;
this.ammo = 40;
this.treat = 1;
this.max_clip = 20;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 15;
this.alt_treat = 4;
this.alt_use = true;
this.description = "Uzi";
this.alt_description = "Burst x4";
}
function Automag() {
this._type = "pistol";
this.link = "Automag";
this.plus = 2;
this.cal = ".308";
this.kickback = 15;
this.max_kick = 30;
this.fire_rate = 8;
this.damage = 85;
this.ammo = 16;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Silenced pistol";
}
function CalicoM960() {
this._type = "rifle";
this.link = "CalicoM960";
this.plus = 1;
this.cal = "9 mm";
this.kickback = 10;
this.max_kick = 15;
this.fire_rate = 8;
this.damage = 35;
this.ammo = 100;
this.treat = 1;
this.max_clip = 50;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 32;
this.alt_treat = 3;
this.alt_use = false;
this.description = "Calico M-960";
this.alt_description = "Burst x3";
}
function Rem870() {
this._type = "shotgun";
this.link = "Rem870";
this.plus = 1;
this.cal = ".12";
this.kickback = 14;
this.max_kick = 20;
this.fire_rate = 17;
this.damage = 22;
this.ammo = 16;
this.treat = 1;
this.max_clip = 8;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Remington M870";
}
function Benelli_M4() {
this._type = "shotgun";
this.link = "Benelli_M4";
this.plus = 1;
this.cal = ".12";
this.kickback = 8;
this.max_kick = 20;
this.fire_rate = 5;
this.damage = 22;
this.ammo = 20;
this.treat = 1;
this.max_clip = 5;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "Benelli M4";
}
function AKM() {
this._type = "rifle";
this.link = "AKM";
this.plus = 1;
this.cal = "7.62x39 mm";
this.kickback = 9;
this.max_kick = 28;
this.fire_rate = 4;
this.damage = 70;
this.ammo = 90;
this.treat = 1;
this.max_clip = 30;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 20;
this.alt_treat = 0;
this.alt_use = false;
this.description = "AK-47";
this.alt_description = "Bayonet thrust";
}
function G41() {
this._type = "rifle";
this.link = "G41";
this.plus = 1;
this.cal = ".223";
this.kickback = 6;
this.max_kick = 18;
this.fire_rate = 2;
this.damage = 50;
this.ammo = 80;
this.treat = 1;
this.max_clip = 40;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 6;
this.alt_treat = 1;
this.alt_use = true;
this.alt_maxclip = 1;
this.alt_clip = this.alt_maxclip;
this.alt_ammo = 5;
this.alt_type = "HE";
this.description = "H&K G41";
}
function Bren() {
this._type = "rifle";
this.link = "Bren";
this.plus = 1;
this.cal = ".308";
this.kickback = 1;
this.max_kick = 1;
this.fire_rate = 50;
this.damage = 1000;
this.ammo = 10;
this.treat = 1;
this.max_clip = 1;
this.clip = 1;
this.melee = false;
this.alternate = true;
this.alt_rate = 1;
this.alt_treat = 4;
this.alt_use = false;
this.description = "Sniper Rifle";
this.alt_description = "Rifle x5";
}
function OICW() {
this._type = "rifle";
this.link = "OICW";
this.plus = 1;
this.cal = ".223";
this.kickback = 3;
this.max_kick = 10;
this.fire_rate = 2;
this.damage = 65;
this.ammo = 70;
this.treat = 1;
this.max_clip = 35;
this.clip = this.max_clip;
this.melee = false;
this.alternate = true;
this.alt_rate = 5;
this.alt_treat = 1;
this.alt_use = true;
this.alt_maxclip = 5;
this.alt_clip = this.alt_maxclip;
this.alt_ammo = 5;
this.alt_type = "HE";
this.description = "Auto Rifle";
}
function HE() {
this._type = "grenade";
this.link = "HE";
this.plus = 4;
this.cal = "HE";
this.kickback = 0;
this.max_kick = 0;
this.fire_rate = 30;
this.damage = 150;
this.ammo = 0;
this.treat = 1;
this.max_clip = 6;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "HE grenade";
}
function FRAG() {
this._type = "grenade";
this.link = "FRAG";
this.plus = 4;
this.cal = "FRAG";
this.kickback = 0;
this.max_kick = 0;
this.fire_rate = 30;
this.damage = 150;
this.ammo = 0;
this.treat = 1;
this.max_clip = 3;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "FRAG grenade";
}
function TurretGun() {
this._type = "rifle";
this.link = null;
this.plus = 1;
this.cal = ".308";
this.kickback = 6;
this.max_kick = 35;
this.fire_rate = 3;
this.damage = 40;
this.ammo = 10000000 /* 0x989680 */;
this.treat = 1;
this.max_clip = 10000000 /* 0x989680 */;
this.clip = this.max_clip;
this.melee = false;
this.alternate = false;
this.description = "TURRET GUN - NOT FOR USE AS PERSONAL WEAPON";
}
function Bullet() {
this.damage = 10;
this.line = null;
}
function OldBullet() {
this.speed = 25;
this.owner = null;
this.damage = null;
}
function Gauss() {
this.damage = 10;
this.line = null;
}
function Rocket() {
this.speed = 15;
this.moving = true;
}
function Napalm() {
this.speed = 20;
this.radius = 110;
this.moving = true;
}
function Grenade() {
this.speed = 10;
this.moving = true;
this.dst = null;
this.type_expl = "HE";
}
function HandGrenade() {
this.speed = 10;
this.moving = true;
this.dst = null;
this.type_expl = "HE";
}
function Dropped() {
this.holder.attachMovie(this.key.link + "_gr", "key", 1);
}
function NextLevel() {
}
function Cursor() {
}
function Flame() {
this._visible = false;
this.owner = this._parent._parent._parent._parent;
}
function Fire() {
if (this._parent.HP > 0) {
this._parent.burning = true;
this._parent.burnSound.start(0, 2);
}
}
function Slash() {
this._visible = false;
this.owner = this._parent._parent._parent._parent;
this.swapDepths(9999994);
}
function Medkit() {
}
function Medkit_Small() {
this.heal_power = 40;
}
function Medkit_Large() {
this.heal_power = 80;
}
function Armor() {
}
function Armor_Small() {
this.heal_power = 20;
}
function Armor_Large() {
this.heal_power = 40;
}
Point.prototype = new Object();
Point.prototype.write = function () {
return(((("(" + this.X) + ", ") + this.Y) + ")");
};
Point.prototype.dist = function (pt) {
return(Math.sqrt(((this.X - pt.X) * (this.X - pt.X)) + ((this.Y - pt.Y) * (this.Y - pt.Y))));
};
Line.prototype = new Object();
Line.prototype.isVertical = function () {
return((this.beg.X - this.end.X) == 0);
};
Line.prototype.isHorizontal = function () {
return((this.beg.X - this.end.X) == 0);
};
Line.prototype.inArea = function (pt) {
return((((Math.round(pt.X) >= Math.round(Math.min(this.beg.X, this.end.X))) && (Math.round(pt.X) <= Math.round(Math.max(this.beg.X, this.end.X)))) && (Math.round(pt.Y) >= Math.round(Math.min(this.beg.Y, this.end.Y)))) && (Math.round(pt.Y) <= Math.round(Math.max(this.beg.Y, this.end.Y))));
};
Line.prototype.cantBeCrossedWith = function (line) {
var _local10 = Math.max(this.beg.X, this.end.X);
var _local8 = Math.max(this.beg.Y, this.end.Y);
var _local9 = Math.max(line.beg.X, line.end.X);
var _local7 = Math.max(line.beg.Y.line.end.Y);
var _local6 = Math.min(this.beg.X, this.end.X);
var _local4 = Math.min(this.beg.Y, this.end.Y);
var _local5 = Math.min(line.beg.X, line.end.X);
var _local3 = Math.min(line.beg.Y, line.end.Y);
return((((_local10 < _local5) || (_local9 < _local6)) || (_local8 < _local3)) || (_local7 < _local4));
};
Line.prototype.cross = function (line) {
if (!this.cantBeCrossedWith(line)) {
var _local2 = new Point();
if (!line.isVertical()) {
var _local4 = (line.beg.Y - line.end.Y) / (line.beg.X - line.end.X);
}
if (!this.isVertical()) {
var _local5 = (this.beg.Y - this.end.Y) / (this.beg.X - this.end.X);
}
if (_local4 == _local5) {
return(null);
}
var _local6 = line.beg.Y - (_local4 * line.beg.X);
var _local7 = this.beg.Y - (_local5 * this.beg.X);
if (line.isVertical() && (!this.isVertical())) {
_local2.X = line.beg.X;
_local2.Y = (_local5 * line.beg.X) + _local7;
} else if ((!line.isVertical()) && (this.isVertical())) {
_local2.X = this.beg.X;
_local2.Y = (_local4 * this.beg.X) + _local6;
} else {
_local2.X = (_local7 - _local6) / (_local4 - _local5);
_local2.Y = (_local4 * _local2.X) + _local6;
}
if (line.inArea(_local2) && (this.inArea(_local2))) {
return(new Point(_local2.X, _local2.Y));
}
}
return(null);
};
Line.prototype.write = function () {
return((this.beg.write() + " - ") + this.end.write());
};
Line.prototype.wall = function () {
var _local3 = null;
var _local5 = null;
var _local6 = null;
var _local7 = 20000;
var _local4 = 0;
while (_local4 < _global.walls.length) {
_local3 = _global.walls[_local4].cross(this);
if (_local3 != null) {
_local6 = Math.sqrt(((_local3.X - this.beg.X) * (_local3.X - this.beg.X)) + ((_local3.Y - this.beg.Y) * (_local3.Y - this.beg.Y)));
if ((_local5 == null) || (_local6 < _local7)) {
_local5 = _local3;
_local7 = _local6;
}
}
_local4++;
}
return(_local5);
};
Wall.prototype = new MovieClip();
Wall.prototype.onLoad = function () {
var _local4 = {x:0, y:0};
var _local3 = {x:80, y:80};
this.localToGlobal(_local4);
this.localToGlobal(_local3);
_global.walls[_global.walls.length] = new Line(_local4.x, _local4.y, _local3.x, _local3.y);
this._visible = _global.WALLS_VISIBLE;
};
Object.registerClass("Wall", Wall);
Wall_h.prototype = new MovieClip();
Wall_h.prototype.onLoad = function () {
var _local4 = {x:0, y:0};
var _local3 = {x:80, y:0};
this.localToGlobal(_local4);
this.localToGlobal(_local3);
_global.walls[_global.walls.length] = new Line(_local4.x, _local4.y, _local3.x, _local3.y);
this._visible = _global.WALLS_VISIBLE;
};
Object.registerClass("Wall_h", Wall_h);
Wall_v.prototype = new MovieClip();
Wall_v.prototype.onLoad = function () {
var _local4 = {x:0, y:0};
var _local3 = {x:0, y:80};
this.localToGlobal(_local4);
this.localToGlobal(_local3);
_global.walls[_global.walls.length] = new Line(_local4.x, _local4.y, _local3.x, _local3.y);
this._visible = _global.WALLS_VISIBLE;
};
Object.registerClass("Wall_v", Wall_v);
setDefaults = function () {
_global.gameStarted = 0;
_global.tempHP = 0;
_global.times = 0;
_global.WALLS_VISIBLE = false;
_global.CHANGE_WEAPONS = true;
_global.KEYBOARD_SENSIVITY = 800;
_global.BLOW_RADIUS = 80;
_global.BLOW_DAMAGE = 120;
_global.HE_DAMAGE = 150;
_global.FRAG_DAMAGE = 250;
_global.LIVES = 3;
_global.hold_time = 0;
_global.d_blood = 101;
_global.down_depth = 8001;
_global.d_creature = 65001;
_global.free_depth = 65536;
_global.hero = 1;
_root.vehicle = null;
};
loadDefaults = function () {
var _local2 = SharedObject.getLocal("LostInJungle");
var _local3 = false;
for (var _local4 in _local2.data) {
_local3 = true;
break;
}
if (_local3) {
_global.WOUND_FLASH = _local2.data.WOUND_FLASH;
_global.BLOOD = _local2.data.BLOOD;
_global.SHELLS = _local2.data.SHELLS;
_global.CORPSES = _local2.data.CORPSES;
_global.DIFFICULTLY = _local2.data.DIFFICULTLY;
_global.OLD_BULLETS = _local2.data.OLD_BULLETS;
_global.SAVED_QUALITY = _local2.data.SAVED_QUALITY;
} else {
_global.WOUND_FLASH = true;
_global.BLOOD = true;
_global.SHELLS = true;
_global.CORPSES = true;
_global.DIFFICULTLY = 2;
_global.OLD_BULLETS = true;
_global.SAVED_QUALITY = "MEDIUM";
}
};
saveDefaults = function () {
var _local2 = SharedObject.getLocal("LostInJungle");
_local2.data.WOUND_FLASH = _global.WOUND_FLASH;
_local2.data.BLOOD = _global.BLOOD;
_local2.data.SHELLS = _global.SHELLS;
_local2.data.CORPSES = _global.CORPSES;
_local2.data.DIFFICULTLY = _global.DIFFICULTLY;
_local2.data.OLD_BULLETS = _global.OLD_BULLETS;
_local2.data.SAVED_QUALITY = _global.SAVED_QUALITY;
_local2.flush();
};
min = function (a, b) {
if (a > b) {
return(b);
}
return(a);
};
max = function (a, b) {
if (b > a) {
return(b);
}
return(a);
};
d = function (dice) {
return(Math.floor(Math.random() * dice) + 1);
};
xdy = function (x, y) {
temp = 0;
ijk = 1;
while (ijk <= x) {
temp = temp + d(y);
ijk++;
}
return(temp);
};
percent = function (x) {
return(d(100) <= x);
};
degToRad = function (deg) {
rad = (Math.PI * deg) / 180;
return(rad);
};
radToDeg = function (rad) {
deg = (rad * 180) / Math.PI;
return(deg);
};
plot = function (deg, radius) {
radians = degToRad(deg);
yCoor = radius * Math.sin(radians);
xCoor = radius * Math.cos(radians);
p = new Object({x:xCoor, y:yCoor});
return(p);
};
degs = function (degree) {
degree = Math.floor(((degree + 22.5) % 360) / 45);
return(degree * 45);
};
theDistance = function (obj1, obj2) {
return(Math.sqrt(((obj1._x - obj2._x) * (obj1._x - obj2._x)) + ((obj1._y - obj2._y) * (obj1._y - obj2._y))));
};
thatDistance = function (obj1, obj2, x, y) {
return(Math.sqrt((((obj1._x + x) - obj2._x) * ((obj1._x + x) - obj2._x)) + (((obj1._y + y) - obj2._y) * ((obj1._y + y) - obj2._y))));
};
addVehicle = function (x, y, rot, car) {
_root.attachMovie(car, "hero" + _global.hero, _global.d_creature, {_x:x, _y:y, _rotation:rot});
_root.vehicle = _root["hero" + _global.hero];
_global.d_creature++;
_global.hero++;
};
addPlayer = function (x, y, rot, skin, gun, pistol, melee, gren, subtype) {
_root.attachMovie("Player", "hero0", _global.d_creature, {_x:x, _y:y, _rotation:rot});
_root.hero0.sideView(skin);
_root.hero0.setGun(gun, pistol, melee, gren);
_root.hero0.swapDepths(999998);
if (subtype != "no") {
_root.hero0[subtype]();
}
_global.d_creature = _global.d_creature + ((_global.down_depth <= 12000) ? 1 : -3500);
};
addSoldier = function (x, y, rot, skin, gun, pistol, melee, gren, subtype, go_x, go_y, team, patrol) {
_root.attachMovie("Hero", "hero" + _global.hero, _global.d_creature, {_x:x, _y:y, _rotation:rot});
_root["hero" + _global.hero].team = team;
_root["hero" + _global.hero].sideView(skin);
_root["hero" + _global.hero].setGun(gun, pistol, melee, gren);
if (go_x != 0) {
_root["hero" + _global.hero].gox = go_x;
}
if (go_y != 0) {
_root["hero" + _global.hero].goy = go_y;
}
if (patrol) {
_root["hero" + _global.hero].patrolX = x;
_root["hero" + _global.hero].patrolY = y;
}
if (subtype != "no") {
_root["hero" + _global.hero][subtype]();
}
_global.d_creature++;
_global.hero++;
};
addTurret = function (x, y, rot) {
_root.attachMovie("Turret", "hero" + _global.hero, _global.d_creature, {_x:x, _y:y, _rotation:rot});
_global.d_creature++;
_global.hero++;
};
addOldBullet = function (x, y, rot, dmg, own) {
var _local4 = x + (10 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (10 * Math.sin(degToRad(rot - 90)));
var _local6 = new Line(x, y, _local4, _local3);
if (_local6.wall() == null) {
_root.attachMovie("OldBullet", "bullet_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot});
_root["bullet_" + _global.free_depth].damage = dmg;
_root["bullet_" + _global.free_depth].owner = own;
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addBullet = function (x1, y1, rot, dmg, own) {
if (_global.OLD_BULLETS) {
addOldBullet(x1, y1, rot, dmg, own);
return(undefined);
}
var _local5 = x1 + (1000 * Math.cos(degToRad(rot - 90)));
var _local3 = y1 + (1000 * Math.sin(degToRad(rot - 90)));
var _local9 = new Line(x1, y1, _local5, _local3);
var _local7 = _local9.wall();
if (_local7 != null) {
_local5 = _local7.X;
_local3 = _local7.Y;
}
_root.attachMovie("Bullet", "bullet_" + _global.free_depth, _global.free_depth, {_x:x1, _y:y1});
_root["bullet_" + _global.free_depth].damage = dmg;
_root["bullet_" + _global.free_depth].line = new Line(x1, y1, _local5, _local3);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addGauss = function (x1, y1, rot, dmg) {
var _local4 = x1 + (1000 * Math.cos(degToRad(rot - 90)));
var _local3 = y1 + (1000 * Math.sin(degToRad(rot - 90)));
var _local8 = new Line(x1, y1, _local4, _local3);
var _local5 = _local8.wall();
if (_local5 != null) {
_local4 = _local5.X;
_local3 = _local5.Y;
}
_root.attachMovie("Gauss", "bullet_" + _global.free_depth, _global.free_depth, {_x:x1, _y:y1});
_root["bullet_" + _global.free_depth].damage = dmg;
_root["bullet_" + _global.free_depth].line = new Line(x1, y1, _local4, _local3);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addRocket = function (x, y, rot, error) {
var _local4 = x + (40 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (40 * Math.sin(degToRad(rot - 90)));
_root.attachMovie("Rocket", "bullet_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot + ((d((2 * error) + 1) - error) - 1)});
var _local6 = new Line(x, y, _local4, _local3);
if (_local6.wall() != null) {
_root["bullet_" + _global.free_depth]._x = x;
_root["bullet_" + _global.free_depth]._y = y;
_root["bullet_" + _global.free_depth].blow();
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addNapalm = function (x, y, rot, error) {
var _local4 = x + (40 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (40 * Math.sin(degToRad(rot - 90)));
_root.attachMovie("Napalm", "bullet_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot + ((d((2 * error) + 1) - error) - 1)});
var _local6 = new Line(x, y, _local4, _local3);
if (_local6.wall() != null) {
_root["bullet_" + _global.free_depth]._x = x;
_root["bullet_" + _global.free_depth]._y = y;
_root["bullet_" + _global.free_depth].blow();
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addFlame = function (x, y, rot, dmg) {
var _local4 = x + (80 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (80 * Math.sin(degToRad(rot - 90)));
var _local6 = new Line(x, y, _local4, _local3);
if (_local6.wall() == null) {
_root.attachMovie("Flame", "bullet_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot});
_root["bullet_" + _global.free_depth].damage = dmg;
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addGrenade = function (x, y, rot, error, dx, dy, type) {
var _local4 = x + (70 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (70 * Math.sin(degToRad(rot - 90)));
_root.attachMovie("Grenade", "bullet_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot + ((d((2 * error) + 1) - error) - 1)});
var _local6 = new Line(x, y, _local4, _local3);
_root["bullet_" + _global.free_depth].dst = new Point(dx, dy);
_root["bullet_" + _global.free_depth].type_expl = type;
if (_local6.wall() != null) {
_root["bullet_" + _global.free_depth]._x = x;
_root["bullet_" + _global.free_depth]._y = y;
_root["bullet_" + _global.free_depth].blow();
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addHandGrenade = function (x, y, rot, dx, dy, type) {
var _local4 = x + (40 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (40 * Math.sin(degToRad(rot - 90)));
_root.attachMovie("HandGrenade", "bullet_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot});
var _local6 = new Line(x, y, _local4, _local3);
_root["bullet_" + _global.free_depth].dst = Math.sqrt(((dx - _local4) * (dx - _local4)) + ((dy - _local3) * (dy - _local3)));
_root["bullet_" + _global.free_depth].type_expl = type;
if (_local6.wall() != null) {
_root["bullet_" + _global.free_depth]._x = x;
_root["bullet_" + _global.free_depth]._y = y;
_root["bullet_" + _global.free_depth].blow();
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addShell = function (x, y, rot) {
var _local4 = (x + (20 * Math.cos(degToRad(rot)))) + d(5);
var _local3 = (y + (20 * Math.sin(degToRad(rot)))) + d(5);
_root.attachMovie("Shell", "shell_" + _global.free_depth, _global.free_depth, {_x:_local4, _y:_local3, _rotation:rot + (d(41) - 21)});
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addDroppedGun = function (x, y, rot, item) {
var _local4 = x + (90 * Math.cos(degToRad(rot - 90)));
var _local3 = y + (90 * Math.sin(degToRad(rot - 90)));
_root.attachMovie("Dropped", "wpn_" + _global.down_depth, _global.down_depth, {_x:_local4, _y:_local3, _rotation:rot, key:item});
_global.down_depth = _global.down_depth + ((_global.down_depth <= 12000) ? 1 : -4000);
};
addBlood = function (x, y) {
_root.attachMovie("Blood_" + d(3), "bl_" + _global.free_depth, _global.free_depth, {_x:x, _y:y, _xscale:200, _yscale:200, _rotation:d(360)});
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
hitToCreature = function () {
var _local3 = 1;
while (_local3 < _global.hero) {
if (_root["hero" + _local3].hitTest(_root._xmouse + _root._x, _root._ymouse + _root._y, true) && (_root["hero" + _local3].HP > 0)) {
return(true);
}
_local3++;
}
return(false);
};
drawBlood = function (xx, yy) {
_level2.attachMovie("BloodFountain" + d(2), "eff" + _global.d_effect, _global.d_effect, {_x:xx, _y:yy + (d(11) - 6)});
if (_global.d_effect < 45000) {
_global.d_effect++;
} else {
_global.d_effect = 36001;
}
};
unloadMap = function () {
var _local3 = 0;
while (_local3 < _global.hero) {
_root["hero" + _local3].removeMovieClip();
_local3++;
}
_global.hero = 1;
_local3 = 65536;
while (_local3 < _global.free_depth) {
_root["bl_" + _local3].removeMovieClip();
_root["shell_" + _local3].removeMovieClip();
_root["bullet_" + _local3].removeMovieClip();
_local3++;
}
_local3 = 8001;
while (_local3 < _global.down_depth) {
_root["wpn_" + _local3].removeMovieClip();
_local3++;
}
_root.scr.removeMovieClip();
_global.d_blood = 101;
_global.down_depth = 8001;
_global.d_creature = 65002;
_global.free_depth = 65536;
_root.attachMovie("ArrowCursor", "_cursor", 150000, {_x:_xmouse, _y:_ymouse});
_root._quality = "HIGH";
};
loadMap = function (map) {
delete eval (_global.walls());
_global.walls = new Array();
_root.attachMovie("BattleCursor", "_cursor", 150000, {_x:_xmouse, _y:_ymouse});
_root.attachMovie("Screen", "scr", 999999, {_x:0, _y:450});
_root.gotoAndStop((map + 3) + 174);
_root.attachMovie("map_" + map, "walls", 11, {_x:0, _y:0});
_root._quality = _global.SAVED_QUALITY;
};
gameLoad = function (map) {
unloadMap();
_root.WhatToLoad = map;
_root.gotoAndPlay("GAME_LOAD");
};
toMenu = function () {
gotoAndStop (1);
};
toEngine = function () {
gotoAndPlay (1);
};
addYou = function () {
_root.attachMovie("YOU", "you", 100001, {_x:_root.hero0._x, _y:_root.hero0._y});
};
_root.onEnterFrame = function () {
if (_global.times >= 30) {
_global.times = 0;
} else {
_global.times++;
}
};
Man.prototype = new MovieClip();
Man.prototype.constr = function () {
this.setSound();
this.MAX_HP = 100;
if (_global.gameStarted != 1) {
this.HP = 100;
} else {
this.HP = 100 - (100 - _global.tempHP);
}
trace(this.HP);
this.hp_mod = 1;
this.AC = 100;
this.leg_r.gotoAndPlay(8);
this.puzo = 14;
this.step = 3;
this.burning = false;
this.weap_1 = null;
this.weap_2 = null;
this.weap_3 = null;
this.weap_4 = null;
this.currAction = null;
this.kick = 0;
this.ch_weap = 0;
this.shot_timer = 0;
this.ln1 = null;
this.ln2 = null;
};
Man.prototype.stdFrame = function () {
if (this.kick > this.min_kick) {
this.kick--;
}
if (this.shot_timer > 0) {
this.shot_timer--;
}
};
Man.prototype.sideView = function (skin) {
this.hands.hend_r.attachMovie("Hand_R_" + skin, "hr", 1);
this.hands.hand_r.attachMovie("Hand_L_" + skin, "hl", 1);
this.body.forma.attachMovie("Uniform_" + skin, "fr", 1);
this.body.kaska.attachMovie("Helm_" + skin, "ks", 1);
};
Man.prototype.setGun = function (gun, pist, melee, gren) {
mlee = new _root[melee]();
mlee.equip(this);
pistol = new _root[pist]();
pistol.equip(this);
grenade = new _root[gren]();
grenade.equip(this);
rifle = new _root[gun]();
rifle.equip(this);
_root.playerGun = gun;
};
Man.prototype.stdLoad = function (tm, side, rang) {
this.team = tm;
var _local2 = Number(this._name.substr(4));
this.swapDepths();
this.sideView(side, rang);
};
Man.prototype.lineHit = function (line) {
var _local3 = this.ln1.cross(line);
var _local2 = this.ln2.cross(line);
return((_local3 != null) || (_local2 != null));
};
Man.prototype.lineCross = function (line) {
var _local2 = this.ln1.cross(line);
var _local3 = this.ln2.cross(line);
if (_local2 != null) {
return(_local2);
}
return(_local3);
};
Man.prototype.getLines = function (x, y) {
this.ln1 = new Line((this._x + x) - 10, (this._y + y) - 10, (this._x + x) + 10, (this._y + y) + 10);
this.ln2 = new Line((this._x + x) - 10, (this._y + y) + 10, (this._x + x) + 10, (this._y + y) - 10);
};
Man.prototype.canGo = function (x, y) {
this.getLines(x, y);
var _local4 = true;
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (this.lineHit(_global.walls[_local3])) {
_local4 = false;
break;
}
_local3++;
}
return(_local4 && (this.notHit(x, y)));
};
Man.prototype.reloadNow = function () {
this.hands.gotoAndPlay("reload");
};
Man.prototype.changeWeapons = function (link) {
this.ch_weap = link;
this.weapon = link;
this.hands.gotoAndPlay("change");
if (this._name == "hero0") {
_root.scr.gun_txt.text = link.description;
if (link.alt_use) {
_root.scr.gotoAndStop(2);
} else {
_root.scr.gotoAndStop(1);
if (link.alternate) {
_root.scr.alt_descr_txt.text = link.alt_description;
} else {
_root.scr.alt_descr_txt.text = "";
}
}
}
};
Man.prototype.getShot = function (damage) {
if (this.HP > 0) {
var _local4 = Math.floor((0.8 * (this.AC / 100)) * damage);
this.HP = this.HP - (damage - _local4);
if (this.HP < 0) {
this.HP = 0;
}
this.AC = this.AC - Math.floor(_local4 / 2);
if (this.AC < 0) {
this.AC = 0;
}
_root.addBlood(this._x, this._y);
if (_global.WOUND_FLASH && (this._name == "hero0")) {
_root.scr.wound_flash.gotoAndPlay(2);
}
}
};
Man.prototype.getKicked = function () {
if ((this.kick + this.weapon.kickback) < this.weapon.max_kick) {
this.kick = this.kick + this.weapon.kickback;
} else {
this.kick = this.weapon.max_kick;
}
};
Man.prototype.kickMore = function (num) {
if (this.kick < this.weapon.max_kick) {
this.kick = this.kick + num;
} else {
this.kick = this.weapon.max_kick;
}
};
Man.prototype.plusClip = function () {
if ((this.weapon.ammo + this.weapon.clip) >= this.weapon.max_clip) {
this.weapon.ammo = this.weapon.ammo + (this.weapon.clip - this.weapon.max_clip);
this.weapon.clip = this.weapon.max_clip;
} else {
this.weapon.clip = this.weapon.clip + this.weapon.ammo;
this.weapon.ammo = 0;
}
};
Man.prototype.plusAltClip = function () {
if ((this.weapon.alt_ammo + this.weapon.alt_clip) >= this.weapon.alt_maxclip) {
this.weapon.alt_ammo = this.weapon.alt_ammo + (this.weapon.alt_clip - this.weapon.alt_maxclip);
this.weapon.alt_clip = this.weapon.alt_maxclip;
} else {
this.weapon.alt_clip = this.weapon.alt_clip + this.weapon.alt_ammo;
this.weapon.alt_ammo = 0;
}
};
Man.prototype.setSound = function () {
this.shotSound = new Sound(this);
this.shotSound.attachSound("shot.wav");
this.shotSound.stop();
this.lawSound = new Sound(this);
this.lawSound.attachSound("law.wav");
this.lawSound.stop();
this.shotgunSound = new Sound(this);
this.shotgunSound.attachSound("shotgun.wav");
this.shotgunSound.stop();
this.subbarrelSound = new Sound(this);
this.subbarrelSound.attachSound("subbarrel.wav");
this.subbarrelSound.stop();
this.burnSound = new Sound(this);
this.burnSound.attachSound("burn.wav");
this.burnSound.stop();
this.dieSound = new Sound(this);
this.dieSound.attachSound("die.wav");
this.dieSound.stop();
};
Man.prototype.addShell = function (err) {
_root.addShell(this._x, this._y, this._rotation);
};
Man.prototype.addBullet = function (err) {
var _local4 = this._x + ((this.puzo + 20) * Math.cos(degToRad(this._rotation - 90)));
var _local3 = this._y + ((this.puzo + 20) * Math.sin(degToRad(this._rotation - 90)));
var _local5 = new Line(this._x, this._y, _local4, _local3);
if (_local5.wall() == null) {
_root.addBullet(_local4, _local3, this._rotation + err, this.weapon.damage, this._name);
}
};
Man.prototype.addGauss = function (err) {
var _local4 = this._x + ((this.puzo + 20) * Math.cos(degToRad(this._rotation - 90)));
var _local3 = this._y + ((this.puzo + 20) * Math.sin(degToRad(this._rotation - 90)));
var _local5 = new Line(this._x, this._y, _local4, _local3);
if (_local5.wall() == null) {
_root.addGauss(_local4, _local3, this._rotation + err, this.weapon.damage);
}
};
Man.prototype.addRocket = function (err) {
_root.addRocket(this._x, this._y, this._rotation, err);
};
Man.prototype.addNapalm = function (err) {
_root.addNapalm(this._x, this._y, this._rotation, err);
};
Man.prototype.addFlame = function (rot) {
_root.addFlame(this._x, this._y, rot, this.weapon.damage);
};
Man.prototype.shot = function () {
if (_root.sunet) {
this.shotSound.start();
}
this.addBullet((Math.random() * (2 * this.kick)) - this.kick);
};
Man.prototype.gauss = function () {
if (_root.sunet) {
this.shotSound.start();
}
this.addGauss((Math.random() * (2 * this.kick)) - this.kick);
};
Man.prototype.shotgun = function () {
if (_root.sunet) {
this.shotgunSound.start();
}
var _local4 = (Math.random() * (2 * this.kick)) - this.kick;
var _local3 = -2;
while (_local3 <= 2) {
this.addBullet(_local3 + _local4);
_local3++;
}
};
Man.prototype.doubleBarrel = function () {
if (_root.sunet) {
this.shotgunSound.start();
}
var _local4 = (Math.random() * (2 * this.kick)) - this.kick;
var _local3 = -2;
while (_local3 <= 2.5) {
this.addBullet(_local3 + _local4);
_local3 = _local3 + 0.5;
}
};
Man.prototype.rocket = function () {
if (_root.sunet) {
this.lawSound.start();
}
this.addRocket((Math.random() * (2 * this.kick)) - this.kick);
};
Man.prototype.napalm = function () {
if (_root.sunet) {
this.lawSound.start();
}
this.addNapalm((Math.random() * (2 * this.kick)) - this.kick);
};
Man.prototype.grenade = function () {
if (_root.sunet) {
this.subbarrelSound.start();
}
this.addGrenade((Math.random() * (2 * this.kick)) - this.kick);
};
Man.prototype.knifeSlash = function (rad, dmg) {
var _local4 = 0;
while (_local4 < _global.hero) {
if (("hero" + _local4) != this._name) {
if (theDistance(this, _root["hero" + _local4]) <= ((rad + this.puzo) + _root["hero" + _local4].puzo)) {
_root["hero" + _local4].kick = _root["hero" + _local4].kick + 30;
_root["hero" + _local4].getShot(dmg);
}
}
_local4++;
}
};
Man.prototype.tSuperMutant = function () {
this.MAX_HP = 200;
this.HP = 200;
this.hp_mod = 2;
this.step = 2;
};
Man.prototype.tEnclave = function () {
this.MAX_HP = 300;
this.HP = 300;
this.hp_mod = 3;
};
Man.prototype.tZombie = function () {
this.MAX_HP = 500;
this.HP = 500;
this.hp_mod = 4;
this.step = 5;
this.AC = 0;
};
Man.prototype.tChosenOne = function () {
this.MAX_HP = 150;
this.HP = 150;
this.hp_mod = 1.5;
this.step = 4;
};
Man.prototype.tDemon = function () {
this.MAX_HP = 700;
this.HP = 700;
this.hp_mod = 7;
this.step = 5;
};
Man.prototype.tDeath = function () {
this.MAX_HP = 300;
this.HP = 200;
this.hp_mod = 5;
this.step = 10;
};
Man.prototype.tEnemy = function () {
this.AC = 0;
};
Man.prototype.tElite = function () {
this.AC = 50;
};
Soldier.prototype = new Man();
Soldier.prototype.turn = function (deg) {
deg = deg - 90;
while (deg < -180) {
deg = deg + 360;
}
while (deg > 180) {
deg = deg - 360;
}
var _local2 = this._rotation;
while (_local2 < -180) {
_local2 = _local2 + 360;
}
while (_local2 > 180) {
_local2 = _local2 - 360;
}
var _local4 = deg - _local2;
if (Math.abs(_local4) > 180) {
if (deg > _local2) {
_local4 = _local4 - 360;
} else {
_local4 = _local4 + 360;
}
}
if (_local4 < -4) {
this._rotation = this._rotation - 7;
} else if (_local4 > 4) {
this._rotation = this._rotation + 7;
} else {
this._rotation = deg;
return(true);
}
return(false);
};
Soldier.prototype.goto = function (x, y) {
var _local4 = radToDeg(Math.atan2(this._y - this.goy, this._x - this.gox));
var _local2 = null;
var _local3 = 0;
while (_local3 <= 80) {
_local2 = plot(_local4 + _local3, this.step);
if (this.canGo(-_local2.x, -_local2.y)) {
this._x = this._x - _local2.x;
this._y = this._y - _local2.y;
this.turn(radToDeg(Math.atan2(_local2.y, _local2.x)));
return(true);
}
_local2 = plot(_local4 - _local3, this.step);
if (this.canGo(-_local2.x, -_local2.y)) {
this._x = this._x - _local2.x;
this._y = this._y - _local2.y;
this.turn(radToDeg(Math.atan2(_local2.y, _local2.x)));
return(true);
}
_local3 = _local3 + 10;
}
return(false);
};
Soldier.prototype.moveOn = function (range) {
if ((Math.abs(this._x - this.gox) > range) || (Math.abs(this._y - this.goy) > range)) {
this.leg_l.play();
this.leg_r.play();
if (!this.goto(this.gox, this.goy)) {
this.gox = this._x;
this.goy = this._y;
}
} else if (((this.attacking == null) && (this.patrolX != null)) && (this.patrolY != null)) {
var _local3 = this.gox;
var _local2 = this.goy;
this.gox = this.patrolX;
this.goy = this.patrolY;
this.patrolX = _local3;
this.patrolY = _local2;
} else {
this.leg_l.stop();
this.leg_r.stop();
}
};
Soldier.prototype.onEnterFrame = function () {
if ((this.HP > 0) && (!_root.pauza)) {
this.stdFrame();
this.findEnemy();
this.attack();
this.panic();
this.moveOn(this.puzo);
}
if (!_root.pauza) {
this.isDead();
}
};
Soldier.prototype.atkRange = function () {
return(_root.theDistance(this, this.attacking) <= ((this.weapon.radius + this.puzo) + this.attacking.puzo));
};
Soldier.prototype.attack = function () {
if (this.attacking.HP <= 0) {
this.attacking = null;
}
if (this.attacking != null) {
if (this.turn(radToDeg(Math.atan2(this._y - this.attacking._y, this._x - this.attacking._x)))) {
if (((_global.times % this.weapon.fire_rate) == 0) && (this.hands._currentframe < 70)) {
if (this.weapon.melee && (!this.atkRange())) {
this.gox = this.attacking._x;
this.goy = this.attacking._y;
} else {
this.fireNow();
}
}
}
if (_global.times == 0) {
if (!this.inSight()) {
this.gox = this.lastSeenPlayerX;
this.goy = this.lastSeenPlayerY;
this.lastSeenPlayerX = null;
this.lastSeenPlayerY = null;
this.attacking = null;
this.hands.weapon.wpn.gotoAndStop(1);
} else {
this.lastSeenPlayerX = this.attacking._x;
this.lastSeenPlayerY = this.attacking._y;
if (!this.weapon.melee) {
this.gox = this._x;
this.goy = this._y;
}
}
}
}
};
Soldier.prototype.panic = function () {
if ((this.burning && (this.gox == this._x)) && (this.goy == this._y)) {
var _local4 = _root.d(_global.hero) - 1;
if (_root["hero" + _local4] == this) {
_local4--;
}
this.gox = _root["hero" + _local4]._x;
this.goy = _root["hero" + _local4]._y;
}
};
Soldier.prototype.inSight = function () {
var _local5 = new Line(this.attacking._x, this.attacking._y, this._x, this._y);
var _local3 = 0;
while (_local3 < _global.walls.length) {
var _local4 = _global.walls[_local3].cross(_local5);
if (_local4 != null) {
return(false);
}
_local3++;
}
return(true);
};
Soldier.prototype.fireNow = function () {
if ((this.weapon.clip - this.weapon.treat) >= 0) {
this.hands.weapon.wpn.gotoAndPlay(2);
this.weapon.clip = this.weapon.clip - this.weapon.treat;
} else if (this.weapon.ammo > 0) {
this.hands.gotoAndPlay("reload");
} else if (this.weapon == this.weap_1) {
this.changeWeapons(this.weap_4);
} else if (this.weapon == this.weap_4) {
this.changeWeapons(this.weap_2);
} else {
this.changeWeapons(this.weap_3);
}
};
Soldier.prototype.isDead = function () {
if ((this.HP <= 0) && (this._currentframe == 1)) {
this.weapon.drop();
this.hands.weapon.wpn.removeMovieClip();
this.gotoAndPlay("death");
_global.d_blood.swapDepths(101);
}
};
Soldier.prototype.notHit = function (x, y) {
var _local4 = 0;
while (_local4 < _global.hero) {
if (((("hero" + _local4) != this._name) && (_root["hero" + _local4].HP > 0)) && (_root.thatDistance(this, _root["hero" + _local4], x, y) < this.puzo)) {
return(false);
}
_local4++;
}
return(true);
};
Soldier.prototype.findEnemy = function () {
if ((this.HP > 0) && (_global.times == 0)) {
if (this.attacking == null) {
var _local4 = 0;
while (_local4 < _global.hero) {
if ((_root["hero" + _local4].HP > 0) && (_root["hero" + _local4].team != this.team)) {
this.attacking = _root["hero" + _local4];
if (this.inSight()) {
return(undefined);
}
this.attacking = null;
}
_local4++;
}
} else if (this.attacking.HP < 0) {
this.attacking = null;
}
}
};
Soldier.prototype.addGrenade = function (err) {
_root.addGrenade(this._x, this._y, this._rotation, err, this.attacking._x, this.attacking._y, this.weapon.alt_type);
};
Soldier.prototype.throwIt = function () {
_root.addHandGrenade(this._x, this._y, this._rotation, this.attacking._x, this.attacking._y, this.weapon.link);
};
Object.registerClass("Hero", Soldier);
Turret.prototype = new Man();
Turret.prototype.turn = function (deg) {
deg = deg - 90;
while (deg < -180) {
deg = deg + 360;
}
while (deg > 180) {
deg = deg - 360;
}
var _local2 = this._rotation;
while (_local2 < -180) {
_local2 = _local2 + 360;
}
while (_local2 > 180) {
_local2 = _local2 - 360;
}
var _local4 = deg - _local2;
if (Math.abs(_local4) > 180) {
if (deg > _local2) {
_local4 = _local4 - 360;
} else {
_local4 = _local4 + 360;
}
}
if (_local4 < -4) {
this._rotation = this._rotation - 7;
} else if (_local4 > 4) {
this._rotation = this._rotation + 7;
} else {
this._rotation = deg;
return(true);
}
return(false);
};
Turret.prototype.onEnterFrame = function () {
if ((this.HP > 0) && (!_root.pauza)) {
this.findEnemy();
this.attack();
}
if (!_root.pauza) {
this.isDead();
}
};
Turret.prototype.atkRange = function () {
return(_root.theDistance(this, this.attacking) <= ((this.weapon.radius + this.puzo) + this.attacking.puzo));
};
Turret.prototype.attack = function () {
if (this.attacking.HP <= 0) {
this.attacking = null;
}
if (this.attacking != null) {
if (this.turn(radToDeg(Math.atan2(this._y - this.attacking._y, this._x - this.attacking._x)))) {
if ((_global.times % this.fire_rate) == 0) {
this.fireNow();
}
}
if (_global.times == 0) {
if (!this.inSight()) {
this.attacking = null;
this.wpn.gotoAndStop(1);
}
}
}
};
Turret.prototype.inSight = function () {
var _local5 = new Line(this.attacking._x, this.attacking._y, this._x, this._y);
var _local3 = 0;
while (_local3 < _global.walls.length) {
var _local4 = _global.walls[_local3].cross(_local5);
if (_local4 != null) {
return(false);
}
_local3++;
}
return(true);
};
Turret.prototype.fireNow = function () {
this.wpn.gotoAndPlay(2);
};
Turret.prototype.isDead = function () {
if ((this.HP <= 0) && (this._currentframe == 1)) {
this.weapon.drop();
this.hands.weapon.wpn.removeMovieClip();
this.gotoAndPlay("death");
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 8000) ? 1 : -6000);
}
};
Turret.prototype.notHit = function (x, y) {
var _local4 = 0;
while (_local4 < _global.hero) {
if (((("hero" + _local4) != this._name) && (_root["hero" + _local4].HP > 0)) && (_root.thatDistance(this, _root["hero" + _local4], x, y) < this.puzo)) {
return(false);
}
_local4++;
}
return(true);
};
Turret.prototype.findEnemy = function () {
if ((this.HP > 0) && (_global.times == 0)) {
if (this.attacking == null) {
var _local4 = 0;
while (_local4 < _global.hero) {
if ((_root["hero" + _local4].HP > 0) && (_root["hero" + _local4].team != this.team)) {
this.attacking = _root["hero" + _local4];
if (this.inSight()) {
return(undefined);
}
this.attacking = null;
}
_local4++;
}
} else if (this.attacking.HP < 0) {
this.attacking = null;
}
}
};
Turret.prototype.addGrenade = function (err) {
_root.addGrenade(this._x, this._y, this._rotation, err, this.attacking._x, this.attacking._y, this.weapon.alt_type);
};
Turret.prototype.throwIt = function () {
_root.addHandGrenade(this._x, this._y, this._rotation, this.attacking._x, this.attacking._y, this.weapon.link);
};
Object.registerClass("Turret", Turret);
Player.prototype = new Man();
Player.prototype.turn = function () {
this._rotation = 90 + _root.radToDeg(Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x));
};
Player.prototype.moveOn = function (range) {
var _local3 = 0;
var _local2 = 0;
if (Key.isDown(87)) {
_local2 = _local2 - this.step;
}
if (Key.isDown(83)) {
_local2 = _local2 + this.step;
}
if (Key.isDown(65)) {
_local3 = _local3 - this.step;
}
if (Key.isDown(68)) {
_local3 = _local3 + this.step;
}
if (((_local3 != 0) || (_local2 != 0)) && (this.canGo(_local3, _local2))) {
this._x = this._x + _local3;
this._y = this._y + _local2;
this.leg_l.play();
this.leg_r.play();
} else {
this.leg_l.stop();
this.leg_r.stop();
}
};
Player.prototype.onEnterFrame = function () {
if ((this.HP > 0) && (!_root.pauza)) {
this.turn();
this.stdFrame();
this.attack();
this.moveOn();
this.anotherKeys();
}
if (!_root.pauza) {
this.writeAll();
this.isDead();
}
};
Player.prototype.onMouseDown = function () {
this.kurok = true;
};
Player.prototype.onMouseUp = function () {
this.kurok = false;
};
Player.prototype.attack = function () {
if (Key.isDown(82)) {
this.reloadNow();
}
if (this.kurok) {
if ((this.shot_timer == 0) && (this.hands._currentframe < 70)) {
this.shot_timer = this.weapon.fire_rate;
this.fireNow();
}
}
};
Player.prototype.fireNow = function () {
if (this.weapon.clip >= this.weapon.treat) {
this.hands.weapon.wpn.gotoAndPlay(2);
this.weapon.clip = this.weapon.clip - this.weapon.treat;
} else if (this.weapon.ammo > 0) {
this.reloadNow();
}
};
Player.prototype.fireAlt = function () {
if (this.weapon.alternate) {
if (this.weapon.alt_use) {
if (this.weapon.alt_clip >= this.weapon.alt_treat) {
this.hands.weapon.wpn.gotoAndPlay("alt");
this.weapon.alt_clip = this.weapon.alt_clip - this.weapon.alt_treat;
} else if (this.weapon.alt_ammo > 0) {
this.reloadNow();
}
} else if (this.weapon.clip >= this.weapon.alt_treat) {
this.hands.weapon.wpn.gotoAndPlay("alt");
this.weapon.clip = this.weapon.clip - this.weapon.alt_treat;
} else if (this.weapon.ammo > 0) {
this.reloadNow();
}
}
};
Player.prototype.isDead = function () {
if ((this.HP <= 0) && (this._currentframe == 1)) {
this.weapon.drop();
this.gotoAndPlay("death");
if (_global.LIVES <= 0) {
_root.unloadMap();
_root.gotoAndStop("GAME_OVER");
} else {
_root.attachMovie("again_question", "again", 100001, {_x:400, _y:300});
}
_global.LIVES--;
_global.gameStarted = 0;
}
};
Player.prototype.notHit = function (x, y) {
var _local4 = 1;
while (_local4 < _global.hero) {
if ((_root["hero" + _local4].HP > 0) && (_root.thatDistance(this, _root["hero" + _local4], x, y) < this.puzo)) {
return(false);
}
_local4++;
}
return(true);
};
Player.prototype.writeAll = function () {
_root._cursor.ammo_txt.text = this.weapon.ammo;
_root._cursor.clip_txt.text = this.weapon.clip;
_root.scr.ammo_txt.text = this.weapon.ammo;
_root.scr.clip_txt.text = this.weapon.clip;
_root.scr.alt_ammo_txt.text = this.weapon.alt_ammo;
_root.scr.alt_clip_txt.text = this.weapon.alt_clip;
if (this.HP > 0) {
_root.scr.HP_bar._xscale = this.HP / this.hp_mod;
_root.scr.hp_txt.text = this.HP;
} else {
_root.scr.HP_bar._xscale = 0;
_root.scr.hp_txt.text = "0";
}
_root.scr.AC_bar._xscale = this.AC;
_root.scr.ac_txt.text = this.AC;
_root.scr.kick_txt.text = this.kick;
_root.scr.KICK_bar._yscale = this.kick * 2;
_root._cursor.kick_bar._xscale = 100 + ((this.kick / 30) * 100);
_root._cursor.kick_bar._yscale = 100 + ((this.kick / 30) * 100);
};
Player.prototype.anotherKeys = function () {
if ((Key.isDown(71) && (this.weapon.plus != 3)) && ((getTimer() - _global.hold_time) > _global.KEYBOARD_SENSIVITY)) {
_global.hold_time = getTimer();
var _local5 = this.weapon.plus;
this["weap_" + _local5].drop();
this["weap_" + _local5] = null;
this.weapon = null;
switch (_local5) {
case 1 :
if (this.weap_2 != null) {
this.changeWeapons(this.weap_2);
} else {
this.changeWeapons(this.weap_3);
}
break;
case 2 :
if (this.weap_1 != null) {
this.changeWeapons(this.weap_1);
} else {
this.changeWeapons(this.weap_3);
}
break;
case 4 :
if (this.weap_1 != null) {
this.changeWeapons(this.weap_1);
} else if (this.weap_2 != null) {
this.changeWeapons(this.weap_2);
} else {
this.changeWeapons(this.weap_3);
}
}
}
if ((Key.isDown(49) && (this.weapon.plus != 1)) && (this.weap_1 != null)) {
this.changeWeapons(this.weap_1);
} else if ((Key.isDown(50) && (this.weapon.plus != 2)) && (this.weap_2 != null)) {
this.changeWeapons(this.weap_2);
} else if (Key.isDown(51) && ((this.weapon.plus != 3) & (this.weap_3 != null))) {
this.changeWeapons(this.weap_3);
} else if (Key.isDown(52) && ((this.weapon.plus != 4) & (this.weap_4 != null))) {
this.changeWeapons(this.weap_4);
}
if (Key.isDown(81)) {
var _local4 = 1;
while (_local4 < _global.hero) {
if ((_root["hero" + _local4].HP > 0) && (_root["hero" + _local4].team == this.team)) {
_root["hero" + _local4].gox = _root._xmouse;
_root["hero" + _local4].goy = _root._ymouse;
}
_local4++;
}
}
};
Player.prototype.addGrenade = function (err) {
_root.addGrenade(this._x, this._y, this._rotation, err, _root._xmouse, _root._ymouse, this.weapon.alt_type);
};
Player.prototype.throwIt = function () {
_root.addHandGrenade(this._x, this._y, this._rotation, _root._xmouse, _root._ymouse, this.weapon.link);
};
Object.registerClass("Player", Player);
Weapon.prototype = new Object();
Weapon.prototype.equip = function (character) {
this.owner = character;
character["weap_" + this.plus] = this;
if (_global.CHANGE_WEAPONS) {
character.changeWeapons(this);
}
if (character._name == "hero0") {
if (this.alt_use) {
_root.scr.gotoAndStop(2);
} else {
_root.scr.gotoAndStop(1);
if (this.alternate) {
_root.scr.alt_descr_txt.text = this.alt_description;
} else {
_root.scr.alt_descr_txt.text = "";
}
}
}
};
Weapon.prototype.drop = function () {
addDroppedGun(this.owner._x, this.owner._y, this.owner._rotation, this);
};
LAW.prototype = new Weapon();
FLY.prototype = new Weapon();
PKM.prototype = new Weapon();
M60.prototype = new Weapon();
PPD.prototype = new Weapon();
MG_36.prototype = new Weapon();
Browning_30.prototype = new Weapon();
AK_47.prototype = new Weapon();
M_16.prototype = new Weapon();
SVD.prototype = new Weapon();
M50.prototype = new Weapon();
PPH_41.prototype = new Weapon();
SKS.prototype = new Weapon();
StG_42.prototype = new Weapon();
Garand_M1.prototype = new Weapon();
UZI.prototype = new Weapon();
MP5.prototype = new Weapon();
MP_40.prototype = new Weapon();
Thompson.prototype = new Weapon();
SPAS_12.prototype = new Weapon();
Benelli_M3.prototype = new Weapon();
DB.prototype = new Weapon();
HK_28.prototype = new Weapon();
Browning_1921.prototype = new Weapon();
PM.prototype = new Weapon();
Beretta.prototype = new Weapon();
TT_33.prototype = new Weapon();
Colt_1917.prototype = new Weapon();
WALTER.prototype = new Weapon();
Knife.prototype = new Weapon();
RocketLauncher.prototype = new Weapon();
SuperShotgun.prototype = new Weapon();
Minigun.prototype = new Weapon();
SW_38.prototype = new Weapon();
Scorpion.prototype = new Weapon();
Automag.prototype = new Weapon();
CalicoM960.prototype = new Weapon();
Rem870.prototype = new Weapon();
Benelli_M4.prototype = new Weapon();
AKM.prototype = new Weapon();
G41.prototype = new Weapon();
Bren.prototype = new Weapon();
OICW.prototype = new Weapon();
HE.prototype = new Weapon();
FRAG.prototype = new Weapon();
TurretGun.prototype = new Weapon();
Bullet.prototype = new MovieClip();
Bullet.prototype.hit = function () {
var _local7 = 20000;
var _local6 = 0;
var _local5 = null;
var _local8 = null;
var _local9 = null;
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root["hero" + _local4].HP > 0) {
_root["hero" + _local4].getLines(0, 0);
_local5 = _root["hero" + _local4].lineCross(this.line, 0, 0);
if (_local5 != null) {
_local6 = Math.sqrt(((this._x - _local5.X) * (this._x - _local5.X)) + ((this._y - _local5.Y) * (this._y - _local5.Y)));
if (_local6 < _local7) {
_local7 = _local6;
_local8 = _local5;
_local9 = _local4;
}
}
}
_local4++;
}
if (_local8 != null) {
_root["hero" + _local9].getShot(this.damage);
this.line.end.X = _local8.X;
this.line.end.Y = _local8.Y;
}
this.lineStyle(1, 16776960, 100);
this.moveTo(0, 0);
this.lineTo(this.line.end.X - this._x, this.line.end.Y - this._y);
};
Object.registerClass("Bullet", Bullet);
OldBullet.prototype = new MovieClip();
OldBullet.prototype.onEnterFrame = function () {
if ((((this._x < (-_root._x)) || (this._y < (-_root._y))) || (this._x > (650 - _root._x))) || (this._y > (450 - _root._y))) {
this.removeMovieClip();
}
var _local4 = 0;
while (_local4 < _global.hero) {
if (((("hero" + _local4) != this.owner) && (_root["hero" + _local4].HP > 0)) && (_root["hero" + _local4].hitTest(this._x, this._y, false))) {
_root["hero" + _local4].getShot(this.damage);
this.removeMovieClip();
}
_local4++;
}
var _local5 = plot(this._rotation - 90, this.speed);
var _local6 = new Line(this._x, this._y, this._x + _local5.x, this._y + _local5.y);
var _local7 = _local6.wall();
if (_local7 == null) {
this._x = this._x + _local5.x;
this._y = this._y + _local5.y;
} else {
this.removeMovieClip();
}
if (this.hitTest(_root.hostage.hitmask)) {
_root.hostage.gotoAndPlay(2);
_root.score = Number(_root.score) - 1000;
}
if (this.hitTest(_root.hostage1.hitmask)) {
_root.hostage1.gotoAndPlay(2);
_root.score = Number(_root.score) - 1000;
}
if (this.hitTest(_root.hostage2.hitmask)) {
_root.hostage2.gotoAndPlay(2);
_root.score = Number(_root.score) - 1000;
}
if (this.hitTest(_root.hostage3.hitmask)) {
_root.hostage3.gotoAndPlay(2);
_root.score = Number(_root.score) - 1000;
}
if (this.hitTest(_root.hostage4.hitmask)) {
_root.hostage4.gotoAndPlay(2);
_root.score = Number(_root.score) - 1000;
}
};
Object.registerClass("OldBullet", OldBullet);
Gauss.prototype = new MovieClip();
Gauss.prototype.hit = function () {
this.lineStyle(2, 6711039, 50);
this.moveTo(0, 0);
this.lineTo(this.line.end.X - this._x, this.line.end.Y - this._y);
var _local4 = 0;
while (_local4 < _global.hero) {
_root["hero" + _local4].getLines(0, 0);
if (_root["hero" + _local4].lineHit(this.line, 0, 0)) {
_root["hero" + _local4].getShot(this.damage);
}
_local4++;
}
};
Object.registerClass("Gauss", Gauss);
Rocket.prototype = new MovieClip();
Rocket.prototype.blow = function () {
this.moving = false;
this.gotoAndPlay(2);
};
Rocket.prototype.explode = function () {
var _local5 = 15;
while (_local5 <= 345) {
_root.addBullet(this._x, this._y, this._rotation + _local5, _global.FRAG_DAMAGE);
_local5 = _local5 + 30;
}
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root.theDistance(this, _root["hero" + _local4]) <= _global.BLOW_RADIUS) {
_root["hero" + _local4].getShot(_global.HE_DAMAGE);
_root["hero" + _local4].kick = _root["hero" + _local4].kick + 30;
}
_local4++;
}
};
Rocket.prototype.onEnterFrame = function () {
if (this.moving) {
this.XBOCT._height = this.XBOCT._height + 10;
if ((((this._x < (-_root._x)) || (this._y < (-_root._y))) || (this._x > (650 - _root._x))) || (this._y > (450 - _root._y))) {
this.removeMovieClip();
}
var _local6 = plot(this._rotation - 90, this.speed);
var _local7 = new Line(this._x, this._y, this._x + _local6.x, this._y + _local6.y);
var _local8 = _local7.wall();
if (_local8 == null) {
this._x = this._x + _local6.x;
this._y = this._y + _local6.y;
} else {
this.blow();
return(undefined);
}
var _local5 = 0;
while (_local5 < _global.hero) {
if ((_root["hero" + _local5].HP > 0) && (_root["hero" + _local5].hitTest(this._x, this._y, false))) {
_root["hero" + _local5].HP = 0;
var _local4 = 0;
while (_local4 < 8) {
_root.addBlood(this._x, this._y);
_local4++;
}
this.blow();
}
_local5++;
}
}
};
Object.registerClass("Rocket", Rocket);
Napalm.prototype = new MovieClip();
Napalm.prototype.blow = function () {
this.moving = false;
this.gotoAndPlay(2);
};
Napalm.prototype.explode = function () {
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root.theDistance(this, _root["hero" + _local4]) <= this.radius) {
_root["hero" + _local4].attachMovie("Fire", "fire", 1);
}
_local4++;
}
};
Napalm.prototype.onEnterFrame = function () {
if (this.moving) {
this.XBOCT._height = this.XBOCT._height + 10;
if ((((this._x < (-_root._x)) || (this._y < (-_root._y))) || (this._x > (650 - _root._x))) || (this._y > (450 - _root._y))) {
this.removeMovieClip();
}
var _local6 = plot(this._rotation - 90, this.speed);
var _local7 = new Line(this._x, this._y, this._x + _local6.x, this._y + _local6.y);
var _local8 = _local7.wall();
if (_local8 == null) {
this._x = this._x + _local6.x;
this._y = this._y + _local6.y;
} else {
this.blow();
return(undefined);
}
var _local5 = 0;
while (_local5 < _global.hero) {
if ((_root["hero" + _local5].HP > 0) && (_root["hero" + _local5].hitTest(this._x, this._y, false))) {
_root["hero" + _local5].attachMovie("Fire", "fire", 1);
var _local4 = 0;
while (_local4 < 8) {
_root.addBlood(this._x, this._y);
_local4++;
}
this.blow();
}
_local5++;
}
}
};
Object.registerClass("Napalm", Napalm);
Grenade.prototype = new MovieClip();
Grenade.prototype.blow = function () {
this.moving = false;
this.gotoAndPlay(2);
};
Grenade.prototype.HEexplode = function () {
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root.theDistance(this, _root["hero" + _local4]) <= _global.BLOW_RADIUS) {
_root["hero" + _local4].getShot(_global.HE_DAMAGE);
_root["hero" + _local4].kick = _root["hero" + _local4].kick + 30;
}
_local4++;
}
};
Grenade.prototype.FRAGexplode = function () {
var _local4 = 5;
while (_local4 <= 355) {
_root.addBullet(this._x, this._y, this._rotation + _local4, _global.FRAG_DAMAGE);
_local4 = _local4 + 10;
}
};
Grenade.prototype.onEnterFrame = function () {
if (this.moving) {
if ((((this._x < (-_root._x)) || (this._y < (-_root._y))) || (this._x > (650 - _root._x))) || (this._y > (600 - _root._y))) {
this.removeMovieClip();
}
var _local6 = plot(this._rotation - 90, this.speed);
var _local7 = new Line(this._x, this._y, this._x + _local6.x, this._y + _local6.y);
var _local8 = _local7.wall();
if (_local8 == null) {
this._x = this._x + _local6.x;
this._y = this._y + _local6.y;
} else {
this.blow();
return(undefined);
}
if (Math.sqrt(((this._x - this.dst.X) * (this._x - this.dst.X)) + ((this._y - this.dst.Y) * (this._y - this.dst.Y))) <= this.speed) {
this.blow();
return(undefined);
}
}
var _local5 = 0;
while (_local5 < _global.hero) {
if ((_root["hero" + _local5].HP > 0) && (_root["hero" + _local5].hitTest(this._x, this._y, false))) {
_root["hero" + _local5].HP = 0;
var _local4 = 0;
while (_local4 < 8) {
_root.addBlood(this._x, this._y);
_local4++;
}
this.blow();
}
_local5++;
}
};
Object.registerClass("Grenade", Grenade);
HandGrenade.prototype = new MovieClip();
HandGrenade.prototype.blow = function () {
this._rotation = 0;
this.moving = false;
this.gotoAndPlay("blow");
};
HandGrenade.prototype.HEexplode = function () {
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root.theDistance(this, _root["hero" + _local4]) <= _global.BLOW_RADIUS) {
var _local5 = Math.floor((0.7 * (_root["hero" + _local4].AC / 100)) * _global.HE_DAMAGE);
_root["hero" + _local4].HP = _root["hero" + _local4].HP - (_global.HE_DAMAGE - _local5);
_root["hero" + _local4].AC = _root["hero" + _local4].AC - Math.floor(_local5 / 2);
_root["hero" + _local4].kick = _root["hero" + _local4].kick + 30;
_root.addBlood(_root["hero" + _local4]._x, _root["hero" + _local4]._y);
}
_local4++;
}
};
HandGrenade.prototype.FRAGexplode = function () {
var _local4 = 5;
while (_local4 <= 355) {
_root.addBullet(this._x, this._y, this._rotation + _local4, _global.FRAG_DAMAGE);
_local4 = _local4 + 10;
}
};
HandGrenade.prototype.onEnterFrame = function () {
if (this.moving) {
if ((((this._x < (-_root._x)) || (this._y < (-_root._y))) || (this._x > (650 - _root._x))) || (this._y > (450 - _root._y))) {
this.removeMovieClip();
}
var _local10 = plot(this._rotation - 90, this.speed);
var _local8 = new Line(this._x, this._y, this._x + _local10.x, this._y + _local10.y);
var _local5 = null;
var _local6 = null;
var _local7 = -1;
var _local4 = 0;
while (_local4 < _global.walls.length) {
_local5 = _global.walls[_local4].cross(_local8);
if ((_local5 != null) && ((_local6 == null) || (Math.abs(_local5.X - this.beg.x) < Math.abs(_local6.X - this.beg.x)))) {
_local6 = _local5;
_local7 = _local4;
}
_local4++;
}
if (_local6 == null) {
this._x = this._x + _local10.x;
this._y = this._y + _local10.y;
} else {
var _local9 = Math.atan2(_global.walls[_local7].beg.Y - _global.walls[_local7].end.Y, _global.walls[_local7].beg.X - _global.walls[_local7].end.X);
_local9 = radToDeg(_local9);
var _local11 = this._rotation - _local9;
this._rotation = znak(_local9) * ((180 - _local11) + _local9);
}
this.dst = this.dst - this.speed;
if (this.dst < 0) {
this.blow();
}
}
};
Object.registerClass("HandGrenade", HandGrenade);
Dropped.prototype = new MovieClip();
Dropped.prototype.onEnterFrame = function () {
if (this.hitTest(_root.hero0)) {
if (hero0["weap_" + this.key.plus] == null) {
this.key.equip(hero0);
this.removeMovieClip();
} else {
if (hero0["weap_" + this.key.plus].alt_type == this.key.alt_type) {
hero0["weap_" + this.key.plus].alt_ammo = hero0["weap_" + this.key.plus].alt_ammo + (this.key.alt_ammo + this.key.alt_clip);
this.key.alt_ammo = 0;
this.key.alt_clip = 0;
}
if ((hero0["weap_" + this.key.plus].cal == this.key.cal) && (this.key.cal != "none")) {
hero0["weap_" + this.key.plus].ammo = hero0["weap_" + this.key.plus].ammo + (this.key.ammo + this.key.clip);
this.removeMovieClip();
}
}
}
};
Object.registerClass("Dropped", Dropped);
NextLevel.prototype = new MovieClip();
NextLevel.prototype.onEnterFrame = function () {
if (this.hitTest(_root.hero0._x, _root.hero0._y, false)) {
_root.attachMovie("Congratulations", "win", 100011, {_x:400, _y:300});
_global.tempHP = _root.scr.HP_bar._xscale;
_global.gameStarted = 1;
}
};
Object.registerClass("NextLevel", NextLevel);
Cursor.prototype = new MovieClip();
Cursor.prototype.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
this.swapDepths(9999999999);
updateAfterEvent();
};
Object.registerClass("ArrowCursor", Cursor);
Object.registerClass("BattleCursor", Cursor);
Mouse.hide();
_root.attachMovie("ArrowCursor", "_cursor", 150000);
Flame.prototype = new MovieClip();
Flame.prototype.onEnterFrame = function () {
if ((_global.times % 2) == 0) {
var _local4 = 0;
while (_local4 < _global.hero) {
if (this.hitTest(_root["hero" + _local4]._x, _root["hero" + _local4]._y, true)) {
var _local5 = new Line(_root["hero" + _local4]._x, _root["hero" + _local4]._y, this.owner._x, this.owner._y);
var _local6 = _local5.wall();
if (_local6 == null) {
if (_root["hero" + _local4].AC > 80) {
_root["hero" + _local4].getShot(10);
} else {
_root["hero" + _local4].getShot(10);
_root["hero" + _local4].attachMovie("Fire", "fire", 1);
}
}
}
_local4++;
}
}
};
Object.registerClass("Flame", Flame);
Object.registerClass("FlameTriple", Flame);
Fire.prototype = new MovieClip();
Fire.prototype.onEnterFrame = function () {
if ((_global.times % 3) == 0) {
this._parent.getShot(5);
if (this._parent.HP <= 0) {
this.removeMovieClip();
}
}
};
Object.registerClass("Fire", Fire);
Slash.prototype = new MovieClip();
Slash.prototype.hit = function (dmg) {
var _local4 = 0;
while (_local4 < _global.hero) {
if (("hero" + _local4) != this.owner._name) {
if (this.hitTest(_root["hero" + _local4])) {
var _local5 = new Line(_root["hero" + _local4]._x, _root["hero" + _local4]._y, this.owner._x, this.owner._y);
var _local6 = _local5.wall();
if (_local6 == null) {
if (dmg == undefined) {
_root["hero" + _local4].getShot(this.owner.weapon.damage);
} else {
_root["hero" + _local4].getShot(dmg);
}
}
}
}
_local4++;
}
};
Object.registerClass("Slash", Slash);
Medkit.prototype = new MovieClip();
Medkit.prototype.onEnterFrame = function () {
if (this.hitTest(_root.hero0._x, _root.hero0._y, false)) {
if (_root.hero0.HP < _root.hero0.MAX_HP) {
_root.hero0.HP = _root.hero0.HP + this.heal_power;
if (_root.hero0.HP > _root.hero0.MAX_HP) {
_root.hero0.HP = _root.hero0.MAX_HP;
}
this.removeMovieClip();
}
}
};
Medkit_Small.prototype = new Medkit();
Object.registerClass("Medkit_Small", Medkit_Small);
Medkit_Large.prototype = new Medkit();
Object.registerClass("Medkit_Large", Medkit_Large);
Armor.prototype = new MovieClip();
Armor.prototype.onEnterFrame = function () {
if (this.hitTest(_root.hero0._x, _root.hero0._y, false)) {
if (_root.hero0.AC < 100) {
_root.hero0.AC = _root.hero0.AC + this.heal_power;
if (_root.hero0.AC > 100) {
_root.hero0.AC = 100;
}
this.removeMovieClip();
}
}
};
Armor_Small.prototype = new Armor();
Object.registerClass("Armor_Small", Armor_Small);
Armor_Large.prototype = new Armor();
Object.registerClass("Armor_Large", Armor_Large);
fscommand ("showmenu", false);
_global.walls = new Array();
_root.setDefaults();
_root.loadDefaults();
MOVIE_PLAYED = false;
Instance of Symbol 600 MovieClip "mainmenu" in Frame 6
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.musicplay == true) {
_root.attachMovie("music", "music", 5, {_x:20, _y:20});
}
}
Frame 7
stop();
_root.score = 0;
musicplay = true;
scorethingy.removeMovieClip();
_root.mainMenu_m.Play_btn.onPress = function () {
_global.LIVES = 3;
_root.attachMovie("music", "music", 5, {_x:20, _y:20});
_root.gotoAndStop(8);
_root.gameLoad((_root._currentframe - 3) - 174);
};
_root.scorethingy._visible = false;
Instance of Symbol 636 MovieClip "mainMenu_m" in Frame 7
onClipEvent (load) {
_root.attachMovie("music2", "music2", 5, {_x:20, _y:20});
}
Frame 8
stop();
_root.scorethingy._visible = true;
this.HP = 100;
_root.scorethingy._x = 221;
_root.scorethingy._y = 438;
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 657 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "no";
melee = "Knife";
pistol = "SW_38";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 44 MovieClip [NextLevel] in Frame 8
onClipEvent (enterFrame) {
if (_root.hero0.hitTest(this)) {
this._alpha = 100;
}
}
Instance of Symbol 662 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 662 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 1;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 667 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.score <= 0) {
_root.score = 0;
}
}
Instance of Symbol 674 MovieClip in Frame 8
onClipEvent (load) {
this.swapDepths(999999999);
}
Frame 9
_root.hero0._x = 20;
_root.hero0._y = 200;
Instance of Symbol 659 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Frame 10
_root.hero0._x = 20;
_root.hero0._y = 220;
Instance of Symbol 659 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 657 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 294;
go_y = 154;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 44 MovieClip [NextLevel] in Frame 10
onClipEvent (enterFrame) {
if (_root.hero0.hitTest(this)) {
this._alpha = 100;
}
}
Instance of Symbol 659 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Frame 11
_root.hero0._x = 500;
_root.hero0._y = 400;
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 662 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "Rem870";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 118;
go_y = 258;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 44 MovieClip [NextLevel] in Frame 11
onClipEvent (enterFrame) {
if (_root.hero0.hitTest(this)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "no";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Frame 12
_root.hero0._x = 320;
_root.hero0._y = 400;
Instance of Symbol 657 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 657 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 1;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 657 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 375;
go_y = 196;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip "v" in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 136;
go_y = 202;
patrol = true;
subtype = "tEnemy";
}
Frame 13
_root.hero0._x = 470;
_root.hero0._y = 400;
Instance of Symbol 13 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 13 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 657 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "no";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 13 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Frame 14
_root.hero0._x = 50;
_root.hero0._y = 400;
Instance of Symbol 662 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 657 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 662 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 746 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Alpha";
gun = "default";
melee = "Knife";
pistol = "default";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip "v" in Frame 14
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 657 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 659 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "Rem870";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Frame 15
_root.hero0._x = 20;
_root.hero0._y = 250;
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "Rem870";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "Rem870";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 330;
go_y = 30;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "Rem870";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 330;
go_y = 30;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Frame 16
_root.hero0._x = 20;
_root.hero0._y = 400;
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 30;
go_y = 420;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 657 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 662 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "Rem870";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 80;
go_y = 220;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "Rem870";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 330;
go_y = 30;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 44 MovieClip [NextLevel] in Frame 16
onClipEvent (enterFrame) {
if (_root.hero0.hitTest(this)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "Rem870";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Frame 17
_root.hero0._x = 20;
_root.hero0._y = 50;
Instance of Symbol 657 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 662 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 657 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip "v" in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "no";
melee = "Knife";
pistol = "SW_38";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "no";
melee = "Knife";
pistol = "SW_38";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "no";
melee = "Knife";
pistol = "SW_38";
gren = "no";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "Rem870";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Frame 18
_root.hero0._x = 600;
_root.hero0._y = 100;
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "Benelli_M4";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 746 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Alpha";
gun = "default";
melee = "Knife";
pistol = "default";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 657 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Frame 19
_root.hero0._x = 29;
_root.hero0._y = 400;
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "FRAG";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "no";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 657 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 657 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Frame 20
_root.hero0._x = 560;
_root.hero0._y = 395;
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "FRAG";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 662 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 657 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Frame 21
_root.hero0._x = 572;
_root.hero0._y = 352;
Instance of Symbol 657 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "G41";
melee = "Knife";
pistol = "Scorpion";
gren = "FRAG";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 659 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "CalicoM960";
melee = "Knife";
pistol = "SW_38";
gren = "HE";
go_x = 30;
go_y = 420;
patrol = true;
subtype = "tEnemy";
}
Frame 22
_root.hero0._x = 243;
_root.hero0._y = 402;
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "G41";
melee = "Knife";
pistol = "Scorpion";
gren = "FRAG";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 662 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Frame 23
_root.hero0._x = 132;
_root.hero0._y = 36;
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 657 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 662 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 659 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "FRAG";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Frame 24
_root.hero0._x = 23;
_root.hero0._y = 19;
Instance of Symbol 808 MovieClip "finishlevel" in Frame 24
onClipEvent (enterFrame) {
if (_root.hero0.hitTest(this)) {
stopAllSounds();
this.gotoAndStop(2);
}
}
Instance of Symbol 659 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tElite";
}
Instance of Symbol 659 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "FRAG";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 746 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Alpha";
gun = "default";
melee = "Knife";
pistol = "default";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "tEnemy";
}
Instance of Symbol 657 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Frame 26
_root.scorethingy.removeMovieClip();
_root.unloadMap();
_root.pauza = true;
_root.attachMovie("music2", "music2", 5, {_x:20, _y:20});
Frame 38
_root.score = _root.score + 50;
_root.loadMap(WhatToLoad);
Frame 39
stop();
Frame 40
scorethingy.swapDepths(9999999);
scorethingy.removeMovieClip();
trace(scorethingy);
_root.scorethingy._visible = false;
_root.attachMovie("music2", "music2", 5, {_x:20, _y:20});
Symbol 4 MovieClip [music] Frame 2
stopAllSounds();
gotoAndStop (1);
Symbol 6 MovieClip [music2] Frame 2
stopAllSounds();
gotoAndStop (1);
Symbol 13 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 9
stop();
Symbol 29 MovieClip Frame 1
stopAllSounds();
Instance of Symbol 13 MovieClip in Symbol 29 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Symbol 29 MovieClip Frame 29
stop();
if (_global.CORPSES) {
stop();
} else {
this.removeMovieClip();
}
Symbol 30 MovieClip [herodeath] Frame 30
stop();
Symbol 44 MovieClip [NextLevel] Frame 1
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 67 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?lastshot", "_blank");
}
Symbol 97 MovieClip Frame 42
Symbol 97 MovieClip Frame 55
stop();
_parent.play();
Symbol 138 MovieClip Frame 1
stop();
l = 0;
Instance of Symbol 70 MovieClip "mcNotice" in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 138 MovieClip Frame 28
l++;
if (l < 3) {
gotoAndPlay ("loop");
} else {
stop();
if (_url.indexOf("freeonlinegames.com") >= 0) {
_root.gotoAndPlay(6);
stop();
} else if (_root.debug) {
_root.play();
stop();
} else {
mcNotice._visible = true;
l = 3;
stop();
}
}
Symbol 138 MovieClip Frame 51
_root.gotoAndPlay(6);
Symbol 140 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?lastshot", "_blank");
}
Instance of Symbol 138 MovieClip "logo" in Symbol 141 MovieClip Frame 1
on (release) {
getURL ("http://www.freeonlinegames.com/?lastshot", "_blank");
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 165 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 166 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 174 Button
on (press) {
gotoAndStop (7);
}
Symbol 177 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?lastshot", "_blank");
}
Symbol 224 MovieClip [Knife] Frame 1
stop();
Symbol 224 MovieClip [Knife] Frame 2
this._parent._parent.play();
Symbol 224 MovieClip [Knife] Frame 6
this.slash.hit();
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4)) + 1;
}
Symbol 235 MovieClip [SW_38] Frame 1
stop();
Symbol 235 MovieClip [SW_38] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 235 MovieClip [SW_38] Frame 3
gotoAndStop (1);
Symbol 241 MovieClip [Scorpion] Frame 1
stop();
Symbol 241 MovieClip [Scorpion] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 241 MovieClip [Scorpion] Frame 3
gotoAndStop (1);
Symbol 241 MovieClip [Scorpion] Frame 4
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 241 MovieClip [Scorpion] Frame 5
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 241 MovieClip [Scorpion] Frame 6
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 247 MovieClip [Automag] Frame 1
stop();
Symbol 247 MovieClip [Automag] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 247 MovieClip [Automag] Frame 3
gotoAndStop (1);
Symbol 253 MovieClip [CalicoM960] Frame 1
stop();
Symbol 253 MovieClip [CalicoM960] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 253 MovieClip [CalicoM960] Frame 3
gotoAndStop (1);
Symbol 253 MovieClip [CalicoM960] Frame 4
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 253 MovieClip [CalicoM960] Frame 5
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 253 MovieClip [CalicoM960] Frame 6
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 259 MovieClip [Rem870] Frame 1
stop();
Symbol 259 MovieClip [Rem870] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shotgun();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 271 MovieClip [Benelli_M4] Frame 1
stop();
Symbol 271 MovieClip [Benelli_M4] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shotgun();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 277 MovieClip [AKM] Frame 1
stop();
Symbol 277 MovieClip [AKM] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 277 MovieClip [AKM] Frame 4
gotoAndStop (1);
Symbol 289 MovieClip [G41] Frame 1
stop();
Symbol 289 MovieClip [G41] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 289 MovieClip [G41] Frame 3
gotoAndStop (1);
Symbol 289 MovieClip [G41] Frame 4
this._parent._parent._parent.grenade();
Symbol 295 MovieClip [Bren] Frame 1
stop();
Symbol 295 MovieClip [Bren] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 295 MovieClip [Bren] Frame 3
gotoAndStop (1);
Symbol 295 MovieClip [Bren] Frame 4
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(6);
Symbol 295 MovieClip [Bren] Frame 5
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(6);
Symbol 295 MovieClip [Bren] Frame 6
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(6);
Symbol 295 MovieClip [Bren] Frame 7
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(6);
Symbol 301 MovieClip [OICW] Frame 1
stop();
Symbol 301 MovieClip [OICW] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 301 MovieClip [OICW] Frame 3
gotoAndStop (1);
Symbol 301 MovieClip [OICW] Frame 4
this._parent._parent._parent.grenade();
Symbol 307 MovieClip [Bullet] Frame 1
this.hit();
Symbol 307 MovieClip [Bullet] Frame 3
this.removeMovieClip();
Symbol 310 MovieClip [Dropped] Frame 15
stop();
Symbol 320 MovieClip [FRAG] Frame 1
stop();
Symbol 320 MovieClip [FRAG] Frame 2
this._parent._parent.play();
Symbol 323 MovieClip [Gauss] Frame 1
this.hit();
Symbol 323 MovieClip [Gauss] Frame 3
this.removeMovieClip();
Symbol 346 MovieClip Frame 30
stop();
Symbol 347 MovieClip [Grenade] Frame 1
stop();
Symbol 347 MovieClip [Grenade] Frame 2
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
this[this.type_expl + "explode"]();
Symbol 347 MovieClip [Grenade] Frame 19
this.removeMovieClip();
Symbol 350 MovieClip [HandGrenade] Frame 102
this[this.type_expl + "explode"]();
Symbol 350 MovieClip [HandGrenade] Frame 119
this.removeMovieClip();
Symbol 352 MovieClip [HE] Frame 1
stop();
Symbol 352 MovieClip [HE] Frame 2
this._parent._parent.play();
Symbol 370 MovieClip [Napalm] Frame 1
stop();
Symbol 370 MovieClip [Napalm] Frame 2
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
this.explode();
Symbol 370 MovieClip [Napalm] Frame 19
this.removeMovieClip();
Symbol 382 MovieClip [Rocket] Frame 1
stop();
Symbol 382 MovieClip [Rocket] Frame 2
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
this.explode();
Symbol 382 MovieClip [Rocket] Frame 19
this.removeMovieClip();
Symbol 397 MovieClip [Shell] Frame 12
stop();
Instance of Symbol 396 MovieClip in Symbol 397 MovieClip [Shell] Frame 12
onClipEvent (load) {
if (_global.SHELLS) {
this.swapDepths(_global.down_depth);
_global.down_depth = _global.down_depth + ((_global.down_depth <= 12000) ? 1 : -4000);
this.stop();
} else {
this.unloadMovie();
}
}
Symbol 409 MovieClip [Blood_1] Frame 10
stop();
Symbol 419 MovieClip [Blood_2] Frame 10
stop();
Symbol 429 MovieClip [Blood_3] Frame 11
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 2
play();
Symbol 446 MovieClip Frame 48
gotoAndStop (1);
Symbol 454 Button
on (press) {
gotoAndStop (2);
}
Symbol 456 Button
on (press) {
gotoAndStop (1);
}
Symbol 465 Button
on (press) {
_quality = "LOW";
}
Symbol 471 Button
on (press) {
_quality = "MEDIUM";
}
Symbol 477 Button
on (press) {
_quality = "HIGH";
}
Symbol 482 Button
on (press) {
_root.attachMovie("music", "music", 5, {_x:20, _y:20});
gotoAndStop (2);
}
Symbol 485 Button
on (press) {
_root.musicplay = true;
stopAllSounds();
gotoAndStop (1);
}
Symbol 486 MovieClip Frame 1
stop();
_root.musicplay = false;
Symbol 486 MovieClip Frame 2
_root.musicplay = true;
Symbol 490 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?lastshot", "_blank");
}
Symbol 495 Button
on (press) {
_root.pauza = false;
_global.gameStarted = 0;
_root.attachMovie("music2", "music2", 5, {_x:20, _y:20});
}
Symbol 500 Button
on (press) {
gotoAndStop (1);
}
Symbol 518 MovieClip Frame 1
stop();
_root.pauza = false;
Symbol 518 MovieClip Frame 2
this.quit_btn.onPress = function () {
function proceed() {
clearInterval(myInterval);
_root.gotoAndStop(7);
_root.unloadMap();
}
myInterval = setInterval(proceed, 1);
};
_root.pauza = true;
Instance of Symbol 486 MovieClip in Symbol 518 MovieClip Frame 2
onClipEvent (load) {
if (_root.musicplay == true) {
this.gotoAndStop(2);
}
if (_root.musicplay == false) {
this.gotoAndStop(1);
}
}
Symbol 523 MovieClip [Screen] Frame 1
stop();
Symbol 526 MovieClip [YOU] Frame 1
this.onEnterFrame = function () {
this._x = _root.hero0._x;
this._y = _root.hero0._y;
this._alpha--;
};
Symbol 526 MovieClip [YOU] Frame 100
this.removeMovieClip();
Symbol 535 Button
on (press) {
if (_root.musicplay == true) {
_root.attachMovie("music", "music", 5, {_x:20, _y:20});
_root.gameLoad((_root._currentframe - 3) - 174);
_root.again.removeMovieClip();
}
if (_root.musicplay == false) {
_root.gameLoad((_root._currentframe - 3) - 174);
_root.again.removeMovieClip();
}
}
Symbol 538 Button
on (release) {
_root.scorethingy._visible = false;
_root.unloadMap();
_root.gotoAndStop(177);
_root.again.removeMovieClip();
}
Symbol 540 MovieClip [again_question] Frame 1
if (_root._currentframe == 4) {
_global.LIVES = 2;
}
if (_global.LIVES == 1) {
live_txt.text = _global.LIVES + " life left";
} else {
live_txt.text = _global.LIVES + " lives left";
}
Instance of Symbol 547 MovieClip in Symbol 548 MovieClip [Congratulations] Frame 1
onClipEvent (enterFrame) {
if (_root._currentframe < 185) {
_root.gameLoad((_root._currentframe - 2) - 174);
} else {
_root.unloadMap();
}
_root.win.removeMovieClip();
_root.pauza = false;
}
Symbol 560 MovieClip Frame 4
gotoAndStop ("rifle");
Symbol 560 MovieClip Frame 7
gotoAndStop ("smg");
Symbol 560 MovieClip Frame 11
if (_root.sunet) {
_root.inn.start(0, 1);
}
Symbol 560 MovieClip Frame 17
if (_root.sunet) {
_root.out.start(0, 1);
}
Symbol 560 MovieClip Frame 22
gotoAndStop ("shotgun");
Symbol 560 MovieClip Frame 24
gotoAndStop ("pistol");
Symbol 560 MovieClip Frame 55
this._parent.throwIt();
gotoAndStop ("grenade");
Symbol 560 MovieClip Frame 70
gotoAndStop ("knife");
Symbol 560 MovieClip Frame 89
weapon.attachMovie(this._parent.ch_weap.link, "wpn", 1);
Symbol 560 MovieClip Frame 109
gotoAndStop(this._parent.ch_weap._type);
Symbol 560 MovieClip Frame 179
if (_root.sunet) {
_root.inn.start(0, 1);
}
Symbol 560 MovieClip Frame 189
if (_root.sunet) {
_root.out.start(0, 1);
}
Symbol 560 MovieClip Frame 199
this._parent.plusClip();
this._parent.plusAltClip();
this.gotoAndStop(this._parent.weapon._type);
Symbol 571 MovieClip Frame 1
stop();
Symbol 573 MovieClip [Hero] Frame 1
stop();
Symbol 573 MovieClip [Hero] Frame 2
_root.score = _root.score + (random(100) + 50);
Instance of Symbol 13 MovieClip in Symbol 573 MovieClip [Hero] Frame 2
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 571 MovieClip in Symbol 573 MovieClip [Hero] Frame 2
onClipEvent (load) {
this.gotoAndStop(random(6));
}
Symbol 573 MovieClip [Hero] Frame 30
if (_global.CORPSES) {
stop();
} else {
this.removeMovieClip();
}
Symbol 577 MovieClip [Player] Frame 1
stop();
Symbol 577 MovieClip [Player] Frame 4
stopAllSounds();
Instance of Symbol 13 MovieClip in Symbol 577 MovieClip [Player] Frame 4
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Symbol 577 MovieClip [Player] Frame 32
if (_global.CORPSES) {
stop();
} else {
this.removeMovieClip();
}
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 2
this._parent.shot();
this._parent.addShell();
this._parent.getKicked();
Symbol 592 MovieClip Frame 4
gotoAndStop (1);
Symbol 598 MovieClip [Turret] Frame 1
stop();
Symbol 598 MovieClip [Turret] Frame 2
_root.score = _root.score + (random(150) + 50);
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
Instance of Symbol 571 MovieClip in Symbol 598 MovieClip [Turret] Frame 2
onClipEvent (load) {
this.gotoAndStop(random(6));
}
Symbol 598 MovieClip [Turret] Frame 30
if (_global.CORPSES) {
stop();
} else {
this.removeMovieClip();
}
Instance of Symbol 212 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4)) + 1;
}
Symbol 606 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 2
stop();
Symbol 609 Button
on (release) {
_root.mainMenu_m.gotoAndStop(4);
}
Symbol 612 Button
on (press) {
_root.gotoAndStop(5);
}
Symbol 616 Button
on (press) {
getURL ("http://www.freegamesforyourwebsite.com/?lastshot", "_blank");
}
Symbol 617 MovieClip Frame 1
stop();
Symbol 619 Button
on (rollOver) {
_root.mainMenu_m.anim.Pbtn.gotoAndStop(2);
}
on (rollOut) {
_root.mainMenu_m.anim.Pbtn.gotoAndStop(1);
}
Symbol 620 Button
on (release) {
gotoAndStop (3);
}
Symbol 626 Button
on (press) {
_root.saveDefaults();
gotoAndStop (2);
}
Symbol 631 MovieClip Frame 1
this.onRelease = function () {
_global[val] = !_global[val];
if (_global[val]) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
};
if (_global[val]) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 631 MovieClip Frame 2
_global[val] = false;
Symbol 631 MovieClip Frame 3
_global[val] = true;
Symbol 636 MovieClip Frame 2
stop();
Instance of Symbol 625 MovieClip "inst" in Symbol 636 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 636 MovieClip Frame 3
stop();
Symbol 636 MovieClip Frame 4
stop();
Instance of Symbol 631 MovieClip in Symbol 636 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
val = "BLOOD";
}
Instance of Symbol 631 MovieClip in Symbol 636 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
val = "SHELLS";
}
Instance of Symbol 631 MovieClip in Symbol 636 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
val = "CORPSES";
}
Symbol 639 MovieClip Frame 16
stop();
Symbol 657 MovieClip Frame 1
_root.attachMovie("Medkit_" + tp, "wpn_" + _global.down_depth, _global.down_depth, {_x:this._x, _y:this._y});
_global.down_depth = _global.down_depth + ((_global.down_depth <= 12000) ? 1 : -4000);
this.removeMovieClip();
this.unloadMovie();
Symbol 659 MovieClip Frame 1
if (who == "Player") {
_root.addPlayer(this._x, this._y, this._rotation, skin, gun, pistol, melee, gren, subtype);
} else {
_root.addSoldier(this._x, this._y, this._rotation, skin, gun, pistol, melee, gren, subtype, go_x, go_y, team, patrol);
}
this.removeMovieClip();
this.unloadMovie();
Symbol 662 MovieClip Frame 1
_root.attachMovie("Armor_" + tp, "wpn_" + _global.down_depth, _global.down_depth, {_x:this._x, _y:this._y});
_global.down_depth = _global.down_depth + ((_global.down_depth <= 12000) ? 1 : -4000);
this.removeMovieClip();
this.unloadMovie();
Symbol 673 Button
on (press) {
gotoAndStop (512);
_root.pauza = false;
}
Symbol 674 MovieClip Frame 1
_root.pauza = true;
Instance of Symbol 670 MovieClip in Symbol 674 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
gotoAndStop (512);
}
}
Instance of Symbol 670 MovieClip in Symbol 674 MovieClip Frame 286
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(302);
}
}
Instance of Symbol 670 MovieClip in Symbol 674 MovieClip Frame 286
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
gotoAndStop (512);
}
}
Symbol 674 MovieClip Frame 302
_root.pauza = false;
Symbol 674 MovieClip Frame 512
stop();
Symbol 710 MovieClip Frame 1
stop();
Instance of Symbol 13 MovieClip in Symbol 710 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(7));
}
Instance of Symbol 571 MovieClip in Symbol 710 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(6));
}
Symbol 710 MovieClip Frame 30
if (_global.CORPSES) {
stop();
} else {
gotoAndStop (31);
}
stop();
Symbol 746 MovieClip Frame 1
_root.addTurret(this._x, this._y, this._rotation);
this.removeMovieClip();
this.unloadMovie();
Symbol 808 MovieClip Frame 1
stop();
Instance of Symbol 528 MovieClip in Symbol 808 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.gotoAndStop(26);
_root.unloadMap();
}
Symbol 815 MovieClip Frame 2
stop();
Symbol 820 Button
on (release) {
if (_root.score <= 0) {
submit_but.enabled = false;
submit_but._alpha = 100;
} else {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.gamer = 41;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
submit_but.enabled = false;
submit_but._alpha = 20;
}
}
Symbol 822 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/?lastshot", "_blank");
}
Symbol 825 MovieClip Frame 35
stop();
Symbol 827 Button
on (release) {
if (_root.score <= 0) {
submit_but.enabled = false;
submit_but._alpha = 100;
} else {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.gamer = 41;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
submit_but.enabled = false;
submit_but._alpha = 20;
}
}