Frame 1
function znak(num) {
if (num < 0) {
return(-1);
}
return(1);
}
function distX(obj1, obj2, xx) {
return(Math.abs((obj1._x + xx) - obj2._x));
}
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 trigger_SOME_NAME() {
trace("TRIGGER NOT DEFINED");
}
function trigger_Train_Doors_Close() {
_root.train1.gotoAndPlay("close");
_root.train2.gotoAndPlay("close");
}
function trigger_Gates_Town_Close() {
_root.gates1.play();
_root.cp.play();
}
function trigger_Barney_Begin_Speak() {
_root.barney.play();
}
function trigger_Stas_Begin_Speak() {
_root.stas.play();
}
function trigger_Barney_Crowbar() {
_root.barney_cr.play();
}
function trigger_Put_On_HEV_Suit() {
_root.hevsuit.gotoAndStop("nosuit");
_root.hero0.sideView("Freeman");
_root.kleiner.gotoAndPlay("portal");
_root.scr._visible = true;
}
function trigger_Kleiner_Hail() {
_root.kleiner.gotoAndPlay("hail");
_root.hevsuit.play();
}
function trigger_DropShip_Descent() {
_root.dropship.play();
}
function trigger_Father_Gregori_Shotgun() {
_root.gregori_sh.play();
}
function trigger_Elevator_lv14_1_open() {
_root.elev1.play();
}
function trigger_Elevator_lv14_2_open() {
_root.elev2.play();
}
function trigger_Elevator_lv15_3_open() {
_root.elev3.play();
}
function trigger_Subway_Train_Play() {
_root.subway.play();
}
function trigger_Subway_Train_Doors_Open() {
_root.subway.tr1.gotoAndPlay("open");
}
function trigger_METALLICA_START() {
_root.MAIN_SONG.stop();
_root.METALLICA_SONG.start(20);
}
setDefaults = function () {
_global.times = 0;
_global.WALLS_VISIBLE = false;
_global.CHANGE_WEAPONS = true;
_global.KEYBOARD_SENSIVITY = 800;
_global.G = 2;
_global.CRITICAL_HIT = 2;
_global.hold_time = 0;
_global.d_blood = 101;
_global.down_depth = 8001;
_global.d_creature = 65001;
_global.free_depth = 65536;
_global.hero = 1;
_global.box = 0;
_global.thing = 0;
_global.other = 0;
_root.vehicle = null;
};
loadDefaults = function () {
var _local2 = SharedObject.getLocal("HLF");
var _local3 = false;
for (var _local4 in _local2.data) {
_local3 = true;
break;
}
if (_local3) {
_global.LAST_LV = _local2.data.LAST_LV;
_global.LAST_GUNS = _local2.data.LAST_GUNS;
_global.LAST_HP = _local2.data.LAST_HP;
_global.LAST_AC = _local2.data.LAST_AC;
_global.LAST_CURR = _local2.data.LAST_CURR;
_global.MAX_EPISODE = _local2.data.MAX_EPISODE;
_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.OLD_SHELLS = _local2.data.OLD_SHELLS;
_global.SAVED_QUALITY = _local2.data.SAVED_QUALITY;
_global.SMALL_OBJECTS = _local2.data.SMALL_OBJECTS;
_global.BLOOD_LEVEL = _local2.data.BLOOD_LEVEL;
MAIN_SONG.setVolume(_local2.data.SONG_VOLIME);
TRAIN_LOOP.setVolume(_local2.data.SONG_VOLIME);
_global.CO_LEFT = _local2.data.CO_LEFT;
_global.CO_RIGHT = _local2.data.CO_RIGHT;
_global.CO_RUN = _local2.data.CO_RUN;
_global.CO_JUMP = _local2.data.CO_JUMP;
_global.CO_DUCK = _local2.data.CO_DUCK;
_global.CO_ALT = _local2.data.CO_ALT;
_global.CO_USE = _local2.data.CO_USE;
_global.CO_RELOAD = _local2.data.CO_RELOAD;
_global.CO_DROP = _local2.data.CO_DROP;
} else {
_global.LAST_LV = 0;
_global.LAST_GUNS = null;
_global.LAST_HP = 100;
_global.LAST_AC = 0;
_global.LAST_CURR = null;
_global.MAX_EPISODE = 1;
_global.BLOOD = true;
_global.SHELLS = true;
_global.CORPSES = true;
_global.DIFFICULTLY = 2;
_global.OLD_BULLETS = false;
_global.OLD_SHELLS = false;
_global.SAVED_QUALITY = "MEDIUM";
_global.SMALL_OBJECTS = true;
_global.BLOOD_LEVEL = 0;
MAIN_SONG.setVolume(32);
TRAIN_LOOP.setVolume(32);
_global.CO_LEFT = 65;
_global.CO_RIGHT = 68;
_global.CO_RUN = 16;
_global.CO_JUMP = 87;
_global.CO_DUCK = 17;
_global.CO_ALT = 32;
_global.CO_USE = 69;
_global.CO_RELOAD = 82;
_global.CO_DROP = 71;
}
};
saveDefaults = function () {
var _local2 = SharedObject.getLocal("HLF");
_local2.data.LAST_LV = _global.LAST_LV;
_local2.data.LAST_GUNS = _global.LAST_GUNS;
_local2.data.LAST_HP = _global.LAST_HP;
_local2.data.LAST_AC = _global.LAST_AC;
_local2.data.LAST_CURR = _global.LAST_CURR;
_local2.data.MAX_EPISODE = _global.MAX_EPISODE;
_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.OLD_SHELLS = _global.OLD_SHELLS;
_local2.data.SAVED_QUALITY = _global.SAVED_QUALITY;
_local2.data.SMALL_OBJECTS = _global.SMALL_OBJECTS;
_local2.data.BLOOD_LEVEL = _global.BLOOD_LEVEL;
_local2.data.SONG_VOLIME = MAIN_SONG.getVolume();
_local2.data.CO_LEFT = _global.CO_LEFT;
_local2.data.CO_RIGHT = _global.CO_RIGHT;
_local2.data.CO_RUN = _global.CO_RUN;
_local2.data.CO_JUMP = _global.CO_JUMP;
_local2.data.CO_DUCK = _global.CO_DUCK;
_local2.data.CO_ALT = _global.CO_ALT;
_local2.data.CO_USE = _global.CO_USE;
_local2.data.CO_RELOAD = _global.CO_RELOAD;
_local2.data.CO_DROP = _global.CO_DROP;
_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);
};
dd = function (dice) {
return(Math.floor(Math.random() * ((dice * 2) + 1)) - dice);
};
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 = (3.141593 * deg) / 180;
return(rad);
};
radToDeg = function (rad) {
deg = (rad * 180) / 3.141593;
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))));
};
addBox = function (x, y, tp, pz, hp, h, pr) {
_root.attachMovie("Box", "box" + _global.box, _global.down_depth, {_x:x, _y:y, puzo:pz});
_root["box" + _global.box].HP = hp;
_root["box" + _global.box].HEIGHT = h;
_root["box" + _global.box].prize = pr;
_root["box" + _global.box].skin_mc.attachMovie("Box_" + tp, "box", 1);
_global.down_depth++;
_global.box++;
};
addCart = function (x, y, tp, pz, fr, h) {
_root.attachMovie("Cart", "box" + _global.box, _global.down_depth, {_x:x, _y:y, puzo:pz});
_root["box" + _global.box].attachMovie("Cart_" + tp, "cart", 1);
_root["box" + _global.box].friction = fr;
_root["box" + _global.box].HEIGHT = h;
_root["box" + _global.box].cart.wheels.stop();
_global.down_depth++;
_global.box++;
};
addThing = function (x, y, tp, rd, ss, fr, jq, dy) {
_root.attachMovie("Thing", "thn" + _global.thing, _global.down_depth, {_x:x, _y:y});
_root["thn" + _global.thing].attachMovie("Thing_" + tp, "thing", 1, {_y:-dy});
_root["thn" + _global.thing].radius = rd;
_root["thn" + _global.thing].startYspeed = ss;
_root["thn" + _global.thing].friction = fr;
_root["thn" + _global.thing].jumpQue = jq;
_global.down_depth++;
_global.thing++;
};
addPlayer = function (x, y, pskin) {
_root.attachMovie("Player", "hero0", _global.d_creature, {_x:x, _y:y});
_root.hero0.sideView(pskin);
_root.hero0["type_" + pskin]();
_root.hero0.SKIN = pskin;
_global.d_creature++;
};
addEnemy = function (x, y, gun, subtype, go_x, patr) {
_root.attachMovie("Enemy", "hero" + _global.hero, _global.d_creature, {_x:x, _y:y});
_root["hero" + _global.hero].sideView(subtype);
var _local3 = new Weapon();
_local3[gun]();
_local3.ammo = 100000 /* 0x0186A0 */;
_local3.equip(_root["hero" + _global.hero]);
if (go_x != 0) {
_root["hero" + _global.hero].gox = go_x;
}
_root["hero" + _global.hero]["type_" + subtype]();
_root["hero" + _global.hero].SKIN = subtype;
_root["hero" + _global.hero].time_to_look = (_global.hero % 10) * 3;
_global.d_creature++;
_global.hero++;
};
addHeadcrab = function (x, y, subtype) {
_root.attachMovie("Headcrab", "hero" + _global.hero, _global.d_creature, {_x:x, _y:y});
_root["hero" + _global.hero].sideView(subtype);
_root["hero" + _global.hero]["type_" + subtype]();
_root["hero" + _global.hero].SKIN = subtype;
_root["hero" + _global.hero].time_to_look = (_global.hero % 10) * 3;
_global.d_creature++;
_global.hero++;
};
addZombie = function (x, y, subtype) {
_root.attachMovie("Zombie", "hero" + _global.hero, _global.d_creature, {_x:x, _y:y});
_root["hero" + _global.hero].sideView(subtype);
_root["hero" + _global.hero]["type_" + subtype]();
_root["hero" + _global.hero].SKIN = subtype;
_root["hero" + _global.hero].time_to_look = (_global.hero % 10) * 3;
_global.d_creature++;
_global.hero++;
};
addBarnacle = function (x, y) {
_root.attachMovie("Barnacle", "hero" + _global.hero, _global.down_depth + 1, {_x:x, _y:y});
_global.down_depth = _global.down_depth + 2;
_global.hero++;
};
addFriend = function (x, y, pskin, gun, subtype, go_x) {
_root.attachMovie("Friend", "other" + _global.other, _global.d_creature, {_x:x, _y:y});
_root["other" + _global.other].sideView(pskin);
var _local3 = new Weapon();
_local3[gun]();
_local3.ammo = 100000 /* 0x0186A0 */;
_local3.equip(_root["other" + _global.other]);
if (go_x != 0) {
_root["other" + _global.other].gox = go_x;
}
_root["other" + _global.other]["type_" + pskin]();
_root["other" + _global.other].SKIN = pskin;
_root["other" + _global.other].time_to_look = (_global.hero % 10) * 3;
_global.d_creature++;
_global.other++;
};
addOldBullet = function (x1, y1, rot, lr, nm, dmg) {
rot = -rot;
if (!lr) {
rot = 270 - rot;
} else {
rot = rot + 90;
}
_root.attachMovie("OldBullet", "bullet_" + _global.free_depth, _global.free_depth, {_x:x1, _y:y1, _rotation:rot});
_root["bullet_" + _global.free_depth].damage = dmg;
_root["bullet_" + _global.free_depth].owner = nm;
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addBullet = function (x1, y1, rot, lr, nm, dmg) {
if (_global.OLD_BULLETS) {
addOldBullet(x1, y1, rot, lr, nm, dmg);
return(undefined);
}
rot = -rot;
if (!lr) {
rot = 180 - rot;
}
var _local7 = x1 + (900 * Math.cos(degToRad(rot)));
var _local8 = y1 + (900 * Math.sin(degToRad(rot)));
var _local9 = new Line(x1, y1, _local7, _local8);
var _local6 = _local9.wall();
if (_local6 != null) {
_local7 = _local6.x;
_local8 = _local6.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].owner = nm;
_root["bullet_" + _global.free_depth].line = new Line(x1, y1, _local7, _local8);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addEnergyBall = function (x1, y1, rot, lr, nm) {
rot = -rot;
if (!lr) {
rot = 270 - rot;
} else {
rot = rot + 90;
}
_root.attachMovie("EnergyBall", "bullet_" + _global.free_depth, _global.free_depth, {_x:x1, _y:y1, _rotation:rot});
_root["bullet_" + _global.free_depth].owner = nm;
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addGrenade = function (x1, y1, rot, lr, nm) {
rot = -rot;
if (!lr) {
rot = 270 - rot;
} else {
rot = rot + 90;
}
_root.attachMovie("Grenade", "bullet_" + _global.free_depth, _global.free_depth, {_x:x1, _y:y1, _rotation:rot});
_root["bullet_" + _global.free_depth].damage = 70;
_root["bullet_" + _global.free_depth].owner = nm;
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addHandGrenade = function (xx, yy, x_spd, y_spd, dmg) {
_root.attachMovie("HandGrenade", "shell_" + _global.free_depth, _global.free_depth, {_x:xx, _y:yy, _rotation:rot + (d(41) - 21)});
_root["shell_" + _global.free_depth].xSpeed = x_spd;
_root["shell_" + _global.free_depth].ySpeed = y_spd;
_root["shell_" + _global.free_depth].damage = dmg;
_root["shell_" + _global.free_depth].gotoAndStop(tp);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addShell = function (xx, yy, tp, x_spd, y_spd) {
if (_global.OLD_SHELLS) {
addOldShell(xx, yy, x_spd, tp);
return(undefined);
}
_root.attachMovie("Shell", "shell_" + _global.free_depth, _global.free_depth, {_x:xx, _y:yy, _rotation:rot + (d(41) - 21)});
_root["shell_" + _global.free_depth].xSpeed = x_spd;
_root["shell_" + _global.free_depth].ySpeed = y_spd;
_root["shell_" + _global.free_depth]["set" + tp]();
_root["shell_" + _global.free_depth].gotoAndStop(tp);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addOldShell = function (xx, yy, x_spd, tp) {
_root.attachMovie("OldShell_" + tp, "shell_" + _global.free_depth, _global.free_depth, {_x:xx, _y:yy, _rotation:d(90)});
if (x_spd < 0) {
_root["shell_" + _global.free_depth]._xscale = _root["shell_" + _global.free_depth]._xscale * -1;
}
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addRagDoll = function (xx, yy, tp, x_spd, y_spd, rot, hrot) {
_root.attachMovie("RagDoll_Human", "shell_" + _global.free_depth, _global.free_depth, {_x:xx, _y:yy, _rotation:rot});
_root["shell_" + _global.free_depth].head._rotation = hrot;
_root["shell_" + _global.free_depth].xSpeed = x_spd;
_root["shell_" + _global.free_depth].ySpeed = y_spd;
if (x_spd < 0) {
_root["shell_" + _global.free_depth]._xscale = _root["shell_" + _global.free_depth]._xscale * -1;
}
_root["shell_" + _global.free_depth].sideView(tp);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addRagDoll_Headcrab = function (xx, yy, tp, x_spd, y_spd, rot, hrot) {
_root.attachMovie("RagDoll_Headcrab", "shell_" + _global.free_depth, _global.free_depth, {_x:xx, _y:yy, _rotation:rot});
_root["shell_" + _global.free_depth].head._rotation = hrot;
_root["shell_" + _global.free_depth].xSpeed = x_spd;
_root["shell_" + _global.free_depth].ySpeed = y_spd;
if (x_spd < 0) {
_root["shell_" + _global.free_depth]._xscale = _root["shell_" + _global.free_depth]._xscale * -1;
}
_root["shell_" + _global.free_depth].sideView(tp);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addDroppedGun = function (x, y, item) {
_root.attachMovie("DroppedGun", "wpn_" + _global.free_depth, _global.free_depth, {_x:x, _y:y});
_root["wpn_" + _global.free_depth].setGun(item);
_root["wpn_" + _global.free_depth].xSpeed = _root.dd(7);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addBlood = function (x, y) {
_root.attachMovie("Blood_" + d(2), "bl_" + _global.free_depth, _global.free_depth, {_x:x, _y:y, _xscale:120, _yscale:120, _rotation:-d(180)});
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
addBloodReversed = function (x, y) {
_root.attachMovie("Blood_" + d(2), "bl_" + _global.free_depth, _global.free_depth, {_x:x, _y:y, _xscale:120, _yscale:120, _rotation:d(180)});
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
};
unloadMap = function () {
stopAllSounds();
_root._x = 0;
_root._y = 0;
_root.SV_GUNS = _root.hero0.guns;
_root.SV_HP = _root.hero0.HP;
_root.SV_AC = _root.hero0.AC;
_root.SV_CURR = _root.hero0.weapon;
var _local3 = 0;
while (_local3 < _global.hero) {
_root["hero" + _local3].removeMovieClip();
_local3++;
}
_global.hero = 1;
_local3 = 0;
while (_local3 < _global.box) {
_root["box" + _local3].removeMovieClip();
_local3++;
}
_global.box = 0;
_local3 = 0;
while (_local3 < _global.thing) {
_root["thn" + _local3].removeMovieClip();
_local3++;
}
_global.thing = 0;
_local3 = 0;
while (_local3 < _global.other) {
_root["other" + _local3].removeMovieClip();
_local3++;
}
_global.other = 0;
_local3 = 65536;
while (_local3 < _global.free_depth) {
_root["bl_" + _local3].removeMovieClip();
_root["shell_" + _local3].removeMovieClip();
_root["bullet_" + _local3].removeMovieClip();
_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) {
_global.LAST_LV = map;
_global.LAST_GUNS = _root.SV_GUNS;
_global.LAST_HP = _root.SV_HP;
_global.LAST_AC = _root.SV_AC;
_global.LAST_CURR = _root.SV_CURR;
saveDefaults();
if (map != 18) {
MAIN_SONG.start();
} else {
TRAIN_LOOP.start();
}
delete _global.walls;
_global.walls = new Array();
delete _global.floors;
_global.floors = new Array();
delete _global.floors_moving;
_global.floors_moving = new Array();
_root.attachMovie("BattleCursor", "_cursor", 150000, {_x:_xmouse, _y:_ymouse});
_root.gotoAndStop(map + 3);
_root._quality = _global.SAVED_QUALITY;
};
addToSV_GUNS = function (wpn_name) {
var _local2 = new Weapon();
_local2[wpn_name]();
_root.SV_GUNS[_local2.plus].push(_local2);
};
loadEpisode = function (episode) {
if (episode == 1) {
gameLoad(1);
return(undefined);
}
_root.SV_GUNS = new Array(6);
var _local2 = 0;
while (_local2 < 6) {
_root.SV_GUNS[_local2] = new Array();
_local2++;
}
addToSV_GUNS("Crowbar");
_root.SV_HP = 100;
_root.SV_CURR = _root.SV_GUNS[0][0];
switch (episode) {
case 2 :
_root.SV_AC = 0;
_root.WhatToLoad = 5;
_root.gotoAndPlay("GAME_LOAD");
break;
case 3 :
addToSV_GUNS("Glock");
addToSV_GUNS("Magnum");
addToSV_GUNS("SMG");
addToSV_GUNS("HGrenade");
_root.SV_AC = 50;
_root.WhatToLoad = 11;
_root.gotoAndPlay("GAME_LOAD");
break;
case 4 :
addToSV_GUNS("Glock");
addToSV_GUNS("Magnum");
addToSV_GUNS("SMG");
addToSV_GUNS("Shotgun");
addToSV_GUNS("HGrenade");
_root.SV_AC = 70;
_root.WhatToLoad = 16;
_root.gotoAndPlay("GAME_LOAD");
break;
case 5 :
addToSV_GUNS("Glock");
addToSV_GUNS("Magnum");
addToSV_GUNS("SMG");
addToSV_GUNS("PulseRifle");
addToSV_GUNS("Shotgun");
addToSV_GUNS("SniperRifle");
addToSV_GUNS("HGrenade");
_root.SV_AC = 100;
_root.WhatToLoad = 19;
_root.gotoAndPlay("GAME_LOAD");
break;
case 6 :
addToSV_GUNS("Glock");
addToSV_GUNS("Magnum");
addToSV_GUNS("SMG");
addToSV_GUNS("PulseRifle");
addToSV_GUNS("Shotgun");
addToSV_GUNS("SniperRifle");
addToSV_GUNS("MMG");
addToSV_GUNS("HGrenade");
_root.SV_AC = 100;
_root.WhatToLoad = 22;
_root.gotoAndPlay("GAME_LOAD");
}
};
gameLoad = function (map) {
unloadMap();
_root.WhatToLoad = map;
_root.gotoAndPlay("GAME_LOAD");
};
gameLoadOnlyCrowbar = function (map) {
unloadMap();
delete _root.SV_GUNS;
_root.SV_GUNS = new Array(6);
var _local2 = 0;
while (_local2 < 6) {
_root.SV_GUNS[_local2] = new Array();
_local2++;
}
_root.addToSV_GUNS("Crowbar");
_root.SV_CURR = _root.SV_GUNS[0][0];
_root.WhatToLoad = map;
_root.gotoAndPlay("GAME_LOAD");
};
_root.onEnterFrame = function () {
if (_global.times >= 30) {
_global.times = 0;
if (_root.hero0.poisoned_HP > 0) {
_root.hero0.HP = _root.hero0.HP + 10;
if (_root.hero0.poisoned_HP <= _root.hero0.HP) {
_root.hero0.HP = _root.hero0.poisoned_HP;
_root.hero0.poisoned_HP = -1;
}
}
} else {
_global.times++;
}
};
Mouse.hide();
_root.attachMovie("ArrowCursor", "_cursor", 150000, {_x:_xmouse, _y:_ymouse});
_root.menu = new ContextMenu();
_root.menu.hideBuiltInItems();
fscommand ("trapallkeys", true);
_global.walls = new Array();
_global.floors = new Array();
_global.floors_moving = new Array();
Frame 2
MOVIE_PLAYED = false;
MAIN_SONG = new Sound(_root);
MAIN_SONG.attachSound("HL2_song.mp3");
MAIN_SONG.onSoundComplete = function () {
this.start();
};
MAIN_SONG.stop();
TRAIN_LOOP = new Sound(_root);
TRAIN_LOOP.attachSound("Train wheels loop.wav");
TRAIN_LOOP.onSoundComplete = function () {
this.start();
};
TRAIN_LOOP.stop();
_root.createEmptyMovieClip("Metallica_holder", 1100000);
METALLICA_SONG = new Sound(_root.Metallica_holder);
METALLICA_SONG.attachSound("Hero of the day.mp3");
METALLICA_SONG.onSoundComplete = function () {
this.start(0.5);
};
METALLICA_SONG.setVolume(150);
METALLICA_SONG.stop();
_root.setDefaults();
_root.loadDefaults();
_root.MOVIE_PLAYED = false;
Frame 3
stop();
Instance of Symbol 981 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 983 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "long";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "long";
pr = "no";
}
Instance of Symbol 983 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
Instance of Symbol 983 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "ball";
}
//component parameters
onClipEvent (construct) {
tp = "ball";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "boot";
}
//component parameters
onClipEvent (construct) {
tp = "boot";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "box";
}
//component parameters
onClipEvent (construct) {
tp = "box";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "football";
}
//component parameters
onClipEvent (construct) {
tp = "football";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 4
//component parameters
onClipEvent (construct) {
tp = "pepsi";
}
//component parameters
onClipEvent (construct) {
tp = "pepsi";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 4
//component parameters
onClipEvent (construct) {
nm = "Train_Doors_Close";
}
//component parameters
onClipEvent (construct) {
nm = "Train_Doors_Close";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 4
//component parameters
onClipEvent (construct) {
nm = "Gates_Town_Close";
}
//component parameters
onClipEvent (construct) {
nm = "Gates_Town_Close";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 4
//component parameters
onClipEvent (construct) {
nm = "Barney_Begin_Speak";
}
//component parameters
onClipEvent (construct) {
nm = "Barney_Begin_Speak";
}
Instance of Symbol 1076 MovieClip in Frame 5
//component parameters
onClipEvent (construct) {
pskin = "Freeman_no_hev";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman_no_hev";
}
Instance of Symbol 985 MovieClip in Frame 5
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 5
//component parameters
onClipEvent (construct) {
nm = "METALLICA_START";
}
//component parameters
onClipEvent (construct) {
nm = "METALLICA_START";
}
Instance of Symbol 1199 MovieClip in Frame 6
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 6
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 6
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 6
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 6
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 6
//component parameters
onClipEvent (construct) {
nm = "Stas_Begin_Speak";
}
//component parameters
onClipEvent (construct) {
nm = "Stas_Begin_Speak";
}
Instance of Symbol 1201 MovieClip in Frame 6
//component parameters
onClipEvent (construct) {
pskin = "Alyx";
gun = "MMG";
subtype = "Alyx";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
pskin = "Alyx";
gun = "MMG";
subtype = "Alyx";
go_x = 0;
patr = false;
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 6
//component parameters
onClipEvent (construct) {
nm = "DropShip_Descent";
}
//component parameters
onClipEvent (construct) {
nm = "DropShip_Descent";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 7
//component parameters
onClipEvent (construct) {
nm = "Kleiner_Hail";
}
//component parameters
onClipEvent (construct) {
nm = "Kleiner_Hail";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 7
//component parameters
onClipEvent (construct) {
nm = "Put_On_HEV_Suit";
}
//component parameters
onClipEvent (construct) {
nm = "Put_On_HEV_Suit";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 7
//component parameters
onClipEvent (construct) {
nm = "Barney_Crowbar";
}
//component parameters
onClipEvent (construct) {
nm = "Barney_Crowbar";
}
Instance of Symbol 983 MovieClip in Frame 7
//component parameters
onClipEvent (construct) {
tp = "high";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "high";
pr = "no";
}
Instance of Symbol 981 MovieClip in Frame 7
//component parameters
onClipEvent (construct) {
tp = "PC";
}
//component parameters
onClipEvent (construct) {
tp = "PC";
}
Instance of Symbol 985 MovieClip in Frame 7
//component parameters
onClipEvent (construct) {
tp = "boot";
}
//component parameters
onClipEvent (construct) {
tp = "boot";
}
Frame 8
if (_global.MAX_EPISODE < 2) {
_global.MAX_EPISODE = 2;
_root.saveDefaults();
}
Instance of Symbol 1076 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
Instance of Symbol 983 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 1199 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Bludgeon";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 981 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
Instance of Symbol 1199 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 985 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "ball";
}
//component parameters
onClipEvent (construct) {
tp = "ball";
}
Instance of Symbol 985 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "box";
}
//component parameters
onClipEvent (construct) {
tp = "box";
}
Instance of Symbol 983 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 8
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1076 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 981 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 983 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "ordinary";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
pr = "no";
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 985 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "ball";
}
//component parameters
onClipEvent (construct) {
tp = "ball";
}
Instance of Symbol 985 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 983 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
Instance of Symbol 983 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
Instance of Symbol 1281 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 983 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "AKCy";
subtype = "Ment";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "AKCy";
subtype = "Ment";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "AKCy";
subtype = "Ment";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "AKCy";
subtype = "Ment";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
gun = "AKCy";
subtype = "Ment";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "AKCy";
subtype = "Ment";
go_x = 0;
patr = false;
}
Instance of Symbol 985 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "boot";
}
//component parameters
onClipEvent (construct) {
tp = "boot";
}
Instance of Symbol 983 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
Instance of Symbol 1281 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
prz = "Ammo_AKCy";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_AKCy";
}
Instance of Symbol 1281 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
prz = "Ammo_AKCy";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_AKCy";
}
Instance of Symbol 1281 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 10
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 983 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
Instance of Symbol 983 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
Instance of Symbol 985 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "box";
}
//component parameters
onClipEvent (construct) {
tp = "box";
}
Instance of Symbol 983 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
Instance of Symbol 983 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1281 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1281 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 981 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
Instance of Symbol 985 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "football";
}
//component parameters
onClipEvent (construct) {
tp = "football";
}
Instance of Symbol 985 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 1199 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "ordinary";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
pr = "no";
}
Instance of Symbol 1199 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 1199 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
gun = "Magnum";
subtype = "Ment";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Magnum";
subtype = "Ment";
go_x = 0;
patr = false;
}
Instance of Symbol 985 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "ball";
}
//component parameters
onClipEvent (construct) {
tp = "ball";
}
Instance of Symbol 985 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 981 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
Instance of Symbol 985 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 1199 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Glock";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Metrocop";
go_x = 0;
patr = false;
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 13
//component parameters
onClipEvent (construct) {
nm = "Subway_Train_Play";
}
//component parameters
onClipEvent (construct) {
nm = "Subway_Train_Play";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 13
//component parameters
onClipEvent (construct) {
nm = "Subway_Train_Doors_Open";
}
//component parameters
onClipEvent (construct) {
nm = "Subway_Train_Doors_Open";
}
Instance of Symbol 983 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
Instance of Symbol 1281 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1281 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Frame 14
if (_global.MAX_EPISODE < 3) {
_global.MAX_EPISODE = 3;
_root.saveDefaults();
}
Instance of Symbol 1364 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 985 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "box";
}
//component parameters
onClipEvent (construct) {
tp = "box";
}
Instance of Symbol 985 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "football";
}
//component parameters
onClipEvent (construct) {
tp = "football";
}
Instance of Symbol 1076 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
Instance of Symbol 983 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
Instance of Symbol 983 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1281 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 14
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 15
//component parameters
onClipEvent (construct) {
nm = "Father_Gregori_Shotgun";
}
//component parameters
onClipEvent (construct) {
nm = "Father_Gregori_Shotgun";
}
Instance of Symbol 1076 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
Instance of Symbol 1364 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 983 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 983 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1281 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 1281 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1281 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1076 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 985 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "football";
}
//component parameters
onClipEvent (construct) {
tp = "football";
}
Instance of Symbol 985 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 983 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 16
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 983 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "small";
pr = "no";
}
Instance of Symbol 983 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
//component parameters
onClipEvent (construct) {
tp = "metal";
pr = "no";
}
Instance of Symbol 981 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
Instance of Symbol 985 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "box";
}
//component parameters
onClipEvent (construct) {
tp = "box";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 17
//component parameters
onClipEvent (construct) {
nm = "Elevator_lv14_1_open";
}
//component parameters
onClipEvent (construct) {
nm = "Elevator_lv14_1_open";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 17
//component parameters
onClipEvent (construct) {
nm = "Elevator_lv14_2_open";
}
//component parameters
onClipEvent (construct) {
nm = "Elevator_lv14_2_open";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 17
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 985 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
tp = "football";
}
//component parameters
onClipEvent (construct) {
tp = "football";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1364 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1364 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 987 MovieClip [Trigger] in Frame 18
//component parameters
onClipEvent (construct) {
nm = "Elevator_lv15_3_open";
}
//component parameters
onClipEvent (construct) {
nm = "Elevator_lv15_3_open";
}
Instance of Symbol 983 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 983 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 1275 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1281 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Instance of Symbol 1281 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Instance of Symbol 1281 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 18
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Frame 19
if (_global.MAX_EPISODE < 4) {
_global.MAX_EPISODE = 4;
_root.saveDefaults();
}
Instance of Symbol 1199 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1364 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 981 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 985 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
tp = "ball";
}
//component parameters
onClipEvent (construct) {
tp = "ball";
}
Instance of Symbol 985 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 1364 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1275 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_15";
}
Instance of Symbol 1281 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Glock";
}
Instance of Symbol 1281 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
Instance of Symbol 1281 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
Instance of Symbol 1281 MovieClip in Frame 19
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1364 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1199 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 981 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
//component parameters
onClipEvent (construct) {
tp = "laundry";
}
Instance of Symbol 985 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
tp = "football";
}
//component parameters
onClipEvent (construct) {
tp = "football";
}
Instance of Symbol 985 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 1366 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1275 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1281 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Instance of Symbol 1281 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
Instance of Symbol 1281 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
Instance of Symbol 1281 MovieClip in Frame 20
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
Instance of Symbol 1076 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
//component parameters
onClipEvent (construct) {
pskin = "Freeman";
}
Instance of Symbol 1199 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 981 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 1364 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1366 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1199 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1199 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1275 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1281 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_SMG";
}
Instance of Symbol 1281 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
Instance of Symbol 1281 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 1281 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Ammo_AKCy";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_AKCy";
}
Instance of Symbol 1281 MovieClip in Frame 21
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Magnum";
}
Frame 22
if (_global.MAX_EPISODE < 5) {
_global.MAX_EPISODE = 5;
_root.saveDefaults();
}
Instance of Symbol 1364 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1366 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1199 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1275 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
Instance of Symbol 1281 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 22
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 985 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
//component parameters
onClipEvent (construct) {
tp = "bottle2";
}
Instance of Symbol 985 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
//component parameters
onClipEvent (construct) {
tp = "bottle1";
}
Instance of Symbol 985 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "boot";
}
//component parameters
onClipEvent (construct) {
tp = "boot";
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 981 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
//component parameters
onClipEvent (construct) {
tp = "ordinary";
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
//component parameters
onClipEvent (construct) {
subtype = "Classical";
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SMG";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1366 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 983 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_15";
}
Instance of Symbol 1275 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Ammo_MMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_MMG";
}
Instance of Symbol 1281 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Grenade";
}
Instance of Symbol 1281 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
Instance of Symbol 1281 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Pulse";
}
Instance of Symbol 1281 MovieClip in Frame 23
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Guard";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Guard";
go_x = 0;
patr = false;
}
Instance of Symbol 1366 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1364 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 983 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
tp = "supply";
pr = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
//component parameters
onClipEvent (construct) {
Prize = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Shotgun";
}
Instance of Symbol 1281 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Ammo_MMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_MMG";
}
Instance of Symbol 1281 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Ammo_MMG";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_MMG";
}
Instance of Symbol 1281 MovieClip in Frame 24
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
Frame 25
if (_global.MAX_EPISODE < 6) {
_global.MAX_EPISODE = 6;
_root.saveDefaults();
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Soldier";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "PulseRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "MMG";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "Shotgun";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1366 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
//component parameters
onClipEvent (construct) {
subtype = "Black";
}
Instance of Symbol 1366 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1366 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1199 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
//component parameters
onClipEvent (construct) {
gun = "SniperRifle";
subtype = "Elite";
go_x = 0;
patr = false;
}
Instance of Symbol 1364 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1364 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
//component parameters
onClipEvent (construct) {
subtype = "Fast";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
Prize = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
//component parameters
onClipEvent (construct) {
prz = "Medkit_25";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1275 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
//component parameters
onClipEvent (construct) {
prz = "Battery_15";
}
Instance of Symbol 1281 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_HandGrenade";
}
Instance of Symbol 1281 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
//component parameters
onClipEvent (construct) {
prz = "AltAmm_Energy";
}
Instance of Symbol 1281 MovieClip in Frame 25
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
//component parameters
onClipEvent (construct) {
prz = "Ammo_Sniper";
}
Frame 26
if (WhatToLoad <= 22) {
loadMap(WhatToLoad);
} else {
gotoAndStop ("END");
}
Frame 27
stop();
Symbol 2 MovieClip [Wall_MC] Frame 1
#initclip 39
Object.registerClass("Wall_MC", Wall_MC);
#endinitclip
Symbol 4 MovieClip [Floor_MC] Frame 1
#initclip 36
Object.registerClass("Floor_MC", Floor_MC);
#endinitclip
this.onInit();
stop();
Symbol 6 MovieClip [ArrowCursor] Frame 1
#initclip 37
Object.registerClass("ArrowCursor", Cursor);
#endinitclip
Symbol 8 MovieClip [GunPanel] Frame 1
#initclip 38
Object.registerClass("GunPanel", GunPanel);
#endinitclip
Symbol 26 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 30
stop();
Symbol 33 MovieClip Frame 60
_parent.intro.nextFrame();
Symbol 39 MovieClip Frame 1
_root.stop();
this.onEnterFrame = function () {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
this.progr.pr_bar._xscale = _local3 * 100;
this.progr.percent_txt.text = Math.floor(_local3 * 100) + " %";
this.lambda._alpha = _local3 * 100;
if ((Math.ceil(_local3 * 4) != this.intro._currentframe) && (this.fader._currentframe == 30)) {
this.fader.play();
}
if (_local3 >= 1) {
_root.play();
}
};
Symbol 1537 MovieClip [__Packages.Line] Frame 0
class Line extends Object
{
var beg, end, rect;
function Line (x1, y1, x2, y2) {
super();
beg = new flash.geom.Point(x1, y1);
end = new flash.geom.Point(x2, y2);
rect = new flash.geom.Rectangle(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2 - x1), Math.abs(y2 - y1));
if (rect.width == 0) {
rect.left--;
rect.right++;
}
if (rect.height == 0) {
rect.top--;
rect.bottom++;
}
}
function isVertical() {
return(beg.x == end.x);
}
function isHorizontal() {
return(beg.y == end.y);
}
function inArea(pt) {
return(rect.containsPoint(pt));
}
function cantBeCrossedWith(line) {
return(!rect.intersects(line.rect));
}
function cross(line) {
if (!cantBeCrossedWith(line)) {
var _local3 = new flash.geom.Point();
if (!line.isVertical()) {
var _local4 = (line.beg.y - line.end.y) / (line.beg.x - line.end.x);
}
if (!isVertical()) {
var _local5 = (beg.y - end.y) / (beg.x - end.x);
}
if (_local4 == _local5) {
return(null);
}
var _local6 = line.beg.y - (_local4 * line.beg.x);
var _local7 = beg.y - (_local5 * beg.x);
if (line.isVertical() && (!isVertical())) {
_local3.x = line.beg.x;
_local3.y = (_local5 * line.beg.x) + _local7;
} else if ((!line.isVertical()) && (isVertical())) {
_local3.x = beg.x;
_local3.y = (_local4 * beg.x) + _local6;
} else {
_local3.x = (_local7 - _local6) / (_local4 - _local5);
_local3.y = (_local4 * _local3.x) + _local6;
}
if (line.inArea(_local3) && (inArea(_local3))) {
return(new flash.geom.Point(_local3.x, _local3.y));
}
}
return(null);
}
function crossV(line) {
if (cantBeCrossedWith(line) || (isVertical())) {
return(null);
}
var _local3 = getY(line.beg.x);
if ((_local3 >= line.beg.y) && (_local3 <= line.end.y)) {
return(new flash.geom.Point(line.beg.x, _local3));
}
return(null);
}
function crossH(line) {
if (cantBeCrossedWith(line) || (isHorizontal())) {
return(null);
}
var _local3 = getX(line.beg.y);
if ((_local3 >= line.beg.x) && (_local3 <= line.end.x)) {
return(new flash.geom.Point(_local3, line.beg.y));
}
return(null);
}
function getY(xx) {
return(beg.y + (((end.y - beg.y) / (end.x - beg.x)) * (xx - beg.x)));
}
function getX(yy) {
return(beg.x + (((end.x - beg.x) / (end.y - beg.y)) * (beg.y - yy)));
}
function wall() {
var _local3 = null;
var _local6 = null;
var _local4 = null;
var _local7 = 20000;
var _local5 = 0;
while (_local5 < _global.walls.length) {
_local3 = crossV(_global.walls[_local5]);
if (_local3 != null) {
_local4 = Math.sqrt(((_local3.x - beg.x) * (_local3.x - beg.x)) + ((_local3.y - beg.y) * (_local3.y - beg.y)));
if ((_local6 == null) || (_local4 < _local7)) {
_local6 = _local3;
_local7 = _local4;
}
}
_local5++;
}
_local5 = 0;
while (_local5 < _global.floors.length) {
_local3 = _global.floors[_local5].cross(this);
if (_local3 != null) {
_local4 = Math.sqrt(((_local3.x - beg.x) * (_local3.x - beg.x)) + ((_local3.y - beg.y) * (_local3.y - beg.y)));
if ((_local6 == null) || (_local4 < _local7)) {
_local6 = _local3;
_local7 = _local4;
}
}
_local5++;
}
return(_local6);
}
}
Symbol 1538 MovieClip [__Packages.Weapon] Frame 0
class Weapon extends Object
{
var alt_clip, owner, plus, TYPE, SUBTYPE, TYPER, link, cal, kickback, fire_rate, damage, ammo, max_clip, clip, treat, range, alternate, alt_rate, alt_treat, alt_use, alt_maxclip, description, max_ammo;
function Weapon () {
super();
alt_clip = 0;
}
function equip(character) {
owner = character;
character.guns[plus].push(this);
if (_global.CHANGE_WEAPONS) {
character.changeWeapons(this);
}
}
function drop() {
_root.addDroppedGun(owner._x, owner._y, this);
}
function SMG() {
TYPE = "thigh";
SUBTYPE = "thigh";
TYPER = "rifle";
link = "SMG";
plus = 2;
cal = "5.7 mm";
kickback = 8;
fire_rate = 2;
damage = 3;
ammo = 0;
max_clip = 45;
clip = max_clip;
treat = 1;
range = 500;
alternate = true;
alt_rate = 25;
alt_treat = 1;
alt_use = true;
alt_clip = 0;
alt_maxclip = 3;
description = "\u041F\u0438\u0441\u0442\u043E\u043B\u0435\u0442-\u041F\u044B\u043B\u0435\u043C\u0435\u0442";
}
function PulseRifle() {
TYPE = "shoulder";
SUBTYPE = "shoulder";
TYPER = "rifle";
link = "PulseRifle";
plus = 2;
cal = "plasma";
kickback = 2;
fire_rate = 2;
damage = 3;
ammo = 0;
max_ammo = 60;
max_clip = 30;
clip = max_clip;
treat = 1;
range = 630;
alternate = true;
alt_rate = 30;
alt_treat = 1;
alt_use = true;
alt_clip = 0;
alt_maxclip = 3;
description = "\u041F\u0443\u043B\u044C\u0441\u043E\u0432\u0430\u044F \u0432\u0438\u043D\u0442\u043E\u0432\u043A\u0430";
}
function AKCy() {
TYPE = "thigh";
SUBTYPE = "thigh";
TYPER = "rifle";
link = "AKCy";
plus = 2;
cal = "5.45 mm";
kickback = 4;
fire_rate = 3;
damage = 4;
ammo = 0;
max_ammo = 150;
max_clip = 30;
clip = max_clip;
treat = 1;
range = 520;
alternate = false;
description = "AKC-74y";
}
function MMG() {
TYPE = "thigh";
SUBTYPE = "thigh";
TYPER = "rifle";
link = "MMG";
plus = 5;
cal = "7.92 mm";
kickback = 5;
fire_rate = 3;
damage = 6;
ammo = 0;
max_ammo = 40;
max_clip = 40;
clip = max_clip;
treat = 1;
range = 600;
alternate = false;
description = "\u041F\u0443\u043B\u0435\u043C\u0435\u0442";
}
function Magnum() {
TYPE = "pistol";
SUBTYPE = "pistol";
TYPER = "pistol";
link = "Magnum";
plus = 1;
cal = ".357";
kickback = 1;
fire_rate = 8;
damage = 18;
ammo = 0;
max_ammo = 12;
max_clip = 6;
clip = max_clip;
treat = 1;
range = 650;
alternate = false;
description = ".357 \u041C\u0430\u0433\u043D\u0443\u043C";
}
function Glock() {
TYPE = "pistol";
SUBTYPE = "pistol";
TYPER = "pistol";
link = "Glock";
plus = 1;
cal = "9 mm";
kickback = 4;
fire_rate = 6;
damage = 3;
ammo = 0;
max_ammo = 90;
max_clip = 18;
clip = max_clip;
treat = 1;
range = 550;
alternate = false;
description = "\u041F\u0438\u0441\u0442\u043E\u043B\u0435\u0442 9 mm";
}
function Shotgun() {
TYPE = "thigh_shotgun";
SUBTYPE = "thigh";
TYPER = "shotgun";
link = "Shotgun";
plus = 3;
cal = ".12";
kickback = 15;
fire_rate = 20;
damage = 4;
ammo = 0;
max_ammo = 16;
max_clip = 8;
clip = max_clip;
treat = 1;
range = 350;
alternate = true;
alt_rate = 30;
alt_treat = 2;
alt_use = false;
description = "\u0428\u043E\u0442\u0433\u0430\u043D 12 \u043A\u0430\u043B.";
}
function Gregori_Shotgun() {
TYPE = "shoulder";
SUBTYPE = "shoulder";
TYPER = "shotgun";
link = "Gregori_Shotgun";
plus = 3;
cal = ".12";
kickback = 15;
fire_rate = 7;
damage = 4;
ammo = 0;
max_ammo = 22;
max_clip = 2;
clip = max_clip;
treat = 1;
range = 350;
alternate = true;
alt_rate = 10;
alt_treat = 2;
alt_use = false;
description = "\u0414\u0432\u0443\u0441\u0442\u0432\u043E\u043B\u043A\u0430 \u0413\u0440\u0438\u0433\u043E\u0440\u0438\u044F";
}
function SniperRifle() {
TYPE = "thigh_rifle";
SUBTYPE = "thigh";
TYPER = "rifle";
link = "SniperRifle";
plus = 5;
cal = ".50";
kickback = 0;
fire_rate = 35;
damage = 30;
ammo = 0;
max_ammo = 6;
max_clip = 3;
clip = max_clip;
treat = 1;
range = 700;
alternate = false;
description = "\u0421\u043D\u0430\u0439\u043F\u0435\u0440\u043A\u0430 \u0410\u043B\u044C\u044F\u043D\u0441\u0430";
}
function DefaultWeapon() {
TYPE = "knife";
SUBTYPE = "knife";
TYPER = "knife";
link = "none";
plus = 0;
cal = "None";
kickback = 0;
fire_rate = 12;
damage = 1;
ammo = 0;
max_ammo = 0;
clip = 0;
max_clip = 0;
treat = 0;
range = 30;
alternate = false;
description = "\u0411\u0435\u0437 \u041E\u0440\u0443\u0436\u0438\u044F";
}
function Crowbar() {
TYPE = "crowbar";
SUBTYPE = "crowbar";
link = "Crowbar";
TYPER = "crowbar";
plus = 0;
cal = "None";
kickback = 0;
fire_rate = 11;
damage = 8;
clip = 0.0001;
ammo = 0;
max_ammo = 0;
max_clip = 1;
treat = 0;
range = 20;
alternate = false;
description = "\u041C\u043E\u043D\u0442\u0438\u0440\u043E\u0432\u043A\u0430";
}
function Bludgeon() {
TYPE = "crowbar";
SUBTYPE = "crowbar";
link = "Bludgeon";
TYPER = "crowbar";
plus = 0;
cal = "None";
kickback = 0;
fire_rate = 11;
damage = 1;
clip = 0;
ammo = 0;
max_ammo = 0;
max_clip = 0;
treat = 0;
range = 50;
alternate = false;
description = "\u0414\u0443\u0431\u0438\u043D\u043A\u0430";
}
function HGrenade() {
TYPE = "grenade";
SUBTYPE = "crowbar";
link = "HGrenade";
TYPER = "crowbar";
plus = 4;
cal = "HandGrenade";
kickback = 0;
fire_rate = 30;
damage = 70;
clip = 1;
ammo = 0;
max_ammo = 0;
max_clip = 5;
treat = 1;
range = 600;
alternate = false;
description = "\u0413\u0440\u0430\u043D\u0430\u0442\u0430";
}
}
Symbol 1539 MovieClip [__Packages.Floor_MC] Frame 0
class Floor_MC extends MovieClip
{
var localToGlobal, _visible;
function Floor_MC () {
super();
}
function onLoad() {
var _local3 = {x:0, y:0};
var _local4 = {x:80, y:0};
localToGlobal(_local3);
localToGlobal(_local4);
_global.floors[_global.floors.length] = new Line(_local3.x, _local3.y, _local4.x, _local4.y);
_global.floors_moving[_global.floors_moving.length] = false;
_visible = _global.WALLS_VISIBLE;
}
}
Symbol 1540 MovieClip [__Packages.Cursor] Frame 0
class Cursor extends MovieClip
{
var _x, _y;
function Cursor () {
super();
}
function onEnterFrame() {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
}
Symbol 1541 MovieClip [__Packages.GunPanel] Frame 0
class GunPanel extends MovieClip
{
var cCat, cGun, attachMovie;
function GunPanel () {
super();
cCat = null;
cGun = null;
}
function openCat(n) {
if (_root.hero0.guns[n].length == 0) {
return(undefined);
}
cCat = n;
cGun = 0;
var _local3 = 0;
while (_local3 < _root.hero0.guns[cCat].length) {
attachMovie(_root.hero0.guns[n][_local3].link + "_ico", "ico_" + _local3, _local3 + 1, {_x:n * 80, _y:_local3 * 50});
if (_local3 != cGun) {
this["ico_" + _local3]._alpha = 50;
}
var _local5 = new Color(this["ico_" + _local3]);
if (((_root.hero0.guns[n][_local3].ammo == 0) && (_root.hero0.guns[n][_local3].clip == 0)) && (_root.hero0.guns[n][_local3].alt_clip == 0)) {
_local5.setRGB(13369344);
} else {
_local5.setRGB(16776960);
}
_local3++;
}
}
function closeCat() {
var _local3 = 0;
while (_local3 < _root.hero0.guns[cCat].length) {
this["ico_" + _local3].removeMovieClip();
_local3++;
}
cCat = null;
cGun = null;
}
function incCat() {
this["ico_" + cGun]._alpha = 50;
cGun++;
if (cGun >= _root.hero0.guns[cCat].length) {
cGun = 0;
}
this["ico_" + cGun]._alpha = 100;
}
function onMouseDown() {
if (cCat != null) {
_root.hero0.changeWeapons(_root.hero0.guns[cCat][cGun]);
closeCat();
}
}
}
Symbol 1542 MovieClip [__Packages.Wall_MC] Frame 0
class Wall_MC extends MovieClip
{
var localToGlobal, _visible;
function Wall_MC () {
super();
}
function onLoad() {
var _local3 = {x:0, y:0};
var _local4 = {x:0, y:80};
localToGlobal(_local3);
localToGlobal(_local4);
_global.walls[_global.walls.length] = new Line(_local3.x, _local3.y, _local4.x, _local4.y);
_visible = _global.WALLS_VISIBLE;
}
}
Symbol 1543 MovieClip [__Packages.Bullet] Frame 0
class Bullet extends MovieClip
{
var line, _x, damage, lineStyle, moveTo, lineTo, _y;
function Bullet () {
super();
}
function hit() {
var _local9 = 20000;
var _local7 = 0;
var _local6 = null;
var _local10 = null;
var _local12 = null;
var _local5 = 0;
while (_local5 < _global.hero) {
if (_root["hero" + _local5].HP > 0) {
var _local8 = new Line(_root["hero" + _local5]._x, _root["hero" + _local5]._y - _root["hero" + _local5]._height, _root["hero" + _local5]._x, _root["hero" + _local5]._y);
_local6 = line.crossV(_local8);
if (_local6 != null) {
_local7 = Math.abs(_x - _local6.x);
if (_local7 < _local9) {
_local9 = _local7;
_local10 = _local6;
_local12 = _local5;
}
}
}
_local5++;
}
var _local11 = -1;
var _local4 = 0;
while (_local4 < _global.box) {
if (_root["box" + _local4].HP > 0) {
var _local8 = new Line(_root["box" + _local4]._x, _root["box" + _local4]._y - _root["box" + _local4].HEIGHT, _root["box" + _local4]._x, _root["box" + _local4]._y);
_local6 = line.crossV(_local8);
if (_local6 != null) {
_local7 = Math.abs(_x - _local6.x);
if ((_local10 == null) || (_local7 < _local9)) {
_local10 = _local6;
_local9 = _local7;
_local11 = _local4;
}
}
}
_local4++;
}
if (_local10 != null) {
line.end.x = _local10.x;
line.end.y = _local10.y;
if (_local11 >= 0) {
_root["box" + _local11].getShot(damage);
} else {
_root["hero" + _local12].getShot(damage, _root["hero" + _local12]._y - _local10.y);
}
}
lineStyle(5, 16776960, 50, false, "none", "none", "bevel", 0);
moveTo(0, 0);
lineTo(line.end.x - _x, line.end.y - _y);
}
}
Symbol 1544 MovieClip [__Packages.OldBullet] Frame 0
class OldBullet extends MovieClip
{
var speed, owner, damage, _x, _y, removeMovieClip, _rotation;
function OldBullet () {
super();
speed = 20;
owner = null;
damage = null;
}
function onEnterFrame() {
if ((((_x < (-_root._x)) || (_y < (-_root._y))) || (_x > (800 - _root._x))) || (_y > (600 - _root._y))) {
removeMovieClip();
}
var _local10 = _root.plot(_rotation - 90, speed);
var _local8 = new Line(_x, _y, _x + _local10.x, _y + _local10.y);
var _local11 = _local8.wall();
if (_local11 == null) {
var _local9 = null;
var _local7 = null;
var _local13 = null;
var _local12 = -1;
var _local5 = 0;
while (_local5 < _global.box) {
if (_root["box" + _local5].HP > 0) {
var _local6 = new Line(_root["box" + _local5]._x, _root["box" + _local5]._y - _root["box" + _local5].HEIGHT, _root["box" + _local5]._x, _root["box" + _local5]._y);
_local9 = _local8.crossV(_local6);
if (_local9 != null) {
_root["box" + _local5].getShot(damage);
removeMovieClip();
return(undefined);
}
}
_local5++;
}
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root["hero" + _local4].HP > 0) {
var _local6 = new Line(_root["hero" + _local4]._x, _root["hero" + _local4]._y - _root["hero" + _local4]._height, _root["hero" + _local4]._x, _root["hero" + _local4]._y);
_local7 = _local8.crossV(_local6);
if (_local7 != null) {
_root["hero" + _local4].getShot(damage, _root["hero" + _local4]._y - _local7.y);
removeMovieClip();
return(undefined);
}
}
_local4++;
}
_x = _x + _local10.x;
_y = _y + _local10.y;
} else {
removeMovieClip();
}
}
}
Symbol 1545 MovieClip [__Packages.Screen] Frame 0
class Screen extends MovieClip
{
var hp_txt, ac_txt, clip_txt, ammo_txt, alt_clip_txt;
function Screen () {
super();
}
function onEnterFrame() {
hp_txt.text = _root.hero0.HP;
ac_txt.text = _root.hero0.AC;
clip_txt.text = _root.hero0.weapon.clip;
ammo_txt.text = _root.hero0.weapon.ammo;
alt_clip_txt.text = _root.hero0.weapon.alt_clip;
}
}
Symbol 1546 MovieClip [__Packages.Man] Frame 0
class Man extends MovieClip
{
var MAX_HP, HP, AC, puzo, step, headline, isDuck, currFloor, ySpeed, currPos, _xscale, _yscale, kick, ch_weap, action, run_mod, weapon, handR, handL, burst_now, feet, _x, _y, _height, _name, lookRight, hitTest, head, jacket, body, _visible, dieSound, SKIN, onEnterFrame, _rotation, burst_max, aim_time, turn_time, burst_rnd;
function Man () {
super();
setSound();
MAX_HP = 100;
HP = 100;
AC = 0;
puzo = 14;
step = 5;
headline = 0.75;
isDuck = false;
currFloor = null;
ySpeed = 0;
currPos = "jump";
_xscale = 70;
_yscale = 70;
kick = 0;
ch_weap = null;
action = 0;
run_mod = 2;
weapon = new Weapon();
weapon.DefaultWeapon();
handR.gotoAndStop(weapon.TYPE);
handL.gotoAndStop(weapon.TYPE);
burst_now = 0;
}
function outFloor() {
currFloor = null;
currPos = "jump";
feet.gotoAndStop("jump");
}
function inFloorArea(flr) {
return(((_x + puzo) >= flr.beg.x) && ((_x - puzo) <= flr.end.x));
}
function setY() {
if (!inFloorArea(_global.floors[currFloor])) {
outFloor();
ySpeed = 0;
} else if (!_global.floors[currFloor].isHorizontal()) {
_y = _global.floors[currFloor].getY(_x);
}
}
function floorCross(newY) {
var _local3 = 0;
while (_local3 < _global.floors.length) {
if (_global.floors[_local3].isHorizontal()) {
if ((inFloorArea(_global.floors[_local3]) && (_global.floors[_local3].beg.y < newY)) && (_global.floors[_local3].beg.y > (_y - _height))) {
if (_global.floors[_local3].beg.y <= (newY - (_height / 2))) {
return(-1);
}
return(_local3);
}
} else if (inFloorArea(_global.floors[_local3])) {
var _local5 = _global.floors[_local3].getY(_x);
if ((_local5 < newY) && (_local5 > (newY - _height))) {
if (_local5 < (newY - (_height / 2))) {
return(-1);
}
return(_local3);
}
}
_local3++;
}
return(-2);
}
function wallCross(newY) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_x - puzo) < _global.walls[_local3].beg.x) && (_global.walls[_local3].beg.x < (_x + puzo))) {
if ((_global.walls[_local3].end.y > newY) && (newY > _global.walls[_local3].beg.y)) {
return(_local3);
}
}
_local3++;
}
return(-1);
}
function jumpOn() {
if (currFloor == null) {
var _local4 = _y - ySpeed;
var _local3 = floorCross(_local4);
switch (_local3) {
case -1 :
if (ySpeed > 0) {
ySpeed = 0;
} else {
ySpeed = ySpeed - _global.G;
_y = _y - ySpeed;
}
break;
case -2 :
if (wallCross(_local4) >= 0) {
ySpeed = _global.G * 2;
} else {
ySpeed = ySpeed - _global.G;
_y = _local4;
}
if (_y > 10000) {
die(1, false);
}
break;
default :
ySpeed = 0;
if (_global.floors[_local3].isHorizontal()) {
_y = _global.floors[_local3].beg.y;
} else {
_y = _global.floors[_local3].getY(_x);
}
currFloor = _local3;
feet.gotoAndStop("stand");
currPos = "stand";
}
}
}
function canGo(xx) {
var _local5 = 0;
while (_local5 < _global.walls.length) {
if (((_global.walls[_local5].beg.x < ((_x + puzo) + xx)) && (_global.walls[_local5].beg.x > ((_x - puzo) + xx))) && (!((_global.walls[_local5].beg.y >= _y) || (_global.walls[_local5].end.y <= (_y - _height))))) {
return(false);
}
_local5++;
}
_local5 = 0;
while (_local5 < _global.hero) {
if ((((this != _root["hero" + _local5]) && (_root["hero" + _local5].HP > 0)) && (_root["hero" + _local5].currFloor == currFloor)) && (_root.distX(this, _root["hero" + _local5], xx) < (puzo + _root["hero" + _local5].puzo))) {
return(false);
}
_local5++;
}
_local5 = 0;
for ( ; _local5 < _global.box ; _local5++) {
if ((_root["box" + _local5].HP > 0) && (_root["box" + _local5].fl != currFloor)) {
var _local6 = false;
if (xx > 0) {
_local6 = _root["box" + _local5].hitTest((_x + puzo) + xx, _y - 5, false);
} else {
_local6 = _root["box" + _local5].hitTest((_x - puzo) + xx, _y - 5, false);
}
if (_local6) {
if (_root["box" + _local5].moveOn(xx)) {
_root["box" + _local5].setSpeed(xx);
continue;
}
return(false);
}
if ((_name == "hero0") && (Key.isDown(_global.CO_USE))) {
if (xx > 0) {
_local6 = (!lookRight) && (_root["box" + _local5].hitTest(_x - (puzo * 1.5), _y - 5, false));
} else {
_local6 = lookRight && (_root["box" + _local5].hitTest(_x + (puzo * 1.5), _y - 5, false));
}
}
if (_local6) {
_root["box" + _local5].moveOn(xx);
}
}
}
if (_global.SMALL_OBJECTS) {
_local5 = 0;
while (_local5 < _global.thing) {
if (hitTest(_root["thn" + _local5])) {
if (_root["thn" + _local5].moveOn(xx * 2)) {
_root["thn" + _local5].xSpeed = xx * 2;
}
if (_root["thn" + _local5].startYspeed > 0) {
_root["thn" + _local5].outFloor();
_root["thn" + _local5].ySpeed = _root["thn" + _local5].startYspeed;
}
}
_local5++;
}
}
return(true);
}
function sideView(pskin) {
head.attachMovie("Head_" + pskin, "sk", 1);
jacket.attachMovie("Jacket_" + pskin, "sk", 1);
body.attachMovie("Body_" + pskin, "sk", 1);
handR.handR.attachMovie("Hand_" + pskin, "sk", 1);
handR.armR.attachMovie("Arm_" + pskin, "sk", 1);
handL.handL.attachMovie("Hand_" + pskin, "sk", 1);
handL.armL.attachMovie("Arm_" + pskin, "sk", 1);
feet.legR.attachMovie("Foot_" + pskin, "sk", 1);
feet.legL.attachMovie("Foot_" + pskin, "sk", 1);
feet.footR.attachMovie("Leg_" + pskin, "sk", 1);
feet.footL.attachMovie("Leg_" + pskin, "sk", 1);
}
function sitDown() {
isDuck = true;
feet._y = feet._y + 37;
body._y = body._y + 37;
jacket._y = jacket._y + 37;
handL._y = handL._y + 37;
handR._y = handR._y + 37;
head._y = head._y + 37;
if (currFloor == null) {
_y = _y - 37;
}
}
function standUp() {
var _local5 = false;
var _local3 = 0;
while (_local3 < _global.floors.length) {
if (_global.floors[_local3].isHorizontal()) {
if ((inFloorArea(_global.floors[_local3]) && (_global.floors[_local3].beg.y > ((_y - _height) - 37))) && (_global.floors[_local3].beg.y < (_y - _height))) {
_local5 = true;
}
} else if (inFloorArea(_global.floors[_local3])) {
var _local4 = _global.floors[_local3].getY(_x);
if ((_local4 > ((_y - _height) - 37)) && (_local4 < (_y - _height))) {
_local5 = true;
}
}
_local3++;
}
if (!_local5) {
isDuck = false;
feet._y = feet._y - 37;
body._y = body._y - 37;
jacket._y = jacket._y - 37;
handL._y = handL._y - 37;
handR._y = handR._y - 37;
head._y = head._y - 37;
if (currFloor == null) {
_y = _y + 37;
}
}
}
function die(damage, headshot) {
if (_visible) {
dieSound.start();
if (_name == "hero0") {
_root.attachMovie("again_question", "wnd", 100001);
_root.scr._visible = false;
}
HP = 0;
var _local3 = ((damage * 3) + _root.d(10)) * _root.znak(_x - _root.hero0._x);
var _local6 = 0;
var _local5 = -10;
var _local4 = 0;
if (headshot) {
_local6 = -_root.d(40);
_local5 = 40;
_local4 = 50;
_local3 = _local3 / 3;
}
if (_local3 > 35) {
_local3 = 35;
}
_root.addRagDoll(_x, _y - 25, SKIN, _local3, _local6, _local5, _local4);
if (weapon.link != "Bludgeon") {
weapon.ammo = 0;
weapon.clip = weapon.max_clip;
_root.addDroppedGun(_x, _y - (_height * headline), weapon);
}
_visible = false;
onEnterFrame = null;
}
}
function dieFast(x_spd, y_spd) {
if (_visible) {
dieSound.start();
if (_name == "hero0") {
_root.attachMovie("again_question", "wnd", 100001, {_x:400, _y:300});
_root.scr._visible = false;
}
HP = 0;
var _local4 = 40;
var _local3 = 50;
_root.addRagDoll(_x, _y - 25, SKIN, x_spd, y_spd, _local4, _local3);
if (weapon.link != "Bludgeon") {
weapon.ammo = 0;
weapon.clip = weapon.max_clip;
_root.addDroppedGun(_x, _y - (_height * headline), weapon);
}
_visible = false;
onEnterFrame = null;
}
}
function changeWeapons(link) {
ch_weap = link;
handR.gotoAndPlay("put_" + weapon.SUBTYPE);
handL.gotoAndPlay("put_" + weapon.SUBTYPE);
}
function onWeaponDown() {
action = 1000;
weapon = ch_weap;
handR.gotoAndPlay("take_" + weapon.SUBTYPE);
handL.gotoAndPlay("take_" + weapon.SUBTYPE);
handR.gun.attachMovie(weapon.link, "gun_mc", 1);
}
function onWeaponUp() {
action = 0;
handR.gotoAndStop(weapon.TYPE);
handL.gotoAndStop(weapon.TYPE);
handR.gun.attachMovie(weapon.link, "gun_mc", 1);
if (_name == "hero0") {
if (weapon.alternate && (weapon.alt_use)) {
_root.scr.gotoAndStop(2);
} else {
_root.scr.gotoAndStop(1);
}
if ((weapon.ammo + weapon.clip) >= weapon.max_clip) {
weapon.ammo = weapon.ammo + (weapon.clip - weapon.max_clip);
weapon.clip = weapon.max_clip;
} else {
weapon.clip = weapon.clip + weapon.ammo;
weapon.ammo = 0;
}
_root.scr.gun_txt.text = weapon.description;
}
}
function getShot(damage, dy) {
if (HP > 0) {
var _local6 = false;
if ((dy / _height) >= headline) {
damage = damage * _global.CRITICAL_HIT;
_local6 = true;
}
var _local5 = Math.round(damage * 0.66);
AC = AC - _local5;
if (AC < 0) {
AC = 0;
_local5 = 0;
}
HP = HP - (damage - _local5);
poisoned_HP = poisoned_HP - (damage - _local5);
if (HP <= 0) {
die(damage, _local6);
}
if (_root.d(3) > _global.BLOOD_LEVEL) {
_root.addBlood(_x, _y - (_height / 2));
}
}
}
function fire() {
if (weapon.clip >= weapon.treat) {
action = weapon.fire_rate;
handR.play();
handL.play();
handR.gun.gun_mc.gotoAndPlay(2);
weapon.clip = weapon.clip - weapon.treat;
} else {
reload();
}
}
function fireAlt() {
if (weapon.alt_use) {
if (weapon.alt_clip >= weapon.alt_treat) {
action = weapon.alt_rate;
handR.play();
handL.play();
handR.gun.gun_mc.gotoAndPlay("alt");
weapon.alt_clip = weapon.alt_clip - weapon.alt_treat;
}
} else if (weapon.clip >= weapon.alt_treat) {
action = weapon.alt_rate;
handR.play();
handL.play();
handR.gun.gun_mc.gotoAndPlay("alt");
weapon.clip = weapon.clip - weapon.alt_treat;
} else {
reload();
}
}
function reload() {
burst_now = 0;
if (weapon.ammo > 0) {
action = 1000;
handR.gotoAndPlay("reload_" + weapon.TYPER);
handL.gotoAndPlay("reload_" + weapon.TYPER);
handR.gun.attachMovie(weapon.link, "gun_mc", 1);
}
}
function onReload() {
action = 0;
if (weapon.TYPER == "shotgun") {
weapon.clip++;
weapon.ammo--;
if ((weapon.clip < weapon.max_clip) && (weapon.ammo > 0)) {
reload();
return(undefined);
}
} else if ((weapon.ammo + weapon.clip) >= weapon.max_clip) {
weapon.ammo = weapon.ammo + (weapon.clip - weapon.max_clip);
weapon.clip = weapon.max_clip;
} else {
weapon.clip = weapon.clip + weapon.ammo;
weapon.ammo = 0;
}
handR.gotoAndStop(weapon.TYPE);
handL.gotoAndStop(weapon.TYPE);
handR.gun.attachMovie(weapon.link, "gun_mc", 1);
}
function setSound() {
dieSound = new Sound(this);
dieSound.attachSound("die.wav");
dieSound.stop();
}
function shell(tp) {
var _local4 = handR.gun.gun_mc.MARK_shell._x;
var _local5 = handR.gun.gun_mc.MARK_shell._y;
var _local3 = new Object({x:_local4, y:_local5});
handR.gun.gun_mc.localToGlobal(_local3);
_local3.x = _local3.x - _root._x;
_local3.y = _local3.y - _root._y;
if (lookRight) {
_root.addShell(_local3.x, _local3.y, tp, 5 - _root.d(16), _root.d(12));
} else {
_root.addShell(_local3.x, _local3.y, tp, _root.d(16) - 5, _root.d(12));
}
}
function addBullet() {
var _local5 = handR.gun.gun_mc.MARK_bullet._x;
var _local6 = handR.gun.gun_mc.MARK_bullet._y;
var _local3 = new Object({x:_local5, y:_local6});
handR.gun.gun_mc.localToGlobal(_local3);
_local3.x = _local3.x - _root._x;
_local3.y = _local3.y - _root._y;
var _local4 = new Line(_x, _y - (_height * headline), _local3.x, _local3.y);
if (_local4.wall() == null) {
_root.addBullet(_local3.x, _local3.y, handR._rotation + _root.dd(weapon.kickback), lookRight, _name, weapon.damage);
}
}
function addRocket(err) {
_root.addRocket(_x, _y, _rotation, err);
}
function addGrenade(err) {
_root.addGrenade(_x, _y, _rotation, err);
}
function shot() {
addBullet();
}
function shotgun() {
var _local2 = -2;
while (_local2 <= 2) {
addBullet();
_local2++;
}
}
function doubleBarrel() {
var _local3 = (Math.random() * (2 * kick)) - kick;
var _local2 = -2;
while (_local2 <= 2.5) {
addBullet(_local2 + _local3);
_local2 = _local2 + 0.5;
}
}
function rocket() {
addRocket(_root.d(kick));
}
function grenade() {
var _local4 = handR.gun.gun_mc.MARK_bullet._x;
var _local5 = handR.gun.gun_mc.MARK_bullet._y;
var _local3 = new Object({x:_local4, y:_local5});
handR.gun.gun_mc.localToGlobal(_local3);
_local3.x = _local3.x - _root._x;
_local3.y = _local3.y - _root._y;
_root.addGrenade(_local3.x, _local3.y, handR._rotation, lookRight, _name);
}
function energy() {
var _local4 = handR.gun.gun_mc.MARK_bullet._x;
var _local5 = handR.gun.gun_mc.MARK_bullet._y;
var _local3 = new Object({x:_local4, y:_local5});
handR.gun.gun_mc.localToGlobal(_local3);
_local3.x = _local3.x - _root._x;
_local3.y = _local3.y - _root._y;
_root.addEnergyBall(_local3.x, _local3.y, handR._rotation, lookRight, _name);
}
function handGrenade() {
var _local5 = handR.gun.gun_mc.MARK_bullet._x;
var _local6 = handR.gun.gun_mc.MARK_bullet._y;
var _local3 = new Object({x:_local5, y:_local6});
handR.gun.gun_mc.localToGlobal(_local3);
_local3.x = _local3.x - _root._x;
_local3.y = _local3.y - _root._y;
var _local4 = 30 * Math.cos(_root.degToRad(handR._rotation));
var _local7 = 30 * Math.sin(_root.degToRad(handR._rotation));
if (!lookRight) {
_local4 = -_local4;
}
_root.addHandGrenade(_local3.x, _local3.y, _local4, _local7, weapon.damage);
}
function type_Freeman() {
MAX_HP = 100;
burst_max = 3;
aim_time = 10;
turn_time = 30;
burst_rnd = _root.d(burst_max);
}
function type_Alyx() {
MAX_HP = 100;
AC = 0;
burst_max = 8;
aim_time = 1;
turn_time = 1;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Gregori() {
MAX_HP = 100;
AC = 0;
burst_max = 2;
aim_time = 25;
turn_time = 1;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Vetal() {
MAX_HP = 100;
AC = 0;
burst_max = 20;
aim_time = 5;
turn_time = 1;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Metrocop() {
MAX_HP = 24;
AC = 0;
burst_max = 3;
aim_time = 10;
turn_time = 30;
step = 4;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Ment() {
MAX_HP = 30;
AC = 0;
burst_max = 2;
aim_time = 10;
turn_time = 30;
step = 4;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Soldier() {
MAX_HP = 40;
AC = 0;
burst_max = 3;
aim_time = 10;
turn_time = 30;
step = 4;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Guard() {
MAX_HP = 40;
AC = 0;
burst_max = 4;
aim_time = 10;
turn_time = 30;
step = 4;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
function type_Elite() {
MAX_HP = 60;
AC = 0;
burst_max = 5;
aim_time = 10;
turn_time = 30;
step = 4;
burst_rnd = _root.d(burst_max);
HP = MAX_HP;
}
var JUMP_BEGIN_SPEED = 20;
var poisoned_HP = -1;
}
Symbol 1547 MovieClip [__Packages.Player] Frame 0
class Player extends Man
{
var Man, lookRight, kurok, HP, AC, changeWeapons, _x, _xscale, headline, _height, _y, handL, handR, head, currPos, isDuck, feet, currFloor, sitDown, standUp, inFloorArea, outFloor, ySpeed, JUMP_BEGIN_SPEED, step, run_mod, canGo, setY, action, jumpOn, weapon, ch_weap, reload, fire, fireAlt;
function Player () {
super();
Man();
lookRight = true;
kurok = false;
if (_root.SV_GUNS != undefined) {
guns = _root.SV_GUNS;
HP = _root.SV_HP;
AC = _root.SV_AC;
changeWeapons(_root.SV_CURR);
} else {
var _local4 = 0;
while (_local4 < guns.length) {
guns[_local4] = new Array();
_local4++;
}
}
_root.attachMovie("Screen", "scr", 100000);
}
function turn() {
if (_root._xmouse > _x) {
if (_xscale > 0) {
lookRight = true;
_xscale = _xscale * -1;
}
} else if (_xscale < 0) {
lookRight = false;
_xscale = _xscale * -1;
}
if (lookRight) {
var _local3 = _root.radToDeg(Math.atan2((_y - (_height * headline)) - _root._ymouse, _root._xmouse - _x));
} else {
var _local3 = _root.radToDeg(Math.atan2((_y - (_height * headline)) - _root._ymouse, _x - _root._xmouse));
}
if (_local3 > 70) {
var _local3 = 70;
}
if (_local3 < -70) {
var _local3 = -70;
}
handL._rotation = _local3;
handR._rotation = _local3;
head._rotation = _local3;
}
function checkPos(xx) {
switch (currPos) {
case "walk" :
return((((!isDuck) && (Key.isDown(_global.CO_RUN))) && (lookRight == (xx > 0))) && (xx != 0));
case "walkR" :
return(((!isDuck) && (lookRight == (xx < 0))) && (xx != 0));
case "run" :
return((((!isDuck) && (!Key.isDown(_global.CO_RUN))) && (lookRight == (xx > 0))) && (xx != 0));
case "stand" :
return((!isDuck) && (xx == 0));
case "crawl" :
return((isDuck && (lookRight == (xx > 0))) && (xx != 0));
case "crawlR" :
return((isDuck && (lookRight == (xx < 0))) && (xx != 0));
case "duck" :
return(isDuck && (xx == 0));
case "jump" :
return(!isDuck);
}
}
function setPos(xx) {
if (isDuck) {
if (xx == 0) {
feet.gotoAndStop("duck");
currPos = "duck";
} else if (lookRight == (xx < 0)) {
feet.gotoAndPlay("crawlR");
currPos = "crawlR";
} else {
feet.gotoAndPlay("crawl");
currPos = "crawl";
}
} else {
if (currFloor == null) {
feet.gotoAndStop("jump");
currPos = "jump";
return(undefined);
}
if (xx == 0) {
feet.gotoAndStop("stand");
currPos = "stand";
} else if (lookRight == (xx < 0)) {
feet.gotoAndPlay("walkR");
currPos = "walkR";
} else if (!Key.isDown(_global.CO_RUN)) {
feet.gotoAndPlay("run");
currPos = "run";
} else {
feet.gotoAndPlay("walk");
currPos = "walk";
}
}
}
function duckOn() {
if (Key.isDown(_global.CO_DUCK) && (!isDuck)) {
sitDown();
return(undefined);
}
if ((!Key.isDown(_global.CO_DUCK)) && (isDuck)) {
standUp();
return(undefined);
}
}
function mayJump() {
var _local3 = 0;
while (_local3 < _global.floors.length) {
if ((_local3 != currFloor) && (inFloorArea(_global.floors[_local3]))) {
var _local4 = _global.floors[_local3].getY(_x);
if ((_local4 < (_y - (_height / 2))) && (_local4 > (_y - _height))) {
return(false);
}
}
_local3++;
}
return(true);
}
function moveOn() {
if (((currFloor != null) && (Key.isDown(_global.CO_JUMP))) && (mayJump())) {
outFloor();
ySpeed = JUMP_BEGIN_SPEED;
}
var _local4 = 0;
if (Key.isDown(_global.CO_LEFT)) {
_local4 = _local4 - step;
}
if (Key.isDown(_global.CO_RIGHT)) {
_local4 = _local4 + step;
}
if ((((!isDuck) && (lookRight == (_local4 > 0))) && (currFloor != null)) && (!Key.isDown(_global.CO_RUN))) {
_local4 = _local4 * run_mod;
}
if (!canGo(_local4)) {
_local4 = 0;
}
if (!checkPos(_local4)) {
setPos(_local4);
}
_x = _x + _local4;
setY();
_root._x = _root._x - _local4;
}
function onEnterFrame() {
if (HP > 0) {
if (action > 0) {
action--;
}
duckOn();
moveOn();
jumpOn();
turn();
attack();
setScreen();
}
}
function setScreen() {
if (_y != (450 - _root._y)) {
_root._y = 450 - _y;
}
if (lookRight) {
if (_x != (100 - _root._x)) {
var _local3 = _root._x - (step * 6);
if (_local3 < (100 - _x)) {
_root._x = 100 - _x;
} else {
_root._x = _local3;
}
}
} else if (_x != (600 - _root._x)) {
var _local3 = _root._x + (step * 6);
if (_local3 > (600 - _x)) {
_root._x = 600 - _x;
} else {
_root._x = _local3;
}
}
_root.scr._y = _y - 450;
_root.scr._x = -_root._x;
}
function onMouseDown() {
if (ch_weap == weapon) {
kurok = true;
}
}
function onMouseUp() {
kurok = false;
}
function attack() {
if (Key.isDown(_global.CO_RELOAD) && (weapon.clip < weapon.max_clip)) {
reload();
}
if (kurok) {
if (action == 0) {
fire();
}
} else if (Key.isDown(_global.CO_ALT)) {
if ((weapon.alternate && (action == 0)) && (handR._currentframe < 196)) {
fireAlt();
}
}
}
var guns = new Array(6);
}
Symbol 1548 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends Man
{
var Man, lookRight, HaveSeenPlayer, lastSeenPlayer, skill, gox, _x, _xscale, headline, _height, _y, handL, handR, head, weapon, step, isDuck, currFloor, run_mod, canGo, setY, outFloor, ySpeed, JUMP_BEGIN_SPEED, currPos, feet, action, aim_time, what_to_do, turn_time, burst_now, burst_rnd, burst_max, fire, time_to_look, jumpOn;
function Enemy () {
super();
Man();
lookRight = false;
HaveSeenPlayer = false;
lastSeenPlayer = 0;
skill = 1;
gox = _x;
}
function turn(RIGHT) {
if (lookRight == RIGHT) {
return(true);
}
lookRight = !lookRight;
_xscale = _xscale * -1;
return(false);
}
function setTarget() {
if (lookRight) {
var _local3 = _root.radToDeg(Math.atan2((_y - (_height * headline)) - (_root.hero0._y - (_root.hero0._height / 2)), _root.hero0._x - _x));
} else {
var _local3 = _root.radToDeg(Math.atan2((_y - (_height * headline)) - (_root.hero0._y - (_root.hero0._height / 2)), _x - _root.hero0._x));
}
if (_local3 > 70) {
var _local3 = 70;
}
if (_local3 < -70) {
var _local3 = -70;
}
handL._rotation = _local3;
handR._rotation = _local3;
head._rotation = _local3;
}
function seePlayer() {
var _local3 = new Line(_root.hero0._x, _root.hero0._y - (_root.hero0._height / 2), _x, _y - (_height * headline));
return(_local3.wall() == null);
}
function checkDist() {
return(weapon.range >= Math.abs(_x - _root.hero0._x));
}
function moveOn() {
if (_x != gox) {
var _local3 = _root.znak(gox - _x) * step;
if (((!isDuck) && (lookRight == (_local3 > 0))) && (currFloor != null)) {
_local3 = _local3 * run_mod;
}
if (canGo(_local3)) {
_x = _x + _local3;
setY();
if (Math.abs(_x - gox) < step) {
stopMove();
lastSeenPlayer = _x;
}
} else if (currFloor != null) {
outFloor();
ySpeed = JUMP_BEGIN_SPEED;
}
}
}
function startMove(xx) {
gox = xx;
if (((currPos != "crawl") && (currPos != "run")) && (currPos != "jump")) {
if (isDuck) {
feet.gotoAndPlay("crawl");
currPos = "crawl";
} else {
feet.gotoAndPlay("run");
currPos = "run";
}
}
}
function stopMove() {
gox = _x;
if (isDuck) {
feet.gotoAndStop("duck");
currPos = "duck";
} else {
feet.gotoAndStop("stand");
currPos = "stand";
}
}
function AI() {
if (seePlayer()) {
lastSeenPlayer = _root.hero0._x;
HaveSeenPlayer = true;
if ((_root.hero0._x > _x) == lookRight) {
if (checkDist()) {
setTarget();
stopMove();
action = aim_time;
what_to_do = "shoot";
} else {
startMove(_root.hero0._x);
}
} else {
action = turn_time;
what_to_do = "turn";
}
} else if (HaveSeenPlayer) {
if (_x != lastSeenPlayer) {
startMove(lastSeenPlayer);
} else {
HaveSeenPlayer = false;
}
}
}
function doSomething() {
action--;
if (action <= 0) {
switch (what_to_do) {
case "shoot" :
burst_now++;
if (burst_now >= burst_rnd) {
burst_rnd = _root.d(burst_max);
what_to_do = "nothing";
burst_now = 0;
}
fire();
break;
case "turn" :
_xscale = _xscale * -1;
lookRight = !lookRight;
what_to_do = "nothing";
}
}
}
function onEnterFrame() {
if ((Math.abs(_x - _root.hero0._x) < 700) && (Math.abs(_y - _root.hero0._y) < 450)) {
if (action > 0) {
doSomething();
} else if (HaveSeenPlayer || (time_to_look == _global.times)) {
AI();
}
moveOn();
}
jumpOn();
}
}
Symbol 1549 MovieClip [__Packages.PhysicalObject] Frame 0
class PhysicalObject extends MovieClip
{
var currFloor, xSpeed, ySpeed, fl, _rotation, inFloorArea, outFloor, _y, _x, HEIGHT, _height, canGo, setX, removeMovieClip;
function PhysicalObject () {
super();
currFloor = null;
xSpeed = 0;
ySpeed = 0;
fl = -1;
}
function disableFloors() {
_global.floors[fl].beg.y = 1000000 /* 0x0F4240 */;
_global.floors[fl].end.y = 1000000 /* 0x0F4240 */;
}
function turn() {
if (_global.floors[currFloor].isHorizontal()) {
_rotation = 0;
} else {
var _local5 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local4 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
_rotation = _root.radToDeg(Math.atan2(_local5, _local4));
}
}
function setY() {
if (!inFloorArea(_global.floors[currFloor])) {
outFloor();
ySpeed = 0;
} else if (!_global.floors[currFloor].isHorizontal()) {
_y = _global.floors[currFloor].getY(_x);
if (_root.hero0.currFloor == fl) {
_root.hero0._y = _y - HEIGHT;
}
}
}
function floorCross(newY) {
var _local3 = 0;
while (_local3 < _global.floors.length) {
if (_local3 != fl) {
if (_global.floors[_local3].isHorizontal()) {
if ((inFloorArea(_global.floors[_local3]) && (_global.floors[_local3].beg.y <= newY)) && (_global.floors[_local3].beg.y >= (_y - _height))) {
return(_local3);
}
} else if (inFloorArea(_global.floors[_local3])) {
var _local4 = _global.floors[_local3].getY(_x);
if ((_local4 <= newY) && (_local4 >= (_y - _height))) {
return(_local3);
}
}
}
_local3++;
}
return(-1);
}
function moveOn(xx) {
if (xx != 0) {
if (canGo(xx)) {
setX(xx);
setY();
return(true);
}
return(false);
}
}
function stdOnEnterFrame() {
if (_y > 10000) {
removeMovieClip();
}
}
}
Symbol 1550 MovieClip [__Packages.Shell] Frame 0
class Shell extends PhysicalObject
{
var PhysicalObject, rot_modifier, HP, currFloor, _x, ySpeed, _y, floorCross, _rotation, jumpQue, xSpeed, moveOn, friction, stdOnEnterFrame;
function Shell () {
super();
PhysicalObject();
rot_modifier = 5;
HP = 1;
}
function outFloor() {
currFloor = null;
}
function setX(xx) {
_x = _x + xx;
}
function fall() {
var _local5 = _y - ySpeed;
var _local4 = floorCross(_local5);
switch (_local4) {
case -1 :
ySpeed = ySpeed - _global.G;
_y = _local5;
break;
default :
if (ySpeed > ((-_global.G) * 2)) {
if (!_global.floors_moving[_local4]) {
ySpeed = 0;
if (_global.floors[_local4].isHorizontal()) {
_y = _global.floors[_local4].beg.y;
} else {
_y = _global.floors[_local4].getY(_x);
}
_rotation = _root.d(90) - 45;
_y = _y + (10 - _root.d(20));
onEnterFrame = null;
} else {
ySpeed = (-ySpeed) * (jumpQue * 1.5);
if (xSpeed == 0) {
xSpeed = _root.dd(4);
} else {
xSpeed = xSpeed * 1.5;
}
}
} else {
ySpeed = (-ySpeed) * (jumpQue - 0.2);
}
}
}
function inFloorArea(flr) {
return((_x >= flr.beg.x) && (_x <= flr.end.x));
}
function canGo(xx) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if ((_global.walls[_local3].beg.y <= _y) && (_global.walls[_local3].end.y >= _y)) {
if (((_global.walls[_local3].beg.x <= (_x + xx)) && (_global.walls[_local3].beg.x >= _x)) || ((_global.walls[_local3].beg.x <= _x) && (_global.walls[_local3].beg.x >= (_x + xx)))) {
xSpeed = (-xSpeed) * jumpQue;
return(false);
}
}
_local3++;
}
return(true);
}
function onEnterFrame() {
fall();
if (xSpeed != 0) {
_rotation = _rotation + (xSpeed * rot_modifier);
if (moveOn(xSpeed)) {
var _local3 = Math.abs(xSpeed);
_local3 = _local3 - friction;
if (_local3 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local3;
}
}
}
stdOnEnterFrame();
}
function setYELLOW() {
friction = 0.02;
jumpQue = 0.6;
}
function setRED() {
friction = 0.01;
jumpQue = 0.5;
}
}
Symbol 1551 MovieClip [__Packages.RagDoll] Frame 0
class RagDoll extends PhysicalObject
{
var PhysicalObject, HP, friction, jumpQue, _xscale, _yscale, spdBody, spdHead, spdHandL, spdHandR, spdFootL, spdFootR, currFloor, _x, _y, _height, ySpeed, floorCross, xSpeed, turn, _rotation, head, footL, footR, handL, handR, moveOn, stdOnEnterFrame, swapDepths, cacheAsBitmap, jacket, body;
function RagDoll () {
super();
PhysicalObject();
HP = 0;
friction = 0.3;
jumpQue = 0.4;
_xscale = 70;
_yscale = 70;
spdBody = 10;
spdHead = 3;
spdHandL = 5;
spdHandR = 7;
spdFootL = 5;
spdFootR = 15;
}
function outFloor() {
currFloor = null;
}
function setX(xx) {
_x = _x + xx;
}
function wallCross(newY) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_global.walls[_local3].beg.x < (_x + getWidth())) && (_global.walls[_local3].beg.x > _x)) && (!((_global.walls[_local3].beg.y >= _y) || (_global.walls[_local3].end.y <= (_y - _height))))) {
return(_local3);
}
_local3++;
}
return(-1);
}
function fall() {
if (currFloor == null) {
var _local5 = _y - ySpeed;
var _local4 = floorCross(_local5);
switch (_local4) {
case -1 :
if (wallCross(_local5) >= 0) {
ySpeed = ((-ySpeed) * jumpQue) * 2;
if (xSpeed != 0) {
xSpeed = xSpeed * 1.2;
} else {
xSpeed = _root.dd(5);
}
} else {
ySpeed = ySpeed - _global.G;
_y = _local5;
}
break;
default :
if (!_global.floors_moving[_local4]) {
if (ySpeed > ((-_global.G) * 2)) {
ySpeed = 0;
if (_global.floors[_local4].isHorizontal()) {
_y = _global.floors[_local4].beg.y;
} else {
_y = _global.floors[_local4].getY(_x);
}
currFloor = _local4;
turn();
_rotation = _rotation + 90;
spdBody = 0;
} else {
ySpeed = (-ySpeed) * (jumpQue - 0.2);
}
} else {
ySpeed = (-ySpeed) * (jumpQue * 1.5);
if (xSpeed != 0) {
break;
}
xSpeed = _root.dd(4);
}
}
return(true);
}
return(false);
}
function inFloorArea(flr) {
return((_x >= flr.beg.x) && (_x <= flr.end.x));
}
function getWidth() {
return(Math.abs(_rotation / 5));
}
function canGo(xx) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_global.walls[_local3].beg.x < ((_x + getWidth()) + xx)) && (_global.walls[_local3].beg.x > (_x + xx))) && (!((_global.walls[_local3].beg.y >= _y) || (_global.walls[_local3].end.y <= (_y - _height))))) {
xSpeed = (-xSpeed) * jumpQue;
return(false);
}
_local3++;
}
return(true);
}
function turnHead(spd) {
var _local3 = 50 - (spd * 5);
if (Math.abs(_local3 - head._rotation) <= spdHead) {
head._rotation = _local3;
if (currFloor != null) {
spdHead = 0;
}
} else {
head._rotation = head._rotation + (spdHead * _root.znak(_local3 - head._rotation));
}
}
function turnFeet(spd) {
var _local4 = Math.min(footL._rotation, footR._rotation) + _rotation;
var _local6 = _x - (_yscale * Math.cos(_root.degToRad(_local4 - 90)));
var _local7 = _y - (_yscale * Math.sin(_root.degToRad(_local4 - 90)));
var _local5 = new Line(_local6, _local7, _x, _y - 30);
var _local8 = _local5.wall();
var _local3 = (spd * 2) - 5;
if (_local8 == null) {
if (Math.abs(_local3 - footL._rotation) <= spdFootL) {
footL._rotation = _local3;
if (currFloor != null) {
spdFootL = 0;
}
} else {
footL._rotation = footL._rotation + (spdFootL * _root.znak(_local3 - footL._rotation));
}
if (Math.abs(_local3 - footR._rotation) <= spdFootR) {
footR._rotation = _local3;
if (currFloor != null) {
spdFootR = 0;
}
} else {
footR._rotation = footR._rotation + (spdFootR * _root.znak(_local3 - footR._rotation));
}
} else if (currFloor != null) {
if (footR._rotation > (_local4 - _rotation)) {
if (Math.abs(_local3 - footR._rotation) <= spdFootR) {
footR._rotation = _local3;
} else {
footR._rotation = footR._rotation + (spdFootR * _root.znak(_local3 - footR._rotation));
}
} else {
spdFootR = 0;
}
if (footL._rotation > (_local4 - _rotation)) {
if (Math.abs(_local3 - footL._rotation) <= spdFootL) {
footL._rotation = _local3;
} else {
footL._rotation = footL._rotation + (spdFootL * _root.znak(_local3 - footL._rotation));
}
} else {
spdFootL = 0;
}
} else {
footR._rotation = footR._rotation + 30;
footL._rotation = footL._rotation + 20;
}
}
function turnHands(spd) {
var _local3 = spd * 3;
if (Math.abs(_local3 - handL._rotation) <= spdHandL) {
handL._rotation = _local3;
if (currFloor != null) {
spdHandL = 0;
}
} else {
handL._rotation = handL._rotation + (spdHandL * _root.znak(_local3 - handL._rotation));
}
if (Math.abs(_local3 - handR._rotation) <= spdHandR) {
handR._rotation = _local3;
if (currFloor != null) {
spdHandR = 0;
}
} else {
handR._rotation = handR._rotation + (spdHandR * _root.znak(_local3 - handR._rotation));
}
}
function onEnterFrame() {
var _local6 = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (spdHead != 0) {
turnHead(_local6);
}
if ((spdFootL != 0) || (spdFootR != 0)) {
turnFeet(_local6);
}
if ((spdHandL != 0) || (spdHandR != 0)) {
turnHands(_local6);
}
if (fall()) {
if (xSpeed != 0) {
if (moveOn(xSpeed)) {
var _local4 = Math.abs(xSpeed);
_local4 = _local4 - friction;
if (_local4 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local4;
}
}
}
var _local5 = _root.radToDeg(Math.atan2(xSpeed, ySpeed));
if (Math.abs(_local5 - _rotation) <= spdBody) {
_rotation = _local5;
var _local3 = _rotation - _local5;
} else {
var _local3 = spdBody * _root.znak(_local5 - _rotation);
_rotation = _rotation + _local3;
}
footL._rotation = footL._rotation - _local3;
footR._rotation = footR._rotation - _local3;
handL._rotation = handL._rotation - _local3;
handR._rotation = handR._rotation - _local3;
} else if (((((spdHead == 0) && (spdFootL == 0)) && (spdFootR == 0)) && (spdHandL == 0)) && (spdHandR == 0)) {
die();
}
stdOnEnterFrame();
}
function die() {
swapDepths(_global.down_depth);
_global.down_depth = _global.down_depth + ((_global.d_blood <= 65000) ? 1 : -57000);
onEnterFrame = null;
cacheAsBitmap = true;
}
function sideView(pskin) {
head.attachMovie("Head_" + pskin, "sk", 1);
jacket.attachMovie("Jacket_" + pskin, "sk", 1);
body.attachMovie("Body_" + pskin, "sk", 1);
handR.hand.attachMovie("Hand_" + pskin, "sk", 1);
handR.arm.attachMovie("Arm_" + pskin, "sk", 1);
handL.hand.attachMovie("Hand_" + pskin, "sk", 1);
handL.arm.attachMovie("Arm_" + pskin, "sk", 1);
footL.foot.attachMovie("Foot_" + pskin, "sk", 1);
footR.foot.attachMovie("Foot_" + pskin, "sk", 1);
footL.leg.attachMovie("Leg_" + pskin, "sk", 1);
footR.leg.attachMovie("Leg_" + pskin, "sk", 1);
}
}
Symbol 1552 MovieClip [__Packages.Headcrab] Frame 0
class Headcrab extends MovieClip
{
var currFloor, currPos, xSpeed, ySpeed, puzo, lookRight, skill, _xscale, _yscale, dieSound, body, ft1l, ft1R, ft2l, ft2r, _x, _height, _y, _width, gotoAndStop, gotoAndPlay, hitTest, damage, HP, _visible, SKIN, range_max, step, range_min, time_to_look, MAX_HP;
function Headcrab () {
super();
setSound();
currFloor = null;
currPos = "jump";
xSpeed = 0;
ySpeed = 0;
puzo = -1000;
lookRight = false;
skill = 1;
_xscale = 70;
_yscale = 70;
}
function setSound() {
dieSound = new Sound(this);
dieSound.attachSound("die_headcrab.wav");
dieSound.stop();
}
function sideView(pskin) {
body.attachMovie("Body_HC_" + pskin, "sk", 1);
ft1l.attachMovie("Hand_HC_" + pskin, "sk", 1);
ft1R.attachMovie("Hand_HC_" + pskin, "sk", 1);
ft2l.attachMovie("Foot_HC_" + pskin, "sk", 1);
ft2r.attachMovie("Foot_HC_" + pskin, "sk", 1);
}
function turn(RIGHT) {
if (lookRight != RIGHT) {
lookRight = !lookRight;
_xscale = _xscale * -1;
}
}
function seePlayer() {
var _local3 = new Line(_root.hero0._x, _root.hero0._y - (_root.hero0._height / 2), _x, _y - _height);
return(_local3.wall() == null);
}
function inFloorArea(flr) {
return((_x >= flr.beg.x) && (_x <= flr.end.x));
}
function floorCross(newY) {
var _local3 = 0;
while (_local3 < _global.floors.length) {
if (_global.floors[_local3].isHorizontal()) {
if ((inFloorArea(_global.floors[_local3]) && (_global.floors[_local3].beg.y <= newY)) && (_global.floors[_local3].beg.y >= (_y - _height))) {
if (_global.floors[_local3].beg.y < _y) {
return(-1);
}
return(_local3);
}
} else if (inFloorArea(_global.floors[_local3])) {
var _local4 = _global.floors[_local3].getY(_x);
if ((_local4 <= newY) && (_local4 >= (newY - _height))) {
if (_local4 < _y) {
return(-1);
}
return(_local3);
}
}
_local3++;
}
return(-2);
}
function wallCross(newY) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_x - (_width / 2)) < _global.walls[_local3].beg.x) && (_global.walls[_local3].beg.x < (_x + (_width / 2)))) {
if ((_global.walls[_local3].end.y > newY) && (newY > _global.walls[_local3].beg.y)) {
return(_local3);
}
}
_local3++;
}
return(-1);
}
function canGo(xx) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_global.walls[_local3].beg.x < ((_x + (_width / 2)) + xx)) && (_global.walls[_local3].beg.x > ((_x - (_width / 2)) + xx))) && (!((_global.walls[_local3].beg.y >= _y) || (_global.walls[_local3].end.y <= (_y - _height))))) {
return(false);
}
_local3++;
}
return(true);
}
function setY() {
if (!inFloorArea(_global.floors[currFloor])) {
outFloor();
ySpeed = 0;
} else if (!_global.floors[currFloor].isHorizontal()) {
_y = _global.floors[currFloor].getY(_x);
}
}
function outFloor() {
currFloor = null;
currPos = "jump";
gotoAndStop("jump");
}
function moveOn(xx) {
if (canGo(xx)) {
startMove();
_x = _x + xx;
setY();
} else {
stopMove();
}
}
function startMove() {
if (currPos != "run") {
gotoAndPlay("run");
currPos = "run";
}
}
function stopMove() {
gotoAndStop("stand");
currPos = "stand";
}
function jumpOn() {
if (currFloor == null) {
if (canGo(xSpeed)) {
_x = _x + xSpeed;
if (((!haveAttacked) && (Math.abs(_x - _root.hero0._x) < _root.hero0.puzo)) && (hitTest(_root.hero0))) {
haveAttacked = true;
attack();
_x = _x - (xSpeed * 2);
xSpeed = 0;
turn(!lookRight);
}
}
var _local5 = _y - ySpeed;
var _local4 = floorCross(_local5);
switch (_local4) {
case -1 :
if (ySpeed > 0) {
ySpeed = 0;
} else {
ySpeed = ySpeed - _global.G;
_y = _y - ySpeed;
}
break;
case -2 :
if (wallCross(_local5) >= 0) {
ySpeed = _global.G * 2;
if (xSpeed != 0) {
xSpeed = xSpeed * 1.2;
} else {
xSpeed = _root.dd(5);
}
} else {
ySpeed = ySpeed - _global.G;
_y = _local5;
}
if (_y > 10000) {
die();
}
break;
default :
haveAttacked = false;
ySpeed = 0;
if (_global.floors[_local4].isHorizontal()) {
_y = _global.floors[_local4].beg.y;
} else {
_y = _global.floors[_local4].getY(_x);
}
currFloor = _local4;
gotoAndStop("stand");
currPos = "stand";
}
}
}
function attack() {
_root.hero0.getShot(damage, 0);
if (isPoison && (_root.hero0.poisoned_HP < 0)) {
_root.hero0.poisoned_HP = _root.hero0.HP;
_root.hero0.HP = 1;
}
}
function getShot(damage, dy) {
if (HP > 0) {
HP = HP - damage;
if (HP <= 0) {
die(damage);
}
if (_root.d(3) > _global.BLOOD_LEVEL) {
_root.addBlood(_x, _y - (_height / 2));
}
}
}
function die(damage) {
if (_visible) {
dieSound.start();
HP = 0;
var _local3 = _root.d(10) * _root.znak(_x - _root.hero0._x);
var _local6 = 0;
var _local5 = -10;
var _local4 = 0;
_root.addRagDoll_Headcrab(_x, _y - 25, "HC_" + SKIN, _local3, _local6, _local5, _local4);
_visible = false;
onEnterFrame = null;
}
}
function AI() {
if (currPos != "jump") {
if (haveSeenPlayer) {
var _local4 = Math.abs(_x - _root.hero0._x);
if (range_max < _local4) {
moveOn(step * _root.znak(_root.hero0._x - _x));
turn(_x < _root.hero0._x);
} else if (range_min > _local4) {
moveOn(step * _root.znak(_x - _root.hero0._x));
turn(_x > _root.hero0._x);
} else {
outFloor();
turn(_x < _root.hero0._x);
ySpeed = JUMP_BEGIN_SPEED_Y;
xSpeed = JUMP_BEGIN_SPEED_X * _root.znak(_root.hero0._x - _x);
}
} else if (time_to_look == _global.times) {
if (seePlayer()) {
haveSeenPlayer = true;
}
}
}
}
function onEnterFrame() {
if ((Math.abs(_x - _root.hero0._x) < 700) && (Math.abs(_y - _root.hero0._y) < 450)) {
AI();
}
jumpOn();
}
function type_Classical() {
MAX_HP = 8;
step = 2;
damage = 5;
range_max = 250;
range_min = 150;
HP = MAX_HP;
}
function type_Fast() {
MAX_HP = 8;
step = 10;
damage = 6;
range_max = 250;
range_min = 150;
HP = MAX_HP;
}
function type_Black() {
MAX_HP = 20;
step = 10;
damage = 0;
range_max = 250;
range_min = 150;
isPoison = true;
HP = MAX_HP;
}
var JUMP_BEGIN_SPEED_Y = 20;
var JUMP_BEGIN_SPEED_X = 10;
var burning = false;
var haveSeenPlayer = false;
var isDead = false;
var haveAttacked = false;
var isPoison = false;
}
Symbol 1553 MovieClip [__Packages.Zombie] Frame 0
class Zombie extends MovieClip
{
var puzo, lookRight, skill, _xscale, _yscale, dieSound, head, body, jacket, footR, footL, legR, legL, armL, armR, handL, handR, _x, _height, _y, currPos, gotoAndStop, run_type, gotoAndPlay, range, damage, HP, _visible, SKIN, step, atk_rate, atk_type, time_to_look, MAX_HP;
function Zombie () {
super();
setSound();
puzo = 14;
lookRight = false;
skill = 1;
_xscale = 70;
_yscale = 70;
}
function setSound() {
dieSound = new Sound(this);
dieSound.attachSound("die_zombie.wav");
dieSound.stop();
}
function sideView(pskin) {
head.attachMovie(("Head_ZB_" + pskin) + "_HC", "sk", 1);
body.attachMovie("Body_ZB_" + pskin, "sk", 1);
jacket.attachMovie("Jacket_ZB_" + pskin, "sk", 1);
footR.attachMovie("Leg_ZB_" + pskin, "sk", 1);
footL.attachMovie("Leg_ZB_" + pskin, "sk", 1);
legR.attachMovie("Foot_ZB_" + pskin, "sk", 1);
legL.attachMovie("Foot_ZB_" + pskin, "sk", 1);
armL.attachMovie("Arm_ZB_" + pskin, "sk", 1);
armR.attachMovie("Arm_ZB_" + pskin, "sk", 1);
handL.attachMovie("Hand_ZB_" + pskin, "sk", 1);
handR.attachMovie("Hand_ZB_" + pskin, "sk", 1);
}
function turn(RIGHT) {
if (lookRight != RIGHT) {
lookRight = !lookRight;
_xscale = _xscale * -1;
}
}
function seePlayer() {
var _local3 = new Line(_root.hero0._x, _root.hero0._y - (_root.hero0._height / 2), _x, _y - (_height * headline));
return(_local3.wall() == null);
}
function inFloorArea(flr) {
return(((_x + puzo) >= flr.beg.x) && ((_x - puzo) <= flr.end.x));
}
function floorCross(newY) {
var _local3 = 0;
while (_local3 < _global.floors.length) {
if (_global.floors[_local3].isHorizontal()) {
if ((inFloorArea(_global.floors[_local3]) && (_global.floors[_local3].beg.y < newY)) && (_global.floors[_local3].beg.y > (_y - _height))) {
if (_global.floors[_local3].beg.y <= (newY - (_height / 2))) {
return(-1);
}
return(_local3);
}
} else if (inFloorArea(_global.floors[_local3])) {
var _local5 = _global.floors[_local3].getY(_x);
if ((_local5 < newY) && (_local5 > (newY - _height))) {
if (_local5 < (newY - (_height / 2))) {
return(-1);
}
return(_local3);
}
}
_local3++;
}
return(-2);
}
function wallCross(newY) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_x - puzo) < _global.walls[_local3].beg.x) && (_global.walls[_local3].beg.x < (_x + puzo))) {
if ((_global.walls[_local3].end.y > newY) && (newY > _global.walls[_local3].beg.y)) {
return(_local3);
}
}
_local3++;
}
return(-1);
}
function canGo(xx) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_global.walls[_local3].beg.x < ((_x + puzo) + xx)) && (_global.walls[_local3].beg.x > ((_x - puzo) + xx))) && (!((_global.walls[_local3].beg.y >= _y) || (_global.walls[_local3].end.y <= (_y - _height))))) {
return(false);
}
_local3++;
}
return(true);
}
function setY() {
if (!inFloorArea(_global.floors[currFloor])) {
outFloor();
ySpeed = 0;
} else if (!_global.floors[currFloor].isHorizontal()) {
_y = _global.floors[currFloor].getY(_x);
}
}
function outFloor() {
currFloor = null;
currPos = "jump";
gotoAndStop("jump");
}
function moveOn(xx) {
if (canGo(xx)) {
startMove();
_x = _x + xx;
setY();
} else {
stopMove();
}
}
function startMove() {
if (currPos != run_type) {
gotoAndPlay(run_type);
currPos = run_type;
}
}
function stopMove() {
gotoAndStop("stand");
currPos = "stand";
}
function jumpOn() {
if (currFloor == null) {
var _local4 = _y - ySpeed;
var _local3 = floorCross(_local4);
switch (_local3) {
case -1 :
if (ySpeed > 0) {
ySpeed = 0;
} else {
ySpeed = ySpeed - _global.G;
_y = _y - ySpeed;
}
break;
case -2 :
if (wallCross(_local4) >= 0) {
ySpeed = _global.G * 2;
} else {
ySpeed = ySpeed - _global.G;
_y = _local4;
}
if (_y > 10000) {
die(1, false);
}
break;
default :
ySpeed = 0;
if (_global.floors[_local3].isHorizontal()) {
_y = _global.floors[_local3].beg.y;
} else {
_y = _global.floors[_local3].getY(_x);
}
currFloor = _local3;
gotoAndStop("stand");
currPos = "stand";
}
}
}
function attack() {
if ((range >= Math.abs(_x - _root.hero0._x)) && (currFloor == _root.hero0.currFloor)) {
_root.hero0.getShot(damage, 0);
}
}
function getShot(damage, dy) {
if (HP > 0) {
var _local5 = false;
if ((dy / _height) >= headline) {
damage = damage * _global.CRITICAL_HIT;
_local5 = true;
}
HP = HP - damage;
if (HP <= 0) {
die(damage, _local5);
}
if (_root.d(3) > _global.BLOOD_LEVEL) {
_root.addBlood(_x, _y - (_height / 2));
}
}
}
function die(damage, headshot) {
if (_visible) {
dieSound.start();
HP = 0;
var _local4 = (damage + _root.d(10)) * _root.znak(_x - _root.hero0._x);
var _local7 = 0;
var _local6 = -10;
var _local5 = 0;
if (headshot) {
_local7 = -_root.d(40);
_local6 = 40;
_local5 = 50;
_local4 = _local4 / 3;
}
_root.addRagDoll(_x, _y - 25, "ZB_" + SKIN, _local4, _local7, _local6, _local5);
if (headshot) {
_root["shell_" + (_global.free_depth - 1)].head.attachMovie(("Head_ZB_" + SKIN) + "_HC", "sk", 1);
} else {
_root.addHeadcrab(_x, _y - _height, SKIN);
}
_visible = false;
onEnterFrame = null;
}
}
function AI() {
if (action <= 0) {
if (haveSeenPlayer) {
if (range < Math.abs(_x - _root.hero0._x)) {
moveOn(step * _root.znak(_root.hero0._x - _x));
turn(_x < _root.hero0._x);
} else {
currPos = "stand";
action = atk_rate;
gotoAndPlay(atk_type);
}
} else if (time_to_look == _global.times) {
if (seePlayer()) {
haveSeenPlayer = true;
}
}
} else {
action--;
}
}
function onEnterFrame() {
if ((Math.abs(_x - _root.hero0._x) < 700) && (Math.abs(_y - _root.hero0._y) < 450)) {
AI();
}
jumpOn();
}
function type_Classical() {
MAX_HP = 60;
step = 3;
damage = 15;
range = 50;
atk_type = "attack";
run_type = "walk";
atk_rate = 60;
HP = MAX_HP;
}
function type_Fast() {
MAX_HP = 50;
step = 15;
damage = 17;
range = 70;
atk_type = "double";
run_type = "run";
atk_rate = 50;
HP = MAX_HP;
}
function type_Black() {
MAX_HP = 175;
step = 2;
damage = 30;
range = 60;
atk_type = "double";
run_type = "walk";
atk_rate = 50;
HP = MAX_HP;
}
var headline = 0.75;
var burning = false;
var ySpeed = 0;
var currFloor = null;
var haveSeenPlayer = false;
var isDead = false;
var action = 0;
}
Symbol 1554 MovieClip [__Packages.Barnacle] Frame 0
class Barnacle extends MovieClip
{
var HP, getDepth, _y, _x, tongue, ton_len, gotoAndStop, hold, _height, gotoAndPlay, hold_y;
function Barnacle () {
super();
HP = MAX_HP;
}
function init() {
_root.attachMovie("Barnacle_tongue", "other" + _global.other, getDepth() - 1, {_x:_x, _y:_y - 20});
tongue = _root["other" + _global.other];
_global.other++;
var _local4 = new Line(tongue._x, tongue._y, _x, _y + 1000);
var _local5 = _local4.wall();
ton_len = Math.floor(_local5.y - tongue._y) - 20;
tongue._height = ton_len;
gotoAndStop("stand");
}
function tong() {
if (Math.abs(tongue._height - ton_len) > step) {
tongue._height = tongue._height + (_root.znak(ton_len - tongue._height) * step);
}
}
function attack() {
hold.getShot(damage, 1000);
}
function getShot(damage, dy) {
if (HP > 0) {
HP = HP - damage;
if (HP <= 0) {
die();
}
if (_root.d(3) > _global.BLOOD_LEVEL) {
_root.addBloodReversed(_x, _y - (_height / 2));
}
}
}
function die() {
if (!isDead) {
isDead = true;
HP = 0;
gotoAndPlay("death");
tongue._height = 100;
onEnterFrame = null;
}
}
function setCoord() {
if (hold != null) {
hold.outFloor();
hold.ySpeed = 0;
hold._x = _x;
hold._y = hold_y;
}
}
function AI() {
if (action <= 0) {
if (hold != null) {
if (_y > (hold._y - hold._height)) {
if (hold.HP <= 0) {
gotoAndStop("stand");
hold = null;
} else {
gotoAndPlay("attack");
action = 60;
}
} else {
hold_y = hold_y - step;
tongue._height = tongue._height - step;
}
} else {
var _local4 = 0;
while (_local4 < _global.hero) {
if ((((this != _root["hero" + _local4]) && (_root["hero" + _local4].HP > 0)) && (tongue.hitTest(_root["hero" + _local4]))) && (Math.abs(_root["hero" + _local4]._x - _x) <= 30)) {
hold = _root["hero" + _local4];
hold_y = _root["hero" + _local4]._y;
gotoAndPlay("stand");
}
_local4++;
}
tong();
}
} else {
action--;
}
}
function onEnterFrame() {
if ((Math.abs(_x - _root.hero0._x) < 700) && (Math.abs(_y - _root.hero0._y) < 800)) {
setCoord();
AI();
}
}
var MAX_HP = 24;
var isDead = false;
var action = 0;
var damage = 10;
var step = 3;
}
Symbol 1555 MovieClip [__Packages.Friend] Frame 0
class Friend extends Man
{
var Man, lookRight, skill, gox, _x, _xscale, headline, _height, _y, handL, handR, head, weapon, step, isDuck, currFloor, run_mod, canGo, setY, currPos, feet, action, aim_time, what_to_do, time_to_look, burst_now, burst_rnd, burst_max, fire, jumpOn;
function Friend () {
super();
Man();
lookRight = false;
skill = 1;
gox = _x;
}
function turn(RIGHT) {
if (lookRight != RIGHT) {
lookRight = !lookRight;
_xscale = _xscale * -1;
}
}
function setTarget() {
if (lookRight) {
var _local3 = _root.radToDeg(Math.atan2((_y - (_height * headline)) - (attacking._y - (attacking._height / 2)), attacking._x - _x));
} else {
var _local3 = _root.radToDeg(Math.atan2((_y - (_height * headline)) - (attacking._y - (attacking._height / 2)), _x - attacking._x));
}
if (_local3 > 70) {
var _local3 = 70;
}
if (_local3 < -70) {
var _local3 = -70;
}
handL._rotation = _local3;
handR._rotation = _local3;
head._rotation = _local3;
}
function seeHim(who) {
var _local3 = new Line(who._x, who._y - (who._height / 2), _x, _y - (_height * headline));
return(_local3.wall() == null);
}
function findEnemy() {
var _local4 = 1;
while (_local4 < _global.hero) {
if ((_root["hero" + _local4].HP > 0) && (seeHim(_root["hero" + _local4]))) {
attacking = _root["hero" + _local4];
break;
}
_local4++;
}
}
function checkDist(who) {
return(weapon.range >= Math.abs(_x - who._x));
}
function moveOn() {
if (_x != gox) {
var _local3 = _root.znak(gox - _x) * step;
if (((!isDuck) && (lookRight == (_local3 > 0))) && (currFloor != null)) {
_local3 = _local3 * run_mod;
}
if (canGo(_local3)) {
_x = _x + _local3;
setY();
if (Math.abs(_x - gox) < step) {
stopMove();
}
}
}
}
function startMove(xx) {
gox = xx;
if (((currPos != "crawl") && (currPos != "run")) && (currPos != "jump")) {
if (isDuck) {
feet.gotoAndPlay("crawl");
currPos = "crawl";
} else {
feet.gotoAndPlay("run");
currPos = "run";
}
}
}
function stopMove() {
gox = _x;
if (isDuck) {
feet.gotoAndStop("duck");
currPos = "duck";
} else {
feet.gotoAndStop("stand");
currPos = "stand";
}
}
function AI() {
if (attacking != null) {
if ((attacking.HP > 0) && (seeHim(attacking))) {
turn(_x < attacking._x);
if (weapon.range >= Math.abs(_x - attacking._x)) {
setTarget();
stopMove();
action = aim_time;
what_to_do = "shoot";
} else {
startMove(attacking._x);
}
} else {
attacking = null;
}
} else if (time_to_look == _global.times) {
findEnemy();
}
}
function doSomething() {
action--;
if (action <= 0) {
if (!(what_to_do === "shoot")) {
} else {
burst_now++;
if (burst_now >= burst_rnd) {
burst_rnd = _root.d(burst_max);
what_to_do = "nothing";
burst_now = 0;
}
fire();
}
}
}
function onEnterFrame() {
if ((Math.abs(_x - _root.hero0._x) < 700) && (Math.abs(_y - _root.hero0._y) < 450)) {
if (action > 0) {
doSomething();
} else {
AI();
}
moveOn();
}
jumpOn();
}
var attacking = null;
}
Symbol 1556 MovieClip [__Packages.Thing] Frame 0
class Thing extends PhysicalObject
{
var PhysicalObject, HP, currFloor, _x, radius, ySpeed, _y, floorCross, jumpQue, turn, _width, xSpeed, _height, thing, moveOn, friction, stdOnEnterFrame;
function Thing () {
super();
PhysicalObject();
HP = 1;
}
function outFloor() {
currFloor = null;
}
function setX(xx) {
_x = _x + xx;
}
function wallCross(newY) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_x - radius) < _global.walls[_local3].beg.x) && (_global.walls[_local3].beg.x < (_x + radius))) {
if ((_global.walls[_local3].end.y > newY) && (newY > _global.walls[_local3].beg.y)) {
return(_local3);
}
}
_local3++;
}
return(-1);
}
function fall() {
if (currFloor == null) {
var _local4 = _y - ySpeed;
var _local3 = floorCross(_local4);
switch (_local3) {
case -1 :
if (wallCross(_local4) >= 0) {
ySpeed = (-ySpeed) * jumpQue;
} else {
ySpeed = ySpeed - _global.G;
_y = _local4;
}
break;
default :
if (ySpeed > ((-_global.G) * 4)) {
ySpeed = 0;
if (_global.floors[_local3].isHorizontal()) {
_y = _global.floors[_local3].beg.y;
} else {
_y = _global.floors[_local3].getY(_x);
}
currFloor = _local3;
if (radius == 0) {
turn();
}
} else {
ySpeed = (-ySpeed) * (jumpQue - 0.2);
}
}
}
}
function inFloorArea(flr) {
return(((_x + (_width / 2)) >= flr.beg.x) && ((_x - (_width / 2)) <= flr.end.x));
}
function canGo(xx) {
var _local5 = 0;
while (_local5 < _global.hero) {
if (((_root["hero" + _local5].HP > 0) && (_root["hero" + _local5].hitTest(this))) && ((xSpeed > 0) == (_root["hero" + _local5]._x > _x))) {
xSpeed = (-xSpeed) * jumpQue;
}
_local5++;
}
var _local4 = 0;
while (_local4 < _global.walls.length) {
if (((_global.walls[_local4].beg.x < ((_x + (_width / 2)) + xx)) && (_global.walls[_local4].beg.x > ((_x - (_width / 2)) + xx))) && (!((_global.walls[_local4].beg.y >= _y) || (_global.walls[_local4].end.y <= (_y - _height))))) {
xSpeed = (-xSpeed) * jumpQue;
return(false);
}
_local4++;
}
return(true);
}
function onEnterFrame() {
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local6 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local5 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local6 / _local5);
}
if (xSpeed != 0) {
if (radius != 0) {
thing._rotation = thing._rotation + ((xSpeed / (6.283185 * radius)) * 360);
}
if (moveOn(xSpeed)) {
var _local4 = Math.abs(xSpeed);
_local4 = _local4 - friction;
if (_local4 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local4;
}
}
}
stdOnEnterFrame();
}
}
Symbol 1557 MovieClip [__Packages.DroppedGun] Frame 0
class DroppedGun extends Thing
{
var Thing, friction, jumpQue, startYspeed, radius, gun, attachMovie, hitTest, removeMovieClip, fall, currFloor, xSpeed, thing, moveOn, stdOnEnterFrame;
function DroppedGun () {
super();
Thing();
friction = 0.2;
jumpQue = 0.7;
startYspeed = 1;
radius = 0;
}
function setGun(wpn) {
gun = wpn;
attachMovie(gun.link, "thing", 1, {_y:-15, _rotation:-30, _xscale:70, _yscale:70});
}
function heroHasTheGun() {
var _local3 = 0;
while (_local3 < _root.hero0.guns[gun.plus].length) {
if (_root.hero0.guns[gun.plus][_local3].link == gun.link) {
return(_local3);
}
_local3++;
}
return(-1);
}
function onEnterFrame() {
if (hitTest(_root.hero0)) {
var _local4 = heroHasTheGun();
if (_local4 == -1) {
gun.equip(_root.hero0);
removeMovieClip();
} else if (_root.hero0.guns[gun.plus][_local4].ammo != _root.hero0.guns[gun.plus][_local4].max_ammo) {
_root.hero0.guns[gun.plus][_local4].ammo = _root.hero0.guns[gun.plus][_local4].ammo + gun.max_clip;
if (_root.hero0.guns[gun.plus][_local4].ammo > _root.hero0.guns[gun.plus][_local4].max_ammo) {
_root.hero0.guns[gun.plus][_local4].ammo = _root.hero0.guns[gun.plus][_local4].max_ammo;
}
removeMovieClip();
} else if (_root.hero0.guns[gun.plus][_local4].max_ammo == 0) {
if (_root.hero0.guns[gun.plus][_local4].clip != _root.hero0.guns[gun.plus][_local4].max_clip) {
_root.hero0.guns[gun.plus][_local4].clip++;
removeMovieClip();
}
}
}
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local7 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local6 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local7 / _local6);
}
if (xSpeed != 0) {
if (radius != 0) {
thing._rotation = thing._rotation + ((xSpeed / (6.283185 * radius)) * 360);
}
if (moveOn(xSpeed)) {
var _local5 = Math.abs(xSpeed);
_local5 = _local5 - friction;
if (_local5 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local5;
}
}
}
stdOnEnterFrame();
}
}
Symbol 1558 MovieClip [__Packages.Grenade] Frame 0
class Grenade extends OldBullet
{
var OldBullet, damage, play, _rotation, speed, _x, _y;
function Grenade () {
super();
OldBullet();
}
function explode() {
var _local4 = 0;
while (_local4 < _global.hero) {
if (_root["hero" + _local4].HP > 0) {
var _local5 = _root.theDistance(this, _root["hero" + _local4]);
if (_local5 < DIST) {
_root["hero" + _local4].getShot(Math.round((1 - (_local5 / DIST)) * damage), false);
}
}
_local4++;
}
onEnterFrame = null;
play();
}
function onEnterFrame() {
_rotation = _rotation + (_root.znak(_rotation) * 2);
var _local10 = _root.plot(_rotation - 90, speed);
var _local7 = new Line(_x, _y, _x + _local10.x, _y + _local10.y);
var _local11 = _local7.wall();
if (_local11 == null) {
var _local9 = null;
var _local8 = null;
var _local13 = null;
var _local12 = -1;
var _local4 = 0;
while (_local4 < _global.box) {
if (_root["box" + _local4].HP > 0) {
var _local6 = new Line(_root["box" + _local4]._x, _root["box" + _local4]._y - _root["box" + _local4].HEIGHT, _root["box" + _local4]._x, _root["box" + _local4]._y);
_local9 = _local7.crossV(_local6);
if (_local9 != null) {
explode();
return(undefined);
}
}
_local4++;
}
var _local5 = 0;
while (_local5 < _global.hero) {
if (_root["hero" + _local5].HP > 0) {
var _local6 = new Line(_root["hero" + _local5]._x, _root["hero" + _local5]._y - _root["hero" + _local5]._height, _root["hero" + _local5]._x, _root["hero" + _local5]._y);
_local8 = _local7.crossV(_local6);
if (_local8 != null) {
explode();
return(undefined);
}
}
_local5++;
}
_x = _x + _local10.x;
_y = _y + _local10.y;
} else {
explode();
}
}
var DIST = 400;
}
Symbol 1559 MovieClip [__Packages.HandGrenade] Frame 0
class HandGrenade extends Shell
{
var Shell, rot_modifier, friction, jumpQue, _x, _y, damage, onEnterFrame, play, ySpeed, floorCross, _rotation;
function HandGrenade () {
super();
Shell();
rot_modifier = 2;
friction = 0.4;
jumpQue = 0.4;
}
function explode() {
var _local3 = 5;
while (_local3 <= 355) {
_root.addBullet(_x, _y - 10, _local3, false, null, damage);
_local3 = _local3 + 20;
}
onEnterFrame = null;
play();
}
function fall() {
var _local5 = _y - ySpeed;
var _local4 = floorCross(_local5);
switch (_local4) {
case -1 :
ySpeed = ySpeed - _global.G;
_y = _local5;
break;
default :
if (ySpeed > ((-_global.G) * 2)) {
ySpeed = 0;
if (_global.floors[_local4].isHorizontal()) {
_y = _global.floors[_local4].beg.y;
} else {
_y = _global.floors[_local4].getY(_x);
}
_rotation = _root.d(90) - 45;
_y = _y + (10 - _root.d(20));
onEnterFrame = null;
explode();
} else {
ySpeed = (-ySpeed) * (jumpQue - 0.2);
}
}
}
}
Symbol 1560 MovieClip [__Packages.EnergyBall] Frame 0
class EnergyBall extends MovieClip
{
var speed, owner, play, hitTest, _x, _y, removeMovieClip, _rotation;
function EnergyBall () {
super();
speed = 60;
owner = null;
}
function explode() {
onEnterFrame = null;
play();
}
function kill() {
var _local4 = 0;
while (_local4 < _global.hero) {
if (((_root["hero" + _local4].HP > 0) && (("hero" + _local4) != owner)) && (hitTest(_root["hero" + _local4]))) {
_root["hero" + _local4].getShot(100, _root["hero" + _local4]._height);
}
_local4++;
}
}
function onEnterFrame() {
if ((((_x < (-_root._x)) || (_y < (-_root._y))) || (_x > (800 - _root._x))) || (_y > (600 - _root._y))) {
removeMovieClip();
}
var _local10 = _root.plot(_rotation - 90, speed);
var _local7 = new Line(_x, _y, _x + _local10.x, _y + _local10.y);
var _local11 = _local7.wall();
if (_local11 == null) {
var _local9 = null;
var _local8 = null;
var _local13 = null;
var _local12 = -1;
var _local4 = 0;
while (_local4 < _global.box) {
if (_root["box" + _local4].HP > 0) {
var _local6 = new Line(_root["box" + _local4]._x, _root["box" + _local4]._y - _root["box" + _local4].HEIGHT, _root["box" + _local4]._x, _root["box" + _local4]._y);
_local9 = _local7.crossV(_local6);
if (_local9 != null) {
explode();
return(undefined);
}
}
_local4++;
}
var _local5 = 0;
while (_local5 < _global.hero) {
if (_root["hero" + _local5].HP > 0) {
var _local6 = new Line(_root["hero" + _local5]._x, _root["hero" + _local5]._y - _root["hero" + _local5]._height, _root["hero" + _local5]._x, _root["hero" + _local5]._y);
_local8 = _local7.crossV(_local6);
if (_local8 != null) {
explode();
return(undefined);
}
}
_local5++;
}
_x = _x + _local10.x;
_y = _y + _local10.y;
} else {
explode();
}
}
}
Symbol 1561 MovieClip [__Packages.Box] Frame 0
class Box extends PhysicalObject
{
var isInited, prize, PhysicalObject, fl, puzo, _x, _height, _y, _rotation, currFloor, gotoAndPlay, disableFloors, ySpeed, floorCross, turn, hitTest, HEIGHT, HP, gotoAndStop, skin_mc, xSpeed, stdOnEnterFrame;
function Box () {
super();
isInited = false;
prize = "no";
PhysicalObject();
}
function registerFloor() {
fl = _global.floors.length;
_global.floors[_global.floors.length] = new Line(_x - puzo, _y - _height, _x + puzo, _y - _height);
_global.floors_moving[_global.floors_moving.length] = true;
}
function outFloor() {
_rotation = 0;
if (_x < _global.floors[currFloor].beg.x) {
gotoAndPlay("Fall_Left");
} else {
gotoAndPlay("Fall_Right");
}
currFloor = null;
disableFloors();
}
function setX(xx) {
_x = _x + xx;
_global.floors[fl].beg.x = _global.floors[fl].beg.x + xx;
_global.floors[fl].end.x = _global.floors[fl].end.x + xx;
}
function fall() {
if (currFloor == null) {
var _local6 = _y - ySpeed;
var _local5 = floorCross(_local6);
switch (_local5) {
case -1 :
ySpeed = ySpeed - _global.G;
_y = _local6;
break;
default :
ySpeed = 0;
if (_global.floors[_local5].isHorizontal()) {
_y = _global.floors[_local5].beg.y;
} else {
_y = _global.floors[_local5].getY(_x);
}
currFloor = _local5;
turn();
if (isInited) {
var _local4 = 1;
while (_local4 < _global.hero) {
if ((_root["hero" + _local4].HP > 0) && (hitTest(_root["hero" + _local4]))) {
_root["hero" + _local4].dieFast(_root.dd(10), 0);
}
_local4++;
}
die();
} else {
registerFloor();
isInited = true;
}
}
}
}
function inFloorArea(flr) {
return((_x >= flr.beg.x) && (_x <= flr.end.x));
}
function die() {
if (prize != "no") {
_root.attachMovie(prize, "wpn_" + _global.free_depth, _global.free_depth, {_x:_x, _y:_y - HEIGHT});
_root["wpn_" + _global.free_depth].xSpeed = _root.dd(7);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
}
HP = 0;
disableFloors();
gotoAndStop(1);
skin_mc.box.gotoAndPlay("die");
onEnterFrame = null;
}
function canGo(xx) {
var _local3 = 0;
while (_local3 < _global.walls.length) {
if (((_global.walls[_local3].beg.x < ((_x + puzo) + xx)) && (_global.walls[_local3].beg.x > ((_x - puzo) + xx))) && (!((_global.walls[_local3].beg.y >= _y) || (_global.walls[_local3].end.y <= (_y - _height))))) {
xSpeed = 0;
return(false);
}
_local3++;
}
return(true);
}
function setSpeed(spd) {
xSpeed = spd;
}
function getShot(dmg) {
HP = HP - dmg;
if (HP <= 0) {
die();
}
}
function onEnterFrame() {
fall();
stdOnEnterFrame();
}
}
Symbol 1562 MovieClip [__Packages.Cart] Frame 0
class Cart extends PhysicalObject
{
var PhysicalObject, HP, fl, puzo, _x, HEIGHT, _y, _rotation, currFloor, disableFloors, ySpeed, floorCross, turn, xSpeed, _height, cart, moveOn, friction, stdOnEnterFrame;
function Cart () {
super();
PhysicalObject();
HP = 1;
fl = null;
}
function registerFloor() {
if (fl == null) {
fl = _global.floors.length;
}
_global.floors[fl] = new Line(_x - puzo, _y - HEIGHT, _x + puzo, _y - HEIGHT);
_global.floors_moving[_global.floors_moving.length] = true;
}
function outFloor() {
_rotation = 0;
currFloor = null;
disableFloors();
}
function setX(xx) {
_x = _x + xx;
_global.floors[fl].beg.x = _global.floors[fl].beg.x + xx;
_global.floors[fl].end.x = _global.floors[fl].end.x + xx;
if ((_root.hero0.currFloor == fl) && (_root.hero0.canGo(xx))) {
_root.hero0._x = _root.hero0._x + xx;
}
}
function fall() {
if (currFloor == null) {
var _local4 = _y - ySpeed;
var _local3 = floorCross(_local4);
switch (_local3) {
case -1 :
ySpeed = ySpeed - _global.G;
_y = _local4;
break;
default :
ySpeed = 0;
if (_global.floors[_local3].isHorizontal()) {
_y = _global.floors[_local3].beg.y;
} else {
_y = _global.floors[_local3].getY(_x);
}
currFloor = _local3;
registerFloor();
turn();
}
}
}
function inFloorArea(flr) {
return(((_x + puzo) >= flr.beg.x) && ((_x - puzo) <= flr.end.x));
}
function canGo(xx) {
var _local5 = 0;
while (_local5 < _global.hero) {
if (((_root["hero" + _local5].HP > 0) && ((xx > 0) == (_root["hero" + _local5]._x > _x))) && (_root["hero" + _local5].hitTest(_x, _y - 5, false))) {
if (Math.abs(xx) >= CRUSH_EDGE) {
_root["hero" + _local5].dieFast(xSpeed, -_root.d(40));
xSpeed = xSpeed / 2;
} else {
xSpeed = 0;
return(false);
}
}
_local5++;
}
var _local4 = 0;
while (_local4 < _global.walls.length) {
if (((_global.walls[_local4].beg.x < ((_x + puzo) + xx)) && (_global.walls[_local4].beg.x > ((_x - puzo) + xx))) && (!((_global.walls[_local4].beg.y >= _y) || (_global.walls[_local4].end.y <= (_y - _height))))) {
xSpeed = -xSpeed;
return(false);
}
_local4++;
}
return(true);
}
function setSpeed(spd) {
xSpeed = spd;
if (spd > 0) {
cart.wheels.gotoAndPlay("Right");
} else {
cart.wheels.gotoAndPlay("Left");
}
}
function onEnterFrame() {
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local6 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local5 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local6 / _local5);
}
if (xSpeed != 0) {
if (moveOn(xSpeed)) {
var _local4 = Math.abs(xSpeed);
_local4 = _local4 - friction;
if (_local4 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local4;
}
}
} else {
cart.wheels.stop();
}
stdOnEnterFrame();
}
static var CRUSH_EDGE = 12;
}
Symbol 1563 MovieClip [__Packages.Battery] Frame 0
class Battery extends Thing
{
var Thing, friction, jumpQue, startYspeed, radius, hitTest, power, removeMovieClip, fall, currFloor, xSpeed, thing, moveOn, stdOnEnterFrame;
function Battery () {
super();
Thing();
friction = 0.2;
jumpQue = 0.7;
startYspeed = 1;
radius = 0;
}
function onEnterFrame() {
if (hitTest(_root.hero0) && (_root.hero0.AC < 100)) {
_root.hero0.AC = _root.hero0.AC + power;
if (_root.hero0.AC > 100) {
_root.hero0.AC = 100;
}
removeMovieClip();
}
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local6 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local5 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local6 / _local5);
}
if (xSpeed != 0) {
if (radius != 0) {
thing._rotation = thing._rotation + ((xSpeed / (6.283185 * radius)) * 360);
}
if (moveOn(xSpeed)) {
var _local4 = Math.abs(xSpeed);
_local4 = _local4 - friction;
if (_local4 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local4;
}
}
}
stdOnEnterFrame();
}
}
Symbol 1564 MovieClip [__Packages.Medkit] Frame 0
class Medkit extends Thing
{
var Thing, friction, jumpQue, startYspeed, radius, hitTest, power, removeMovieClip, fall, currFloor, xSpeed, thing, moveOn, stdOnEnterFrame;
function Medkit () {
super();
Thing();
friction = 0.2;
jumpQue = 0.7;
startYspeed = 1;
radius = 0;
}
function onEnterFrame() {
if (hitTest(_root.hero0) && (_root.hero0.HP < 100)) {
_root.hero0.HP = _root.hero0.HP + power;
if (_root.hero0.HP > 100) {
_root.hero0.HP = 100;
}
removeMovieClip();
}
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local6 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local5 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local6 / _local5);
}
if (xSpeed != 0) {
if (radius != 0) {
thing._rotation = thing._rotation + ((xSpeed / (6.283185 * radius)) * 360);
}
if (moveOn(xSpeed)) {
var _local4 = Math.abs(xSpeed);
_local4 = _local4 - friction;
if (_local4 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local4;
}
}
}
stdOnEnterFrame();
}
}
Symbol 1565 MovieClip [__Packages.AltAmm] Frame 0
class AltAmm extends Thing
{
var Thing, friction, jumpQue, startYspeed, radius, plus, lnk, hitTest, removeMovieClip, fall, currFloor, xSpeed, thing, moveOn, stdOnEnterFrame;
function AltAmm () {
super();
Thing();
friction = 0.2;
jumpQue = 0.7;
startYspeed = 1;
radius = 0;
}
function heroHasTheGun() {
var _local3 = 0;
while (_local3 < _root.hero0.guns[plus].length) {
if (_root.hero0.guns[plus][_local3].link == lnk) {
return(_local3);
}
_local3++;
}
return(-1);
}
function onEnterFrame() {
if (hitTest(_root.hero0)) {
var _local5 = heroHasTheGun();
if (_local5 != -1) {
if (_root.hero0.guns[plus][_local5].alt_clip != _root.hero0.guns[plus][_local5].alt_maxclip) {
_root.hero0.guns[plus][_local5].alt_clip++;
removeMovieClip();
}
}
}
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local7 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local6 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local7 / _local6);
}
if (xSpeed != 0) {
if (radius != 0) {
thing._rotation = thing._rotation + ((xSpeed / (6.283185 * radius)) * 360);
}
if (moveOn(xSpeed)) {
var _local4 = Math.abs(xSpeed);
_local4 = _local4 - friction;
if (_local4 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local4;
}
}
}
stdOnEnterFrame();
}
}
Symbol 1566 MovieClip [__Packages.Ammo] Frame 0
class Ammo extends Thing
{
var Thing, friction, jumpQue, startYspeed, radius, plus, cal, hitTest, power, removeMovieClip, fall, currFloor, xSpeed, thing, moveOn, stdOnEnterFrame;
function Ammo () {
super();
Thing();
friction = 0.2;
jumpQue = 0.7;
startYspeed = 1;
radius = 0;
}
function heroHasTheGun() {
var _local3 = 0;
while (_local3 < _root.hero0.guns[plus].length) {
if (_root.hero0.guns[plus][_local3].cal == cal) {
return(_local3);
}
_local3++;
}
return(-1);
}
function onEnterFrame() {
if (hitTest(_root.hero0)) {
var _local4 = heroHasTheGun();
if (_local4 != -1) {
if (_root.hero0.guns[plus][_local4].ammo != _root.hero0.guns[plus][_local4].max_ammo) {
_root.hero0.guns[plus][_local4].ammo = _root.hero0.guns[plus][_local4].ammo + power;
if (_root.hero0.guns[plus][_local4].ammo > _root.hero0.guns[plus][_local4].max_ammo) {
_root.hero0.guns[plus][_local4].ammo = _root.hero0.guns[plus][_local4].max_ammo;
}
removeMovieClip();
}
}
}
fall();
if ((currFloor != null) && (!_global.floors[currFloor].isHorizontal())) {
var _local7 = _global.floors[currFloor].end.y - _global.floors[currFloor].beg.y;
var _local6 = _global.floors[currFloor].end.x - _global.floors[currFloor].beg.x;
xSpeed = xSpeed + (_local7 / _local6);
}
if (xSpeed != 0) {
if (radius != 0) {
thing._rotation = thing._rotation + ((xSpeed / (6.283185 * radius)) * 360);
}
if (moveOn(xSpeed)) {
var _local5 = Math.abs(xSpeed);
_local5 = _local5 - friction;
if (_local5 < 0) {
xSpeed = 0;
} else {
xSpeed = _root.znak(xSpeed) * _local5;
}
}
}
stdOnEnterFrame();
}
}
Symbol 1567 MovieClip [__Packages.Slash] Frame 0
class Slash extends MovieClip
{
var _visible, owner, _parent, hitTest;
function Slash () {
super();
_visible = false;
owner = _parent._parent._parent._parent;
}
function hit(dmg) {
var _local4 = 0;
while (_local4 < _global.hero) {
if (("hero" + _local4) != owner._name) {
if (hitTest(_root["hero" + _local4])) {
var _local8 = new Line(_root["hero" + _local4]._x, _root["hero" + _local4]._y - (_root["hero" + _local4]._height * 0.7), owner._x, owner._y - (owner._height * 0.7));
var _local7 = _local8.wall();
if (_local7 == null) {
if (dmg == undefined) {
_root["hero" + _local4].getShot(owner.weapon.damage, 0);
} else {
_root["hero" + _local4].getShot(dmg, 0);
}
}
}
}
_local4++;
}
var _local5 = 0;
while (_local5 < _global.box) {
if ((_root["box" + _local5].HP > 0) && (hitTest(_root["box" + _local5]))) {
if (dmg == undefined) {
_root["box" + _local5].getShot(owner.weapon.damage);
} else {
_root["box" + _local5].getShot(dmg);
}
}
_local5++;
}
}
}
Symbol 1568 MovieClip [__Packages.Trigger] Frame 0
class Trigger extends MovieClip
{
var _visible, hitTest, func;
function Trigger () {
super();
_visible = false;
}
function onEnterFrame() {
if (hitTest(_root.hero0)) {
_root["trigger_" + func]();
onEnterFrame = null;
}
}
}
Symbol 1569 MovieClip [__Packages.EndLevel] Frame 0
class EndLevel extends MovieClip
{
var _visible, hitTest;
function EndLevel () {
super();
_visible = false;
}
function onEnterFrame() {
if (hitTest(_root.hero0)) {
_root.gameLoad(_root._currentframe - 2);
}
}
}
Symbol 1570 MovieClip [__Packages.Charge_AC] Frame 0
class Charge_AC extends MovieClip
{
var charge, hitTest;
function Charge_AC () {
super();
charge = 40 + _root.d(20);
}
function onEnterFrame() {
if ((_root.hero0.AC < 100) && (hitTest(_root.hero0))) {
_root.hero0.AC++;
charge--;
if (charge == 0) {
onEnterFrame = null;
}
}
}
}
Symbol 1571 MovieClip [__Packages.Charge_HP] Frame 0
class Charge_HP extends MovieClip
{
var charge, hitTest;
function Charge_HP () {
super();
charge = 40 + _root.d(20);
}
function onEnterFrame() {
if ((_root.hero0.HP < _root.hero0.MAX_HP) && (hitTest(_root.hero0))) {
_root.hero0.HP++;
charge--;
if (charge == 0) {
onEnterFrame = null;
}
}
}
}
Symbol 296 MovieClip [Glock] Frame 1
stop();
Symbol 296 MovieClip [Glock] Frame 2
this._parent._parent._parent.shot();
this._parent._parent._parent.shell("YELLOW");
Symbol 299 MovieClip [Slash] Frame 1
#initclip 74
Object.registerClass("Slash", Slash);
#endinitclip
Symbol 300 MovieClip [Crowbar] Frame 1
stop();
Symbol 300 MovieClip [Crowbar] Frame 5
this.slash.hit();
Symbol 305 MovieClip [Magnum] Frame 1
stop();
Symbol 305 MovieClip [Magnum] Frame 2
this._parent._parent._parent.shot();
Symbol 315 MovieClip [SMG] Frame 1
stop();
Symbol 315 MovieClip [SMG] Frame 2
this._parent._parent._parent.shot();
this._parent._parent._parent.shell("YELLOW");
Symbol 315 MovieClip [SMG] Frame 8
gotoAndStop (1);
Symbol 315 MovieClip [SMG] Frame 9
this._parent._parent._parent.grenade();
Symbol 319 MovieClip [AKCy] Frame 1
stop();
Symbol 319 MovieClip [AKCy] Frame 2
this._parent._parent._parent.shot();
this._parent._parent._parent.shell("YELLOW");
Symbol 323 MovieClip [Bludgeon] Frame 1
stop();
Symbol 323 MovieClip [Bludgeon] Frame 5
this.slash.hit();
Symbol 329 MovieClip [Shotgun] Frame 1
stop();
Symbol 329 MovieClip [Shotgun] Frame 2
this._parent._parent._parent.shotgun();
Symbol 329 MovieClip [Shotgun] Frame 5
this._parent._parent._parent.shell("RED");
Symbol 329 MovieClip [Shotgun] Frame 20
gotoAndStop (1);
Symbol 329 MovieClip [Shotgun] Frame 21
this._parent._parent._parent.doubleBarrel();
Symbol 329 MovieClip [Shotgun] Frame 36
this._parent._parent._parent.shell("RED");
this._parent._parent._parent.shell("RED");
Symbol 333 MovieClip [Gregori_Shotgun] Frame 1
stop();
Symbol 333 MovieClip [Gregori_Shotgun] Frame 2
this._parent._parent._parent.shotgun();
Symbol 333 MovieClip [Gregori_Shotgun] Frame 20
gotoAndStop (1);
Symbol 333 MovieClip [Gregori_Shotgun] Frame 21
this._parent._parent._parent.doubleBarrel();
Symbol 340 MovieClip [PulseRifle] Frame 1
stop();
Symbol 340 MovieClip [PulseRifle] Frame 2
this._parent._parent._parent.shot();
this._parent._parent._parent.shell("YELLOW");
Symbol 340 MovieClip [PulseRifle] Frame 10
gotoAndStop (1);
Symbol 340 MovieClip [PulseRifle] Frame 11
this._parent._parent._parent.energy();
Symbol 346 MovieClip [SniperRifle] Frame 1
stop();
Symbol 346 MovieClip [SniperRifle] Frame 2
this._parent._parent._parent.shot();
Symbol 346 MovieClip [SniperRifle] Frame 14
this._parent._parent._parent.shell("YELLOW");
Symbol 351 MovieClip [MMG] Frame 1
stop();
Symbol 351 MovieClip [MMG] Frame 2
this._parent._parent._parent.shot();
this._parent._parent._parent.shell("YELLOW");
Symbol 355 MovieClip [HGrenade] Frame 1
stop();
Symbol 355 MovieClip [HGrenade] Frame 17
this._parent._parent._parent.handGrenade();
Symbol 358 MovieClip [Bullet] Frame 1
#initclip 40
Object.registerClass("Bullet", Bullet);
#endinitclip
this.hit();
Symbol 358 MovieClip [Bullet] Frame 3
this.removeMovieClip();
Symbol 361 MovieClip [Dropped] Frame 30
stop();
Symbol 365 MovieClip [OldBullet] Frame 1
#initclip 41
Object.registerClass("OldBullet", OldBullet);
#endinitclip
Symbol 375 MovieClip [Blood_1] Frame 13
if (_global.BLOOD) {
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 12000) ? 1 : -4000);
this.cacheAsBitmap = true;
this.stop();
} else {
this.unloadMovie();
}
Symbol 385 MovieClip [Blood_2] Frame 13
if (_global.BLOOD) {
this.swapDepths(_global.d_blood);
_global.d_blood = _global.d_blood + ((_global.d_blood <= 12000) ? 1 : -4000);
this.cacheAsBitmap = true;
this.stop();
} else {
this.unloadMovie();
}
Symbol 405 Button
on (release) {
_root.gameLoadOnlyCrowbar(5);
}
Symbol 406 MovieClip [Screen] Frame 1
#initclip 42
Object.registerClass("Screen", Screen);
#endinitclip
stop();
if (_root._currentframe <= 3) {
this._visible = false;
} else if (_root._currentframe <= 7) {
this.gotoAndStop(3);
}
Instance of Symbol 8 MovieClip [GunPanel] "gun_panel" in Symbol 406 MovieClip [Screen] Frame 1
onClipEvent (keyDown) {
var num = Key.getCode();
switch (num) {
case 49 :
num = 0;
break;
case 50 :
num = 1;
break;
case 51 :
num = 2;
break;
case 52 :
num = 3;
break;
case 53 :
num = 4;
break;
case 54 :
num = 5;
break;
default :
return(undefined);
}
if (num == this.cCat) {
this.incCat();
} else {
this.closeCat();
this.openCat(num);
}
}
Symbol 413 Button
on (release) {
_root.hero0.HP = _root.SV_HP;
_root.hero0.AC = _root.SV_AC;
var so = SharedObject.getLocal("HLF");
_root.hero0.guns = so.data.LAST_GUNS;
_root.hero0.weapon = _root.SV_CURR;
_root.gameLoad(_root._currentframe - 3);
_root.wnd.removeMovieClip();
}
Symbol 414 Button
on (release) {
_root.unloadMap();
_root.gotoAndStop(3);
_root.wnd.removeMovieClip();
}
Symbol 415 MovieClip [again_question] Frame 1
this.onEnterFrame = function () {
this._x = (-_root._x) + 400;
this._y = (-_root._y) + 300;
};
Symbol 417 MovieClip [BattleCursor] Frame 1
#initclip 43
Object.registerClass("BattleCursor", Cursor);
#endinitclip
Symbol 420 MovieClip Frame 5
gotoAndStop ("shoulder");
Symbol 420 MovieClip Frame 25
gotoAndStop ("shoulder_shotgun");
Symbol 420 MovieClip Frame 50
gotoAndStop ("shoulder_rifle");
Symbol 420 MovieClip Frame 55
gotoAndStop ("rocket");
Symbol 420 MovieClip Frame 60
gotoAndStop ("thigh");
Symbol 420 MovieClip Frame 80
gotoAndStop ("thigh_shotgun");
Symbol 420 MovieClip Frame 105
gotoAndStop ("thigh_rifle");
Symbol 420 MovieClip Frame 117
gotoAndStop ("crowbar");
Symbol 420 MovieClip Frame 130
gotoAndStop ("knife");
Symbol 420 MovieClip Frame 160
gotoAndStop ("grenade");
Symbol 420 MovieClip Frame 195
gotoAndStop ("pistol");
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 30
gotoAndPlay ("walk");
Symbol 424 MovieClip Frame 59
gotoAndPlay ("walkR");
Symbol 424 MovieClip Frame 89
gotoAndPlay ("run");
Symbol 424 MovieClip Frame 90
stop();
Symbol 424 MovieClip Frame 129
gotoAndPlay ("crawl");
Symbol 424 MovieClip Frame 168
gotoAndPlay ("crawlR");
Symbol 431 MovieClip Frame 5
gotoAndStop ("shoulder");
Symbol 431 MovieClip Frame 25
gotoAndStop ("shoulder_shotgun");
Symbol 431 MovieClip Frame 50
gotoAndStop ("shoulder_rifle");
Symbol 431 MovieClip Frame 55
gotoAndStop ("rocket");
Symbol 431 MovieClip Frame 60
gotoAndStop ("thigh");
Symbol 431 MovieClip Frame 80
gotoAndStop ("thigh_shotgun");
Symbol 431 MovieClip Frame 105
gotoAndStop ("thigh_rifle");
Symbol 431 MovieClip Frame 117
gotoAndStop ("crowbar");
Symbol 431 MovieClip Frame 130
gotoAndStop ("knife");
Symbol 431 MovieClip Frame 160
gotoAndStop ("grenade");
Symbol 431 MovieClip Frame 195
gotoAndStop ("pistol");
Symbol 431 MovieClip Frame 202
this._parent.onWeaponDown();
Symbol 431 MovieClip Frame 209
this._parent.onWeaponUp();
Symbol 431 MovieClip Frame 216
this._parent.onWeaponDown();
Symbol 431 MovieClip Frame 223
this._parent.onWeaponUp();
Symbol 431 MovieClip Frame 230
this._parent.onWeaponDown();
Symbol 431 MovieClip Frame 237
this._parent.onWeaponUp();
Symbol 431 MovieClip Frame 244
this._parent.onWeaponDown();
Symbol 431 MovieClip Frame 252
this._parent.onWeaponUp();
Symbol 431 MovieClip Frame 259
this._parent.onWeaponDown();
Symbol 431 MovieClip Frame 266
this._parent.onWeaponUp();
Symbol 431 MovieClip Frame 273
this._parent.onWeaponDown();
Symbol 431 MovieClip Frame 280
this._parent.onWeaponUp();
Symbol 431 MovieClip Frame 291
if (this._parent.weapon.link == "Magnum") {
var x1 = this.gun.gun_mc.MARK_shell._x;
var y1 = this.gun.gun_mc.MARK_shell._y;
var p = new Object({x:x1, y:y1});
this.gun.gun_mc.localToGlobal(p);
p.x = p.x - _root._x;
p.y = p.y - _root._y;
var i = 0;
while (i < 6) {
_root.addShell(p.x, p.y, "YELLOW", _root.dd(2), 1 - _root.d(4));
i++;
}
}
Symbol 431 MovieClip Frame 333
this._parent.onReload();
Symbol 431 MovieClip Frame 408
this._parent.onReload();
Symbol 431 MovieClip Frame 409
if ((this._parent.weapon.link == "Gregori_Shotgun") && (this._parent.weapon.clip == 0)) {
var x1 = this.gun.gun_mc.MARK_shell._x;
var y1 = this.gun.gun_mc.MARK_shell._y;
var p = new Object({x:x1, y:y1});
this.gun.gun_mc.localToGlobal(p);
p.x = p.x - _root._x;
p.y = p.y - _root._y;
var i = 0;
while (i < 2) {
_root.addShell(p.x, p.y, "RED", _root.dd(2), 1 - _root.d(4));
i++;
}
}
Symbol 431 MovieClip Frame 431
this._parent.onReload();
Symbol 431 MovieClip Frame 461
this._parent.onReload();
Symbol 432 MovieClip [Player] Frame 1
#initclip 44
Object.registerClass("Player", Player);
#endinitclip
Symbol 433 MovieClip [Enemy] Frame 1
#initclip 45
Object.registerClass("Enemy", Enemy);
#endinitclip
Symbol 435 MovieClip [Shell] Frame 1
#initclip 46
Object.registerClass("Shell", Shell);
#endinitclip
Symbol 440 MovieClip [RagDoll_Human] Frame 1
#initclip 47
Object.registerClass("RagDoll_Human", RagDoll);
#endinitclip
Symbol 444 MovieClip [Headcrab] Frame 1
#initclip 48
Object.registerClass("Headcrab", Headcrab);
#endinitclip
stop();
Symbol 444 MovieClip [Headcrab] Frame 40
gotoAndPlay ("run");
Symbol 444 MovieClip [Headcrab] Frame 41
stop();
Symbol 449 MovieClip [RagDoll_Headcrab] Frame 1
#initclip 49
Object.registerClass("RagDoll_Headcrab", RagDoll);
#endinitclip
Symbol 450 MovieClip [Zombie] Frame 1
#initclip 50
Object.registerClass("Zombie", Zombie);
#endinitclip
stop();
Symbol 450 MovieClip [Zombie] Frame 33
this.attack();
Symbol 450 MovieClip [Zombie] Frame 39
gotoAndStop ("attack");
Symbol 450 MovieClip [Zombie] Frame 55
this.attack();
Symbol 450 MovieClip [Zombie] Frame 70
this.attack();
Symbol 450 MovieClip [Zombie] Frame 96
gotoAndStop ("double");
Symbol 450 MovieClip [Zombie] Frame 125
gotoAndPlay ("walk");
Symbol 450 MovieClip [Zombie] Frame 155
gotoAndPlay ("run");
Symbol 461 MovieClip [Barnacle] Frame 1
#initclip 51
Object.registerClass("Barnacle", Barnacle);
#endinitclip
Symbol 461 MovieClip [Barnacle] Frame 4
this.init();
Symbol 461 MovieClip [Barnacle] Frame 44
gotoAndPlay ("stand");
Symbol 461 MovieClip [Barnacle] Frame 72
this.attack();
Symbol 461 MovieClip [Barnacle] Frame 74
gotoAndStop ("attack");
Symbol 461 MovieClip [Barnacle] Frame 170
stop();
Symbol 462 MovieClip [Friend] Frame 1
#initclip 52
Object.registerClass("Friend", Friend);
#endinitclip
Symbol 463 MovieClip [DroppedGun] Frame 1
#initclip 53
Object.registerClass("DroppedGun", DroppedGun);
#endinitclip
stop();
Symbol 478 MovieClip [Grenade] Frame 1
#initclip 54
Object.registerClass("Grenade", Grenade);
#endinitclip
stop();
Symbol 478 MovieClip [Grenade] Frame 22
this.removeMovieClip();
Symbol 480 MovieClip [HandGrenade] Frame 1
#initclip 55
Object.registerClass("HandGrenade", HandGrenade);
#endinitclip
stop();
Symbol 480 MovieClip [HandGrenade] Frame 22
this.removeMovieClip();
Symbol 486 MovieClip [EnergyBall] Frame 1
#initclip 56
Object.registerClass("EnergyBall", EnergyBall);
#endinitclip
stop();
Symbol 486 MovieClip [EnergyBall] Frame 2
this.kill();
Symbol 486 MovieClip [EnergyBall] Frame 10
this.removeMovieClip();
Symbol 487 MovieClip [OldShell_RED] Frame 1
this.onEnterFrame = function () {
this._alpha = this._alpha - 3;
};
Symbol 487 MovieClip [OldShell_RED] Frame 30
this.removeMovieClip();
Symbol 488 MovieClip [OldShell_YELLOW] Frame 1
this.onEnterFrame = function () {
this._alpha = this._alpha - 3;
};
Symbol 488 MovieClip [OldShell_YELLOW] Frame 30
this.removeMovieClip();
Symbol 490 MovieClip [Box] Frame 1
#initclip 57
Object.registerClass("Box", Box);
#endinitclip
stop();
Symbol 490 MovieClip [Box] Frame 17
stop();
this._x = this._x - 30;
this._y = this._y + 30;
Symbol 490 MovieClip [Box] Frame 33
stop();
this._x = this._x + 30;
this._y = this._y + 30;
Symbol 490 MovieClip [Box] Frame 34
stop();
this.box_mc.gotoAndPlay("die");
Symbol 507 MovieClip [Box_ordinary] Frame 1
stop();
Symbol 507 MovieClip [Box_ordinary] Frame 17
stop();
Symbol 508 MovieClip [Cart] Frame 1
#initclip 58
Object.registerClass("Cart", Cart);
#endinitclip
stop();
Symbol 511 MovieClip Frame 4
gotoAndPlay ("Right");
Symbol 511 MovieClip Frame 8
gotoAndPlay ("Left");
Symbol 513 MovieClip [Thing] Frame 1
#initclip 59
Object.registerClass("Thing", Thing);
#endinitclip
stop();
Symbol 526 MovieClip [Box_long] Frame 1
stop();
Symbol 526 MovieClip [Box_long] Frame 17
stop();
Symbol 529 MovieClip [Box_small] Frame 1
stop();
Symbol 529 MovieClip [Box_small] Frame 17
stop();
Symbol 541 MovieClip [Box_high] Frame 1
stop();
Symbol 541 MovieClip [Box_high] Frame 17
stop();
Symbol 550 MovieClip [Box_metal] Frame 1
stop();
Symbol 550 MovieClip [Box_metal] Frame 17
stop();
Symbol 552 MovieClip [Battery_15] Frame 1
#initclip 60
Object.registerClass("Battery_15", Battery);
#endinitclip
this.power = 15;
Symbol 554 MovieClip [Medkit_15] Frame 1
#initclip 61
Object.registerClass("Medkit_15", Medkit);
#endinitclip
this.power = 15;
Symbol 556 MovieClip [Medkit_25] Frame 1
#initclip 62
Object.registerClass("Medkit_25", Medkit);
#endinitclip
this.power = 25;
Symbol 559 MovieClip [Box_supply] Frame 1
stop();
Symbol 559 MovieClip [Box_supply] Frame 17
stop();
Symbol 561 MovieClip [AltAmm_Energy] Frame 1
#initclip 63
Object.registerClass("AltAmm_Energy", AltAmm);
#endinitclip
this.lnk = "PulseRifle";
this.plus = 2;
Symbol 563 MovieClip [AltAmm_Grenade] Frame 1
#initclip 64
Object.registerClass("AltAmm_Grenade", AltAmm);
#endinitclip
this.lnk = "SMG";
this.plus = 2;
Symbol 565 MovieClip [Ammo_AKCy] Frame 1
#initclip 65
Object.registerClass("Ammo_AKCy", Ammo);
#endinitclip
this.power = 30;
this.cal = "5.45 mm";
this.plus = 2;
Symbol 569 MovieClip [Ammo_Glock] Frame 1
#initclip 66
Object.registerClass("Ammo_Glock", Ammo);
#endinitclip
this.power = 36;
this.cal = "9 mm";
this.plus = 1;
Symbol 570 MovieClip [Ammo_HandGrenade] Frame 1
#initclip 67
Object.registerClass("Ammo_HandGrenade", DroppedGun);
#endinitclip
this.gun = new Weapon();
this.gun.HGrenade();
Symbol 574 MovieClip [Ammo_Magnum] Frame 1
#initclip 68
Object.registerClass("Ammo_Magnum", Ammo);
#endinitclip
this.power = 6;
this.cal = ".357";
this.plus = 1;
Symbol 578 MovieClip [Ammo_MMG] Frame 1
#initclip 69
Object.registerClass("Ammo_MMG", Ammo);
#endinitclip
this.power = 20;
this.cal = "7.92 mm";
this.plus = 5;
Symbol 580 MovieClip [Ammo_Pulse] Frame 1
#initclip 70
Object.registerClass("Ammo_Pulse", Ammo);
#endinitclip
this.power = 30;
this.cal = "plasma";
this.plus = 2;
Symbol 583 MovieClip [Ammo_Shotgun] Frame 1
#initclip 71
Object.registerClass("Ammo_Shotgun", Ammo);
#endinitclip
this.power = 12;
this.cal = ".12";
this.plus = 3;
Symbol 587 MovieClip [Ammo_SMG] Frame 1
#initclip 72
Object.registerClass("Ammo_SMG", Ammo);
#endinitclip
this.power = 45;
this.cal = "5.7 mm";
this.plus = 2;
Symbol 591 MovieClip [Ammo_Sniper] Frame 1
#initclip 73
Object.registerClass("Ammo_Sniper", Ammo);
#endinitclip
this.power = 3;
this.cal = ".50";
this.plus = 5;
Symbol 598 Button
on (release) {
_parent.nextFrame();
}
Symbol 606 MovieClip Frame 1
if (!_root.MOVIE_PLAYED) {
_parent.stop();
_root.MOVIE_PLAYED = true;
}
Symbol 606 MovieClip Frame 200
_parent.nextFrame();
Symbol 622 MovieClip Frame 1
play();
Symbol 622 MovieClip Frame 7
stop();
Symbol 622 MovieClip Frame 8
play();
Symbol 622 MovieClip Frame 14
stop();
Symbol 637 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 637 MovieClip Frame 2
_global[val] = false;
Symbol 637 MovieClip Frame 3
_global[val] = true;
Symbol 659 MovieClip Frame 1
this.bar.gotoAndStop(Math.round(_root.MAIN_SONG.getVolume() / 4));
Symbol 665 MovieClip Frame 1
switch (_global.BLOOD_LEVEL) {
case 2 :
gotoAndStop (2);
break;
case 1 :
gotoAndStop (3);
break;
case 0 :
gotoAndStop (4);
}
onRelease = function () {
switch (_global.BLOOD_LEVEL) {
case 2 :
_global.BLOOD_LEVEL--;
gotoAndStop (3);
break;
case 1 :
_global.BLOOD_LEVEL--;
gotoAndStop (4);
break;
case 0 :
_global.BLOOD_LEVEL = 2;
gotoAndStop (2);
}
};
Symbol 666 MovieClip Frame 1
switch (_global.SAVED_QUALITY) {
case "LOW" :
gotoAndStop (2);
break;
case "MEDIUM" :
gotoAndStop (3);
break;
case "HIGH" :
gotoAndStop (4);
}
onRelease = function () {
switch (_global.SAVED_QUALITY) {
case "LOW" :
_global.SAVED_QUALITY = "MEDIUM";
gotoAndStop (3);
break;
case "MEDIUM" :
_global.SAVED_QUALITY = "HIGH";
gotoAndStop (4);
break;
case "HIGH" :
_global.SAVED_QUALITY = "LOW";
gotoAndStop (2);
}
};
Symbol 670 Button
on (release) {
_root.saveDefaults();
gotoAndStop (2);
}
Symbol 687 MovieClip Frame 1
this.VARIABLE = the_var;
this.is_waiting = false;
this.getBtnName = function (code) {
if (code == 8) {
return("BcSpc");
}
if (code == 20) {
return("Caps");
}
if (code == 17) {
return("Ctrl");
}
if (code == 46) {
return("Del");
}
if (code == 40) {
return("Down");
}
if (code == 35) {
return("End");
}
if (code == 13) {
return("Enter");
}
if (code == 27) {
return("Esc");
}
if (code == 36) {
return("Home");
}
if (code == 45) {
return("Ins");
}
if (code == 37) {
return("Left");
}
if (code == 34) {
return("PgDn");
}
if (code == 33) {
return("PgUp");
}
if (code == 39) {
return("Right");
}
if (code == 16) {
return("Shift");
}
if (code == 32) {
return("Space");
}
if (code == 9) {
return("Tab");
}
if (code == 38) {
return("Up");
}
return(String.fromCharCode(code).toUpperCase());
};
this.onRelease = function () {
this.is_waiting = true;
this.btn_name.text = "???";
this.gotoAndStop(3);
};
this.btn_name.text = this.getBtnName(_global["CO_" + this.VARIABLE]);
this.gotoAndStop(2);
Symbol 719 MovieClip Frame 1
stop();
Symbol 724 Button
on (release) {
gotoAndStop (2);
}
Symbol 731 MovieClip Frame 2
stop();
if (_global.LAST_LV == 0) {
cont_btn.enabled = false;
cont_btn._alpha = 50;
} else {
cont_btn.enabled = true;
cont_btn._alpha = 100;
}
Instance of Symbol 622 MovieClip in Symbol 731 MovieClip Frame 2
on (release) {
_root.gameLoad(1);
}
Instance of Symbol 622 MovieClip "cont_btn" in Symbol 731 MovieClip Frame 2
on (release) {
_root.WhatToLoad = _global.LAST_LV;
_root.SV_GUNS = _global.LAST_GUNS;
_root.SV_HP = _global.LAST_HP;
_root.SV_AC = _global.LAST_AC;
_root.SV_CURR = _global.LAST_CURR;
_root.gotoAndPlay("GAME_LOAD");
}
Instance of Symbol 622 MovieClip in Symbol 731 MovieClip Frame 2
on (release) {
_parent.gotoAndStop(5);
}
Instance of Symbol 622 MovieClip in Symbol 731 MovieClip Frame 2
on (release) {
_parent.gotoAndStop(3);
}
Instance of Symbol 622 MovieClip in Symbol 731 MovieClip Frame 2
on (release) {
_parent.gotoAndStop(4);
}
Instance of Symbol 622 MovieClip in Symbol 731 MovieClip Frame 2
on (release) {
getURL ("http://vkontakte.ru/mail.php?act=write&to=63458257", "_blank");
}
Instance of Symbol 637 MovieClip in Symbol 731 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
val = "BLOOD";
}
//component parameters
onClipEvent (construct) {
val = "BLOOD";
}
Instance of Symbol 637 MovieClip in Symbol 731 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
val = "SHELLS";
}
//component parameters
onClipEvent (construct) {
val = "SHELLS";
}
Instance of Symbol 637 MovieClip in Symbol 731 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
val = "CORPSES";
}
//component parameters
onClipEvent (construct) {
val = "CORPSES";
}
Instance of Symbol 637 MovieClip in Symbol 731 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
val = "OLD_BULLETS";
}
//component parameters
onClipEvent (construct) {
val = "OLD_BULLETS";
}
Instance of Symbol 637 MovieClip in Symbol 731 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
val = "OLD_SHELLS";
}
//component parameters
onClipEvent (construct) {
val = "OLD_SHELLS";
}
Instance of Symbol 659 MovieClip in Symbol 731 MovieClip Frame 3
on (press) {
this.is_pressed = true;
this.bar.gotoAndStop(Math.round(this._xmouse * 0.066));
}
on (release, releaseOutside) {
this.is_pressed = false;
_root.MAIN_SONG.setVolume(this.bar._currentframe * 4);
}
onClipEvent (mouseMove) {
if (this.is_pressed) {
this.bar.gotoAndStop(Math.round(this._xmouse * 0.066));
}
}
Instance of Symbol 637 MovieClip in Symbol 731 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
val = "SMALL_OBJECTS";
}
//component parameters
onClipEvent (construct) {
val = "SMALL_OBJECTS";
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "LEFT";
}
//component parameters
onClipEvent (construct) {
the_var = "LEFT";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "RIGHT";
}
//component parameters
onClipEvent (construct) {
the_var = "RIGHT";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "JUMP";
}
//component parameters
onClipEvent (construct) {
the_var = "JUMP";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "DUCK";
}
//component parameters
onClipEvent (construct) {
the_var = "DUCK";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "RELOAD";
}
//component parameters
onClipEvent (construct) {
the_var = "RELOAD";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "RUN";
}
//component parameters
onClipEvent (construct) {
the_var = "RUN";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Instance of Symbol 687 MovieClip in Symbol 731 MovieClip Frame 4
//component parameters
onClipEvent (construct) {
the_var = "ALT";
}
//component parameters
onClipEvent (construct) {
the_var = "ALT";
}
onClipEvent (keyDown) {
if (this.is_waiting) {
this.is_waiting = false;
var code = Key.getCode();
_global["CO_" + this.VARIABLE] = code;
this.btn_name.text = this.getBtnName(code);
this.gotoAndStop(2);
}
}
Symbol 731 MovieClip Frame 5
var i = 2;
while (i <= 6) {
if (_global.MAX_EPISODE < i) {
this["ep_" + i].enabled = false;
this["ep_" + i]._alpha = 50;
} else {
this["ep_" + i].enabled = true;
this["ep_" + i]._alpha = 100;
}
i++;
}
Instance of Symbol 622 MovieClip "ep_1" in Symbol 731 MovieClip Frame 5
on (rollOver) {
_parent.monitor.gotoAndStop(2);
}
on (release) {
_root.loadEpisode(1);
}
Instance of Symbol 622 MovieClip "ep_2" in Symbol 731 MovieClip Frame 5
on (rollOver) {
_parent.monitor.gotoAndStop(3);
}
on (release) {
_root.loadEpisode(2);
}
Instance of Symbol 622 MovieClip "ep_3" in Symbol 731 MovieClip Frame 5
on (rollOver) {
_parent.monitor.gotoAndStop(4);
}
on (release) {
_root.loadEpisode(3);
}
Instance of Symbol 622 MovieClip "ep_4" in Symbol 731 MovieClip Frame 5
on (rollOver) {
_parent.monitor.gotoAndStop(5);
}
on (release) {
_root.loadEpisode(4);
}
Instance of Symbol 622 MovieClip "ep_5" in Symbol 731 MovieClip Frame 5
on (rollOver) {
_parent.monitor.gotoAndStop(6);
}
on (release) {
_root.loadEpisode(5);
}
Instance of Symbol 622 MovieClip "ep_6" in Symbol 731 MovieClip Frame 5
on (rollOver) {
_parent.monitor.gotoAndStop(7);
}
on (release) {
_root.loadEpisode(6);
}
Symbol 825 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 832 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 31
stop();
Symbol 832 MovieClip Frame 60
stop();
Symbol 837 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 30
stop();
Symbol 903 Button
on (release) {
gotoAndStop (920);
}
Symbol 919 MovieClip Frame 1
_root.train1.gotoAndPlay("open");
_root.train2.gotoAndPlay("open");
Symbol 919 MovieClip Frame 920
_root.addPlayer(this._x, this._y, "Freeman_no_hev");
this.removeMovieClip();
this.unloadMovie();
Symbol 921 MovieClip Frame 2
_root._x = -this._x;
_root._y = -this._y;
this.unloadMovie();
Symbol 929 MovieClip Frame 1
stop();
Symbol 929 MovieClip Frame 30
stop();
Symbol 951 MovieClip Frame 371
stop();
Symbol 952 MovieClip Frame 1
stop();
Symbol 952 MovieClip Frame 69
a = 0;
Symbol 952 MovieClip Frame 100
if (a < 10) {
gotoAndPlay (70);
}
a++;
Symbol 952 MovieClip Frame 150
stop();
Symbol 972 MovieClip Frame 1
this.onEnterFrame = function () {
delete this.now;
this.now = new Date();
};
Instance of Symbol 955 MovieClip in Symbol 972 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _parent.now.getHours() * 30;
}
Instance of Symbol 957 MovieClip in Symbol 972 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _parent.now.getMinutes() * 6;
}
Instance of Symbol 959 MovieClip in Symbol 972 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _parent.now.getSeconds() * 6;
}
Symbol 974 MovieClip [EndLevel] Frame 1
#initclip 76
Object.registerClass("EndLevel", EndLevel);
#endinitclip
this.func = nm;
Symbol 979 MovieClip Frame 1
stop();
Symbol 979 MovieClip Frame 100
stop();
Symbol 981 MovieClip Frame 1
switch (tp) {
case "ordinary" :
_root.addCart(this._x, this._y, tp, 30, 0.1, 60);
break;
case "laundry" :
_root.addCart(this._x, this._y, tp, 30, 0.3, 70);
break;
case "PC" :
_root.addCart(this._x, this._y, tp, 15, 0.4, 45);
}
this.unloadMovie();
Symbol 983 MovieClip Frame 1
switch (tp) {
case "ordinary" :
_root.addBox(this._x, this._y, tp, 30, 50, 24, pr);
break;
case "long" :
_root.addBox(this._x, this._y, tp, 50, 80, 32, pr);
break;
case "small" :
_root.addBox(this._x, this._y, tp, 30, 40, 24, pr);
break;
case "high" :
_root.addBox(this._x, this._y, tp, 30, 32, 150, pr);
break;
case "metal" :
_root.addBox(this._x, this._y, tp, 30, 65535, 60, pr);
break;
case "supply" :
_root.addBox(this._x, this._y, tp, 25, 6, 30, pr);
}
this.unloadMovie();
Symbol 985 MovieClip Frame 1
if (_global.SMALL_OBJECTS) {
switch (tp) {
case "ball" :
_root.addThing(this._x, this._y, tp, 40, 8, 0.03, 0.9, 20);
break;
case "football" :
_root.addThing(this._x, this._y, tp, 40, 2, 0.02, 0.6, 20);
break;
case "pepsi" :
_root.addThing(this._x, this._y, tp, 30, 12, 0.3, 0.5, 15);
break;
case "boot" :
_root.addThing(this._x, this._y, tp, 0, 6, 0.5, 0.3, 15);
break;
case "box" :
_root.addThing(this._x, this._y, tp, 0, 4, 0.4, 0.4, 15);
break;
case "bottle1" :
case "bottle2" :
_root.addThing(this._x, this._y, tp, 30, 12, 0.2, 0.6, 15);
}
}
this.unloadMovie();
Symbol 987 MovieClip [Trigger] Frame 1
#initclip 75
Object.registerClass("Trigger", Trigger);
#endinitclip
this.func = nm;
Symbol 1028 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1076 MovieClip Frame 1
_root.addPlayer(this._x, this._y, pskin);
this.removeMovieClip();
this.unloadMovie();
Symbol 1127 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1141 MovieClip Frame 1
stop();
Symbol 1141 MovieClip Frame 320
stop();
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1176 MovieClip Frame 30
_root.addEnemy(1023, -600, "Bludgeon", "Metrocop", 0, false);
Symbol 1176 MovieClip Frame 40
_root.addEnemy(1179, -576, "Bludgeon", "Metrocop", 0, false);
Symbol 1176 MovieClip Frame 50
_root.addEnemy(1347, -592, "Bludgeon", "Metrocop", 0, false);
Symbol 1176 MovieClip Frame 140
stop();
Symbol 1199 MovieClip Frame 1
_root.addEnemy(this._x, this._y, gun, subtype, go_x, patr);
this.removeMovieClip();
this.unloadMovie();
Symbol 1201 MovieClip Frame 1
_root.addFriend(this._x, this._y, pskin, gun, subtype, go_x);
this.removeMovieClip();
this.unloadMovie();
Symbol 1210 MovieClip Frame 350
stop();
Symbol 1220 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 30
stop();
Symbol 1226 MovieClip Frame 130
stop();
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 170
stop();
Symbol 1236 MovieClip Frame 290
_root.light.play();
stop();
Symbol 1236 MovieClip Frame 390
stop();
Symbol 1244 MovieClip Frame 1
stop();
Symbol 1244 MovieClip Frame 50
_root.crowbar1373 = new Weapon();
_root.crowbar1373.Crowbar();
_root.addDroppedGun(975, 277, _root.crowbar1373);
Symbol 1244 MovieClip Frame 160
stop();
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 2
_root.hero0._x = this._x;
_root.hero0._y = this._y;
_root.hero0.outFloor();
_root.kleiner.play();
Symbol 1247 MovieClip Frame 31
stop();
Symbol 1251 MovieClip Frame 1
stop();
a = 0;
Symbol 1251 MovieClip Frame 5
if (a < 20) {
gotoAndPlay (2);
a++;
} else {
_root.splash.play();
gotoAndStop (1);
}
Symbol 1252 MovieClip [Charge_AC] Frame 1
#initclip 77
Object.registerClass("Charge_AC", Charge_AC);
#endinitclip
Symbol 1273 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1275 MovieClip Frame 1
_root.attachMovie(prz, "wpn_" + _global.free_depth, _global.free_depth, {_x:this._x, _y:this._y});
_root["wpn_" + _global.free_depth].xSpeed = _root.dd(7);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
this.removeMovieClip();
this.unloadMovie();
Symbol 1278 MovieClip [Charge_HP] Frame 1
#initclip 78
Object.registerClass("Charge_HP", Charge_HP);
#endinitclip
Symbol 1281 MovieClip Frame 1
_root.attachMovie(prz, "wpn_" + _global.free_depth, _global.free_depth, {_x:this._x, _y:this._y});
_root["wpn_" + _global.free_depth].xSpeed = _root.dd(7);
_global.free_depth = _global.free_depth + ((_global.free_depth < 99999) ? 1 : -34000);
this.removeMovieClip();
this.unloadMovie();
Symbol 1285 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1300 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1302 MovieClip Frame 1
_root.addBarnacle(this._x, this._y);
this.removeMovieClip();
this.unloadMovie();
Symbol 1306 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1317 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1332 MovieClip Frame 1
stop();
Symbol 1332 MovieClip Frame 16
stop();
_root.addEnemy(535, 1036, "SMG", "Metrocop", 0, false);
_root.addEnemy(1000, 1036, "Glock", "Metrocop", 0, false);
Symbol 1335 MovieClip Frame 1
stop();
Symbol 1335 MovieClip Frame 16
stop();
Symbol 1336 MovieClip Frame 1
stop();
Symbol 1336 MovieClip Frame 30
stop();
tr2.gotoAndPlay("open");
Symbol 1354 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1362 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1364 MovieClip Frame 1
_root.addHeadcrab(this._x, this._y, subtype);
this.removeMovieClip();
this.unloadMovie();
Symbol 1366 MovieClip Frame 1
_root.addZombie(this._x, this._y, subtype);
this.removeMovieClip();
this.unloadMovie();
Symbol 1380 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1385 MovieClip Frame 1
stop();
Symbol 1385 MovieClip Frame 140
_root.shotgun1894 = new Weapon();
_root.shotgun1894.Shotgun();
_root.addDroppedGun(588, 779, _root.shotgun1894);
Symbol 1385 MovieClip Frame 250
stop();
_root.addFriend(694, 864, "Gregori", "Gregori_Shotgun", "Gregori", 0);
Symbol 1404 MovieClip Frame 1
this.cachAsBitmap = true;
Symbol 1408 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1411 MovieClip Frame 1
stop();
Symbol 1411 MovieClip Frame 50
stop();
_root.hero0.outFloor();
_root.hero0._x = -1132;
_root.hero0._y = 900;
Symbol 1412 MovieClip Frame 1
stop();
Symbol 1412 MovieClip Frame 50
stop();
_root.hero0.outFloor();
_root.hero0._x = -1132;
_root.hero0._y = 1690;
Symbol 1428 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1429 MovieClip Frame 1
stop();
Symbol 1429 MovieClip Frame 50
stop();
_root.hero0.outFloor();
_root.hero0._x = -1024;
_root.hero0._y = 1628;
Symbol 1435 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1442 MovieClip Frame 1
stop();
Symbol 1442 MovieClip Frame 31
stop();
Symbol 1442 MovieClip Frame 60
stop();
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1446 MovieClip Frame 30
stop();
Symbol 1448 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1450 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - 20;
if (this._x < -2989) {
this._x = 3364;
}
};
Symbol 1452 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - 20;
if (this._x < -2184) {
this._x = 3364;
}
};
Symbol 1455 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1457 MovieClip Frame 1
stop();
Symbol 1457 MovieClip Frame 31
stop();
Symbol 1457 MovieClip Frame 60
stop();
Symbol 1479 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1491 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1494 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1504 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1510 MovieClip Frame 1
_parent.stop();
Symbol 1510 MovieClip Frame 170
_parent.play();
Symbol 1511 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 1516 MovieClip Frame 1
_parent.stop();
Symbol 1516 MovieClip Frame 30
_parent.play();
Symbol 1520 MovieClip Frame 1
_parent.stop();
Symbol 1520 MovieClip Frame 85
_parent.play();
Symbol 1535 MovieClip Frame 1
_parent.stop();
Symbol 1535 MovieClip Frame 235
stop();