Frame 1
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
prel.gotoAndStop(tgPrel);
if (b1 >= b2) {
gotoAndPlay ("intro");
}
Frame 4
if (Math.round(b1 / 1024) <= 35) {
gotoAndPlay ("loop1");
}
Frame 5
_root.b1 = _root.getBytesLoaded();
_root.b2 = _root.getBytesTotal();
_root.tgPrel = 1 + Math.round((b1 * 100) / b2);
_root.tg = _root.tgPrel - 2;
trace("_root.tg: " + _root.tg);
if (_root.tg <= 9) {
_root.procent = "0" + _root.tg;
} else {
_root.procent = _root.tg;
}
_root.prel.gotoAndStop(_root.tgPrel);
Frame 9
if (Math.round(b1 / 1024) <= 100) {
gotoAndPlay ("loop2");
}
Frame 11
_root.b1 = _root.getBytesLoaded();
_root.b2 = _root.getBytesTotal();
_root.tgPrel = 1 + Math.round((b1 * 100) / b2);
_root.tg = _root.tgPrel - 2;
trace("_root.TG: " + tgPrel);
if (_root.tgPrel <= 9) {
_root.procent = "0" + tg;
trace(_root.procent);
} else {
_root.procent = tg;
}
_root.prel.gotoAndStop(_root.tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay ("loop3");
}
Frame 15
_root.procent = "--";
prel.gotoAndStop(100);
Frame 166
_root.locatie = _url;
if (_root.locatie.indexOf("www.freeonlinegames.com", 0) != -1) {
_root.play();
} else {
_root.gotoAndPlay("loop1");
}
Frame 174
_root.sunet = true;
_root.grenadeExpl = new Sound();
_root.grenadeExpl.attachSound("grenadeExpl");
_root.dieSND = new Sound();
_root.dieSND.attachSound("die.wav");
_root.inn = new Sound();
_root.inn.attachSound("inn");
_root.out = new Sound();
_root.out.attachSound("out");
_root.locatie = _url;
if (_root.locatie.indexOf("www.freeonlinegames.com", 0) != -1) {
_root.play();
} else {
_root.gotoAndPlay("loop1");
}
Frame 175
Frame 176
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.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 = 1000;
this.puzo = 20;
this.weapon = new TurretGun();
}
function Player() {
this.constr();
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 = 9;
this.max_kick = 12;
this.fire_rate = 7;
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 = "S&W .38";
}
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 = 3;
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 = false;
this.description = "Scorpion SMG";
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 = ".308 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 improved";
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 = 5;
this.max_kick = 35;
this.fire_rate = 2;
this.damage = 85;
this.ammo = 60;
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 = 4;
this.alt_use = false;
this.description = "Bren MG";
this.alt_description = "Burst x4";
}
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 = "Mega 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 = 20;
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;
}
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.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);
if (subtype != "no") {
_root.hero0[subtype]();
}
_global.d_creature++;
};
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", 149000, {_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 (175);
};
toEngine = function () {
gotoAndPlay (175);
};
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;
this.HP = 100;
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);
};
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");
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 8000) ? 1 : -6000);
}
};
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(38)) {
_local2 = _local2 - this.step;
}
if (Key.isDown(40)) {
_local2 = _local2 + this.step;
}
if (Key.isDown(37)) {
_local3 = _local3 - this.step;
}
if (Key.isDown(39)) {
_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();
}
} else if (Key.isDown(32)) {
if ((this.weapon.alternate && (this.shot_timer == 0)) && (this.hands._currentframe < 70)) {
this.shot_timer = this.weapon.alt_rate;
this.fireAlt();
}
}
};
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--;
}
};
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();
}
};
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});
}
};
Object.registerClass("NextLevel", NextLevel);
Cursor.prototype = new MovieClip();
Cursor.prototype.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
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 497 MovieClip in Frame 176
onClipEvent (load) {
this._visible = false;
}
Frame 177
stop();
trace("coperta");
_root.score = 0;
Instance of Symbol 593 MovieClip in Frame 178
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Militia";
gun = "no";
melee = "Knife";
pistol = "SW_38";
gren = "no";
go_x = 410;
go_y = 160;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 593 MovieClip in Frame 178
//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 593 MovieClip in Frame 178
//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 593 MovieClip in Frame 178
//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 593 MovieClip in Frame 178
//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 595 MovieClip in Frame 178
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 597 MovieClip in Frame 178
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Frame 178
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 179
//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 593 MovieClip in Frame 179
//component parameters
onClipEvent (construct) {
who = "Player";
team = 1;
skin = "Pilot";
gun = "CalicoM960";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 0;
go_y = 0;
patrol = false;
subtype = "no";
}
Instance of Symbol 595 MovieClip in Frame 179
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 597 MovieClip in Frame 179
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 593 MovieClip in Frame 179
//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 593 MovieClip in Frame 179
//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 593 MovieClip in Frame 179
//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 593 MovieClip in Frame 179
//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 593 MovieClip in Frame 179
//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";
}
Frame 179
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 180
//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 593 MovieClip in Frame 180
//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 595 MovieClip in Frame 180
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 595 MovieClip in Frame 180
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 597 MovieClip in Frame 180
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 593 MovieClip in Frame 180
//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 593 MovieClip in Frame 180
//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 593 MovieClip in Frame 180
//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 593 MovieClip in Frame 180
//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 593 MovieClip in Frame 180
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "AKM";
melee = "Knife";
pistol = "Scorpion";
gren = "HE";
go_x = 256;
go_y = 185;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 593 MovieClip in Frame 180
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Soldier";
gun = "no";
melee = "Knife";
pistol = "Scorpion";
gren = "no";
go_x = 384;
go_y = 282;
patrol = true;
subtype = "tEnemy";
}
Instance of Symbol 593 MovieClip in Frame 180
//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 593 MovieClip in Frame 180
//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";
}
Frame 180
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 181
//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 595 MovieClip in Frame 181
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 595 MovieClip in Frame 181
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 593 MovieClip in Frame 181
//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 593 MovieClip in Frame 181
//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 595 MovieClip in Frame 181
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 593 MovieClip in Frame 181
//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 593 MovieClip in Frame 181
//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 593 MovieClip in Frame 181
//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 593 MovieClip "v" in Frame 181
//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 593 MovieClip in Frame 181
//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 593 MovieClip in Frame 181
//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 593 MovieClip in Frame 181
//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 181
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 182
//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 595 MovieClip in Frame 182
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 593 MovieClip "v" in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 372;
go_y = 331;
patrol = true;
subtype = "tElite";
}
Instance of Symbol 593 MovieClip "v" in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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 593 MovieClip in Frame 182
//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";
}
Frame 182
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 183
//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 595 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 595 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 597 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
tp = "Large";
}
Instance of Symbol 595 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 593 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 200;
go_y = 276;
patrol = true;
subtype = "tElite";
}
Instance of Symbol 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 372;
go_y = 331;
patrol = true;
subtype = "tElite";
}
Instance of Symbol 593 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 159;
go_y = 401;
patrol = true;
subtype = "tElite";
}
Instance of Symbol 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//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 593 MovieClip in Frame 183
//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 597 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 597 MovieClip in Frame 183
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Frame 183
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "G41";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 206;
go_y = 428;
patrol = true;
subtype = "tElite";
}
Instance of Symbol 593 MovieClip in Frame 184
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Elite";
gun = "Bren";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 403;
go_y = 24;
patrol = true;
subtype = "tElite";
}
Instance of Symbol 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 597 MovieClip in Frame 184
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 597 MovieClip in Frame 184
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 593 MovieClip in Frame 184
//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 626 MovieClip in Frame 184
//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";
}
Frame 184
if (false) {
}
Instance of Symbol 593 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 597 MovieClip in Frame 185
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 597 MovieClip in Frame 185
//component parameters
onClipEvent (construct) {
tp = "Small";
}
Instance of Symbol 593 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 626 MovieClip in Frame 185
//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 626 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 626 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//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 593 MovieClip in Frame 185
//component parameters
onClipEvent (construct) {
who = "Soldier";
team = 2;
skin = "Grenader";
gun = "OICW";
melee = "Knife";
pistol = "Automag";
gren = "HE";
go_x = 467;
go_y = 191;
patrol = true;
subtype = "tElite";
}
Frame 185
if (false) {
}
Frame 186
_root.score = _root.score + random(50);
_root.loadMap(WhatToLoad);
Frame 187
stop();
Instance of Symbol 558 MovieClip in Frame 187
//component parameters
onClipEvent (construct) {
wynume = "LostInTheJungle";
wyculoare = 4347167 /* 0x42551F */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Sus";
wyinstructions = false;
}
Frame 188
if (false) {
}
Frame 189
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
Frame 190
_root.menu.removeMovieClip();
_root.gameid = "LostInTheJungle";
_root.best = _root.score;
_root.score = 0;
_root.updated = 0;
_root.done = 0;
done = 0;
i = 1;
while (i <= 100) {
_root["score" + i] = null;
_root["name" + i] = null;
_root["escore" + i] = null;
_root["ename" + i] = null;
i++;
}
Frame 192
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 193
if (false) {
}
Frame 200
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 204
monthnume = new Array();
monthscor = new Array();
i = 1;
while (i <= 100) {
monthnume[i] = _root["name" + i];
monthscor[i] = Number(_root["score" + i].slice(0, _root["score" + i].length - 1));
i++;
}
evernume = new Array();
everscor = new Array();
i = 1;
while (i <= 100) {
evernume[i] = _root["ename" + i];
everscor[i] = Number(_root["escore" + i].slice(0, _root["escore" + i].length - 1));
i++;
}
Frame 205
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 5 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local3 in this.styleFormat_prm) {
this.setStyleProperty(_local3, this.styleFormat_prm[_local3]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var _local2 in this.methodTable) {
this[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local4 = this.styleTable.focusRectInner.value;
var _local5 = this.styleTable.focusRectOuter.value;
if (_local4 == undefined) {
_local4 = 16777215 /* 0xFFFFFF */;
}
if (_local5 == undefined) {
_local5 = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, _local5);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, _local4);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var _local17 = parseInt(value);
if (!isNaN(_local17)) {
value = _local17;
}
var _local16 = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!_local16)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var _local18 = propName.subString(4, propName.length);
this.textStyle[_local18] = value;
this.invalidate("setSize");
} else {
for (var _local15 in this.styleTable[propName].coloredMCs) {
var _local4 = new Color(this.styleTable[propName].coloredMCs[_local15]);
if (this.styleTable[propName].value == undefined) {
var _local5 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local4.setTransform(_local5);
} else {
_local4.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = _local16;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var _local4 = new Color(skinMCRef);
_local4.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var _local3 in arguments[0]) {
this[_local3] = arguments[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local3 = 0;
while (_local3 < arguments.length) {
var _local4 = arguments[_local3];
this.listeners[arguments[_local3]] = _local4;
for (var _local5 in this) {
if (this.isAStyle(_local5)) {
_local4.updateStyleProperty(this, _local5.toString());
}
}
_local3++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
if (component.styleTable[_local4].useGlobal == this.isGlobal) {
component.styleTable[_local4].useGlobal = true;
var _local3 = (this.isGlobal ? undefined : (globalStyleFormat[_local4]));
component.setStyleProperty(_local4, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local6 = 0;
for (var _local5 in this.listeners) {
var _local3 = this.listeners[_local5];
if (arguments.length > 0) {
var _local4 = 0;
while (_local4 < arguments.length) {
if (this.isAStyle(arguments[_local4])) {
_local3.updateStyleProperty(this, arguments[_local4]);
}
_local4++;
}
} else {
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
_local3.updateStyleProperty(this, _local4.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 18 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 27 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 36 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 37 MovieClip [UpArrow] Frame 1
stop();
Symbol 37 MovieClip [UpArrow] Frame 2
stop();
Symbol 37 MovieClip [UpArrow] Frame 3
stop();
Symbol 43 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 52 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 57 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 58 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 66 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 74 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 82 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 83 MovieClip [DownArrow] Frame 1
stop();
Symbol 83 MovieClip [DownArrow] Frame 2
stop();
Symbol 83 MovieClip [DownArrow] Frame 3
stop();
Symbol 86 MovieClip [Smoke] Frame 45
this.unloadMovie();
Symbol 102 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 103 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
_local2 = Math.min(_local2, this.maxPos);
this.setScrollPosition(Math.max(_local2, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local3 = this.enable;
if (enabledFlag && (!_local3)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (_local3)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local3 = this.smallScroll;
if (inc != "one") {
_local3 = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var _local2 = this.getScrollPosition() + (mode * _local3);
if (_local2 > this.maxPos) {
_local2 = this.maxPos;
} else if (_local2 < this.minPos) {
_local2 = this.minPos;
}
this.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var _local2 = this.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (this._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var _local3 = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(_local3, this.textField.maxhscroll));
} else {
var _local3 = this.textField.scroll;
var _local2 = this.textField.bottomScroll - this.textField.scroll;
this.setScrollProperties(_local2, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(_local3, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 110 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?LostInTheJungle", "_blank");
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 50
stop();
_parent.play();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 205 MovieClip [Knife] Frame 1
stop();
Symbol 205 MovieClip [Knife] Frame 2
this._parent._parent.play();
Symbol 205 MovieClip [Knife] Frame 6
this.slash.hit();
Symbol 212 MovieClip [SW_38] Frame 1
stop();
Symbol 212 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 212 MovieClip [SW_38] Frame 3
!!!ERROR
Symbol 216 MovieClip [Scorpion] Frame 1
!!!ERROR
Symbol 216 MovieClip [Scorpion] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 216 MovieClip [Scorpion] Frame 3
!!!ERROR
Symbol 216 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 216 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 216 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 220 MovieClip [Automag] Frame 1
!!!ERROR
Symbol 220 MovieClip [Automag] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 220 MovieClip [Automag] Frame 3
!!!ERROR
Symbol 224 MovieClip [CalicoM960] Frame 1
!!!ERROR
Symbol 224 MovieClip [CalicoM960] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 224 MovieClip [CalicoM960] Frame 3
!!!ERROR
Symbol 224 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 224 MovieClip [CalicoM960] Frame 5
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.kickMore(2);
Symbol 224 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 228 MovieClip [Rem870] Frame 1
!!!ERROR
Symbol 228 MovieClip [Rem870] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shotgun();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 232 MovieClip [Benelli_M4] Frame 1
!!!ERROR
Symbol 232 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 238 MovieClip [AKM] Frame 1
!!!ERROR
Symbol 238 MovieClip [AKM] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 238 MovieClip [AKM] Frame 4
!!!ERROR
Symbol 238 MovieClip [AKM] Frame 12
!!!ERROR
Symbol 250 MovieClip [G41] Frame 1
!!!ERROR
Symbol 250 MovieClip [G41] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 250 MovieClip [G41] Frame 3
!!!ERROR
Symbol 250 MovieClip [G41] Frame 4
this._parent._parent._parent.grenade();
Symbol 254 MovieClip [Bren] Frame 1
!!!ERROR
Symbol 254 MovieClip [Bren] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 254 MovieClip [Bren] Frame 3
!!!ERROR
Symbol 254 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 254 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 254 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 254 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 258 MovieClip [OICW] Frame 1
!!!ERROR
Symbol 258 MovieClip [OICW] Frame 2
this._parent._parent.play();
this._parent._parent._parent.shot();
this._parent._parent._parent.addShell();
this._parent._parent._parent.getKicked();
Symbol 258 MovieClip [OICW] Frame 3
!!!ERROR
Symbol 258 MovieClip [OICW] Frame 4
this._parent._parent._parent.grenade();
Symbol 263 MovieClip [Bullet] Frame 1
!!!ERROR
Symbol 263 MovieClip [Bullet] Frame 3
!!!ERROR
Symbol 266 MovieClip [Dropped] Frame 30
!!!ERROR
Symbol 276 MovieClip [FRAG] Frame 1
!!!ERROR
Symbol 276 MovieClip [FRAG] Frame 2
this._parent._parent.play();
Symbol 278 MovieClip [Gauss] Frame 1
!!!ERROR
Symbol 278 MovieClip [Gauss] Frame 3
!!!ERROR
Symbol 293 MovieClip [Grenade] Frame 1
!!!ERROR
Symbol 293 MovieClip [Grenade] Frame 2
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
this[this.type_expl + "explode"]();
Symbol 293 MovieClip [Grenade] Frame 19
!!!ERROR
Symbol 305 MovieClip [HandGrenade] Frame 75
this[this.type_expl + "explode"]();
Symbol 305 MovieClip [HandGrenade] Frame 92
!!!ERROR
Symbol 307 MovieClip [HE] Frame 1
!!!ERROR
Symbol 307 MovieClip [HE] Frame 2
this._parent._parent.play();
Symbol 323 MovieClip [Napalm] Frame 1
!!!ERROR
Symbol 323 MovieClip [Napalm] Frame 2
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
this.explode();
Symbol 323 MovieClip [Napalm] Frame 19
!!!ERROR
Symbol 333 MovieClip [Rocket] Frame 1
!!!ERROR
Symbol 333 MovieClip [Rocket] Frame 2
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
this.explode();
Symbol 333 MovieClip [Rocket] Frame 19
!!!ERROR
Symbol 334 MovieClip [Shell] Frame 25
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 341 MovieClip [Blood_1] Frame 15
if (_global.BLOOD) {
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 12000) ? 1 : -4000);
this.stop();
} else {
this.unloadMovie();
}
Symbol 346 MovieClip [Blood_2] Frame 15
if (_global.BLOOD) {
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 12000) ? 1 : -4000);
this.stop();
} else {
this.unloadMovie();
}
Symbol 351 MovieClip [Blood_3] Frame 15
if (_global.BLOOD) {
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 12000) ? 1 : -4000);
this.stop();
} else {
this.unloadMovie();
}
Symbol 356 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 357 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 358 Button
on (release) {
!!!ERROR
Symbol 359 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 360 Button
on (release, keyPress "p") {
!!!ERROR
Symbol 361 Button
on (release, keyPress "s") {
!!!ERROR
Symbol 375 MovieClip Frame 1
stop();
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
_parent.wxbutno = 6;
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == true)) {
this.gotoAndStop(2);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(3);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(4);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(5);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(6);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(7);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(8);
_parent.wxbutno = 3;
}
Symbol 375 MovieClip Frame 2
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 375 MovieClip Frame 3
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 375 MovieClip Frame 4
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 375 MovieClip Frame 5
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 375 MovieClip Frame 6
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 375 MovieClip Frame 7
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 375 MovieClip Frame 8
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 380 Button
on (press) {
!!!ERROR
Symbol 383 MovieClip Frame 1
stop();
if (_parent.wxaliniere == "Dreapta-Jos") {
this.gotoAndStop(2);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(3);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(5);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(6);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(7);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(4);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(8);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(9);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(10);
}
Symbol 383 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 383 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 383 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 383 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 383 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 383 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 383 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 383 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 383 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 401 MovieClip Frame 1
stop();
this.onRollOver = function () {
if (_parent._parent._currentframe <= 10) {
_parent._parent.gotoAndPlay(11);
}
};
if (_parent._parent.wxbutno == 5) {
this.gotoAndStop(2);
}
if (_parent._parent.wxbutno == 4) {
this.gotoAndStop(3);
}
if (_parent._parent.wxbutno == 3) {
this.gotoAndStop(4);
}
Symbol 402 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 403 MovieClip Frame 1
function pauseFunction() {
if (!_root.pauza) {
_root.pauza = true;
} else {
_root.pauza = false;
}
}
function soundFunction() {
if (_root.sunet) {
_root.sunet = false;
trace("sunet: " + _root.sunet);
} else {
_root.sunet = true;
trace("sunet: " + _root.sunet);
}
}
function mainMenuFunction() {
_root.gotoAndStop("coperta");
_root.unloadMap();
_root.again.removeMovieClip();
}
stop();
wxnguides._alpha = 0;
my_color = new Color(my_mc);
my_color.setRGB(wxculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wxnmenu.tg);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3 = new Color(wxnfer);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
Symbol 403 MovieClip Frame 10
!!!ERROR
Symbol 403 MovieClip Frame 20
!!!ERROR
Symbol 423 MovieClip Frame 1
!!!ERROR
Symbol 423 MovieClip Frame 10
!!!ERROR
Symbol 429 MovieClip [Screen] Frame 1
!!!ERROR
Instance of Symbol 403 MovieClip "meniu" in Symbol 429 MovieClip [Screen] Frame 1
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 432 MovieClip [YOU] Frame 1
this.onEnterFrame = function () {
this._x = _root.hero0._x;
this._y = _root.hero0._y;
this._alpha--;
};
Symbol 432 MovieClip [YOU] Frame 100
!!!ERROR
Symbol 435 Button
on (release) {
_root.gameLoad((_root._currentframe - 3) - 174);
_root.again.removeMovieClip();
}
Symbol 436 Button
on (release) {
_root.unloadMap();
_root.gotoAndStop(177);
_root.again.removeMovieClip();
}
Symbol 439 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";
}
Symbol 449 Button
on (release) {
if (_root._currentframe < 185) {
_root.gameLoad((_root._currentframe - 2) - 174);
} else {
_root.unloadMap();
_root.gotoAndStop("END_GAME");
}
_global.LIVES = 3;
_root.win.removeMovieClip();
}
Symbol 460 MovieClip Frame 4
!!!ERROR
Symbol 460 MovieClip Frame 7
!!!ERROR
Symbol 460 MovieClip Frame 11
if (_root.sunet) {
_root.inn.start(0, 1);
}
Symbol 460 MovieClip Frame 17
if (_root.sunet) {
_root.out.start(0, 1);
}
Symbol 460 MovieClip Frame 22
!!!ERROR
Symbol 460 MovieClip Frame 24
!!!ERROR
Symbol 460 MovieClip Frame 55
!!!ERROR
Symbol 460 MovieClip Frame 70
!!!ERROR
Symbol 460 MovieClip Frame 89
!!!ERROR
Symbol 460 MovieClip Frame 109
!!!ERROR
Symbol 460 MovieClip Frame 179
if (_root.sunet) {
_root.inn.start(0, 1);
}
Symbol 460 MovieClip Frame 189
if (_root.sunet) {
_root.out.start(0, 1);
}
Symbol 460 MovieClip Frame 199
this._parent.plusClip();
this._parent.plusAltClip();
this.gotoAndStop(this._parent.weapon._type);
Symbol 471 MovieClip [Hero] Frame 1
!!!ERROR
Symbol 471 MovieClip [Hero] Frame 2
_root.score = _root.score + (random(100) + 50);
Symbol 471 MovieClip [Hero] Frame 30
!!!ERROR
Symbol 476 MovieClip [Player] Frame 1
!!!ERROR
Symbol 476 MovieClip [Player] Frame 21
if (_root.sunet) {
_root.dieSND.start(0, 1);
}
Symbol 476 MovieClip [Player] Frame 45
!!!ERROR
Symbol 487 MovieClip Frame 1
!!!ERROR
Symbol 487 MovieClip Frame 2
this._parent.shot();
this._parent.addShell();
this._parent.getKicked();
Symbol 487 MovieClip Frame 4
!!!ERROR
Symbol 495 MovieClip [Turret] Frame 1
!!!ERROR
Symbol 495 MovieClip [Turret] Frame 2
_root.score = _root.score + (random(150) + 50);
if (_root.sunet) {
_root.grenadeExpl.start(0, 1);
}
Symbol 495 MovieClip [Turret] Frame 19
!!!ERROR
Symbol 508 Button
on (release) {
!!!ERROR
Symbol 513 Button
on (release) {
_root.pauza = false;
_global.LIVES = 3;
_root.gameLoad(1);
}
Symbol 518 Button
on (release) {
!!!ERROR
Symbol 519 Button
on (release) {
!!!ERROR
Symbol 520 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 527 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 527 MovieClip Frame 2
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 527 MovieClip Frame 3
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 528 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 535 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 535 MovieClip Frame 2
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 535 MovieClip Frame 3
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 536 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 537 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 537 MovieClip Frame 2
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 537 MovieClip Frame 3
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 542 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 543 MovieClip Frame 1
!!!ERROR
Symbol 546 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 547 MovieClip Frame 1
!!!ERROR
Symbol 548 Button
on (release, keyPress "p") {
!!!ERROR
Symbol 555 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 555 MovieClip Frame 2
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 555 MovieClip Frame 3
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 556 Button
on (release, keyPress "p") {
!!!ERROR
Symbol 557 MovieClip Frame 1
!!!ERROR
Symbol 558 MovieClip Frame 1
!!!ERROR
Symbol 558 MovieClip Frame 2
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 558 MovieClip Frame 3
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 558 MovieClip Frame 4
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 558 MovieClip Frame 5
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 558 MovieClip Frame 6
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 565 Button
on (release) {
!!!ERROR
Symbol 572 MovieClip Frame 1
!!!ERROR
Symbol 572 MovieClip Frame 2
!!!ERROR
Symbol 572 MovieClip Frame 3
!!!ERROR
Symbol 572 MovieClip Frame 4
!!!ERROR
Symbol 575 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 575 MovieClip Frame 2
!!!ERROR
Symbol 575 MovieClip Frame 3
!!!ERROR
Symbol 577 Button
on (release) {
!!!ERROR
Symbol 578 Button
on (release) {
!!!ERROR
Symbol 579 Button
on (release) {
!!!ERROR
Symbol 580 Button
on (release) {
!!!ERROR
Symbol 583 MovieClip Frame 2
!!!ERROR
Instance of Symbol 558 MovieClip in Symbol 583 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
!!!ERROR
Instance of Symbol 569 MovieClip "inst" in Symbol 583 MovieClip Frame 2
onClipEvent (load) {
!!!ERROR
Symbol 583 MovieClip Frame 3
!!!ERROR
Symbol 583 MovieClip Frame 4
!!!ERROR
Instance of Symbol 575 MovieClip in Symbol 583 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
!!!ERROR
Instance of Symbol 575 MovieClip in Symbol 583 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
!!!ERROR
Instance of Symbol 575 MovieClip in Symbol 583 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
!!!ERROR
Instance of Symbol 575 MovieClip in Symbol 583 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
!!!ERROR
Instance of Symbol 575 MovieClip in Symbol 583 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 593 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 595 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 597 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 626 MovieClip Frame 1
_root.addTurret(this._x, this._y, this._rotation);
this.removeMovieClip();
this.unloadMovie();
Symbol 632 Button
on (release) {
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
}
Symbol 635 Button
on (release) {
!!!ERROR
Symbol 644 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 220);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
i = 1;
while (i <= 30) {
scoresScroll["n" + i].text = _root.monthnume[i];
scoresScroll["s" + i].text = _root.monthscor[i];
i++;
}
Symbol 651 Button
on (release) {
!!!ERROR
Symbol 956 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 915);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
q = 1;
while (q <= 100) {
scoresScroll["n" + q].text = _root.evernume[q];
scoresScroll["s" + q].text = _root.everscor[q];
q++;
}
Instance of Symbol 103 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 956 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
!!!ERROR
Symbol 962 Button
on (release) {
!!!ERROR
Symbol 978 Button
on (release) {
i = 1;
while (i <= 100) {
if (_root.best > _root.monthscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.monthscor[k] = _root.monthscor[k - 1];
_root.monthnume[k] = _root.monthnume[k - 1];
k--;
}
_root.monthscor[i] = _root.best;
_root.monthnume[i] = _root.nickname;
i = 31;
}
i++;
}
i = 1;
while (i <= 100) {
if (_root.best > _root.everscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.everscor[k] = _root.everscor[k - 1];
_root.evernume[k] = _root.evernume[k - 1];
k--;
}
_root.everscor[i] = _root.best;
_root.evernume[i] = _root.nickname;
i = 31;
}
i++;
}
gotoAndPlay ("submit");
}
Symbol 984 Button
on (release) {
!!!ERROR
Symbol 988 MovieClip Frame 1
!!!ERROR
Symbol 988 MovieClip Frame 9
!!!ERROR
Symbol 988 MovieClip Frame 22
!!!ERROR
Symbol 988 MovieClip Frame 34
var my_date:Date = new Date();
codul = Math.round(my_date.getTime() / 1000) * _root.best;
cale = (((((("http://www.freeonlinegames.com/scoreboard/update.php?game=" + _root.gameid) + "&name=") + _root.nickname) + "&score=") + _root.best) + "&code=") + codul;
loadVariablesNum (cale, 0, "GET");
gotoAndPlay ("loop");
Symbol 988 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}