Frame 1
_quality = "high";
fscommand ("showmenu", false);
Stage.showMenu = false;
loaded = (getBytesLoaded() / getBytesTotal()) * 100;
logo._alpha = loaded;
loadText = Math.round(loaded) + "%";
loadBar._xscale = loaded;
if (getBytesLoaded() == getBytesTotal()) {
gotoAndStop (3);
}
Instance of Symbol 152 MovieClip in Frame 1
on (release) {
getURL ("http://crazymonkeygames.com/", "_blank");
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
_quality = "low";
var varRAD = 57.2957795130823;
savefile = SharedObject.getLocal("zombieHord3");
var maxBullets = 100;
var varBULLETEFFECTS = "ON";
var varKEYCONFIG = 1;
if (varKEYCONFIG == 1) {
var keyUP = 87;
var keyDOWN = 83;
var keyLEFT = 65;
var keyRIGHT = 68;
var keyBREAK = 32;
var keyINOUT = 17;
var keyRELOAD = 82;
var keyMELEE = 32;
var keySECONDARYSELECT = 81;
var keyPRIMARYSELECT = 69;
}
MovieClip.prototype.lineOfSight = function (origin, target, sampleRate) {
if (sampleRate == undefined) {
sampleRate = 10;
}
var _local8 = target._x - origin._x;
var _local7 = target._y - origin._y;
var _local10 = Math.sqrt((_local8 * _local8) + (_local7 * _local7));
var _local4 = _local10 / sampleRate;
var _local5 = _local8 / _local4;
var _local6 = _local7 / _local4;
var _local3 = (sy = 0);
i = 0;
while (i < _local4) {
x = origin._x + _local3;
y = origin._y + sy;
if (_root.streets.hit.walls.hitTest(x, y, true) || (_root.enemies.hitTest(x, y, true))) {
_root.hitWallX = origin._x + _local3;
_root.hitWallY = origin._y + sy;
return(true);
}
_local3 = _local3 + _local5;
sy = sy + _local6;
i++;
}
};
Instance of Symbol 254 MovieClip "streets" in Frame 5
onClipEvent (load) {
_xscale = 100;
_yscale = 100;
_x = 0;
_y = 0;
_root.varPURCHASE = "false";
e = 1;
}
onClipEvent (enterFrame) {
if (garage1.hitTest(_root.character._x, _root.character._y, true) || (garage2.hitTest(_root.character._x, _root.character._y, true))) {
_root.car.speed = 0;
_root.garage.play();
_root.defending = "false";
_root.varOBJECTIVE = "false";
_root.defendTimer = 0;
}
if (a1.hitTest(_root.character._x, _root.character._y, true) && (_root.LEVEL < 2)) {
_root.garage.barrierHelp.gotoAndPlay(2);
}
if (a2.hitTest(_root.character) && (_root.LEVEL < 2)) {
_root.garage.cutScene.gotoAndPlay("level2");
_root.LEVEL = 2;
}
if (a3.hitTest(_root.character) && (_root.LEVEL < 3)) {
_root.garage.cutScene.gotoAndPlay("level3");
_root.LEVEL = 3;
}
if (a4.hitTest(_root.character) && (_root.LEVEL < 4)) {
_root.garage.cutScene.gotoAndPlay("level4");
_root.LEVEL = 4;
}
if ((chopper.hitTest(_root.character._x, _root.character._y, true) && (_root.varPURCHASE == "false")) && (_root.LEVEL < 5)) {
_root.garage.cutScene.gotoAndPlay("end");
}
}
Instance of Symbol 271 MovieClip "bulletLevel" in Frame 5
onClipEvent (load) {
f = 1;
n = 1;
t = 1;
_x = 0;
_y = 0;
bulletHole._x = -1000000;
timer1 = (timer2 = (timer3 = (timer4 = (timer5 = (timer6 = (timer7 = (timer8 = (timer9 = (timer10 = (timer11 = (timer12 = 0)))))))))));
}
onClipEvent (enterFrame) {
timer1 = timer1 - 1;
if (timer1 <= 0) {
bulletTrail1.removeMovieClip();
}
timer2 = timer2 - 1;
if (timer2 <= 0) {
bulletTrail2.removeMovieClip();
}
timer3 = timer3 - 1;
if (timer3 <= 0) {
bulletTrail3.removeMovieClip();
}
timer4 = timer4 - 1;
if (timer4 <= 0) {
bulletTrail4.removeMovieClip();
}
timer5 = timer5 - 1;
if (timer5 <= 0) {
bulletTrail5.removeMovieClip();
}
timer6 = timer6 - 1;
if (timer6 <= 0) {
bulletTrail6.removeMovieClip();
}
timer7 = timer7 - 1;
if (timer7 <= 0) {
bulletTrail7.removeMovieClip();
}
timer8 = timer8 - 1;
if (timer8 <= 0) {
bulletTrail8.removeMovieClip();
}
timer9 = timer9 - 1;
if (timer9 <= 0) {
bulletTrail9.removeMovieClip();
}
timer10 = timer10 - 1;
if (timer10 <= 0) {
bulletTrail10.removeMovieClip();
}
timer11 = timer11 - 1;
if (timer11 <= 0) {
bulletTrail11.removeMovieClip();
}
timer12 = timer12 - 1;
if (timer12 <= 0) {
bulletTrail12.removeMovieClip();
}
if (n > _root.maxBullets) {
n = 1;
}
if (_root.varPURCHASE == "true") {
i = 0;
while (i < 101) {
this["bulletHole" + i].removeMovieClip();
i++;
}
}
}
Instance of Symbol 275 MovieClip "explosion" in Frame 5
onClipEvent (load) {
n = 1;
_x = 0;
_y = 0;
explosion._x = -1000000;
}
Instance of Symbol 271 MovieClip "enemyExplosion" in Frame 5
onClipEvent (load) {
e = 1;
_x = 0;
_y = 0;
bulletHole._x = -1000000;
}
Instance of Symbol 278 MovieClip "bullet2" in Frame 5
onClipEvent (enterFrame) {
if (_root.character.secondary.gun.weaponType == "shotgun") {
_xscale = 3000;
} else {
_xscale = 100;
}
}
Instance of Symbol 278 MovieClip "bullet1" in Frame 5
onClipEvent (enterFrame) {
if (_root.character.primary.gun.weaponType == "shotgun") {
_xscale = 3000;
} else {
_xscale = 100;
}
}
Instance of Symbol 271 MovieClip "ammoDrop" in Frame 5
onClipEvent (load) {
n = 1;
_x = 0;
_y = 0;
bulletHole._x = -1000000;
}
Instance of Symbol 382 MovieClip "car" in Frame 5
onClipEvent (load) {
_root.varDROWNED = "false";
_root.varINCAR = "false";
_root.drivenCar = "false";
_root.stopCar = "false";
}
Instance of Symbol 512 MovieClip "character" in Frame 5
onClipEvent (mouseDown) {
if ((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) {
if (_root.varRELOADING1 == "false") {
primary.gun.play();
_root.rapidFire1 = "true";
}
} else if ((_root.varRELOADING1 == "false") && (_root.varPURCHASE == "false")) {
_root.car.car.driver.primary.gun.play();
_root.rapidFire1 = "true";
}
}
onClipEvent (mouseUp) {
_root.rapidFire1 = "false";
}
Instance of Symbol 807 MovieClip "enemies" in Frame 5
/* no clip actions */
Instance of Symbol 812 MovieClip "flashlight" in Frame 5
onClipEvent (load) {
_alpha = 0;
if (_root.varINCAR == "false") {
_rotation = _root.character._rotation;
} else {
_rotation = ((_root.car._rotation - 90) + _root.car.car._rotation);
}
lightSpeed = 1;
}
onClipEvent (enterFrame) {
if (_root.varHEALTH <= 0) {
_alpha = 0;
}
if (_root.varINCAR == "false") {
_rotation = _root.character._rotation;
} else {
_rotation = ((_root.car._rotation - 90) + _root.car.car._rotation);
}
if (_root.varINCAR == "true") {
_x = _root.car._x;
_y = _root.car._y;
} else {
_x = _root.character._x;
_y = _root.character._y;
}
if ((_root.Time == "day") && (_alpha > 0)) {
_alpha = (_alpha - lightSpeed);
}
if ((_root.Time == "night") && (_alpha < 100)) {
_alpha = (_alpha + lightSpeed);
}
}
Instance of Symbol 960 MovieClip "overhang" in Frame 5
onClipEvent (load) {
_xscale = 100;
_yscale = 100;
_x = 0;
_y = 0;
gotoAndStop (5);
}
Instance of Symbol 2005 MovieClip "crosshair" in Frame 5
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_root.varPURCHASE == "true") {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 2007 MovieClip in Frame 5
onClipEvent (load) {
this.swapDepths(10001);
}
onClipEvent (enterFrame) {
if (_root.defending == "false") {
if (_root.varINCAR == "false") {
if (_root.survival == "false") {
_x = _root.character._x;
_y = _root.character._y;
} else {
_x = _root.survivalX;
_y = _root.survivalY;
}
} else {
_x = (_root.car._x + (_root.car.xSpeed * 4));
_y = (_root.car._y + (_root.car.ySpeed * 4));
}
} else {
_x = _root.objectiveX;
_y = _root.objectiveY;
}
}
Symbol 9 MovieClip [health] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 9 MovieClip [health] Frame 330
removeMovieClip(this);
Symbol 9 MovieClip [health] Frame 335
pickedUp = "true";
_root.varHEALTH = _root.maxHEALTH;
Symbol 9 MovieClip [health] Frame 340
stop();
this.removeMovieClip();
Symbol 11 MovieClip [ammo5] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 11 MovieClip [ammo5] Frame 330
removeMovieClip(this);
Symbol 11 MovieClip [ammo5] Frame 335
pickedUp = "true";
_root.rifleINV = _root.rifleINV + 25;
Symbol 11 MovieClip [ammo5] Frame 340
stop();
this.removeMovieClip();
Symbol 13 MovieClip [ammo6] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 13 MovieClip [ammo6] Frame 330
removeMovieClip(this);
Symbol 13 MovieClip [ammo6] Frame 335
pickedUp = "true";
_root.rocketINV = _root.rocketINV + 5;
Symbol 13 MovieClip [ammo6] Frame 340
stop();
removeMovieClip(this);
Symbol 15 MovieClip [ammo4] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 15 MovieClip [ammo4] Frame 330
removeMovieClip(this);
Symbol 15 MovieClip [ammo4] Frame 335
pickedUp = "true";
_root.autorifleINV = _root.autorifleINV + 30;
Symbol 15 MovieClip [ammo4] Frame 340
stop();
removeMovieClip(this);
Symbol 17 MovieClip [ammo3] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 17 MovieClip [ammo3] Frame 330
removeMovieClip(this);
Symbol 17 MovieClip [ammo3] Frame 335
pickedUp = "true";
_root.shotgunINV = _root.shotgunINV + 15;
Symbol 17 MovieClip [ammo3] Frame 340
stop();
removeMovieClip(this);
Symbol 19 MovieClip [ammo2] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 19 MovieClip [ammo2] Frame 330
removeMovieClip(this);
Symbol 19 MovieClip [ammo2] Frame 335
pickedUp = "true";
_root.smgINV = _root.smgINV + 30;
Symbol 19 MovieClip [ammo2] Frame 340
stop();
removeMovieClip(this);
Symbol 21 MovieClip [ammo1] Frame 1
function onEnterFrame() {
if (this.hitTest(_root.character._x, _root.character._y) && (pickedUp == "false")) {
gotoAndPlay ("pickedUp");
}
}
pickedUp = "false";
Symbol 21 MovieClip [ammo1] Frame 330
removeMovieClip(this);
Symbol 21 MovieClip [ammo1] Frame 335
pickedUp = "true";
_root.pistolINV = _root.pistolINV + 25;
Symbol 21 MovieClip [ammo1] Frame 340
stop();
removeMovieClip(this);
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
stop();
Symbol 30 MovieClip Frame 3
stop();
Symbol 30 MovieClip Frame 4
stop();
Symbol 30 MovieClip Frame 5
stop();
Symbol 30 MovieClip Frame 6
stop();
Symbol 31 MovieClip [explosion] Frame 10
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_root.varHEALTH = _root.varHEALTH - (40 + random(40));
}
Instance of Symbol 30 MovieClip in Symbol 31 MovieClip [explosion] Frame 10
onClipEvent (load) {
gotoAndStop(random(_totalframes) + 1);
_rotation = random(360);
_xscale = scale;
_yscale = scale;
if (_parent.wallHit == "true") {
_alpha = 0;
}
}
Symbol 31 MovieClip [explosion] Frame 80
this.removeMovieClip();
Symbol 33 MovieClip [roadblock2] Frame 1
stop();
Symbol 33 MovieClip [roadblock2] Frame 2
stop();
Symbol 34 MovieClip [roadblock3] Frame 1
stop();
Symbol 34 MovieClip [roadblock3] Frame 2
stop();
Symbol 35 MovieClip [roadblock1] Frame 1
stop();
Symbol 35 MovieClip [roadblock1] Frame 2
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
play();
_global.alerted = "true";
_global.alertX = _parent._x;
_global.alertX = _parent._y;
Symbol 44 MovieClip Frame 3
play();
Symbol 44 MovieClip Frame 5
_global.alerted = "false";
Symbol 54 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 54 MovieClip Frame 3
_parent.attacking = "false";
Symbol 54 MovieClip Frame 12
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 54 MovieClip Frame 23
gotoAndPlay (1);
Symbol 58 MovieClip Frame 1
gotoAndStop(random(6) + 3);
Symbol 58 MovieClip Frame 2
gotoAndStop(random(6) + 3);
Symbol 58 MovieClip Frame 3
stop();
Symbol 58 MovieClip Frame 4
stop();
Symbol 58 MovieClip Frame 5
stop();
Symbol 58 MovieClip Frame 6
stop();
Symbol 58 MovieClip Frame 7
stop();
Symbol 58 MovieClip Frame 8
stop();
Symbol 58 MovieClip Frame 9
stop();
Symbol 58 MovieClip Frame 10
stop();
Symbol 59 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 59 MovieClip Frame 13
_parent.varHITTING = "true";
Symbol 59 MovieClip Frame 15
_parent.varHITTING = "false";
Symbol 59 MovieClip Frame 31
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 2
stop();
Symbol 68 MovieClip Frame 3
stop();
Symbol 68 MovieClip Frame 4
stop();
Symbol 68 MovieClip Frame 5
stop();
Symbol 68 MovieClip Frame 6
stop();
Symbol 68 MovieClip Frame 7
stop();
Symbol 68 MovieClip Frame 8
stop();
Symbol 68 MovieClip Frame 9
stop();
Symbol 68 MovieClip Frame 10
stop();
Symbol 78 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 78 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 78 MovieClip Frame 28
_parent.disappear = "true";
stop();
Symbol 82 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 82 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 82 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 95 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 95 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 95 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 103 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 103 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 112 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 112 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 113 MovieClip Frame 1
_parent.removeMovieClip();
Symbol 114 MovieClip [zombie] Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.zomCounter1 = _root.zomCounter1 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if ((((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) && (varHITTING == "true")) {
_root.varHEALTH = _root.varHEALTH - damage;
_root.character.blood._rotation = (_rotation - _root.character._rotation) + 180;
_root.character.blood.play();
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 54 MovieClip "zombie" in Symbol 114 MovieClip [zombie] Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 114 MovieClip [zombie] Frame 2
stop();
attacking = "true";
Symbol 114 MovieClip [zombie] Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 114 MovieClip [zombie] Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 114 MovieClip [zombie] Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 114 MovieClip [zombie] Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 114 MovieClip [zombie] Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 114 MovieClip [zombie] Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.zomCounter1 = _root.zomCounter1 - 1;
_root.kills = _root.kills + 1;
_root.zombie = _root.zombie + 1;
if (_root.survival == "true") {
dropHealth = random(100);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
ammoType = random(6) + 1;
_root.ammoDrop.attachMovie("ammo" + ammoType, "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 126 MovieClip [flameExplosion] Frame 1
function onEnterFrame() {
timer = timer - 1;
if (timer <= 0) {
_alpha = (_alpha - 0.1);
}
if (_alpha <= 0) {
this.removeMovieClip();
}
}
_alpha = 100;
timer = 300;
Symbol 126 MovieClip [flameExplosion] Frame 12
stop();
Symbol 168 Button
on (release) {
play();
}
Symbol 182 MovieClip Frame 142
_root.play();
Symbol 220 MovieClip Frame 1
_alpha = 0;
Symbol 230 MovieClip Frame 1
function onEnterFrame() {
if (_root.varHEALTH <= 0) {
life = maxLife;
destroyed = "false";
gotoAndStop (1);
_rotation = startingRotation;
}
if ((500 > Math.abs(_x - _root.character._x)) && (500 > Math.abs(_y - _root.character._y))) {
if ((_root.crosshair.crosshair1.crosshair.Bullet.hitTest(_x, _y, true) || (_root.explosion.hit1.hitTest(_x, _y, true))) && (!lineOfSight(_root.character, this, 10))) {
if ((_root.varDAMAGE1 >= life) && (destroyed == "false")) {
_rotation = (_root.character._rotation + 90);
_root.streets.hit["roadblock" + n].gotoAndStop(2);
play();
}
}
if ((_root.crosshair.crosshair2.crosshair.Bullet.hitTest(_x, _y, true) || (_root.explosion.hit2.hitTest(_x, _y, true))) && (!lineOfSight(_root.character, this, 10))) {
if ((_root.varDAMAGE2 >= life) && (destroyed == "false")) {
_rotation = (_root.character._rotation + 90);
_root.streets.hit["roadblock" + n].gotoAndStop(2);
play();
}
}
}
}
stop();
life = 10;
startingRotation = _rotation;
destroyed = "false";
Symbol 230 MovieClip Frame 2
destroyed = "true";
Symbol 230 MovieClip Frame 11
stop();
Symbol 239 MovieClip Frame 1
function onEnterFrame() {
if (_root.varHEALTH <= 0) {
destroyed = "false";
gotoAndStop (1);
_rotation = startingRotation;
}
if ((500 > Math.abs(_x - _root.character._x)) && (500 > Math.abs(_y - _root.character._y))) {
if ((_root.crosshair.crosshair1.crosshair.Bullet.hitTest(_x, _y, true) || (_root.explosion.hit1.hitTest(_x, _y, true))) && (!lineOfSight(_root.character, this, 10))) {
if ((_root.varDAMAGE1 >= life) && (destroyed == "false")) {
_rotation = (_root.character._rotation + 90);
_root.streets.hit["roadblock" + n].gotoAndStop(2);
play();
}
}
if ((_root.crosshair.crosshair2.crosshair.Bullet.hitTest(_x, _y, true) || (_root.explosion.hit2.hitTest(_x, _y, true))) && (!lineOfSight(_root.character, this, 10))) {
if ((_root.varDAMAGE2 >= life) && (destroyed == "false")) {
_rotation = (_root.character._rotation + 90);
_root.streets.hit["roadblock" + n].gotoAndStop(2);
play();
}
}
}
}
stop();
life = maxLife;
startingRotation = _rotation;
destroyed = "false";
Symbol 239 MovieClip Frame 2
destroyed = "true";
Symbol 239 MovieClip Frame 11
stop();
Symbol 248 MovieClip Frame 1
function onEnterFrame() {
if (_root.varHEALTH <= 0) {
life = maxLife;
destroyed = "false";
gotoAndStop (1);
_rotation = startingRotation;
}
if ((500 > Math.abs(_x - _root.character._x)) && (500 > Math.abs(_y - _root.character._y))) {
if ((_root.crosshair.crosshair1.crosshair.Bullet.hitTest(_x, _y, true) || (_root.explosion.hit1.hitTest(_x, _y, true))) && (!lineOfSight(_root.character, this, 10))) {
if ((_root.varDAMAGE1 >= life) && (destroyed == "false")) {
_rotation = (_root.character._rotation + 90);
_root.streets.hit["roadblock" + n].gotoAndStop(2);
play();
}
}
if ((_root.crosshair.crosshair2.crosshair.Bullet.hitTest(_x, _y, true) || (_root.explosion.hit2.hitTest(_x, _y, true))) && (!lineOfSight(_root.character, this, 10))) {
if ((_root.varDAMAGE2 >= life) && (destroyed == "false")) {
_rotation = (_root.character._rotation + 90);
_root.streets.hit["roadblock" + n].gotoAndStop(2);
play();
}
}
}
}
stop();
life = 250;
startingRotation = _rotation;
destroyed = "false";
Symbol 248 MovieClip Frame 2
destroyed = "true";
Symbol 248 MovieClip Frame 11
stop();
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 250 MovieClip "walls" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 253 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip "hit" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
_x = 0;
_y = 0;
n = 0;
}
Instance of Symbol 253 MovieClip "carWall" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (varRACING == "false") {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 265 MovieClip "mark" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(_totalframes) + 1);
}
Symbol 270 MovieClip Frame 9
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 5
_parent["hit" + number]._x = this._x;
_parent["hit" + number]._y = this._y;
Instance of Symbol 30 MovieClip in Symbol 272 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(random(_totalframes) + 1);
_rotation = random(360);
_xscale = scale;
_yscale = scale;
}
Symbol 272 MovieClip Frame 6
_parent["hit" + number]._x = -1000000;
_parent["hit" + number]._y = -1000000;
Symbol 272 MovieClip Frame 14
stop();
Symbol 274 MovieClip Frame 1
_x = 0;
_y = 0;
Instance of Symbol 272 MovieClip "explosion" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
timer = 300;
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer <= 0) {
_alpha = (_alpha - 0.1);
}
if (_alpha <= 0) {
this.removeMovieClip();
}
}
Instance of Symbol 273 MovieClip "hit2" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
_x = -1000000;
}
Instance of Symbol 273 MovieClip "hit1" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
_x = -1000000;
}
Instance of Symbol 274 MovieClip "flame" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
f = 1;
}
Symbol 277 MovieClip Frame 2
stop();
_xscale = 100;
Symbol 278 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
this._alpha = 0;
Symbol 285 MovieClip Frame 1
gotoAndStop ("end");
Symbol 285 MovieClip Frame 23
gotoAndStop ("start");
Symbol 286 MovieClip Frame 1
gotoAndStop ("end");
Symbol 286 MovieClip Frame 23
gotoAndStop ("start");
Symbol 289 MovieClip Frame 1
gotoAndStop ("end");
Symbol 289 MovieClip Frame 23
gotoAndStop ("start");
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 3
stop();
Symbol 295 MovieClip Frame 4
stop();
Symbol 297 MovieClip Frame 1
stop();
Instance of Symbol 295 MovieClip in Symbol 297 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(random(_totalframes) + 1);
}
Symbol 297 MovieClip Frame 28
if (Key.isDown(17) && (_parent._parent.speed > 5)) {
gotoAndPlay (2);
}
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 3
stop();
Symbol 317 MovieClip Frame 4
stop();
Symbol 317 MovieClip Frame 5
stop();
Symbol 317 MovieClip Frame 6
stop();
Symbol 317 MovieClip Frame 7
stop();
Symbol 317 MovieClip Frame 8
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
stop();
Instance of Symbol 285 MovieClip "wheel2" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 286 MovieClip "wheel1" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 289 MovieClip "wheels" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 332 MovieClip "driver" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("center");
}
onClipEvent (enterFrame) {
stop();
armor.gotoAndStop(_root.varARMOR);
helmet.gotoAndStop(_root.varARMOR);
if (_root.varINCAR == "false") {
_alpha = 0;
} else {
_alpha = 100;
}
}
Symbol 339 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 11
_global.varHEALTH = 0;
Symbol 352 MovieClip Frame 40
_global.deathText = random(5) + 1;
_root.garage.gotoAndPlay("dead");
stop();
Symbol 381 MovieClip Frame 1
_global.varHEALTH = 0;
Symbol 381 MovieClip Frame 50
_global.deathText = random(5) + 6;
_root.garage.gotoAndPlay("dead");
stop();
Symbol 382 MovieClip Frame 1
stop();
speed = 0;
maxSpeed = 25;
acceleration = 0.25;
deceleration = 0.99;
turn = 4;
function onEnterFrame() {
_root.character._alpha = 0;
if ((_root.varPURCHASE == "false") && (_root.varDEAD == "false")) {
if ((speed < 0.2) && (speed > -0.2)) {
speed = 0;
}
xSpeed = Math.sin(_rotation * (Math.PI/180)) * speed;
ySpeed = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
xOffset1 = ((xSpeed + _x) + (Math.sin(((_rotation + car._rotation) + 180) * (Math.PI/180)) * 30)) + (Math.sin(((_rotation + car._rotation) + 90) * (Math.PI/180)) * 20);
yOffset1 = ((ySpeed + _y) + (Math.cos(((_rotation + car._rotation) + 180) * (Math.PI/180)) * -30)) + (Math.cos(((_rotation + car._rotation) + 90) * (Math.PI/180)) * -20);
_root.point1._x = xOffset1;
_root.point1._y = yOffset1;
xOffset2 = ((xSpeed + _x) + (Math.sin(((_rotation + car._rotation) + 180) * (Math.PI/180)) * 30)) + (Math.sin(((_rotation + car._rotation) - 90) * (Math.PI/180)) * 20);
yOffset2 = ((ySpeed + _y) + (Math.cos(((_rotation + car._rotation) + 180) * (Math.PI/180)) * -30)) + (Math.cos(((_rotation + car._rotation) - 90) * (Math.PI/180)) * -20);
_root.point2._x = xOffset2;
_root.point2._y = yOffset2;
xOffset3 = ((xSpeed + _x) + (Math.sin((_rotation + car._rotation) * (Math.PI/180)) * 35)) + (Math.sin(((_rotation + car._rotation) + 90) * (Math.PI/180)) * 20);
yOffset3 = ((ySpeed + _y) + (Math.cos((_rotation + car._rotation) * (Math.PI/180)) * -35)) + (Math.cos(((_rotation + car._rotation) + 90) * (Math.PI/180)) * -20);
_root.point3._x = xOffset3;
_root.point3._y = yOffset3;
xOffset4 = ((xSpeed + _x) + (Math.sin((_rotation + car._rotation) * (Math.PI/180)) * 35)) + (Math.sin(((_rotation + car._rotation) - 90) * (Math.PI/180)) * 20);
yOffset4 = ((ySpeed + _y) + (Math.cos((_rotation + car._rotation) * (Math.PI/180)) * -35)) + (Math.cos(((_rotation + car._rotation) - 90) * (Math.PI/180)) * -20);
_root.point4._x = xOffset4;
_root.point4._y = yOffset4;
if (xSpeed >= 0) {
if (((((((_root.streets.hit.hitTest(_root.point1._x + (xSpeed + 10), _root.point1._y, true) || (_root.streets.carWall.hitTest(_root.point1._x + (xSpeed + 10), _root.point1._y, true))) || (_root.streets.hit.hitTest(_root.point2._x + (xSpeed + 10), _root.point2._y, true))) || (_root.streets.carWall.hitTest(_root.point2._x + (xSpeed + 10), _root.point2._y, true))) || (_root.streets.hit.hitTest(_root.point3._x + (xSpeed + 10), _root.point3._y, true))) || (_root.streets.carWall.hitTest(_root.point3._x + (xSpeed + 10), _root.point3._y, true))) || (_root.streets.hit.hitTest(_root.point4._x + (xSpeed + 10), _root.point4._y, true))) || (_root.streets.carWall.hitTest(_root.point4._x + (xSpeed + 10), _root.point4._y, true))) {
moveEast = "false";
} else {
moveEast = "true";
}
} else if (((((((_root.streets.hit.hitTest(_root.point1._x + (xSpeed - 10), _root.point1._y, true) || (_root.streets.carWall.hitTest(_root.point1._x + (xSpeed - 10), _root.point1._y, true))) || (_root.streets.hit.hitTest(_root.point2._x + (xSpeed - 10), _root.point2._y, true))) || (_root.streets.carWall.hitTest(_root.point2._x + (xSpeed - 10), _root.point2._y, true))) || (_root.streets.hit.hitTest(_root.point3._x + (xSpeed - 10), _root.point3._y, true))) || (_root.streets.carWall.hitTest(_root.point3._x + (xSpeed - 10), _root.point3._y, true))) || (_root.streets.hit.hitTest(_root.point4._x + (xSpeed - 10), _root.point4._y, true))) || (_root.streets.carWall.hitTest(_root.point4._x + (xSpeed - 10), _root.point4._y, true))) {
moveWest = "false";
} else {
moveWest = "true";
}
if (ySpeed <= 0) {
if (((((((_root.streets.hit.hitTest(_root.point1._x, _root.point1._y + (ySpeed - 10), true) || (_root.streets.carWall.hitTest(_root.point1._x, _root.point1._y + (ySpeed - 10), true))) || (_root.streets.hit.hitTest(_root.point2._x, _root.point2._y + (ySpeed - 10), true))) || (_root.streets.carWall.hitTest(_root.point2._x, _root.point2._y + (ySpeed - 10), true))) || (_root.streets.hit.hitTest(_root.point3._x, _root.point3._y + (ySpeed - 10), true))) || (_root.streets.carWall.hitTest(_root.point3._x, _root.point3._y + (ySpeed - 10), true))) || (_root.streets.hit.hitTest(_root.point4._x, _root.point4._y + (ySpeed - 20), true))) || (_root.streets.carWall.hitTest(_root.point4._x, _root.point4._y + (ySpeed - 10), true))) {
moveNorth = "false";
} else {
moveNorth = "true";
}
} else if (((((((_root.streets.hit.hitTest(_root.point1._x, _root.point1._y + (ySpeed + 10), true) || (_root.streets.carWall.hitTest(_root.point1._x, _root.point1._y + (ySpeed + 10), true))) || (_root.streets.hit.hitTest(_root.point2._x, _root.point2._y + (ySpeed + 10), true))) || (_root.streets.carWall.hitTest(_root.point2._x, _root.point2._y + (ySpeed + 10), true))) || (_root.streets.hit.hitTest(_root.point3._x, _root.point3._y + (ySpeed + 10), true))) || (_root.streets.carWall.hitTest(_root.point3._x, _root.point3._y + (ySpeed + 10), true))) || (_root.streets.hit.hitTest(_root.point4._x, _root.point4._y + (ySpeed + 10), true))) || (_root.streets.carWall.hitTest(_root.point4._x, _root.point4._y + (ySpeed + 10), true))) {
moveSouth = "false";
} else {
moveSouth = "true";
}
if (speed > 0) {
if (xSpeed > 0) {
if (moveEast == "true") {
this._x = this._x + xSpeed;
} else {
speed = speed - Math.abs(xSpeed / 2);
}
}
if (xSpeed < 0) {
if (moveWest == "true") {
this._x = this._x + xSpeed;
} else {
speed = speed - Math.abs(xSpeed / 2);
}
}
if (ySpeed > 0) {
if (moveSouth == "true") {
this._y = this._y + ySpeed;
} else {
speed = speed - Math.abs(ySpeed / 2);
}
}
if (ySpeed < 0) {
if (moveNorth == "true") {
this._y = this._y + ySpeed;
} else {
speed = speed - Math.abs(ySpeed / 2);
}
}
} else {
if (xSpeed > 0) {
if (moveEast == "true") {
this._x = this._x + xSpeed;
} else {
speed = speed + Math.abs(xSpeed / 2);
}
}
if (xSpeed < 0) {
if (moveWest == "true") {
this._x = this._x + xSpeed;
} else {
speed = speed + Math.abs(xSpeed / 2);
}
}
if (ySpeed > 0) {
if (moveSouth == "true") {
this._y = this._y + ySpeed;
} else {
speed = speed + Math.abs(ySpeed / 2);
}
}
if (ySpeed < 0) {
if (moveNorth == "true") {
this._y = this._y + ySpeed;
} else {
speed = speed + Math.abs(ySpeed / 2);
}
}
}
if ((car._rotation > 170) || (car._rotation < -170)) {
car._rotation = 0;
_rotation = (_rotation + 180);
speed = -speed;
}
if (_root.varINCAR == "true") {
if ((Key.isDown(_root.keyUP) && (speed < maxSpeed)) && (!Key.isDown(_root.keyBREAK))) {
speed = speed + acceleration;
}
if ((Key.isDown(_root.keyDOWN) && (speed > ((-maxSpeed) * 0.7))) && (!Key.isDown(_root.keyBREAK))) {
speed = speed - acceleration;
}
if (Key.isDown(_root.keyBREAK)) {
car.lights.gotoAndStop(2);
speed = speed * 0.95;
if (speed > 10) {
if (Key.isDown(_root.keyRIGHT) && (car._rotation < 90)) {
car._rotation = car._rotation + (turn * 2);
car.smoke.play();
}
if (Key.isDown(_root.keyLEFT) && (car._rotation > -90)) {
car._rotation = car._rotation - (turn * 2);
car.smoke.play();
}
}
if (speed < -5) {
if (Key.isDown(_root.keyRIGHT) && (car._rotation > -180)) {
car._rotation = car._rotation - (turn * 2);
car.smoke.play();
}
if (Key.isDown(_root.keyLEFT) && (car._rotation < 180)) {
car._rotation = car._rotation + (turn * 2);
car.smoke.play();
}
}
} else {
car.lights.gotoAndStop(1);
}
if (speed >= 0.5) {
if (Key.isDown(_root.keyLEFT)) {
_rotation = (_rotation + turnWheel);
}
if (Key.isDown(_root.keyRIGHT)) {
_rotation = (_rotation + turnWheel);
}
}
if (speed <= -0.5) {
if (Key.isDown(_root.keyLEFT)) {
_rotation = (_rotation - turnWheel);
}
if (Key.isDown(_root.keyRIGHT)) {
_rotation = (_rotation - turnWheel);
}
}
if ((!Key.isDown(_root.keyUP)) && (!Key.isDown(_root.keyDOWN))) {
speed = speed * deceleration;
}
} else {
speed = speed * (deceleration * 0.97);
}
if (!Key.isDown(_root.keyBREAK)) {
if (car._rotation > 0) {
car._rotation = car._rotation - turn;
_rotation = (_rotation + turn);
if (speed > 1) {
car.smoke.play();
}
}
if (car._rotation < 0) {
car._rotation = car._rotation + turn;
_rotation = (_rotation - turn);
if (speed > 1) {
car.smoke.play();
}
}
}
}
if ((_root.varINCAR == "true") && (Key.isDown(_root.keyBREAK))) {
_root.stopCar = "true";
}
if (_root.varINCAR == "false") {
_root.character._alpha = 100;
}
if (this.hitTest(_root.character) && (_root.drivenCar == "false")) {
_root.garage.carHelp.gotoAndPlay(2);
}
if ((_root.varINCAR == "true") && (_root.stopCar == "false")) {
_root.garage.carHelp2.gotoAndPlay(2);
}
if (Key.isDown(_root.keyINOUT)) {
if ((_root.varPURCHASE == "false") && (_root.varDEAD == "false")) {
if (((_root.varINCAR == "true") && (speed > -1)) && (keydownINOUT == "false")) {
if (!_root.steets.hit.hitTest(_x - (Math.sin(_rotation * (Math.PI/180)) * 70), _y - (Math.cos(_rotation * (Math.PI/180)) * -70), true)) {
_root.character._x = _x - (Math.sin(_rotation * (Math.PI/180)) * 75);
_root.character._y = _y - (Math.cos(_rotation * (Math.PI/180)) * -75);
_root.varINCAR = "false";
keydownINOUT = "true";
}
}
if (((((this.hitTest(_root.character) && (_root.varINCAR == "false")) && (_root.varRELOADING1 == "false")) && (_root.varRELOADING2 == "false")) && (_root.defending == "false")) && (keydownINOUT == "false")) {
_root.varINCAR = "true";
_root.drivenCar = "true";
keydownINOUT = "true";
}
}
} else {
keydownINOUT = "false";
}
if (_root.varINCAR == "true") {
if (Math.abs(speed) < 5) {
carSound.gotoAndPlay(2);
}
if ((Key.isDown(_root.keyDOWN) && (speed < 5)) || ((speed > 5) && (Key.isDown(_root.keyUP)))) {
carSound2.gotoAndPlay(2);
}
}
}
Instance of Symbol 337 MovieClip "car" in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
maxRotation = 30;
rotation = 0;
}
onClipEvent (enterFrame) {
_parent.turnWheel = rotation / 15;
wheel1._rotation = rotation;
wheel2._rotation = rotation;
timer = timer + _parent.speed;
if (timer >= 5) {
wheels.nextFrame();
wheel1.nextFrame();
wheel2.nextFrame();
if (timer >= 10) {
wheels.nextFrame();
wheel1.nextFrame();
wheel2.nextFrame();
}
if (timer >= 20) {
wheels.nextFrame();
wheel1.nextFrame();
wheel2.nextFrame();
}
if (timer >= 30) {
wheels.nextFrame();
wheel1.nextFrame();
wheel2.nextFrame();
}
if (timer >= 40) {
wheels.nextFrame();
wheel1.nextFrame();
wheel2.nextFrame();
}
if (timer >= 50) {
wheels.nextFrame();
wheel1.nextFrame();
wheel2.nextFrame();
}
timer = 0;
}
if (timer <= -5) {
wheels.prevFrame();
wheel1.prevFrame();
wheel2.prevFrame();
if (timer <= -10) {
wheels.prevFrame();
wheel1.prevFrame();
wheel2.prevFrame();
}
if (timer <= -20) {
wheels.prevFrame();
wheel1.prevFrame();
wheel2.prevFrame();
}
if (timer <= -30) {
wheels.prevFrame();
wheel1.prevFrame();
wheel2.prevFrame();
}
if (timer <= -40) {
wheels.prevFrame();
wheel1.prevFrame();
wheel2.prevFrame();
}
if (timer <= -50) {
wheels.prevFrame();
wheel1.prevFrame();
wheel2.prevFrame();
}
timer = 0;
}
if (_root.varINCAR == "true") {
if (Key.isDown(_root.keyRIGHT)) {
driver.nextFrame();
if (rotation < maxRotation) {
rotation = rotation + 5;
}
}
if (Key.isDown(_root.keyLEFT)) {
driver.prevFrame();
if (rotation > (-maxRotation)) {
rotation = rotation - 5;
}
}
if ((!Key.isDown(_root.keyLEFT)) && (!Key.isDown(_root.keyRIGHT))) {
if (rotation < 0) {
rotation = rotation + 5;
driver.nextFrame();
}
if (rotation > 0) {
rotation = rotation - 5;
driver.prevFrame();
}
}
}
}
Symbol 382 MovieClip Frame 2
stop();
speed = 0;
_root.varDEAD = "true";
Symbol 382 MovieClip Frame 3
stop();
speed = speed / 2;
_root.varDEAD = "true";
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 17
if (_global.varPURCHASE == "false") {
gotoAndPlay (2);
}
Symbol 395 MovieClip Frame 1
stop();
_root.varSHOOTING = "false";
_root.varRELOADING = "false";
Symbol 395 MovieClip Frame 2
_root.varSHOOTING = "true";
Symbol 398 MovieClip Frame 1
stop();
_global.varSHOOTING = "false";
_global.varRELOADING = "false";
Symbol 398 MovieClip Frame 2
_global.varSHOOTING = "true";
Symbol 401 MovieClip Frame 1
stop();
_global.varSHOOTING = "false";
_global.varRELOADING = "false";
Symbol 401 MovieClip Frame 2
_global.varSHOOTING = "true";
Symbol 419 MovieClip Frame 1
stop();
_global.varSHOOTING = "false";
_global.varRELOADING = "false";
Symbol 419 MovieClip Frame 2
_global.varSHOOTING = "true";
Symbol 420 MovieClip Frame 1
stop();
weapon = "fist";
Instance of Symbol 395 MovieClip "arm" in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.varMELEE2 == "fist") {
_root.varDAMAGE2 = 5;
}
}
Symbol 420 MovieClip Frame 2
stop();
weapon = "knife";
Instance of Symbol 398 MovieClip "arm" in Symbol 420 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.varDAMAGE2 = 10;
}
Symbol 420 MovieClip Frame 3
stop();
weapon = "machete";
Instance of Symbol 401 MovieClip "arm" in Symbol 420 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.varDAMAGE2 = 25;
}
Symbol 420 MovieClip Frame 4
stop();
weapon = "whip";
Instance of Symbol 419 MovieClip "arm" in Symbol 420 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.varDAMAGE2 = 50;
}
Symbol 427 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root["varRELOADING" + _parent.weaponNumber] = "false";
Symbol 427 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 427 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.play();
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 427 MovieClip Frame 6
gotoAndStop (1);
Symbol 427 MovieClip Frame 7
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 427 MovieClip Frame 41
_parent.reload.call(_parent.reload);
Symbol 430 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 430 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 430 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 430 MovieClip Frame 6
gotoAndStop (1);
Symbol 430 MovieClip Frame 7
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 430 MovieClip Frame 41
_parent.reload.call(_parent.reload);
Symbol 433 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 433 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 433 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 30)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 433 MovieClip Frame 6
gotoAndStop (1);
Symbol 433 MovieClip Frame 7
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 433 MovieClip Frame 41
_parent.reload.call(_parent.reload);
Symbol 438 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 438 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 438 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 438 MovieClip Frame 5
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 438 MovieClip Frame 6
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 438 MovieClip Frame 40
_parent.reload.call(_parent.reload);
Symbol 441 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 441 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 441 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 30)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 441 MovieClip Frame 5
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 441 MovieClip Frame 6
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 441 MovieClip Frame 40
_parent.reload.call(_parent.reload);
Symbol 444 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 444 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 444 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 444 MovieClip Frame 5
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 444 MovieClip Frame 6
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 444 MovieClip Frame 40
_parent.reload.call(_parent.reload);
Symbol 449 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 449 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 449 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber]._rotation = _root.character._rotation + 90;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber]._rotation = _root.character._rotation + 90;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 449 MovieClip Frame 11
gotoAndStop (1);
Symbol 449 MovieClip Frame 12
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 449 MovieClip Frame 41
_parent.reload.call(_parent.reload);
Symbol 452 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 452 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 452 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 30)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber]._rotation = _root.character._rotation + 90;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber]._rotation = _root.character._rotation + 90;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 452 MovieClip Frame 15
gotoAndStop (1);
Symbol 452 MovieClip Frame 16
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 452 MovieClip Frame 40
_parent.reload.call(_parent.reload);
Symbol 455 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 455 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 455 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber]._rotation = _root.character._rotation + 90;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber]._rotation = _root.character._rotation + 90;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 455 MovieClip Frame 9
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 455 MovieClip Frame 10
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 455 MovieClip Frame 45
_parent.reload.call(_parent.reload);
Symbol 466 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 466 MovieClip Frame 2
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
}
Symbol 466 MovieClip Frame 3
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
} else {
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root.flashlight.light.gotoAndPlay(2);
_root[weaponType + "INV"] = _root[weaponType + "INV"] - 1;
_parent.Bullet.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
}
Symbol 466 MovieClip Frame 6
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
}
Symbol 466 MovieClip Frame 7
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
} else {
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root.flashlight.light.gotoAndPlay(2);
_root[weaponType + "INV"] = _root[weaponType + "INV"] - 1;
_parent.Bullet.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
}
Symbol 466 MovieClip Frame 10
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
}
Symbol 466 MovieClip Frame 11
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
} else {
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root.flashlight.light.gotoAndPlay(2);
_root[weaponType + "INV"] = _root[weaponType + "INV"] - 1;
_parent.Bullet.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
}
Symbol 466 MovieClip Frame 14
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
}
Symbol 466 MovieClip Frame 15
if (_root[weaponType + "INV"] <= 0) {
this.gotoAndStop(1);
} else {
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root.flashlight.light.gotoAndPlay(2);
_root[weaponType + "INV"] = _root[weaponType + "INV"] - 1;
_parent.Bullet.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
}
Symbol 466 MovieClip Frame 18
gotoAndStop (1);
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 2
this.createEmptyMovieClip("bulletClip", 0);
with (bulletClip) {
lineStyle(0.5, 16777215, 100);
moveTo(random(40), random(10) - 5);
lineTo(random(500) + 400, random(20) - 10);
}
Symbol 468 MovieClip Frame 3
bulletClip.removeMovieClip();
Symbol 473 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 473 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 473 MovieClip Frame 3
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_parent.Bullet.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
Symbol 473 MovieClip Frame 24
gotoAndStop (1);
Symbol 473 MovieClip Frame 25
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 473 MovieClip Frame 51
_parent.reload.call(_parent.reload);
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 2
this.createEmptyMovieClip("bulletClip", 0);
with (bulletClip) {
lineStyle(0.5, 16777215, 100);
moveTo(random(40), 0);
lineTo(random(500) + 400, random(20) - 10);
}
Symbol 474 MovieClip Frame 3
bulletClip.removeMovieClip();
Symbol 477 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 477 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 477 MovieClip Frame 3
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_parent.Bullet.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
Symbol 477 MovieClip Frame 24
gotoAndStop (1);
Symbol 477 MovieClip Frame 25
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 477 MovieClip Frame 51
_parent.reload.call(_parent.reload);
Symbol 481 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 481 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 481 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 481 MovieClip Frame 6
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 481 MovieClip Frame 7
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 481 MovieClip Frame 38
_parent.reload.call(_parent.reload);
Symbol 484 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 484 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 484 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 484 MovieClip Frame 6
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 484 MovieClip Frame 7
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 484 MovieClip Frame 38
_parent.reload.call(_parent.reload);
Symbol 487 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 487 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 487 MovieClip Frame 3
_parent.bulletHole.call(_parent.bulletHole);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root["bullet" + _parent.weaponNumber]._x = _root.crosshair._x;
_root["bullet" + _parent.weaponNumber]._y = _root.crosshair._y;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
} else {
_root["bullet" + _parent.weaponNumber]._x = _root.hitWallX;
_root["bullet" + _parent.weaponNumber]._y = _root.hitWallY;
_root["bullet" + _parent.weaponNumber].bulletHit.play();
}
_root.flashlight.light.gotoAndPlay(2);
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
Symbol 487 MovieClip Frame 6
if (_root["rapidFire" + _parent.weaponNumber] == "true") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 487 MovieClip Frame 7
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 487 MovieClip Frame 34
_parent.reload.call(_parent.reload);
Symbol 495 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 495 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 495 MovieClip Frame 3
_root.explosion.n = _root.explosion.n + 1;
n = _root.explosion.n;
duplicateMovieClip (_root.explosion.explosion, "explosion" + n, n);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root.explosion["explosion" + n]._x = _root.crosshair._x;
_root.explosion["explosion" + n]._y = _root.crosshair._y;
_root.explosion["explosion" + n].number = _parent.weaponNumber;
} else {
_root.explosion["explosion" + n]._x = _root.hitWallX;
_root.explosion["explosion" + n]._y = _root.hitWallY;
_root.explosion["explosion" + n].number = _parent.weaponNumber;
}
_root.flashlight.light.play();
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair.crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
Symbol 495 MovieClip Frame 10
_root.explosion["explosion" + n].play();
Symbol 495 MovieClip Frame 15
gotoAndStop (1);
Symbol 495 MovieClip Frame 16
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 495 MovieClip Frame 54
_parent.reload.call(_parent.reload);
Symbol 501 MovieClip Frame 1
stop();
_root["varSHOOTING" + _parent.weaponNumber] = "false";
_root.varRELOADING = "false";
Symbol 501 MovieClip Frame 2
if (_root[(weapon + "AMMO") + _parent.weaponNumber] <= 0) {
gotoAndPlay ("reload");
}
Symbol 501 MovieClip Frame 3
_root.explosion.n = _root.explosion.n + 1;
n = _root.explosion.n;
duplicateMovieClip (_root.explosion.explosion, "explosion" + n, n);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root.explosion["explosion" + n]._x = _root.crosshair._x;
_root.explosion["explosion" + n]._y = _root.crosshair._y;
_root.explosion["explosion" + n].number = _parent.weaponNumber;
} else {
_root.explosion["explosion" + n]._x = _root.hitWallX;
_root.explosion["explosion" + n]._y = _root.hitWallY;
_root.explosion["explosion" + n].number = _parent.weaponNumber;
}
_root.HUD.flashlight.flashlight.darkness.play();
_root[(weapon + "AMMO") + _parent.weaponNumber] = _root[(weapon + "AMMO") + _parent.weaponNumber] - 1;
_root.crosshair.crosshair.play();
_root["varSHOOTING" + _parent.weaponNumber] = "true";
_root.crosshair["crosshair" + _parent.weaponNumber].crosshair.play();
Symbol 501 MovieClip Frame 10
_root.explosion["explosion" + n].play();
Symbol 501 MovieClip Frame 15
gotoAndStop (1);
Symbol 501 MovieClip Frame 16
if ((_root[(weapon + "AMMO") + _parent.weaponNumber] < _root[weapon + "MAX"]) && (_root[weaponType + "INV"] > 0)) {
_root["varRELOADING" + _parent.weaponNumber] = "true";
} else {
gotoAndStop (1);
}
Symbol 501 MovieClip Frame 54
_parent.reload.call(_parent.reload);
Symbol 502 MovieClip Frame 1
function bulletHole(bulletHole) {
if (_root.varBULLETEFFECTS == "ON") {
_root.bulletLevel.t = _root.bulletLevel.t + 1;
Tn = _root.bulletLevel.t;
if (_root.bulletLevel.t > 10) {
_root.bulletLevel.t = 1;
}
_root.bulletLevel["timer" + Tn] = 2;
var _local3 = range - random(range * 2);
var _local2 = range - random(range * 2);
if (weaponNumber == 1) {
var _local6 = (Math.sin((_root.character._rotation + 180) * (Math.PI/180)) * 10) + (Math.sin((_root.character._rotation + 90) * (Math.PI/180)) * 30);
var _local5 = (Math.cos((_root.character._rotation + 180) * (Math.PI/180)) * -10) + (Math.cos((_root.character._rotation + 90) * (Math.PI/180)) * -30);
} else {
var _local6 = (Math.sin(_root.character._rotation * (Math.PI/180)) * 10) + (Math.sin((_root.character._rotation + 90) * (Math.PI/180)) * 30);
var _local5 = (Math.cos(_root.character._rotation * (Math.PI/180)) * -10) + (Math.cos((_root.character._rotation + 90) * (Math.PI/180)) * -30);
}
_root.bulletLevel.createEmptyMovieClip("bulletTrail" + Tn, 200 + Tn);
_root.bulletLevel["bulletTrail" + Tn].moveTo(_root.character._x + _local6, _root.character._y + _local5);
_root.bulletLevel["bulletTrail" + Tn].lineStyle(1, 16776960, 100);
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root.bulletLevel["bulletTrail" + Tn].lineTo(_root.crosshair._x + _local3, _root.crosshair._y + _local2);
} else {
_root.bulletLevel["bulletTrail" + Tn].lineTo(_root.hitWallX + _local3, _root.hitWallY + _local2);
}
if ((!_root.enemies.hitTest(_root.crosshair._x, _root.crosshair._y, true)) && (!_root.car.car.hitTest(_root.crosshair._x, _root.crosshair._y, true))) {
if (!lineOfSight(_root.character, _root.crosshair, 50)) {
_root.bulletLevel.n = _root.bulletLevel.n + 1;
duplicateMovieClip (_root.bulletLevel.bulletHole, "bulletHole" + _root.bulletLevel.n, _root.bulletLevel.n);
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._rotation = _root.character._rotation;
var _local4 = 50 + random(50);
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._xscale = size + _local4;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._yscale = size + _local4;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._x = _root.crosshair._x + _local3;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._y = _root.crosshair._y + _local2;
} else {
_root.bulletLevel.n = _root.bulletLevel.n + 1;
duplicateMovieClip (_root.bulletLevel.bulletHole, "bulletHole" + _root.bulletLevel.n, _root.bulletLevel.n);
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._rotation = _root.character._rotation + 180;
var _local4 = 50 + random(50);
_root.bulletLevel["bulletHole" + _root.bulletLevel.n].mark._alpha = 0;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._xscale = size + _local4;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._yscale = size + _local4;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._x = _root.hitWallX;
_root.bulletLevel["bulletHole" + _root.bulletLevel.n]._y = _root.hitWallY;
}
}
}
}
function reload(reload) {
var _local2 = _root[gun.weapon + "MAX"] - _root[(gun.weapon + "AMMO") + weaponNumber];
if (_root[gun.weaponType + "INV"] > _local2) {
_root[(gun.weapon + "AMMO") + weaponNumber] = _root[gun.weapon + "MAX"];
_root[gun.weaponType + "INV"] = _root[gun.weaponType + "INV"] - _local2;
} else {
_root[(gun.weapon + "AMMO") + weaponNumber] = _root[(gun.weapon + "AMMO") + weaponNumber] + _root[gun.weaponType + "INV"];
_root[gun.weaponType + "INV"] = 0;
}
_root["varRELOADING" + weaponNumber] = "false";
}
if (weaponNumber == 1) {
arm = "primary";
} else {
arm = "secondary";
}
gotoAndStop ("lastFrame");
Symbol 502 MovieClip Frame 2
stop();
Instance of Symbol 420 MovieClip "gun" in Symbol 502 MovieClip Frame 2
onClipEvent (load) {
_root.crosshair["crosshair" + _parent.weaponNumber].gotoAndStop(weapon);
weaponType = "melee";
}
onClipEvent (enterFrame) {
gotoAndStop(_root["varMELEE" + _parent.weaponNumber]);
}
Symbol 502 MovieClip Frame 3
var range = 5;
var size = 0;
stop();
Instance of Symbol 427 MovieClip "gun" in Symbol 502 MovieClip Frame 3
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 5;
weapon = "N1911";
weaponType = "pistol";
}
Symbol 502 MovieClip Frame 4
var range = 5;
var size = 40;
stop();
Instance of Symbol 430 MovieClip "gun" in Symbol 502 MovieClip Frame 4
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 12;
weapon = "P262";
weaponType = "pistol";
}
Symbol 502 MovieClip Frame 5
var range = 5;
var size = 75;
stop();
Instance of Symbol 433 MovieClip "gun" in Symbol 502 MovieClip Frame 5
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 20;
weapon = "L17";
weaponType = "pistol";
}
Symbol 502 MovieClip Frame 6
var range = 15;
var size = 0;
stop();
Instance of Symbol 438 MovieClip "gun" in Symbol 502 MovieClip Frame 6
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 4;
weapon = "T85";
weaponType = "smg";
}
Symbol 502 MovieClip Frame 7
var range = 15;
var size = 25;
stop();
Instance of Symbol 441 MovieClip "gun" in Symbol 502 MovieClip Frame 7
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 10;
weapon = "MKP5";
weaponType = "smg";
}
Symbol 502 MovieClip Frame 8
var range = 15;
var size = 50;
stop();
Instance of Symbol 444 MovieClip "gun" in Symbol 502 MovieClip Frame 8
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 18;
weapon = "P09";
weaponType = "smg";
}
Symbol 502 MovieClip Frame 9
var range = 25;
var size = 10;
stop();
Instance of Symbol 449 MovieClip "gun" in Symbol 502 MovieClip Frame 9
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 20;
weapon = "A003";
weaponType = "shotgun";
}
Symbol 502 MovieClip Frame 10
var range = 30;
var size = 25;
stop();
Instance of Symbol 452 MovieClip "gun" in Symbol 502 MovieClip Frame 10
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 40;
weapon = "PEZ";
weaponType = "shotgun";
}
Symbol 502 MovieClip Frame 11
var range = 30;
var size = 40;
stop();
Instance of Symbol 455 MovieClip "gun" in Symbol 502 MovieClip Frame 11
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 75;
weapon = "DOA12";
weaponType = "shotgun";
}
Symbol 502 MovieClip Frame 12
stop();
Instance of Symbol 466 MovieClip "gun" in Symbol 502 MovieClip Frame 12
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 100;
weapon = "D142";
weaponType = "shotgun";
}
Instance of Symbol 468 MovieClip "Bullet" in Symbol 502 MovieClip Frame 12
onClipEvent (load) {
death = "decapitated";
}
Symbol 502 MovieClip Frame 13
stop();
Instance of Symbol 473 MovieClip "gun" in Symbol 502 MovieClip Frame 13
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 50;
weapon = "GS2000";
weaponType = "rifle";
}
Instance of Symbol 474 MovieClip "Bullet" in Symbol 502 MovieClip Frame 13
onClipEvent (load) {
death = "dead";
}
Symbol 502 MovieClip Frame 14
stop();
Instance of Symbol 477 MovieClip "gun" in Symbol 502 MovieClip Frame 14
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 100;
weapon = "GS3000";
weaponType = "rifle";
}
Symbol 502 MovieClip Frame 15
var range = 15;
var size = 20;
stop();
Instance of Symbol 481 MovieClip "gun" in Symbol 502 MovieClip Frame 15
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 20;
weapon = "G36";
weaponType = "autorifle";
}
Symbol 502 MovieClip Frame 16
var range = 15;
var size = 40;
stop();
Instance of Symbol 484 MovieClip "gun" in Symbol 502 MovieClip Frame 16
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 35;
weapon = "G11";
weaponType = "autorifle";
}
Symbol 502 MovieClip Frame 17
var range = 15;
var size = 60;
stop();
Instance of Symbol 487 MovieClip "gun" in Symbol 502 MovieClip Frame 17
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 50;
weapon = "XM8";
weaponType = "autorifle";
}
Symbol 502 MovieClip Frame 18
stop();
Instance of Symbol 495 MovieClip "gun" in Symbol 502 MovieClip Frame 18
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 250;
weapon = "M9";
weaponType = "rocket";
}
Symbol 502 MovieClip Frame 19
stop();
Instance of Symbol 501 MovieClip "gun" in Symbol 502 MovieClip Frame 19
onClipEvent (enterFrame) {
_root["varDAMAGE" + _parent.weaponNumber] = 250;
weapon = "LAWL80";
weaponType = "rocket";
}
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 2
stop();
Symbol 511 MovieClip Frame 3
stop();
Symbol 511 MovieClip Frame 4
stop();
Symbol 511 MovieClip Frame 5
stop();
Symbol 511 MovieClip Frame 6
stop();
Symbol 511 MovieClip Frame 7
stop();
Symbol 511 MovieClip Frame 8
stop();
Symbol 512 MovieClip Frame 1
function onEnterFrame() {
if (_root.defending == "false") {
if (_root.varINCAR == "false") {
if (_root.survival == "false") {
_root._x = (-_x) + 250;
_root._y = (-_y) + 250;
} else {
_root._x = (-_root.survivalX) + 250;
_root._y = (-_root.survivalY) + 250;
}
} else {
_root._x = ((-_root.car._x) + 250) - (_root.car.xSpeed * 4);
_root._y = ((-_root.car._y) + 250) - (_root.car.ySpeed * 4);
_x = _root.car._x;
_y = _root.car._y;
}
} else {
_root._x = (-_root.objectiveX) + 250;
_root._y = (-_root.objectiveY) + 250;
}
if (n > _root.varMAXHOLES) {
_root.n = 1;
}
var _local2 = _root._ymouse - _y;
var _local3 = _root._xmouse - _x;
_rotation = (Math.atan2(_local2, _local3) * _root.varRAD);
if ((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) {
if (_root.defending == "true") {
if (((Key.isDown(_root.keyLEFT) && (!_root.streets.hit.hitTest(_x - (moveSpeed * 2), _y, true))) && (!_root.car.hit.hitTest(_x - (moveSpeed * 2), _y, true))) && (_x > (_root.objectiveX - 230))) {
_x = (_x - moveSpeed);
}
if (((Key.isDown(_root.keyDOWN) && (!_root.streets.hit.hitTest(_x, _y + (moveSpeed * 2), true))) && (!_root.car.hit.hitTest(_x, _y + (moveSpeed * 2), true))) && (_y < (_root.objectiveY + 230))) {
_y = (_y + moveSpeed);
}
if (((Key.isDown(_root.keyRIGHT) && (!_root.streets.hit.hitTest(_x + (moveSpeed * 2), _y, true))) && (!_root.car.hit.hitTest(_x + (moveSpeed * 2), _y, true))) && (_x < (_root.objectiveX + 230))) {
_x = (_x + moveSpeed);
}
if (((Key.isDown(_root.keyUP) && (!_root.streets.hit.hitTest(_x, _y - (moveSpeed * 2), true))) && (!_root.car.hit.hitTest(_x, _y - (moveSpeed * 2), true))) && (_y > (_root.objectiveY - 230))) {
_y = (_y - moveSpeed);
}
} else if (_root.survival == "false") {
if ((Key.isDown(_root.keyLEFT) && (!_root.streets.hit.hitTest(_x - (moveSpeed * 2), _y, true))) && (!_root.car.hit.hitTest(_x - (moveSpeed * 2), _y, true))) {
_x = (_x - moveSpeed);
}
if ((Key.isDown(_root.keyDOWN) && (!_root.streets.hit.hitTest(_x, _y + (moveSpeed * 2), true))) && (!_root.car.hit.hitTest(_x, _y + (moveSpeed * 2), true))) {
_y = (_y + moveSpeed);
}
if ((Key.isDown(_root.keyRIGHT) && (!_root.streets.hit.hitTest(_x + (moveSpeed * 2), _y, true))) && (!_root.car.hit.hitTest(_x + (moveSpeed * 2), _y, true))) {
_x = (_x + moveSpeed);
}
if ((Key.isDown(_root.keyUP) && (!_root.streets.hit.hitTest(_x, _y - (moveSpeed * 2), true))) && (!_root.car.hit.hitTest(_x, _y - (moveSpeed * 2), true))) {
_y = (_y - moveSpeed);
}
} else {
if ((Key.isDown(_root.keyLEFT) && (!_root.streets.hit.hitTest(_x - (moveSpeed * 2), _y, true))) && (_x > (_root.survivalX - 230))) {
_x = (_x - moveSpeed);
}
if ((Key.isDown(_root.keyDOWN) && (!_root.streets.hit.hitTest(_x, _y + (moveSpeed * 2), true))) && (_y < (_root.survivalY + 230))) {
_y = (_y + moveSpeed);
}
if ((Key.isDown(_root.keyRIGHT) && (!_root.streets.hit.hitTest(_x + (moveSpeed * 2), _y, true))) && (_x < (_root.survivalX + 230))) {
_x = (_x + moveSpeed);
}
if ((Key.isDown(_root.keyUP) && (!_root.streets.hit.hitTest(_x, _y - (moveSpeed * 2), true))) && (_y > (_root.survivalY - 230))) {
_y = (_y - moveSpeed);
}
}
}
if (_root.varPURCHASE == "true") {
_root.rapidFire1 = "false";
_root.rapidFire2 = "false";
}
if (((_root.varINCAR == "false") && (_root.varRELOADING2 == "false")) && (_root.varPURCHASE == "false")) {
if (Key.isDown(_root.keyBREAK)) {
_root.rapidFire2 = "true";
if (firing2 == "false") {
if (secondary.gun.weaponType == "melee") {
secondary.gun.arm.play();
} else {
secondary.gun.play();
}
firing2 = "true";
}
} else {
_root.rapidFire2 = "false";
firing2 = "false";
}
}
}
var moveSpeed = 4;
firing2 = "false";
Instance of Symbol 390 MovieClip "legs" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((Key.isDown(_root.keyUP) || (Key.isDown(_root.keyRIGHT))) || (Key.isDown(_root.keyLEFT))) || (Key.isDown(_root.keyDOWN))) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 502 MovieClip "primary" in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
var weaponNumber = 1;
gotoAndStop ("N1911");
}
onClipEvent (enterFrame) {
_root.crosshair["crosshair" + weaponNumber].gotoAndStop(gun.weapon);
}
Instance of Symbol 502 MovieClip "secondary" in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
var weaponNumber = 2;
}
onClipEvent (enterFrame) {
_root.crosshair["crosshair" + weaponNumber].gotoAndStop(gun.weapon);
}
Instance of Symbol 511 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.varARMOR);
}
Symbol 527 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 527 MovieClip Frame 4
_parent.attacking = "false";
Symbol 527 MovieClip Frame 7
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 527 MovieClip Frame 13
gotoAndPlay (1);
Symbol 530 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 530 MovieClip Frame 9
_parent.varHITTING = "true";
Symbol 530 MovieClip Frame 11
_parent.varHITTING = "false";
Symbol 530 MovieClip Frame 23
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 533 MovieClip Frame 1
stop();
Symbol 533 MovieClip Frame 2
stop();
Symbol 533 MovieClip Frame 3
stop();
Symbol 537 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 533 MovieClip "die" in Symbol 537 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 2);
}
Symbol 537 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 541 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 533 MovieClip "die" in Symbol 541 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 2);
}
Symbol 541 MovieClip Frame 33
_parent.disappear = "true";
stop();
Symbol 545 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 533 MovieClip "die" in Symbol 545 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 2);
}
Symbol 545 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 553 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 553 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 559 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 559 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 560 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.malCounter1 = _root.malCounter1 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if ((((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) && (varHITTING == "true")) {
_root.varHEALTH = _root.varHEALTH - damage;
_root.character.blood._rotation = (_rotation - _root.character._rotation) + 180;
_root.character.blood.play();
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 527 MovieClip "zombie" in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 560 MovieClip Frame 2
stop();
attacking = "true";
Symbol 560 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 560 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 560 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 560 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 560 MovieClip Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 560 MovieClip Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.malCounter1 = _root.malCounter1 - 1;
_root.kills = _root.kills + 1;
_root.malformed = _root.malformed + 1;
if (_root.survival == "true") {
dropHealth = random(50);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo4", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 569 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 569 MovieClip Frame 3
_parent.attacking = "false";
Symbol 569 MovieClip Frame 12
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 569 MovieClip Frame 23
gotoAndPlay (1);
Symbol 570 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 570 MovieClip Frame 13
_parent.varHITTING = "true";
Symbol 570 MovieClip Frame 15
_parent.varHITTING = "false";
Symbol 570 MovieClip Frame 31
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 578 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 578 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 578 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 582 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 582 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 582 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 586 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 586 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 586 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 591 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 591 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 597 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 597 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 598 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.zomCounter1 = _root.zomCounter1 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if ((((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) && (varHITTING == "true")) {
_root.varHEALTH = _root.varHEALTH - damage;
_root.character.blood._rotation = (_rotation - _root.character._rotation) + 180;
_root.character.blood.play();
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 569 MovieClip "zombie" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 598 MovieClip Frame 2
stop();
attacking = "true";
Symbol 598 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 598 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 598 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 598 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 598 MovieClip Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 598 MovieClip Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.zomCounter1 = _root.zomCounter1 - 1;
_root.kills = _root.kills + 1;
_root.wZombie = _root.wZombie + 1;
if (_root.survival == "true") {
dropHealth = random(100);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
ammoType = random(6) + 1;
_root.ammoDrop.attachMovie("ammo" + ammoType, "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 613 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 613 MovieClip Frame 4
_parent.attacking = "false";
Symbol 613 MovieClip Frame 7
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 613 MovieClip Frame 13
gotoAndPlay (1);
Symbol 616 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 616 MovieClip Frame 9
_parent.varHITTING = "true";
Symbol 616 MovieClip Frame 11
_parent.varHITTING = "false";
Symbol 616 MovieClip Frame 23
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 620 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 533 MovieClip "die" in Symbol 620 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 2);
}
Symbol 620 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 624 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 533 MovieClip "die" in Symbol 624 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 2);
}
Symbol 624 MovieClip Frame 33
_parent.disappear = "true";
stop();
Symbol 628 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 533 MovieClip "die" in Symbol 628 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 2);
}
Symbol 628 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 634 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 634 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 640 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 640 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 641 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.malCounter1 = _root.malCounter1 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - (_width / 2)) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - (_height / 2)) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if ((((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) && (varHITTING == "true")) {
_root.varHEALTH = _root.varHEALTH - damage;
_root.character.blood._rotation = (_rotation - _root.character._rotation) + 180;
_root.character.blood.play();
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 613 MovieClip "zombie" in Symbol 641 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 641 MovieClip Frame 2
stop();
attacking = "true";
Symbol 641 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 641 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 641 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 641 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 641 MovieClip Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 641 MovieClip Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.malCounter1 = _root.malCounter1 - 1;
_root.kills = _root.kills + 1;
_root.bMalformed = _root.bMalformed + 1;
if (_root.survival == "true") {
dropHealth = random(50);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo5", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 648 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 648 MovieClip Frame 3
_parent.attacking = "false";
Symbol 648 MovieClip Frame 12
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 648 MovieClip Frame 23
gotoAndPlay (1);
Symbol 649 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 649 MovieClip Frame 8
shot = random(2);
if (shot == 0) {
_root.varHEALTH = _root.varHEALTH - _parent.damage;
_root.character.blood._rotation = _rotation - _root.character._rotation;
_root.character.blood.play();
}
Symbol 649 MovieClip Frame 32
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 655 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 655 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 655 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 659 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 659 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 659 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 663 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 663 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 663 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 669 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 669 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 675 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 675 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 676 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.zomCounter2 = _root.zomCounter2 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + _width) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - _width) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + _height) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - _height) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 648 MovieClip "zombie" in Symbol 676 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 676 MovieClip Frame 2
stop();
attacking = "true";
Symbol 676 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 676 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 676 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 676 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 676 MovieClip Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 676 MovieClip Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.zomCounter2 = _root.zomCounter2 - 1;
_root.kills = _root.kills + 1;
_root.pZombie = _root.pZombie + 1;
if (_root.survival == "true") {
dropHealth = random(100);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo1", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 680 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 680 MovieClip Frame 3
_parent.attacking = "false";
Symbol 680 MovieClip Frame 12
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 680 MovieClip Frame 23
gotoAndPlay (1);
Symbol 681 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 681 MovieClip Frame 11
shot = random(2);
if (shot == 0) {
_root.varHEALTH = _root.varHEALTH - _parent.damage;
_root.character.blood._rotation = _rotation - _root.character._rotation;
_root.character.blood.play();
}
Symbol 681 MovieClip Frame 15
shot = random(3);
if (shot == 0) {
_root.varHEALTH = _root.varHEALTH - _parent.damage;
_root.character.blood._rotation = _rotation - _root.character._rotation;
_root.character.blood.play();
}
Symbol 681 MovieClip Frame 19
shot = random(3);
if (shot == 0) {
_root.varHEALTH = _root.varHEALTH - _parent.damage;
_root.character.blood._rotation = _rotation - _root.character._rotation;
_root.character.blood.play();
}
Symbol 681 MovieClip Frame 30
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 685 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 685 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 685 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 689 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 689 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 689 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 694 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 694 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 700 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 700 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 701 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.zomCounter2 = _root.zomCounter2 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + _width) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - _width) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + _height) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - _height) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 680 MovieClip "zombie" in Symbol 701 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 701 MovieClip Frame 2
stop();
attacking = "true";
Symbol 701 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 701 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 701 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 701 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 701 MovieClip Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 701 MovieClip Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.zomCounter2 = _root.zomCounter2 - 1;
_root.kills = _root.kills + 1;
_root.aZombie = _root.aZombie + 1;
if (_root.survival == "true") {
dropHealth = random(50);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo4", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 704 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 704 MovieClip Frame 3
_parent.attacking = "false";
Symbol 704 MovieClip Frame 12
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 704 MovieClip Frame 23
gotoAndPlay (1);
Symbol 705 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 705 MovieClip Frame 16
_root.enemyExplosion.e = _root.enemyExplosion.e + 1;
n = _root.enemyExplosion.e;
_root.enemyExplosion.attachMovie("explosion", "explosion" + e, e, {_x:(_root.character._x - 25) + random(50), _y:(_root.character._y - 5) + random(50)});
Symbol 705 MovieClip Frame 42
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 709 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 709 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 709 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 713 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Instance of Symbol 68 MovieClip "die" in Symbol 713 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(random(10) + 1);
}
Symbol 713 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 719 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 1.5);
_root.decap = _root.decap + 1;
Symbol 719 MovieClip Frame 29
_parent.disappear = "true";
stop();
Symbol 725 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 725 MovieClip Frame 41
_parent.disappear = "true";
stop();
Symbol 726 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.zomCounter2 = _root.zomCounter2 - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || (_root.car.speed < -6)) {
gotoAndStop ("splatter");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
var _local4 = Math.cos(_rotation * (Math.PI/180)) * moveSpeed;
var _local3 = Math.sin(_rotation * (Math.PI/180)) * moveSpeed;
if (_local4 > 0) {
if (((!_root.streets.hit.hitTest(_x + (_width / 3), _y, true)) && (!_root.car.hitTest(_x + (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x + _width) + _local4, _y, true))) {
_x = (_x + _local4);
}
} else if (((!_root.streets.hit.hitTest(_x - (_width / 3), _y, true)) && (!_root.car.hitTest(_x - (_width / 3), _y, true))) && (!_root.enemies.hitTest((_x - _width) + _local4, _y, true))) {
_x = (_x + _local4);
}
if (_local3 > 0) {
if (((!_root.streets.hit.hitTest(_x, _y + (_height / 3), true)) && (!_root.car.hitTest(_x, _y + (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y + _height) + _local3, true))) {
_y = (_y + _local3);
}
} else if (((!_root.streets.hit.hitTest(_x, _y - (_height / 3), true)) && (!_root.car.hitTest(_x, _y - (_height / 3), true))) && (!_root.enemies.hitTest(_x, (_y - _height) + _local3, true))) {
_y = (_y + _local3);
}
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 704 MovieClip "zombie" in Symbol 726 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 726 MovieClip Frame 2
stop();
attacking = "true";
Symbol 726 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 726 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 726 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 726 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 726 MovieClip Frame 7
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_global.alerted = "false";
Symbol 726 MovieClip Frame 8
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.zomCounter2 = _root.zomCounter2 - 1;
_root.kills = _root.kills + 1;
_root.rZombie = _root.rZombie + 1;
if (_root.survival == "true") {
dropHealth = random(50);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo6", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 734 MovieClip Frame 1
_parent.varHITTING = "false";
Symbol 734 MovieClip Frame 2
_parent.attacking = "false";
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 2
play();
_global.alerted = "true";
_global.alertX = _parent._x;
_global.alertX = _parent._y;
Symbol 739 MovieClip Frame 3
play();
Symbol 739 MovieClip Frame 5
_global.alerted = "false";
Symbol 751 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 751 MovieClip Frame 2
_parent.varHITTING = "true";
Symbol 751 MovieClip Frame 3
_parent.varHITTING = "false";
Symbol 751 MovieClip Frame 19
_parent.varHITTING = "false";
Symbol 751 MovieClip Frame 20
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 765 MovieClip Frame 1
_parent.walkSpeed = 0;
removeMovieClip(_root.level.hit[_parent.tag]);
Symbol 765 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
_global.varMONEY = _global.varMONEY + _parent.bounty;
_global.totalMONEY = _global.totalMONEY + _parent.bounty;
_global.enemyTOTAL = _global.enemyTOTAL + 1;
_global.enemyCROWS = _global.enemyCROWS + 1;
Symbol 765 MovieClip Frame 40
_parent.disappear = "true";
stop();
stop();
Symbol 777 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 777 MovieClip Frame 40
_parent.disappear = "true";
stop();
Symbol 778 MovieClip Frame 1
_parent.removeMovieClip();
Symbol 779 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.crowCounter = _root.crowCounter - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || ((_root.car.speed < -6) && (attacking == "false"))) {
gotoAndStop ("explode");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
_x = (_x - ((_x - _root.character._x) / flySpeed));
_y = (_y - ((_y - _root.character._y) / flySpeed));
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if ((((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) && (varHITTING == "true")) {
_root.varHEALTH = _root.varHEALTH - damage;
_root.character.blood._rotation = (_rotation - _root.character._rotation) + 180;
_root.character.blood.play();
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 734 MovieClip "zombie" in Symbol 779 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 779 MovieClip Frame 2
stop();
Symbol 779 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 779 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 779 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 779 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.crowCounter = _root.crowCounter - 1;
_root.kills = _root.kills + 1;
_root.crow = _root.crow + 1;
if (_root.survival == "true") {
dropHealth = random(100);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo1", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 788 MovieClip Frame 1
_parent.moveSpeed = _parent.initWalkSpeed;
_parent.varHITTING = "false";
Symbol 788 MovieClip Frame 2
_parent.attacking = "false";
Symbol 788 MovieClip Frame 3
_parent.moveSpeed = _parent.initWalkSpeed;
Symbol 788 MovieClip Frame 6
gotoAndPlay (1);
Symbol 796 MovieClip Frame 1
_parent.moveSpeed = 0;
_parent.varHITTING = "false";
Symbol 796 MovieClip Frame 3
_parent.varHITTING = "true";
Symbol 796 MovieClip Frame 4
_parent.varHITTING = "false";
Symbol 796 MovieClip Frame 14
_parent.varHITTING = "false";
Symbol 796 MovieClip Frame 15
_parent.gotoAndStop("walk");
gotoAndPlay (1);
Symbol 798 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + _parent.bounty;
Symbol 798 MovieClip Frame 34
_parent.disappear = "true";
stop();
Symbol 805 MovieClip Frame 2
_root.varMONEY = _root.varMONEY + (_parent.bounty * 2);
_root.dismember = _root.dismember + 1;
Symbol 805 MovieClip Frame 13
_parent.disappear = "true";
stop();
Symbol 806 MovieClip Frame 1
stop();
attacking = "false";
function onEnterFrame() {
if (_root.varPURCHASE == "true") {
this.removeMovieClip();
}
if ((((Math.abs(_root.character._x - _x) > 500) || (Math.abs(_root.character._y - _y) > 500)) && (_root.defending == "false")) && (getDepth() > 0)) {
_root.crowCounter = _root.crowCounter - 1;
this.removeMovieClip();
}
if ((dead == "false") && (_x > -1000000)) {
if (_root.car.hitTest(_x, _y, true)) {
if ((_root.car.speed > 6) || ((_root.car.speed < -6) && (attacking == "false"))) {
gotoAndStop ("explode");
life = 0;
dead = "true";
attacking = "false";
varHITTING = "false";
} else if ((_root.car.speed > 1) || (_root.car.speed < -1)) {
_x = (_x + _root.car.xSpeed);
_y = (_y + _root.car.ySpeed);
}
}
_rotation = (Math.atan2(_root.character._y - _y, _root.character._x - _x) * 57.2957795130823);
_x = (_x - ((_x - _root.character._x) / flySpeed));
_y = (_y - ((_y - _root.character._y) / flySpeed));
if (_root.varINCAR == "false") {
if ((attackDistance >= Math.abs(_x - _root.character._x)) && (attackDistance >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
} else if (((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) {
gotoAndStop ("attack");
}
if ((((attackDistance * 2) >= Math.abs(_x - _root.character._x)) && ((attackDistance * 2) >= Math.abs(_y - _root.character._y))) && (varHITTING == "true")) {
_root.varHEALTH = _root.varHEALTH - damage;
_root.character.blood._rotation = (_rotation - _root.character._rotation) + 180;
_root.character.blood.play();
}
if (_root.character.secondary.gun.arm.melee.hitTest(_x, _y, true)) {
blood.gotoAndPlay(2);
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
}
if (_root.explosion.hit1.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit1._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (_root.explosion.hit2.hitTest(_x, _y, true)) {
_rotation = (Math.atan2(_root.overhang.explosion.hit2._y - _y, _root.overhang.explosion1._x - _x) * 57.2957795130823);
gotoAndStop ("explode");
}
if (this.hitTest(_root.bullet1)) {
life = life - (_root.varDAMAGE1 + random(_root.varDAMAGE1));
blood.gotoAndPlay(2);
}
if (this.hitTest(_root.bullet2)) {
life = life - (_root.varDAMAGE2 + random(_root.varDAMAGE2));
blood.gotoAndPlay(2);
}
if (_root.character.primary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (_root.character.secondary.Bullet.hitTest(_x, _y, true)) {
gotoAndStop ("decapitated");
}
if (life <= 0) {
gotoAndStop ("dead");
}
}
if (disappear == "true") {
gotoAndStop ("disappear");
}
}
Instance of Symbol 788 MovieClip "zombie" in Symbol 806 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dead == "true") {
_parent.gotoAndStop("dead");
}
}
Symbol 806 MovieClip Frame 2
stop();
attacking = "true";
Symbol 806 MovieClip Frame 3
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 806 MovieClip Frame 4
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 806 MovieClip Frame 5
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
Symbol 806 MovieClip Frame 6
stop();
dead = "true";
attacking = "false";
varHITTING = "false";
_root.crowCounter = _root.crowCounter - 1;
_root.kills = _root.kills + 1;
_root.bat = _root.bat + 1;
if (_root.survival == "true") {
dropHealth = random(100);
if (dropHealth == 0) {
_root.ammoDrop.attachMovie("health", "ammo" + n, n, {_x:_x, _y:_y});
} else {
dropChance = random(3);
if (dropChance == 0) {
_root.ammoDrop.n = _root.ammoDrop.n + 1;
n = _root.ammoDrop.n;
_root.ammoDrop.attachMovie("ammo2", "ammo" + n, n, {_x:_x, _y:_y});
}
}
}
Symbol 807 MovieClip Frame 1
function onEnterFrame() {
_root.garage.debug.Ztimer = Ztimer;
_root.garage.debug.Mtimer = Mtimer;
_root.garage.debug.Ptimer = Ptimer;
_root.garage.debug.Ctimer = Ctimer;
if (_root.varPURCHASE == "true") {
_root.zomCounter1 = 0;
_root.zomCounter2 = 0;
_root.malCounter1 = 0;
_root.crowCounter = 0;
}
if (_root.defending == "false") {
if ((_root.varPURCHASE == "false") && (_root.LEVEL > 0)) {
if (_root.crowCounter <= (_root.LEVEL / 4)) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Ctimer = Ctimer - (1 + (_root.LEVEL / 2));
var _local3 = 275;
var _local5 = _root.character._x;
var _local4 = _root.character._y;
} else {
Ctimer = Ctimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Ctimer = Ctimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Ctimer <= 0) {
n = n + 1;
if (_root.Time == "day") {
duplicateMovieClip (crow, "zombie" + n, n);
} else {
var _local10 = random(2);
if (_local10 == 1) {
duplicateMovieClip (crow, "zombie" + n, n);
} else {
duplicateMovieClip (bat, "zombie" + n, n);
}
}
var _local7 = random(4);
if (_local7 == 0) {
this["zombie" + n]._x = (_local5 - _local3) + random(_local3 * 2);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local7 == 1) {
this["zombie" + n]._y = (_local4 - _local3) + random(_local3 * 2);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local7 == 2) {
this["zombie" + n]._x = (_local5 - _local3) + random(_local3 * 2);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local7 == 3) {
this["zombie" + n]._y = (_local4 - _local3) + random(_local3 * 2);
this["zombie" + n]._x = _local5 - _local3;
}
Ctimer = random(Cmax);
}
if (_root.varPURCHASE == "false") {
if (_root.zomCounter1 < (4 + _root.LEVEL)) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Ztimer = Ztimer - (1 + (_root.LEVEL / 2));
var _local5 = _root.character._x;
var _local4 = _root.character._y;
if (_root.varINCAR == "false") {
var _local3 = 275;
} else {
var _local3 = 400;
}
} else {
Ztimer = Ztimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Ztimer = Ztimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Ztimer <= 0) {
n = n + 1;
if (_root.LEVEL < 3) {
duplicateMovieClip (zombie, "zombie" + n, n);
} else {
var _local12 = random(2);
if (_local12 == 1) {
duplicateMovieClip (tanZombie, "zombie" + n, n);
} else {
duplicateMovieClip (zombie, "zombie" + n, n);
}
}
if ((_root.varINCAR == "false") || ((_root.varINCAR == "true") && (_root.car.speed < 4))) {
var _local13 = random(4);
if (_local13 == 0) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local13 == 1) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local13 == 2) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local13 == 3) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 - _local3;
}
} else {
var _local13 = random(4);
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed < 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 - _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed > 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 + _local3;
}
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed > 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 + _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed < 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 - _local3;
}
}
Ztimer = Zmax + random(Zmax);
}
if (_root.varPURCHASE == "false") {
if ((_root.malCounter1 < (_root.LEVEL / 2)) && (_root.Time == "night")) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Mtimer = Mtimer - _root.LEVEL;
var _local5 = _root.character._x;
var _local4 = _root.character._y;
if (_root.varINCAR == "false") {
var _local3 = 275;
} else {
var _local3 = 400;
}
} else {
Mtimer = Mtimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Mtimer = Mtimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Mtimer <= 0) {
n = n + 1;
if (_root.LEVEL < 4) {
duplicateMovieClip (malformed, "zombie" + n, n);
} else {
var _local11 = random(2);
if (_local11 == 1) {
duplicateMovieClip (malformed, "zombie" + n, n);
} else {
duplicateMovieClip (blackMalformed, "zombie" + n, n);
}
}
if ((_root.varINCAR == "false") || ((_root.varINCAR == "true") && (_root.car.speed < 4))) {
var _local8 = random(4);
if (_local8 == 0) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local8 == 1) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local8 == 2) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local8 == 3) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 - _local3;
}
} else {
var _local13 = random(4);
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed < 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 - _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed > 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 + _local3;
}
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed > 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 + _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed < 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 - _local3;
}
}
Mtimer = Mmax + random(Mmax);
}
if (_root.varPURCHASE == "false") {
if (_root.zomCounter2 < (_root.LEVEL - 1)) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Ptimer = Ptimer - _root.LEVEL;
var _local5 = _root.character._x;
var _local4 = _root.character._y;
if (_root.varINCAR == "false") {
var _local3 = 275;
} else {
var _local3 = 400;
}
} else {
Ptimer = Ptimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Ptimer = Ptimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Ptimer <= 0) {
n = n + 1;
if (_root.LEVEL == 2) {
duplicateMovieClip (zombiePistol, "zombie" + n, n);
}
if (_root.LEVEL == 3) {
var _local9 = random(2);
if (_local9 == 1) {
duplicateMovieClip (zombiePistol, "zombie" + n, n);
} else {
duplicateMovieClip (zombieAK, "zombie" + n, n);
}
}
if (_root.LEVEL >= 4) {
var _local9 = random(3);
if (_local9 == 0) {
duplicateMovieClip (zombiePistol, "zombie" + n, n);
}
if (_local9 == 1) {
duplicateMovieClip (zombieAK, "zombie" + n, n);
}
if (_local9 == 2) {
duplicateMovieClip (zombieRocket, "zombie" + n, n);
}
}
if ((_root.varINCAR == "false") || ((_root.varINCAR == "true") && (_root.car.speed < 4))) {
var _local6 = random(4);
if (_local6 == 0) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local6 == 1) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local6 == 2) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local6 == 3) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 - _local3;
}
} else {
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed < 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 - _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed > 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 + _local3;
}
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed > 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 + _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed < 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 - _local3;
}
}
Ptimer = Pmax + random(Pmax);
}
} else {
if (((_root.varPURCHASE == "false") && (_root.LEVEL > 0)) && (_root.defendTimer > 0)) {
if (_root.crowCounter <= (_root.LEVEL / 4)) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Ctimer = Ctimer - (1 + (_root.LEVEL / 2));
var _local3 = 275;
var _local5 = _root.character._x;
var _local4 = _root.character._y;
} else {
Ctimer = Ctimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Ctimer = Ctimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Ctimer <= 0) {
n = n + 1;
if (_root.Time == "day") {
duplicateMovieClip (crow, "zombie" + n, n);
} else {
var _local10 = random(2);
if (_local10 == 1) {
duplicateMovieClip (crow, "zombie" + n, n);
} else {
duplicateMovieClip (bat, "zombie" + n, n);
}
}
var _local7 = random(4);
if (_local7 == 0) {
this["zombie" + n]._x = (_local5 - _local3) + random(_local3 * 2);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local7 == 1) {
this["zombie" + n]._y = (_local4 - _local3) + random(_local3 * 2);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local7 == 2) {
this["zombie" + n]._x = (_local5 - _local3) + random(_local3 * 2);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local7 == 3) {
this["zombie" + n]._y = (_local4 - _local3) + random(_local3 * 2);
this["zombie" + n]._x = _local5 - _local3;
}
Ctimer = random(Cmax);
}
if ((_root.varPURCHASE == "false") && (_root.defendTimer > 0)) {
if (_root.zomCounter1 < (4 + _root.LEVEL)) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Ztimer = Ztimer - (1 + (_root.LEVEL / 2));
var _local5 = _root.character._x;
var _local4 = _root.character._y;
if (_root.varINCAR == "false") {
var _local3 = 275;
} else {
var _local3 = 400;
}
} else {
Ztimer = Ztimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Ztimer = Ztimer - (2 + _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Ztimer <= 0) {
n = n + 1;
if (_root.LEVEL < 3) {
duplicateMovieClip (zombie, "zombie" + n, n);
} else {
var _local12 = random(2);
if (_local12 == 1) {
duplicateMovieClip (tanZombie, "zombie" + n, n);
} else {
duplicateMovieClip (zombie, "zombie" + n, n);
}
}
if ((_root.varINCAR == "false") || ((_root.varINCAR == "true") && (_root.car.speed < 4))) {
var _local13 = random(4);
if (_local13 == 0) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local13 == 1) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local13 == 2) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local13 == 3) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 - _local3;
}
} else {
var _local13 = random(4);
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed < 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 - _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed > 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 + _local3;
}
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed > 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 + _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed < 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 - _local3;
}
}
Ztimer = Zmax + random(Zmax);
}
if ((_root.varPURCHASE == "false") && (_root.defendTimer > 0)) {
if ((_root.malCounter1 < (_root.LEVEL / 2)) && (_root.Time == "night")) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Mtimer = Mtimer - _root.LEVEL;
var _local5 = _root.character._x;
var _local4 = _root.character._y;
if (_root.varINCAR == "false") {
var _local3 = 275;
} else {
var _local3 = 400;
}
} else {
Mtimer = Mtimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Mtimer = Mtimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Mtimer <= 0) {
n = n + 1;
if (_root.LEVEL < 4) {
duplicateMovieClip (malformed, "zombie" + n, n);
} else {
var _local11 = random(2);
if (_local11 == 1) {
duplicateMovieClip (malformed, "zombie" + n, n);
} else {
duplicateMovieClip (blackMalformed, "zombie" + n, n);
}
}
if ((_root.varINCAR == "false") || ((_root.varINCAR == "true") && (_root.car.speed < 4))) {
var _local8 = random(4);
if (_local8 == 0) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local8 == 1) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local8 == 2) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local8 == 3) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 - _local3;
}
} else {
var _local13 = random(4);
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed < 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 - _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed > 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 + _local3;
}
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed > 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 + _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed < 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 - _local3;
}
}
Mtimer = Mmax + random(Mmax);
}
if ((_root.varPURCHASE == "false") && (_root.defendTimer > 0)) {
if (_root.zomCounter2 < (_root.LEVEL - 1)) {
if (_root.defending == "false") {
if (_root.survival == "false") {
Ptimer = Ptimer - _root.LEVEL;
var _local5 = _root.character._x;
var _local4 = _root.character._y;
if (_root.varINCAR == "false") {
var _local3 = 275;
} else {
var _local3 = 400;
}
} else {
Ptimer = Ptimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.survivalX;
var _local4 = _root.survivalY;
}
} else {
Ptimer = Ptimer - (2 * _root.LEVEL);
var _local3 = 270;
var _local5 = _root.objectiveX;
var _local4 = _root.objectiveY;
}
}
}
if (Ptimer <= 0) {
n = n + 1;
if (_root.LEVEL == 2) {
duplicateMovieClip (zombiePistol, "zombie" + n, n);
}
if (_root.LEVEL == 3) {
var _local9 = random(2);
if (_local9 == 1) {
duplicateMovieClip (zombiePistol, "zombie" + n, n);
} else {
duplicateMovieClip (zombieAK, "zombie" + n, n);
}
}
if (_root.LEVEL >= 4) {
var _local9 = random(3);
if (_local9 == 0) {
duplicateMovieClip (zombiePistol, "zombie" + n, n);
}
if (_local9 == 1) {
duplicateMovieClip (zombieAK, "zombie" + n, n);
}
if (_local9 == 2) {
duplicateMovieClip (zombieRocket, "zombie" + n, n);
}
}
if ((_root.varINCAR == "false") || ((_root.varINCAR == "true") && (_root.car.speed < 4))) {
var _local6 = random(4);
if (_local6 == 0) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 - _local3;
}
if (_local6 == 1) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 + _local3;
}
if (_local6 == 2) {
this["zombie" + n]._x = (_local5 - 250) + random(500);
this["zombie" + n]._y = _local4 + _local3;
}
if (_local6 == 3) {
this["zombie" + n]._y = (_local4 - 250) + random(500);
this["zombie" + n]._x = _local5 - _local3;
}
} else {
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed < 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 - _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed > 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 + _local3;
}
if ((Math.abs(_root.car.ySpeed) > Math.abs(_root.car.xSpeed)) && (_root.car.ySpeed > 0)) {
this["zombie" + n]._x = (_local5 - 200) + random(400);
this["zombie" + n]._y = _local4 + _local3;
}
if ((Math.abs(_root.car.ySpeed) < Math.abs(_root.car.xSpeed)) && (_root.car.xSpeed < 0)) {
this["zombie" + n]._y = (_local4 - 200) + random(400);
this["zombie" + n]._x = _local5 - _local3;
}
}
Ptimer = Pmax + random(Pmax);
}
}
}
_x = 0;
_y = 0;
e = 1;
var Zmax = 80;
var Ztimer = Zmax;
var Mmax = 350;
var Mtimer = Mmax;
var Pmax = 250;
var Ptimer = Pmax;
var Cmax = 2400;
var Ctimer = Cmax;
var n = 1;
_root.zomCounter1 = 0;
_root.zomCounter2 = 0;
_root.zomCounter3 = 0;
_root.zomCounter4 = 0;
_root.zomCounter5 = 0;
_root.malCounter1 = 0;
_root.malCounter2 = 0;
_root.crowCounter = 0;
_root.batCounter = 0;
Instance of Symbol 114 MovieClip [zombie] "zombie" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 25;
var initWalkSpeed = (2 + (random(20) / 10));
var attackDistance = 30;
var damage = 4;
var bounty = 25;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.zomCounter1 = _root.zomCounter1 + 1;
}
}
Instance of Symbol 560 MovieClip "malformed" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 200;
var initWalkSpeed = (6 + (random(40) / 10));
var attackDistance = 30;
var damage = 10;
var bounty = 250;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.malCounter1 = _root.malCounter1 + 1;
}
}
Instance of Symbol 598 MovieClip "tanZombie" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 60;
var initWalkSpeed = (2 + (random(20) / 10));
var attackDistance = 30;
var damage = 7;
var bounty = 50;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.zomCounter1 = _root.zomCounter1 + 1;
}
}
Instance of Symbol 641 MovieClip "blackMalformed" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 350;
var initWalkSpeed = (6 + (random(40) / 10));
var attackDistance = 30;
var damage = 16;
var bounty = 350;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.malCounter1 = _root.malCounter1 + 1;
}
}
Instance of Symbol 676 MovieClip "zombiePistol" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 50;
var initWalkSpeed = (2 + (random(20) / 10));
var attackDistance = 100;
var damage = 10;
var bounty = 100;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.zomCounter2 = _root.zomCounter2 + 1;
}
}
Instance of Symbol 701 MovieClip "zombieAK" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 100;
var initWalkSpeed = (2 + (random(20) / 10));
var attackDistance = 100;
var damage = 10;
var bounty = 200;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.zomCounter2 = _root.zomCounter2 + 1;
}
}
Instance of Symbol 726 MovieClip "zombieRocket" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 150;
var initWalkSpeed = (2 + (random(20) / 10));
var attackDistance = 100;
var damage = 40;
var bounty = 350;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else if ((_root.streets.hit.hitTest(_x, _y, true) || (this.hitTest(_root.overhang.safeZone))) || (this.hitTest(_root.overhang.safeZone2))) {
this.removeMovieClip();
} else {
_root.zomCounter2 = _root.zomCounter2 + 1;
}
}
Instance of Symbol 779 MovieClip "crow" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 10;
var flySpeed = (15 + random(10));
var attackDistance = 20;
var damage = 2;
var bounty = 20;
initWalkSpeed = 10;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else {
_root.crowCounter = _root.crowCounter + 1;
}
}
Instance of Symbol 806 MovieClip "bat" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var life = 25;
var flySpeed = (10 + random(10));
var attackDistance = 20;
var damage = 4;
var bounty = 35;
moveSpeed = initWalkSpeed;
dead = "false";
if (this.getDepth() < 0) {
_x = -1100000;
} else {
_root.crowCounter = _root.crowCounter + 1;
}
}
Symbol 810 MovieClip Frame 1
stop();
Symbol 812 MovieClip Frame 1
function onEnterFrame() {
if (_root.varINCAR == "false") {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
stop();
Symbol 812 MovieClip Frame 2
stop();
Instance of Symbol 817 MovieClip in Symbol 897 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
if ((((_root.character._x > 70) && (_root.character._x < 250)) && (_root.character._y > 500)) && (_root.character._y < 800)) {
prevFrame();
} else {
nextFrame();
}
}
Instance of Symbol 817 MovieClip in Symbol 897 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
if (((_root.character._x > 7554) && (_root.character._x < 7932)) && (_root.character._y > 4099)) {
prevFrame();
} else {
nextFrame();
}
}
Symbol 900 MovieClip Frame 1
function onEnterFrame() {
_alpha = _root.flashlight._alpha;
}
_alpha = 0;
Instance of Symbol 817 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
if ((((_root.character._x > 70) && (_root.character._x < 250)) && (_root.character._y > 500)) && (_root.character._y < 800)) {
prevFrame();
} else {
nextFrame();
}
}
Instance of Symbol 817 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
if (((_root.character._x > 7554) && (_root.character._x < 7932)) && (_root.character._y > 4099)) {
prevFrame();
} else {
nextFrame();
}
}
Symbol 959 MovieClip Frame 1
_x = 0;
_y = 0;
_alpha = 0;
stop();
_root.objectiveX = 149;
_root.objectiveY = 766;
Symbol 959 MovieClip Frame 2
_x = 0;
_y = 0;
_alpha = 0;
stop();
Symbol 960 MovieClip Frame 1
stop();
Instance of Symbol 959 MovieClip in Symbol 960 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.LEVEL);
_root.objTimerMax = 150;
_root.objTimer = _root.objTimerMax + random(_root.objTimerMax);
_root.varOBJECTIVE = "false";
_root.gotThere = "false";
_root.defendTimer = 0;
_root.defending = "false";
defendBase = 900;
}
onClipEvent (enterFrame) {
if (_root.survival == "false") {
maxDefend = defendBase + random(defendBase * _root.LEVEL);
gotoAndStop(_root.LEVEL);
if (_root.LEVEL == 0) {
_root.objectiveX = 159;
_root.objectiveY = 661;
_root.varOBJECTIVE = "true";
}
if (_root.LEVEL > 0) {
if (_root.objTimer > 0) {
if (_root.varPURCHASE == "false") {
_root.objTimer = _root.objTimer - 1;
}
} else {
if (_root.gotThere == "true") {
if (_root.defending == "false") {
_root.defendTimer = maxDefend + random(maxDefend);
_root.objBounty = Math.round(_root.defendTimer / 5) * _root.LEVEL;
_root.garage.defendThisSpot.play();
_root.defending = "true";
}
_root.defendTimer = _root.defendTimer - 1;
_root.garage.debug.defendTimer = _root.defendTimer;
if ((((((_root.defendTimer < 0) && (_root.zomCounter1 <= 0)) && (_root.zomCounter2 <= 0)) && (_root.malCounter1 <= 0)) && (_root.crowCounter <= 0)) || (_root.defendTimer < -1000)) {
_root.defending = "false";
_root.varOBJECTIVE = "false";
_root.gotThere = "false";
_root.garage.gotoAndPlay("success");
_root.defendTimer = 0;
}
}
if (_root.varPURCHASE == "false") {
if ((_root.varOBJECTIVE == "false") && (_root.defending == "false")) {
if (_root.LEVEL == 1) {
newLocation = random(6);
if (newLocation == lastLocation) {
if (newLocation < 5) {
objLocation = newLocation + 1;
} else {
objLocation = 0;
}
} else {
objLocation = newLocation;
}
}
if (_root.LEVEL == 2) {
objLocation = random(14);
}
if (_root.LEVEL == 3) {
objLocation = random(20);
}
if (_root.LEVEL >= 4) {
objLocation = random(26);
}
if (objLocation == 0) {
_root.objectiveX = 1824;
_root.objectiveY = 1078;
_root.gotThere = "false";
_root.locName = "6th & birch";
}
if (objLocation == 1) {
_root.objectiveX = 1320;
_root.objectiveY = -1187;
_root.gotThere = "false";
_root.locName = "back alleys";
}
if (objLocation == 2) {
_root.objectiveX = 40;
_root.objectiveY = -1637;
_root.gotThere = "false";
_root.locName = "4th & rosewurt";
}
if (objLocation == 3) {
_root.objectiveX = -584;
_root.objectiveY = -1665;
_root.gotThere = "false";
_root.locName = "western post";
}
if (objLocation == 4) {
_root.objectiveX = 822;
_root.objectiveY = -3100;
_root.gotThere = "false";
_root.locName = "merv's groceries";
}
if (objLocation == 5) {
_root.objectiveX = -307;
_root.objectiveY = -489;
_root.gotThere = "false";
_root.locName = "the liquor store";
}
if (objLocation == 6) {
_root.objectiveX = 3017;
_root.objectiveY = -2969;
_root.gotThere = "false";
_root.locName = "barney's convenience store";
}
if (objLocation == 7) {
_root.objectiveX = 4307;
_root.objectiveY = -732;
_root.gotThere = "false";
_root.locName = "police station north";
}
if (objLocation == 8) {
_root.objectiveX = 4343;
_root.objectiveY = -115;
_root.gotThere = "false";
_root.locName = "police station south";
}
if (objLocation == 9) {
_root.objectiveX = 4303;
_root.objectiveY = -1126;
_root.gotThere = "false";
_root.locName = "KT radio";
}
if (objLocation == 10) {
_root.objectiveX = 8534;
_root.objectiveY = 772;
_root.gotThere = "false";
_root.locName = "the happy fish";
}
if (objLocation == 11) {
_root.objectiveX = 5653;
_root.objectiveY = 2686;
_root.gotThere = "false";
_root.locName = "joe's chicken hut";
}
if (objLocation == 12) {
_root.objectiveX = 8557;
_root.objectiveY = 3170;
_root.gotThere = "false";
_root.locName = "bee jewelers";
}
if (objLocation == 13) {
_root.objectiveX = 5328;
_root.objectiveY = -4414;
_root.gotThere = "false";
_root.locName = "hospital entrance";
}
if (objLocation == 14) {
_root.objectiveX = 2762;
_root.objectiveY = 3210;
_root.gotThere = "false";
_root.locName = "hospital lab";
}
if (objLocation == 15) {
_root.objectiveX = 1972;
_root.objectiveY = 4683;
_root.gotThere = "false";
_root.locName = "hospital west";
}
if (objLocation == 16) {
_root.objectiveX = 4444;
_root.objectiveY = 5827;
_root.gotThere = "false";
_root.locName = "the plaza";
}
if (objLocation == 17) {
_root.objectiveX = 5360;
_root.objectiveY = 5979;
_root.gotThere = "false";
_root.locName = "hospital east";
}
if (objLocation == 18) {
_root.objectiveX = 2098;
_root.objectiveY = 6673;
_root.gotThere = "false";
_root.locName = "8th & hazel";
}
if (objLocation == 19) {
_root.objectiveX = 843;
_root.objectiveY = 7194;
_root.gotThere = "false";
_root.locName = "red's bar";
}
if (objLocation == 20) {
_root.objectiveX = 6394;
_root.objectiveY = 1048;
_root.gotThere = "false";
_root.locName = "the abandoned park";
}
if (objLocation == 21) {
_root.objectiveX = 5517;
_root.objectiveY = -3531;
_root.gotThere = "false";
_root.locName = "the fiery pickle";
}
if (objLocation == 22) {
_root.objectiveX = 8714;
_root.objectiveY = -3859;
_root.gotThere = "false";
_root.locName = "the scrapyard";
}
if (objLocation == 23) {
_root.objectiveX = 12263;
_root.objectiveY = -2676;
_root.gotThere = "false";
_root.locName = "airport security";
}
if (objLocation == 24) {
_root.objectiveX = 10584;
_root.objectiveY = 912;
_root.gotThere = "false";
_root.locName = "the runway";
}
if (objLocation == 25) {
_root.objectiveX = 11759;
_root.objectiveY = 5699;
_root.gotThere = "false";
_root.locName = "the subway";
}
lastLocation = objLocation;
_root.varOBJECTIVE = "true";
} else if ((((150 > Math.abs(_root.character._x - _root.objectiveX)) && (25 > Math.abs(_root.character._y - _root.objectiveY))) && (_root.varOBJECTIVE == "true")) && (_root.varINCAR == "false")) {
_root.gotThere = "true";
}
_root.attackTimer = _root.attackTimer - 1;
}
}
}
}
}
Instance of Symbol 220 MovieClip "safeZone" in Symbol 960 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 220 MovieClip "safeZone2" in Symbol 960 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 963 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 2
stop();
Symbol 972 Button
on (release) {
getURL ("http://painisenjoyment.deviantart.com/", "_blank");
}
Symbol 975 Button
on (release) {
getURL ("http://painisenjoyment.deviantart.com/", "_blank");
}
Symbol 979 MovieClip Frame 1
stop();
Symbol 982 Button
on (release) {
if (_root.savefile.data.savedGame == "true") {
stopAllSounds();
_root.character._x = _root.savefile.data.playerX;
_root.character._y = _root.savefile.data.playerY;
_root.car._x = _root.savefile.data.carX;
_root.car._y = _root.savefile.data.carY;
_root.car._rotation = _root.savefile.data.carR;
_root.maxBullets = _root.savefile.data.maxBullets;
_root.varKEYCONFIG = _root.savefile.data.varKEYCONFIG;
_root.varMUSIC = _root.savefile.data.varMUSIC;
_root.varARMOR = _root.savefile.data.varARMOR;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.savefile.data.varHEALTH;
_root.varMONEY = _root.savefile.data.varMONEY;
_root.LEVEL = _root.savefile.data.LEVEL;
_root.varMELEE2 = _root.savefile.data.varMELEE2;
_root.varWEAPON1 = _root.savefile.data.varWEAPON1;
_root.varWEAPON2 = _root.savefile.data.varWEAPON2;
_root.varfist_1 = _root.savefile.data.varfist_1;
_root.varN1911_1 = _root.savefile.data.varN1911_1;
_root.varP262_1 = _root.savefile.data.varP262_1;
_root.varL17_1 = _root.savefile.data.varL17_1;
_root.varT85_1 = _root.savefile.data.varT85_1;
_root.varMKP5_1 = _root.savefile.data.varMKP5_1;
_root.varP09_1 = _root.savefile.data.varP09_1;
_root.varA003_1 = _root.savefile.data.varA003_1;
_root.varPEZ_1 = _root.savefile.data.varPEZ_1;
_root.varDOA12_1 = _root.savefile.data.varDOA12_1;
_root.varGS2000_1 = _root.savefile.data.varGS2000_1;
_root.varGS3000_1 = _root.savefile.data.varGS3000_1;
_root.varG36_1 = _root.savefile.data.varG36_1;
_root.varG11_1 = _root.savefile.data.varG11_1;
_root.varXM8_1 = _root.savefile.data.varXM8_1;
_root.varHT3_1 = _root.savefile.data.varHT3_1;
_root.varFT2A1_1 = _root.savefile.data.varFT2A1_1;
_root.varM9_1 = _root.savefile.data.varM9_1;
_root.varLAWL80_1 = _root.savefile.data.varLAWL80_1;
_root.varfist_2 = _root.savefile.data.varfist_2;
_root.varN1911_2 = _root.savefile.data.varN1911_2;
_root.varP262_2 = _root.savefile.data.varP262_2;
_root.varL17_2 = _root.savefile.data.varL17_2;
_root.varT85_2 = _root.savefile.data.varT85_2;
_root.varMKP5_2 = _root.savefile.data.varMKP5_2;
_root.varP09_2 = _root.savefile.data.varP09_2;
_root.varA003_2 = _root.savefile.data.varA003_2;
_root.varPEZ_2 = _root.savefile.data.varPEZ_2;
_root.varDOA12_2 = _root.savefile.data.varDOA12_2;
_root.varD142_2 = _root.savefile.data.varD142_2;
_root.varGS2000_2 = _root.savefile.data.varGS2000_2;
_root.varGS3000_2 = _root.savefile.data.varGS3000_2;
_root.varG36_2 = _root.savefile.data.varG36_2;
_root.varG11_2 = _root.savefile.data.varG11_2;
_root.varXM8_2 = _root.savefile.data.varXM8_2;
_root.varHT3_2 = _root.savefile.data.varHT3_2;
_root.varFT2A1_2 = _root.savefile.data.varFT2A1_2;
_root.varM9_2 = _root.savefile.data.varM9_2;
_root.varLAWL80_2 = _root.savefile.data.varLAWL80_2;
_root.pistolINV = _root.savefile.data.pistolINV;
_root.smgINV = _root.savefile.data.smgINV;
_root.shotgunINV = _root.savefile.data.shotgunINV;
_root.decapINV = _root.savefile.data.decapINV;
_root.rifleINV = _root.savefile.data.rifleINV;
_root.autorifleINV = _root.savefile.data.autorifleINV;
_root.flameINV = _root.savefile.data.flameINV;
_root.rocketINV = _root.savefile.data.rocketINV;
_root.N1911AMMO1 = _root.savefile.data.N1911AMMO1;
_root.P262AMMO1 = _root.savefile.data.P262AMMO1;
_root.L17AMMO1 = _root.savefile.data.L17AMMO1;
_root.T85AMMO1 = _root.savefile.data.T85AMMO1;
_root.MKP5AMMO1 = _root.savefile.data.MKP5AMMO1;
_root.P09AMMO1 = _root.savefile.data.P09AMMO1;
_root.A003AMMO1 = _root.savefile.data.A003AMMO1;
_root.DOA12AMMO1 = _root.savefile.data.DOA12AMMO1;
_root.PEZAMMO1 = _root.savefile.data.PEZAMMO1;
_root.GS2000AMMO1 = _root.savefile.data.GS2000AMMO1;
_root.GS3000AMMO1 = _root.savefile.data.GS3000AMMO1;
_root.G36AMMO1 = _root.savefile.data.G36AMMO1;
_root.G11AMMO1 = _root.savefile.data.G11AMMO1;
_root.XM8AMMO1 = _root.savefile.data.XM8AMMO1;
_root.FT2A1AMMO1 = _root.savefile.data.FT2A1AMMO1;
_root.M9AMMO1 = _root.savefile.data.M9AMMO1;
_root.LAWL80AMMO1 = _root.savefile.data.LAWL80AMMO1;
_root.N1911AMMO2 = _root.savefile.data.N1911AMMO2;
_root.P262AMMO2 = _root.savefile.data.P262AMMO2;
_root.L17AMMO2 = _root.savefile.data.L17AMMO2;
_root.T85AMMO2 = _root.savefile.data.T85AMMO2;
_root.MKP5AMMO2 = _root.savefile.data.MKP5AMMO2;
_root.P09AMMO2 = _root.savefile.data.P09AMMO2;
_root.A003AMMO2 = _root.savefile.data.A003AMMO2;
_root.DOA12AMMO2 = _root.savefile.data.DOA12AMMO2;
_root.PEZAMMO2 = _root.savefile.data.PEZAMMO2;
_root.GS2000AMMO2 = _root.savefile.data.GS2000AMMO2;
_root.GS3000AMMO2 = _root.savefile.data.GS3000AMMO2;
_root.G36AMMO2 = _root.savefile.data.G36AMMO2;
_root.G11AMMO2 = _root.savefile.data.G11AMMO2;
_root.XM8AMMO2 = _root.savefile.data.XM8AMMO2;
_root.FT2A1AMMO2 = _root.savefile.data.FT2A1AMMO2;
_root.M9AMMO2 = _root.savefile.data.M9AMMO2;
_root.LAWL80AMMO2 = _root.savefile.data.LAWL80AMMO2;
gotoAndPlay ("loop");
} else {
noSavedGame.play();
}
}
Symbol 985 Button
on (release) {
gotoAndStop ("options");
}
Symbol 988 Button
on (release) {
getURL ("http://crazymonkeygames.com/", "_blank");
}
Symbol 991 Button
on (release) {
stopAllSounds();
gotoAndPlay ("intro");
}
Symbol 993 Button
on (release) {
gotoAndStop ("survival");
_root.LEVEL = _root.savefile.data.LEVEL;
}
Symbol 996 Button
on (release) {
getURL ("http://painisenjoyment.deviantart.com/", "_blank");
}
Symbol 997 Button
on (release) {
getURL ("http://crazymonkeygames.com/Zombie-Horde-2.html", "_blank");
}
Symbol 998 Button
on (release) {
getURL ("http://crazymonkeygames.com/Zombie-Horde.html", "_blank");
}
Symbol 1001 Button
on (release) {
gotoAndStop ("mainMenu");
}
Symbol 1004 Button
on (rollOver) {
Text = ("Click to change graphics setting to LOW<br>( Currently set to <b>" + _quality) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
_quality = "LOW";
Text = "";
}
Symbol 1005 Button
on (rollOver) {
Text = ("Click to change graphics setting to MEDIUM<br>( Currently set to <b>" + _quality) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
_quality = "MEDIUM";
Text = "";
}
Symbol 1006 Button
on (rollOver) {
Text = ("Click to change graphics setting to HIGH<br>( Currently set to <b>" + _quality) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
_quality = "HIGH";
Text = "";
}
Symbol 1008 Button
on (rollOver) {
if (_parent.mapping == "false") {
_parent.Text = "Move the slider left or right to<br>increse or decrease maximum number of bullet holes.";
}
}
on (rollOut) {
if (_parent.mapping == "false") {
_parent.Text = "";
}
}
on (press) {
drag = "true";
}
on (release, releaseOutside) {
drag = "false";
_parent.Text = "";
}
Symbol 1021 Button
on (rollOver) {
Text = ("Click to turn bullet effects ON<br>( Currently set to <b>" + _root.varBULLETEFFECTS) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
_root.varBULLETEFFECTS = "ON";
Text = "";
}
Symbol 1022 Button
on (rollOver) {
Text = ("Click to turn bullet effects OFF<br>( Currently set to <b>" + _root.varBULLETEFFECTS) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
_root.varBULLETEFFECTS = "OFF";
Text = "";
}
Symbol 1025 Button
on (rollOver) {
_parent.Text = "move the player DOWN";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1026 Button
on (rollOver) {
_parent.Text = "move the player RIGHT";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1027 Button
on (rollOver) {
_parent.Text = "move the player LEFT";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1028 Button
on (rollOver) {
_parent.Text = "move the player UP";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1029 Button
on (rollOver) {
_parent.Text = "RELOAD your weapon";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1031 Button
on (rollOver) {
_parent.Text = "attack with the LEFT ARM<br>( RIGHT ARM attck is always left-mouse click )";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1034 Button
on (rollOver) {
_parent.Text = "switch between available weapons<br>for the RIGHT ARM";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1035 Button
on (rollOver) {
_parent.Text = "switch between available weapons<br>for the LEFT ARM";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1044 Button
on (release, releaseOutside) {
nextFrame();
}
Symbol 1045 Button
on (release, releaseOutside) {
prevFrame();
}
Symbol 1046 Button
on (rollOver) {
_parent.Text = "get in and out of vehicles<br>";
}
on (rollOut) {
_parent.Text = "";
}
Symbol 1089 MovieClip Frame 1
stop();
_root.varKEYCONFIG = 1;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
Symbol 1089 MovieClip Frame 2
stop();
_root.varKEYCONFIG = 2;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
Symbol 1089 MovieClip Frame 3
stop();
_root.varKEYCONFIG = 3;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
Symbol 1089 MovieClip Frame 4
stop();
_root.varKEYCONFIG = 4;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
Symbol 1089 MovieClip Frame 5
stop();
_root.varKEYCONFIG = 5;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
Symbol 1089 MovieClip Frame 6
stop();
_root.varKEYCONFIG = 7;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
Symbol 1093 Button
on (rollOver) {
Text = ("Click to turn music ON<br>( Music is currently<b>" + _root.varMUSIC) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
if (_root.varMUSIC == "OFF") {
_root.varMUSIC = "ON";
_root.garage.musics2.gotoAndStop(1);
stopAllSounds();
_root.garage.musics2.gotoAndStop(2);
Text = "";
}
}
Symbol 1094 Button
on (rollOver) {
Text = ("Click to turn music OFF<br>( Music is currently<b>" + _root.varMUSIC) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
_root.varMUSIC = "OFF";
stopAllSounds();
Text = "";
}
Symbol 1095 Button
on (release) {
_root.LEVEL = 0;
gotoAndPlay (1);
}
Symbol 1101 Button
on (release) {
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=145", "_blank");
}
Symbol 1102 Button
on (release) {
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=146", "_blank");
}
Symbol 1103 Button
on (release) {
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=147", "_blank");
}
Symbol 1104 Button
on (release) {
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=148", "_blank");
}
Symbol 1109 Button
on (release) {
_root.character._x = 40;
_root.character._y = -1673;
if (_root.savefile.data.savedGame == "true") {
_root.maxBullets = _root.savefile.data.maxBullets;
_root.varKEYCONFIG = _root.savefile.data.varKEYCONFIG;
_root.varMUSIC = _root.savefile.data.varMUSIC;
_root.car._x = -1000000;
_root.varARMOR = _root.savefile.data.varARMOR;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.savefile.data.varHEALTH;
_root.varMONEY = _root.savefile.data.varMONEY;
_root.LEVEL = _root.savefile.data.LEVEL;
_root.varMELEE2 = _root.savefile.data.varMELEE2;
_root.varWEAPON1 = _root.savefile.data.varWEAPON1;
_root.varWEAPON2 = _root.savefile.data.varWEAPON2;
_root.varfist_1 = _root.savefile.data.varfist_1;
_root.varN1911_1 = _root.savefile.data.varN1911_1;
_root.varP262_1 = _root.savefile.data.varP262_1;
_root.varL17_1 = _root.savefile.data.varL17_1;
_root.varT85_1 = _root.savefile.data.varT85_1;
_root.varMKP5_1 = _root.savefile.data.varMKP5_1;
_root.varP09_1 = _root.savefile.data.varP09_1;
_root.varA003_1 = _root.savefile.data.varA003_1;
_root.varPEZ_1 = _root.savefile.data.varPEZ_1;
_root.varDOA12_1 = _root.savefile.data.varDOA12_1;
_root.varGS2000_1 = _root.savefile.data.varGS2000_1;
_root.varGS3000_1 = _root.savefile.data.varGS3000_1;
_root.varG36_1 = _root.savefile.data.varG36_1;
_root.varG11_1 = _root.savefile.data.varG11_1;
_root.varXM8_1 = _root.savefile.data.varXM8_1;
_root.varHT3_1 = _root.savefile.data.varHT3_1;
_root.varFT2A1_1 = _root.savefile.data.varFT2A1_1;
_root.varM9_1 = _root.savefile.data.varM9_1;
_root.varLAWL80_1 = _root.savefile.data.varLAWL80_1;
_root.varfist_2 = _root.savefile.data.varfist_2;
_root.varN1911_2 = _root.savefile.data.varN1911_2;
_root.varP262_2 = _root.savefile.data.varP262_2;
_root.varL17_2 = _root.savefile.data.varL17_2;
_root.varT85_2 = _root.savefile.data.varT85_2;
_root.varMKP5_2 = _root.savefile.data.varMKP5_2;
_root.varP09_2 = _root.savefile.data.varP09_2;
_root.varA003_2 = _root.savefile.data.varA003_2;
_root.varPEZ_2 = _root.savefile.data.varPEZ_2;
_root.varDOA12_2 = _root.savefile.data.varDOA12_2;
_root.varD142_2 = _root.savefile.data.varD142_2;
_root.varGS2000_2 = _root.savefile.data.varGS2000_2;
_root.varGS3000_2 = _root.savefile.data.varGS3000_2;
_root.varG36_2 = _root.savefile.data.varG36_2;
_root.varG11_2 = _root.savefile.data.varG11_2;
_root.varXM8_2 = _root.savefile.data.varXM8_2;
_root.varHT3_2 = _root.savefile.data.varHT3_2;
_root.varFT2A1_2 = _root.savefile.data.varFT2A1_2;
_root.varM9_2 = _root.savefile.data.varM9_2;
_root.varLAWL80_2 = _root.savefile.data.varLAWL80_2;
_root.pistolINV = _root.savefile.data.pistolINV;
_root.smgINV = _root.savefile.data.smgINV;
_root.shotgunINV = _root.savefile.data.shotgunINV;
_root.decapINV = _root.savefile.data.decapINV;
_root.rifleINV = _root.savefile.data.rifleINV;
_root.autorifleINV = _root.savefile.data.autorifleINV;
_root.flameINV = _root.savefile.data.flameINV;
_root.rocketINV = _root.savefile.data.rocketINV;
_root.N1911AMMO1 = _root.savefile.data.N1911AMMO1;
_root.P262AMMO1 = _root.savefile.data.P262AMMO1;
_root.L17AMMO1 = _root.savefile.data.L17AMMO1;
_root.T85AMMO1 = _root.savefile.data.T85AMMO1;
_root.MKP5AMMO1 = _root.savefile.data.MKP5AMMO1;
_root.P09AMMO1 = _root.savefile.data.P09AMMO1;
_root.A003AMMO1 = _root.savefile.data.A003AMMO1;
_root.DOA12AMMO1 = _root.savefile.data.DOA12AMMO1;
_root.PEZAMMO1 = _root.savefile.data.PEZAMMO1;
_root.GS2000AMMO1 = _root.savefile.data.GS2000AMMO1;
_root.GS3000AMMO1 = _root.savefile.data.GS3000AMMO1;
_root.G36AMMO1 = _root.savefile.data.G36AMMO1;
_root.G11AMMO1 = _root.savefile.data.G11AMMO1;
_root.XM8AMMO1 = _root.savefile.data.XM8AMMO1;
_root.FT2A1AMMO1 = _root.savefile.data.FT2A1AMMO1;
_root.M9AMMO1 = _root.savefile.data.M9AMMO1;
_root.LAWL80AMMO1 = _root.savefile.data.LAWL80AMMO1;
_root.N1911AMMO2 = _root.savefile.data.N1911AMMO2;
_root.P262AMMO2 = _root.savefile.data.P262AMMO2;
_root.L17AMMO2 = _root.savefile.data.L17AMMO2;
_root.T85AMMO2 = _root.savefile.data.T85AMMO2;
_root.MKP5AMMO2 = _root.savefile.data.MKP5AMMO2;
_root.P09AMMO2 = _root.savefile.data.P09AMMO2;
_root.A003AMMO2 = _root.savefile.data.A003AMMO2;
_root.DOA12AMMO2 = _root.savefile.data.DOA12AMMO2;
_root.PEZAMMO2 = _root.savefile.data.PEZAMMO2;
_root.GS2000AMMO2 = _root.savefile.data.GS2000AMMO2;
_root.GS3000AMMO2 = _root.savefile.data.GS3000AMMO2;
_root.G36AMMO2 = _root.savefile.data.G36AMMO2;
_root.G11AMMO2 = _root.savefile.data.G11AMMO2;
_root.XM8AMMO2 = _root.savefile.data.XM8AMMO2;
_root.FT2A1AMMO2 = _root.savefile.data.FT2A1AMMO2;
_root.M9AMMO2 = _root.savefile.data.M9AMMO2;
_root.LAWL80AMMO2 = _root.savefile.data.LAWL80AMMO2;
}
_root.survivalX = _root.character._x;
_root.survivalY = _root.character._y;
_root.varOBJECTIVE = "false";
_root.survivalLevel = 1;
play();
}
Symbol 1113 Button
on (release) {
_root.character._x = 4303;
_root.character._y = -732;
if (_root.savefile.data.savedGame == "true") {
_root.maxBullets = _root.savefile.data.maxBullets;
_root.varKEYCONFIG = _root.savefile.data.varKEYCONFIG;
_root.varMUSIC = _root.savefile.data.varMUSIC;
_root.car._x = -1000000;
_root.varARMOR = _root.savefile.data.varARMOR;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.savefile.data.varHEALTH;
_root.varMONEY = _root.savefile.data.varMONEY;
_root.LEVEL = _root.savefile.data.LEVEL;
_root.varMELEE2 = _root.savefile.data.varMELEE2;
_root.varWEAPON1 = _root.savefile.data.varWEAPON1;
_root.varWEAPON2 = _root.savefile.data.varWEAPON2;
_root.varfist_1 = _root.savefile.data.varfist_1;
_root.varN1911_1 = _root.savefile.data.varN1911_1;
_root.varP262_1 = _root.savefile.data.varP262_1;
_root.varL17_1 = _root.savefile.data.varL17_1;
_root.varT85_1 = _root.savefile.data.varT85_1;
_root.varMKP5_1 = _root.savefile.data.varMKP5_1;
_root.varP09_1 = _root.savefile.data.varP09_1;
_root.varA003_1 = _root.savefile.data.varA003_1;
_root.varPEZ_1 = _root.savefile.data.varPEZ_1;
_root.varDOA12_1 = _root.savefile.data.varDOA12_1;
_root.varGS2000_1 = _root.savefile.data.varGS2000_1;
_root.varGS3000_1 = _root.savefile.data.varGS3000_1;
_root.varG36_1 = _root.savefile.data.varG36_1;
_root.varG11_1 = _root.savefile.data.varG11_1;
_root.varXM8_1 = _root.savefile.data.varXM8_1;
_root.varHT3_1 = _root.savefile.data.varHT3_1;
_root.varFT2A1_1 = _root.savefile.data.varFT2A1_1;
_root.varM9_1 = _root.savefile.data.varM9_1;
_root.varLAWL80_1 = _root.savefile.data.varLAWL80_1;
_root.varfist_2 = _root.savefile.data.varfist_2;
_root.varN1911_2 = _root.savefile.data.varN1911_2;
_root.varP262_2 = _root.savefile.data.varP262_2;
_root.varL17_2 = _root.savefile.data.varL17_2;
_root.varT85_2 = _root.savefile.data.varT85_2;
_root.varMKP5_2 = _root.savefile.data.varMKP5_2;
_root.varP09_2 = _root.savefile.data.varP09_2;
_root.varA003_2 = _root.savefile.data.varA003_2;
_root.varPEZ_2 = _root.savefile.data.varPEZ_2;
_root.varDOA12_2 = _root.savefile.data.varDOA12_2;
_root.varD142_2 = _root.savefile.data.varD142_2;
_root.varGS2000_2 = _root.savefile.data.varGS2000_2;
_root.varGS3000_2 = _root.savefile.data.varGS3000_2;
_root.varG36_2 = _root.savefile.data.varG36_2;
_root.varG11_2 = _root.savefile.data.varG11_2;
_root.varXM8_2 = _root.savefile.data.varXM8_2;
_root.varHT3_2 = _root.savefile.data.varHT3_2;
_root.varFT2A1_2 = _root.savefile.data.varFT2A1_2;
_root.varM9_2 = _root.savefile.data.varM9_2;
_root.varLAWL80_2 = _root.savefile.data.varLAWL80_2;
_root.pistolINV = _root.savefile.data.pistolINV;
_root.smgINV = _root.savefile.data.smgINV;
_root.shotgunINV = _root.savefile.data.shotgunINV;
_root.decapINV = _root.savefile.data.decapINV;
_root.rifleINV = _root.savefile.data.rifleINV;
_root.autorifleINV = _root.savefile.data.autorifleINV;
_root.flameINV = _root.savefile.data.flameINV;
_root.rocketINV = _root.savefile.data.rocketINV;
_root.N1911AMMO1 = _root.savefile.data.N1911AMMO1;
_root.P262AMMO1 = _root.savefile.data.P262AMMO1;
_root.L17AMMO1 = _root.savefile.data.L17AMMO1;
_root.T85AMMO1 = _root.savefile.data.T85AMMO1;
_root.MKP5AMMO1 = _root.savefile.data.MKP5AMMO1;
_root.P09AMMO1 = _root.savefile.data.P09AMMO1;
_root.A003AMMO1 = _root.savefile.data.A003AMMO1;
_root.DOA12AMMO1 = _root.savefile.data.DOA12AMMO1;
_root.PEZAMMO1 = _root.savefile.data.PEZAMMO1;
_root.GS2000AMMO1 = _root.savefile.data.GS2000AMMO1;
_root.GS3000AMMO1 = _root.savefile.data.GS3000AMMO1;
_root.G36AMMO1 = _root.savefile.data.G36AMMO1;
_root.G11AMMO1 = _root.savefile.data.G11AMMO1;
_root.XM8AMMO1 = _root.savefile.data.XM8AMMO1;
_root.FT2A1AMMO1 = _root.savefile.data.FT2A1AMMO1;
_root.M9AMMO1 = _root.savefile.data.M9AMMO1;
_root.LAWL80AMMO1 = _root.savefile.data.LAWL80AMMO1;
_root.N1911AMMO2 = _root.savefile.data.N1911AMMO2;
_root.P262AMMO2 = _root.savefile.data.P262AMMO2;
_root.L17AMMO2 = _root.savefile.data.L17AMMO2;
_root.T85AMMO2 = _root.savefile.data.T85AMMO2;
_root.MKP5AMMO2 = _root.savefile.data.MKP5AMMO2;
_root.P09AMMO2 = _root.savefile.data.P09AMMO2;
_root.A003AMMO2 = _root.savefile.data.A003AMMO2;
_root.DOA12AMMO2 = _root.savefile.data.DOA12AMMO2;
_root.PEZAMMO2 = _root.savefile.data.PEZAMMO2;
_root.GS2000AMMO2 = _root.savefile.data.GS2000AMMO2;
_root.GS3000AMMO2 = _root.savefile.data.GS3000AMMO2;
_root.G36AMMO2 = _root.savefile.data.G36AMMO2;
_root.G11AMMO2 = _root.savefile.data.G11AMMO2;
_root.XM8AMMO2 = _root.savefile.data.XM8AMMO2;
_root.FT2A1AMMO2 = _root.savefile.data.FT2A1AMMO2;
_root.M9AMMO2 = _root.savefile.data.M9AMMO2;
_root.LAWL80AMMO2 = _root.savefile.data.LAWL80AMMO2;
}
_root.survivalX = _root.character._x;
_root.survivalY = _root.character._y;
_root.varOBJECTIVE = "false";
_root.survivalLevel = 2;
play();
}
Symbol 1117 Button
on (release) {
_root.character._x = 1972;
_root.character._y = 4684;
if (_root.savefile.data.savedGame == "true") {
_root.maxBullets = _root.savefile.data.maxBullets;
_root.varKEYCONFIG = _root.savefile.data.varKEYCONFIG;
_root.varMUSIC = _root.savefile.data.varMUSIC;
_root.car._x = -1000000;
_root.varARMOR = _root.savefile.data.varARMOR;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.savefile.data.varHEALTH;
_root.varMONEY = _root.savefile.data.varMONEY;
_root.LEVEL = _root.savefile.data.LEVEL;
_root.varMELEE2 = _root.savefile.data.varMELEE2;
_root.varWEAPON1 = _root.savefile.data.varWEAPON1;
_root.varWEAPON2 = _root.savefile.data.varWEAPON2;
_root.varfist_1 = _root.savefile.data.varfist_1;
_root.varN1911_1 = _root.savefile.data.varN1911_1;
_root.varP262_1 = _root.savefile.data.varP262_1;
_root.varL17_1 = _root.savefile.data.varL17_1;
_root.varT85_1 = _root.savefile.data.varT85_1;
_root.varMKP5_1 = _root.savefile.data.varMKP5_1;
_root.varP09_1 = _root.savefile.data.varP09_1;
_root.varA003_1 = _root.savefile.data.varA003_1;
_root.varPEZ_1 = _root.savefile.data.varPEZ_1;
_root.varDOA12_1 = _root.savefile.data.varDOA12_1;
_root.varGS2000_1 = _root.savefile.data.varGS2000_1;
_root.varGS3000_1 = _root.savefile.data.varGS3000_1;
_root.varG36_1 = _root.savefile.data.varG36_1;
_root.varG11_1 = _root.savefile.data.varG11_1;
_root.varXM8_1 = _root.savefile.data.varXM8_1;
_root.varHT3_1 = _root.savefile.data.varHT3_1;
_root.varFT2A1_1 = _root.savefile.data.varFT2A1_1;
_root.varM9_1 = _root.savefile.data.varM9_1;
_root.varLAWL80_1 = _root.savefile.data.varLAWL80_1;
_root.varfist_2 = _root.savefile.data.varfist_2;
_root.varN1911_2 = _root.savefile.data.varN1911_2;
_root.varP262_2 = _root.savefile.data.varP262_2;
_root.varL17_2 = _root.savefile.data.varL17_2;
_root.varT85_2 = _root.savefile.data.varT85_2;
_root.varMKP5_2 = _root.savefile.data.varMKP5_2;
_root.varP09_2 = _root.savefile.data.varP09_2;
_root.varA003_2 = _root.savefile.data.varA003_2;
_root.varPEZ_2 = _root.savefile.data.varPEZ_2;
_root.varDOA12_2 = _root.savefile.data.varDOA12_2;
_root.varD142_2 = _root.savefile.data.varD142_2;
_root.varGS2000_2 = _root.savefile.data.varGS2000_2;
_root.varGS3000_2 = _root.savefile.data.varGS3000_2;
_root.varG36_2 = _root.savefile.data.varG36_2;
_root.varG11_2 = _root.savefile.data.varG11_2;
_root.varXM8_2 = _root.savefile.data.varXM8_2;
_root.varHT3_2 = _root.savefile.data.varHT3_2;
_root.varFT2A1_2 = _root.savefile.data.varFT2A1_2;
_root.varM9_2 = _root.savefile.data.varM9_2;
_root.varLAWL80_2 = _root.savefile.data.varLAWL80_2;
_root.pistolINV = _root.savefile.data.pistolINV;
_root.smgINV = _root.savefile.data.smgINV;
_root.shotgunINV = _root.savefile.data.shotgunINV;
_root.decapINV = _root.savefile.data.decapINV;
_root.rifleINV = _root.savefile.data.rifleINV;
_root.autorifleINV = _root.savefile.data.autorifleINV;
_root.flameINV = _root.savefile.data.flameINV;
_root.rocketINV = _root.savefile.data.rocketINV;
_root.N1911AMMO1 = _root.savefile.data.N1911AMMO1;
_root.P262AMMO1 = _root.savefile.data.P262AMMO1;
_root.L17AMMO1 = _root.savefile.data.L17AMMO1;
_root.T85AMMO1 = _root.savefile.data.T85AMMO1;
_root.MKP5AMMO1 = _root.savefile.data.MKP5AMMO1;
_root.P09AMMO1 = _root.savefile.data.P09AMMO1;
_root.A003AMMO1 = _root.savefile.data.A003AMMO1;
_root.DOA12AMMO1 = _root.savefile.data.DOA12AMMO1;
_root.PEZAMMO1 = _root.savefile.data.PEZAMMO1;
_root.GS2000AMMO1 = _root.savefile.data.GS2000AMMO1;
_root.GS3000AMMO1 = _root.savefile.data.GS3000AMMO1;
_root.G36AMMO1 = _root.savefile.data.G36AMMO1;
_root.G11AMMO1 = _root.savefile.data.G11AMMO1;
_root.XM8AMMO1 = _root.savefile.data.XM8AMMO1;
_root.FT2A1AMMO1 = _root.savefile.data.FT2A1AMMO1;
_root.M9AMMO1 = _root.savefile.data.M9AMMO1;
_root.LAWL80AMMO1 = _root.savefile.data.LAWL80AMMO1;
_root.N1911AMMO2 = _root.savefile.data.N1911AMMO2;
_root.P262AMMO2 = _root.savefile.data.P262AMMO2;
_root.L17AMMO2 = _root.savefile.data.L17AMMO2;
_root.T85AMMO2 = _root.savefile.data.T85AMMO2;
_root.MKP5AMMO2 = _root.savefile.data.MKP5AMMO2;
_root.P09AMMO2 = _root.savefile.data.P09AMMO2;
_root.A003AMMO2 = _root.savefile.data.A003AMMO2;
_root.DOA12AMMO2 = _root.savefile.data.DOA12AMMO2;
_root.PEZAMMO2 = _root.savefile.data.PEZAMMO2;
_root.GS2000AMMO2 = _root.savefile.data.GS2000AMMO2;
_root.GS3000AMMO2 = _root.savefile.data.GS3000AMMO2;
_root.G36AMMO2 = _root.savefile.data.G36AMMO2;
_root.G11AMMO2 = _root.savefile.data.G11AMMO2;
_root.XM8AMMO2 = _root.savefile.data.XM8AMMO2;
_root.FT2A1AMMO2 = _root.savefile.data.FT2A1AMMO2;
_root.M9AMMO2 = _root.savefile.data.M9AMMO2;
_root.LAWL80AMMO2 = _root.savefile.data.LAWL80AMMO2;
}
_root.survivalX = _root.character._x;
_root.survivalY = _root.character._y;
_root.varOBJECTIVE = "false";
_root.survivalLevel = 3;
play();
}
Symbol 1121 Button
on (release) {
_root.character._x = 8714;
_root.character._y = -3860;
if (_root.savefile.data.savedGame == "true") {
_root.maxBullets = _root.savefile.data.maxBullets;
_root.varKEYCONFIG = _root.savefile.data.varKEYCONFIG;
_root.varMUSIC = _root.savefile.data.varMUSIC;
_root.car._x = -1000000;
_root.varARMOR = _root.savefile.data.varARMOR;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.savefile.data.varHEALTH;
_root.varMONEY = _root.savefile.data.varMONEY;
_root.LEVEL = _root.savefile.data.LEVEL;
_root.varMELEE2 = _root.savefile.data.varMELEE2;
_root.varWEAPON1 = _root.savefile.data.varWEAPON1;
_root.varWEAPON2 = _root.savefile.data.varWEAPON2;
_root.varfist_1 = _root.savefile.data.varfist_1;
_root.varN1911_1 = _root.savefile.data.varN1911_1;
_root.varP262_1 = _root.savefile.data.varP262_1;
_root.varL17_1 = _root.savefile.data.varL17_1;
_root.varT85_1 = _root.savefile.data.varT85_1;
_root.varMKP5_1 = _root.savefile.data.varMKP5_1;
_root.varP09_1 = _root.savefile.data.varP09_1;
_root.varA003_1 = _root.savefile.data.varA003_1;
_root.varPEZ_1 = _root.savefile.data.varPEZ_1;
_root.varDOA12_1 = _root.savefile.data.varDOA12_1;
_root.varGS2000_1 = _root.savefile.data.varGS2000_1;
_root.varGS3000_1 = _root.savefile.data.varGS3000_1;
_root.varG36_1 = _root.savefile.data.varG36_1;
_root.varG11_1 = _root.savefile.data.varG11_1;
_root.varXM8_1 = _root.savefile.data.varXM8_1;
_root.varHT3_1 = _root.savefile.data.varHT3_1;
_root.varFT2A1_1 = _root.savefile.data.varFT2A1_1;
_root.varM9_1 = _root.savefile.data.varM9_1;
_root.varLAWL80_1 = _root.savefile.data.varLAWL80_1;
_root.varfist_2 = _root.savefile.data.varfist_2;
_root.varN1911_2 = _root.savefile.data.varN1911_2;
_root.varP262_2 = _root.savefile.data.varP262_2;
_root.varL17_2 = _root.savefile.data.varL17_2;
_root.varT85_2 = _root.savefile.data.varT85_2;
_root.varMKP5_2 = _root.savefile.data.varMKP5_2;
_root.varP09_2 = _root.savefile.data.varP09_2;
_root.varA003_2 = _root.savefile.data.varA003_2;
_root.varPEZ_2 = _root.savefile.data.varPEZ_2;
_root.varDOA12_2 = _root.savefile.data.varDOA12_2;
_root.varD142_2 = _root.savefile.data.varD142_2;
_root.varGS2000_2 = _root.savefile.data.varGS2000_2;
_root.varGS3000_2 = _root.savefile.data.varGS3000_2;
_root.varG36_2 = _root.savefile.data.varG36_2;
_root.varG11_2 = _root.savefile.data.varG11_2;
_root.varXM8_2 = _root.savefile.data.varXM8_2;
_root.varHT3_2 = _root.savefile.data.varHT3_2;
_root.varFT2A1_2 = _root.savefile.data.varFT2A1_2;
_root.varM9_2 = _root.savefile.data.varM9_2;
_root.varLAWL80_2 = _root.savefile.data.varLAWL80_2;
_root.pistolINV = _root.savefile.data.pistolINV;
_root.smgINV = _root.savefile.data.smgINV;
_root.shotgunINV = _root.savefile.data.shotgunINV;
_root.decapINV = _root.savefile.data.decapINV;
_root.rifleINV = _root.savefile.data.rifleINV;
_root.autorifleINV = _root.savefile.data.autorifleINV;
_root.flameINV = _root.savefile.data.flameINV;
_root.rocketINV = _root.savefile.data.rocketINV;
_root.N1911AMMO1 = _root.savefile.data.N1911AMMO1;
_root.P262AMMO1 = _root.savefile.data.P262AMMO1;
_root.L17AMMO1 = _root.savefile.data.L17AMMO1;
_root.T85AMMO1 = _root.savefile.data.T85AMMO1;
_root.MKP5AMMO1 = _root.savefile.data.MKP5AMMO1;
_root.P09AMMO1 = _root.savefile.data.P09AMMO1;
_root.A003AMMO1 = _root.savefile.data.A003AMMO1;
_root.DOA12AMMO1 = _root.savefile.data.DOA12AMMO1;
_root.PEZAMMO1 = _root.savefile.data.PEZAMMO1;
_root.GS2000AMMO1 = _root.savefile.data.GS2000AMMO1;
_root.GS3000AMMO1 = _root.savefile.data.GS3000AMMO1;
_root.G36AMMO1 = _root.savefile.data.G36AMMO1;
_root.G11AMMO1 = _root.savefile.data.G11AMMO1;
_root.XM8AMMO1 = _root.savefile.data.XM8AMMO1;
_root.FT2A1AMMO1 = _root.savefile.data.FT2A1AMMO1;
_root.M9AMMO1 = _root.savefile.data.M9AMMO1;
_root.LAWL80AMMO1 = _root.savefile.data.LAWL80AMMO1;
_root.N1911AMMO2 = _root.savefile.data.N1911AMMO2;
_root.P262AMMO2 = _root.savefile.data.P262AMMO2;
_root.L17AMMO2 = _root.savefile.data.L17AMMO2;
_root.T85AMMO2 = _root.savefile.data.T85AMMO2;
_root.MKP5AMMO2 = _root.savefile.data.MKP5AMMO2;
_root.P09AMMO2 = _root.savefile.data.P09AMMO2;
_root.A003AMMO2 = _root.savefile.data.A003AMMO2;
_root.DOA12AMMO2 = _root.savefile.data.DOA12AMMO2;
_root.PEZAMMO2 = _root.savefile.data.PEZAMMO2;
_root.GS2000AMMO2 = _root.savefile.data.GS2000AMMO2;
_root.GS3000AMMO2 = _root.savefile.data.GS3000AMMO2;
_root.G36AMMO2 = _root.savefile.data.G36AMMO2;
_root.G11AMMO2 = _root.savefile.data.G11AMMO2;
_root.XM8AMMO2 = _root.savefile.data.XM8AMMO2;
_root.FT2A1AMMO2 = _root.savefile.data.FT2A1AMMO2;
_root.M9AMMO2 = _root.savefile.data.M9AMMO2;
_root.LAWL80AMMO2 = _root.savefile.data.LAWL80AMMO2;
}
_root.survivalX = _root.character._x;
_root.survivalY = _root.character._y;
_root.varOBJECTIVE = "false";
_root.survivalLevel = 4;
play();
}
Symbol 1132 MovieClip Frame 1
stop();
Symbol 1132 MovieClip Frame 2
stop();
Symbol 1132 MovieClip Frame 3
stop();
Symbol 1132 MovieClip Frame 4
stop();
Symbol 1133 Button
on (release) {
prevFrame();
}
Symbol 1134 Button
on (release) {
_root.LEVEL = 0;
stopAllSounds();
gotoAndPlay ("loop2");
}
Symbol 1143 Button
on (release) {
_parent._parent.purchaseDisplay.gotoAndStop("left");
_parent._parent.purchaseDisplay.display.gotoAndStop(1);
}
Symbol 1144 Button
on (release) {
_parent._parent.purchaseDisplay.gotoAndStop("right");
_parent._parent.purchaseDisplay.display.gotoAndStop(1);
}
Symbol 1155 Button
on (release) {
gotoAndStop ("class2");
}
Symbol 1160 Button
on (release) {
gotoAndStop ("class3");
}
Symbol 1165 Button
on (release) {
gotoAndStop ("class1");
}
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1183 Button
on (release) {
if ((_root.varN1911_1 == "true") || (_root.varN1911_2 == "true")) {
if (_root.varMONEY >= pistolCost) {
if (_root.pistolINV < 9999) {
_root.varMONEY = _root.varMONEY - pistolCost;
_root.pistolINV = _root.pistolINV + 100;
} else {
carryNoMore.play();
}
} else {
notEnoughMoney.play();
}
} else {
doNotOwn.play();
}
}
Symbol 1184 Button
on (release) {
if ((_root.varT85_1 == "true") || (_root.varT85_2 == "true")) {
if (_root.varMONEY >= smgCost) {
if (_root.smgINV < 9999) {
_root.varMONEY = _root.varMONEY - smgCost;
_root.smgINV = _root.smgINV + 150;
} else {
carryNoMore.play();
}
} else {
notEnoughMoney.play();
}
} else {
doNotOwn.play();
}
}
Symbol 1185 Button
on (release) {
if (((_root.varA003_1 == "true") || (_root.varA003_2 == "true")) || (_root.varD142_2 == "true")) {
if (_root.varMONEY >= shotgunCost) {
if (_root.shotgunINV < 9999) {
_root.varMONEY = _root.varMONEY - shotgunCost;
_root.shotgunINV = _root.shotgunINV + 25;
} else {
carryNoMore.play();
}
} else {
notEnoughMoney.play();
}
} else {
doNotOwn.play();
}
}
Symbol 1186 Button
on (release) {
if ((_root.varG36_1 == "true") || (_root.varG36_2 == "true")) {
if (_root.varMONEY >= rifleCost) {
if (_root.autorifleINV < 9999) {
_root.varMONEY = _root.varMONEY - rifleCost;
_root.autorifleINV = _root.autorifleINV + 200;
} else {
carryNoMore.play();
}
} else {
notEnoughMoney.play();
}
} else {
doNotOwn.play();
}
}
Symbol 1187 Button
on (release) {
if ((_root.varGS2000_1 == "true") || (_root.varGS2000_2 == "true")) {
if (_root.varMONEY >= sniperCost) {
if (_root.rifleINV < 9999) {
_root.varMONEY = _root.varMONEY - sniperCost;
_root.rifleINV = _root.rifleINV + 25;
} else {
carryNoMore.play();
}
} else {
notEnoughMoney.play();
}
} else {
doNotOwn.play();
}
}
Symbol 1188 Button
on (release) {
if ((_root.varM9_1 == "true") || (_root.varM9_2 == "true")) {
if (_root.varMONEY >= rocketCost) {
if (_root.rocketINV < 9999) {
_root.varMONEY = _root.varMONEY - rocketCost;
_root.rocketINV = _root.rocketINV + 5;
} else {
carryNoMore.play();
}
} else {
notEnoughMoney.play();
}
} else {
doNotOwn.play();
}
}
Symbol 1196 MovieClip Frame 1
stop();
Symbol 1198 MovieClip Frame 1
stop();
Symbol 1208 MovieClip Frame 1
stop();
Instance of Symbol 502 MovieClip "secondary" in Symbol 1208 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.varWEAPON1);
weaponNumber = 2;
}
Instance of Symbol 502 MovieClip "primary" in Symbol 1208 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.varWEAPON2);
}
Instance of Symbol 511 MovieClip in Symbol 1208 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.varARMOR);
}
Symbol 1208 MovieClip Frame 2
stop();
_parent._parent.purchaseDisplay.gotoAndStop("ammo");
Instance of Symbol 280 MovieClip in Symbol 1208 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.varN1911_1 == "true") || (_root.varN1911_2 == "true")) {
_parent.pistolCost = 25;
_parent.pistol = "$ " + _parent.pistolCost;
} else {
_parent.pistol = "";
}
if ((_root.varT85_1 == "true") || (_root.varT85_2 == "true")) {
_parent.smgCost = 30;
_parent.smg = "$ " + _parent.smgCost;
} else {
_parent.smg = "";
}
if (((_root.varA003_1 == "true") || (_root.varA003_2 == "true")) || (_root.varD142_2 == "true")) {
_parent.shotgunCost = 25;
_parent.shotgun = "$ " + _parent.shotgunCost;
} else {
_parent.shotgun = "";
}
if ((_root.varG36_1 == "true") || (_root.varG36_2 == "true")) {
_parent.rifleCost = 40;
_parent.rifle = "$ " + _parent.rifleCost;
} else {
_parent.rifle = "";
}
if ((_root.varGS2000_1 == "true") || (_root.varGS2000_2 == "true")) {
_parent.sniperCost = 50;
_parent.sniper = "$ " + _parent.sniperCost;
} else {
_parent.sniper = "";
}
if ((_root.varM9_1 == "true") || (_root.varM9_2 == "true")) {
_parent.rocketCost = 125;
_parent.rocket = "$ " + _parent.rocketCost;
} else {
_parent.rocket = "";
}
}
Symbol 1208 MovieClip Frame 3
stop();
_parent._parent.purchaseDisplay.gotoAndStop("armor");
Instance of Symbol 502 MovieClip "secondary" in Symbol 1208 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.varWEAPON1);
weaponNumber = 2;
}
Instance of Symbol 502 MovieClip "primary" in Symbol 1208 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.varWEAPON2);
}
Instance of Symbol 511 MovieClip in Symbol 1208 MovieClip Frame 3
onClipEvent (load) {
_parent.lifeBar._xscale = _root.maxHEALTH * 0.9;
}
onClipEvent (enterFrame) {
gotoAndStop(_root.varARMOR);
_parent.maxHealth = _root.maxHEALTH;
_parent.health = _root.varHEALTH;
_parent.lifeBar._xscale = _root.maxHEALTH * 0.9;
_parent.lifeBar.life._xscale = (_root.varHEALTH / _root.maxHEALTH) * 100;
}
Symbol 1212 Button
on (release) {
gotoAndStop ("options");
_parent.purchaseDisplay.gotoAndStop("options");
}
Symbol 1216 Button
on (release) {
gotoAndStop ("character");
}
Symbol 1220 Button
on (release) {
_parent.purchaseDisplay.gotoAndStop(1);
gotoAndStop ("character");
}
Symbol 1221 MovieClip Frame 1
stop();
Symbol 1221 MovieClip Frame 2
stop();
Text = "";
_parent.purchaseDisplay.gotoAndStop("options");
Symbol 1225 Button
on (release) {
gotoAndStop (2);
}
Symbol 1229 Button
on (release) {
_parent._parent.welcome1.gotoAndStop(3);
}
Symbol 1233 Button
on (release) {
_parent._parent.hudHelp.gotoAndStop(2);
}
Symbol 1234 MovieClip Frame 1
stop();
Symbol 1234 MovieClip Frame 2
stop();
Symbol 1235 Button
on (release) {
display.gotoAndStop("Lsmg");
}
Symbol 1236 Button
on (release) {
display.gotoAndStop("Lpistol");
}
Symbol 1237 Button
on (release) {
display.gotoAndStop("Lshotgun");
}
Symbol 1238 Button
on (release) {
display.gotoAndStop("Lautorifle");
}
Symbol 1239 Button
on (release) {
display.gotoAndStop("Lmelee");
}
Symbol 1240 Button
on (release) {
display.gotoAndStop("Lrocket");
}
Symbol 1241 Button
on (release) {
display.gotoAndStop("Lsniper");
}
Symbol 1250 Button
on (release) {
if (_root.varMONEY >= cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varN1911_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("N1911");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1257 Button
on (release) {
if (_root.varMONEY >= cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varP262_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("P262");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1263 Button
on (release) {
if (_root.varMONEY >= cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varL17_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("L17");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1271 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 2
stop();
Symbol 1271 MovieClip Frame 3
stop();
Symbol 1271 MovieClip Frame 4
stop();
Symbol 1278 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varT85_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("T85");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1282 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varMKP5_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("MKP5");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1288 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varP09_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("P09");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1296 MovieClip Frame 1
stop();
Symbol 1296 MovieClip Frame 2
stop();
Symbol 1296 MovieClip Frame 3
stop();
Symbol 1296 MovieClip Frame 4
stop();
Symbol 1299 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varA003_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("A003");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1303 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varPEZ_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("PEZ");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1307 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varDOA12_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("DOA12");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1312 MovieClip Frame 1
stop();
Symbol 1312 MovieClip Frame 2
stop();
Symbol 1312 MovieClip Frame 3
stop();
Symbol 1312 MovieClip Frame 4
stop();
Symbol 1315 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varG36_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("G36");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1319 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varG11_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("G11");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1323 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varXM8_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("XM8");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1329 MovieClip Frame 1
stop();
Symbol 1329 MovieClip Frame 2
stop();
Symbol 1329 MovieClip Frame 3
stop();
Symbol 1329 MovieClip Frame 4
stop();
Symbol 1332 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varGS2000_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("GS2000");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1336 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varGS3000_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("GS3000");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1341 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 2
stop();
Symbol 1341 MovieClip Frame 3
stop();
Symbol 1344 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varM9_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("M9");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1348 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root["varLAWL80_" + number] = "true";
_root.garage[_parent.arm].gotoAndStop("LAWL80");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1355 MovieClip Frame 1
stop();
Symbol 1355 MovieClip Frame 2
stop();
Symbol 1355 MovieClip Frame 3
stop();
Symbol 1357 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root.varMELEE2 = "knife";
_root.garage[_parent.arm].gotoAndStop("fist");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1363 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root.varMELEE2 = "machete";
_root.garage[_parent.arm].gotoAndStop("machete");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1366 Button
on (release) {
if (_root.varMONEY > cost) {
_root.varMONEY = _root.varMONEY - cost;
_root.varMELEE2 = "whip";
_root.garage[_parent.arm].gotoAndStop("whip");
} else {
_parent._parent.notEnoughCash.play();
}
}
Symbol 1371 MovieClip Frame 1
stop();
Symbol 1371 MovieClip Frame 2
stop();
Symbol 1371 MovieClip Frame 3
stop();
Symbol 1371 MovieClip Frame 4
stop();
Symbol 1373 MovieClip Frame 1
stop();
Symbol 1373 MovieClip Frame 2
stop();
arm = "secondary";
Instance of Symbol 1271 MovieClip in Symbol 1373 MovieClip Frame 2
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varN1911_1 == "false") {
this.gotoAndStop(1);
cost = 1000;
}
if ((_root.varN1911_1 == "true") && (_root.varP262_1 == "false")) {
this.gotoAndStop(2);
cost = 3500;
}
if ((_root.varP262_1 == "true") && (_root.varL17_1 == "false")) {
this.gotoAndStop(3);
cost = 12000;
}
if (_root.varL17_1 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 3
stop();
arm = "secondary";
Instance of Symbol 1296 MovieClip in Symbol 1373 MovieClip Frame 3
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varT85_1 == "false") {
this.gotoAndStop(1);
cost = 1800;
}
if ((_root.varT85_1 == "true") && (_root.varMKP5_1 == "false")) {
this.gotoAndStop(2);
cost = 5000;
}
if ((_root.varMKP5_1 == "true") && (_root.varP09_1 == "false")) {
this.gotoAndStop(3);
cost = 18000;
}
if (_root.varP09_1 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 4
stop();
arm = "secondary";
Instance of Symbol 1312 MovieClip in Symbol 1373 MovieClip Frame 4
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varA003_1 == "false") {
this.gotoAndStop(1);
cost = 2500;
}
if ((_root.varA003_1 == "true") && (_root.varPEZ_1 == "false")) {
this.gotoAndStop(2);
cost = 6000;
}
if ((_root.varPEZ_1 == "true") && (_root.varDOA12_1 == "false")) {
this.gotoAndStop(3);
cost = 20000;
}
if (_root.varDOA12_1 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 5
stop();
arm = "secondary";
Instance of Symbol 1329 MovieClip in Symbol 1373 MovieClip Frame 5
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varG36_1 == "false") {
this.gotoAndStop(1);
cost = 8000;
}
if ((_root.varG36_1 == "true") && (_root.varG11_1 == "false")) {
this.gotoAndStop(2);
cost = 15000;
}
if ((_root.varG11_1 == "true") && (_root.varXM8_1 == "false")) {
this.gotoAndStop(3);
cost = 35000;
}
if (_root.varXM8_1 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 6
stop();
arm = "secondary";
Instance of Symbol 1341 MovieClip in Symbol 1373 MovieClip Frame 6
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varGS2000_1 == "false") {
this.gotoAndStop(1);
cost = 5000;
}
if ((_root.varGS2000_1 == "true") && (_root.varGS3000_1 == "false")) {
this.gotoAndStop(2);
cost = 15000;
}
if (_root.varGS3000_1 == "true") {
this.gotoAndStop(3);
}
}
Symbol 1373 MovieClip Frame 7
stop();
arm = "secondary";
Instance of Symbol 1355 MovieClip in Symbol 1373 MovieClip Frame 7
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varM9_1 == "false") {
this.gotoAndStop(1);
cost = 20000;
}
if ((_root.varM9_1 == "true") && (_root.varLAWL80_1 == "false")) {
this.gotoAndStop(2);
cost = 45000;
}
if (_root.varLAWL80_1 == "true") {
this.gotoAndStop(3);
}
}
Symbol 1373 MovieClip Frame 8
stop();
arm = "secondary";
Instance of Symbol 1371 MovieClip in Symbol 1373 MovieClip Frame 8
onClipEvent (load) {
number = 1;
}
onClipEvent (enterFrame) {
if (_root.varMELEE2 == "fist") {
this.gotoAndStop(1);
cost = 250;
}
if (_root.varMELEE2 == "knife") {
this.gotoAndStop(2);
cost = 1000;
}
if (_root.varMELEE2 == "machete") {
this.gotoAndStop(3);
cost = 5000;
}
if (_root.varMELEE2 == "whip") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 9
stop();
arm = "primary";
Instance of Symbol 1271 MovieClip in Symbol 1373 MovieClip Frame 9
onClipEvent (load) {
number = 2;
}
onClipEvent (enterFrame) {
if (_root.varN1911_2 == "false") {
this.gotoAndStop(1);
cost = 1000;
}
if ((_root.varN1911_2 == "true") && (_root.varP262_2 == "false")) {
this.gotoAndStop(2);
cost = 3500;
}
if ((_root.varP262_2 == "true") && (_root.varL17_2 == "false")) {
this.gotoAndStop(3);
cost = 12000;
}
if (_root.varL17_2 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 10
stop();
arm = "primary";
Instance of Symbol 1296 MovieClip in Symbol 1373 MovieClip Frame 10
onClipEvent (load) {
number = 2;
}
onClipEvent (enterFrame) {
if (_root.varT85_2 == "false") {
this.gotoAndStop(1);
cost = 1800;
}
if ((_root.varT85_2 == "true") && (_root.varMKP5_2 == "false")) {
this.gotoAndStop(2);
cost = 5000;
}
if ((_root.varMKP5_2 == "true") && (_root.varP09_2 == "false")) {
this.gotoAndStop(3);
cost = 18000;
}
if (_root.varP09_2 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 11
stop();
arm = "primary";
Instance of Symbol 1312 MovieClip in Symbol 1373 MovieClip Frame 11
onClipEvent (load) {
number = 2;
}
onClipEvent (enterFrame) {
if (_root.varA003_2 == "false") {
this.gotoAndStop(1);
cost = 2500;
}
if ((_root.varA003_2 == "true") && (_root.varPEZ_2 == "false")) {
this.gotoAndStop(2);
cost = 6000;
}
if ((_root.varPEZ_2 == "true") && (_root.varDOA12_2 == "false")) {
this.gotoAndStop(3);
cost = 20000;
}
if (_root.varDOA12_2 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 12
stop();
arm = "primary";
Instance of Symbol 1329 MovieClip in Symbol 1373 MovieClip Frame 12
onClipEvent (load) {
number = 2;
}
onClipEvent (enterFrame) {
if (_root.varG36_2 == "false") {
this.gotoAndStop(1);
cost = 8000;
}
if ((_root.varG36_2 == "true") && (_root.varG11_2 == "false")) {
this.gotoAndStop(2);
cost = 15000;
}
if ((_root.varG11_2 == "true") && (_root.varXM8_2 == "false")) {
this.gotoAndStop(3);
cost = 35000;
}
if (_root.varXM8_2 == "true") {
this.gotoAndStop(4);
}
}
Symbol 1373 MovieClip Frame 13
stop();
arm = "primary";
Instance of Symbol 1341 MovieClip in Symbol 1373 MovieClip Frame 13
onClipEvent (load) {
number = 2;
}
onClipEvent (enterFrame) {
if (_root.varGS2000_2 == "false") {
this.gotoAndStop(1);
cost = 5000;
}
if ((_root.varGS2000_2 == "true") && (_root.varGS3000_2 == "false")) {
this.gotoAndStop(2);
cost = 15000;
}
if (_root.varGS3000_2 == "true") {
this.gotoAndStop(3);
}
}
Symbol 1373 MovieClip Frame 14
stop();
arm = "primary";
Instance of Symbol 1355 MovieClip in Symbol 1373 MovieClip Frame 14
onClipEvent (load) {
number = 2;
}
onClipEvent (enterFrame) {
if (_root.varM9_2 == "false") {
this.gotoAndStop(1);
cost = 20000;
}
if ((_root.varM9_2 == "true") && (_root.varLAWL80_2 == "false")) {
this.gotoAndStop(2);
cost = 45000;
}
if (_root.varLAWL80_2 == "true") {
this.gotoAndStop(3);
}
}
Symbol 1382 MovieClip Frame 1
stop();
Symbol 1382 MovieClip Frame 2
stop();
Symbol 1382 MovieClip Frame 3
stop();
Symbol 1382 MovieClip Frame 4
stop();
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 2
stop();
Symbol 1386 MovieClip Frame 3
stop();
Symbol 1387 Button
on (release) {
display.gotoAndStop("Rsmg");
}
Symbol 1388 Button
on (release) {
display.gotoAndStop("Rpistol");
}
Symbol 1389 Button
on (release) {
display.gotoAndStop("Rshotgun");
}
Symbol 1390 Button
on (release) {
display.gotoAndStop("Rautorifle");
}
Symbol 1391 Button
on (release) {
display.gotoAndStop("Rrocket");
}
Symbol 1392 Button
on (release) {
display.gotoAndStop("Rsniper");
}
Symbol 1406 Button
on (release) {
if (_root.varHEALTH < _root.maxHEALTH) {
if (_root.varMONEY >= medic1) {
_root.varHEALTH = _root.varHEALTH + 250;
_root.varMONEY = _root.varMONEY - medic2;
}
}
}
Symbol 1407 Button
on (release) {
if (_root.varHEALTH < _root.maxHEALTH) {
if (_root.varMONEY >= medic1) {
_root.varHEALTH = _root.varHEALTH + 50;
_root.varMONEY = _root.varMONEY - medic1;
}
}
}
Symbol 1408 Button
on (release) {
if (_root.varHEALTH < _root.maxHEALTH) {
if (_root.varMONEY >= medic1) {
_root.varHEALTH = _root.varHEALTH + 2500;
_root.varMONEY = _root.varMONEY - medic3;
}
}
}
Symbol 1417 Button
on (release) {
if (_root.varARMOR < 8) {
if (_root.varMONEY >= cost) {
_root.varMONEY = _root.varMONEY - cost;
_root.varARMOR = _root.varARMOR + 1;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.maxHEALTH;
} else {
notEnoughCash.play();
}
}
}
Symbol 1428 Button
on (rollOver) {
Text = ("Click to turn music ON<br>( Music is currently<b>" + _root.varMUSIC) + "</b>. )";
}
on (rollOut) {
Text = "";
}
on (release, releaseOutside) {
if (_root.varMUSIC == "OFF") {
_root.varMUSIC = "ON";
_root.garage.musics.gotoAndStop(1);
stopAllSounds();
_root.garage.musics.gotoAndStop(3);
Text = "";
}
Text = "";
}
Symbol 1429 MovieClip Frame 1
stop();
Symbol 1429 MovieClip Frame 2
stop();
Instance of Symbol 1373 MovieClip "display" in Symbol 1429 MovieClip Frame 2
onClipEvent (load) {
number = 1;
}
Instance of Symbol 280 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent.pistol = _root.pistolINV;
_parent.smg = _root.smgINV;
_parent.shotgun = _root.shotgunINV;
_parent.autorifle = _root.autorifleINV;
_parent.sniper = _root.rifleINV;
_parent.incendiary = _root.flameINV;
_parent.rocket = _root.rocketINV;
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varMELEE2 == "fist") {
gotoAndStop (1);
}
if (_root.varMELEE2 == "knife") {
gotoAndStop (2);
}
if (_root.varMELEE2 == "machete") {
gotoAndStop (3);
}
if (_root.varMELEE2 == "whip") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varN1911_1 == "false") {
gotoAndStop (1);
}
if ((_root.varN1911_1 == "true") && (_root.varP262_1 == "false")) {
gotoAndStop (2);
}
if ((_root.varP262_1 == "true") && (_root.varL17_1 == "false")) {
gotoAndStop (3);
}
if (_root.varL17_1 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varN1911_2 == "false") {
gotoAndStop (1);
}
if ((_root.varN1911_2 == "true") && (_root.varP262_2 == "false")) {
gotoAndStop (2);
}
if ((_root.varP262_2 == "true") && (_root.varL17_2 == "false")) {
gotoAndStop (3);
}
if (_root.varL17_2 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varT85_1 == "false") {
gotoAndStop (1);
}
if ((_root.varT85_1 == "true") && (_root.varMKP5_1 == "false")) {
gotoAndStop (2);
}
if ((_root.varMKP5_1 == "true") && (_root.varP09_1 == "false")) {
gotoAndStop (3);
}
if (_root.varP09_1 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varT85_2 == "false") {
gotoAndStop (1);
}
if ((_root.varT85_2 == "true") && (_root.varMKP5_2 == "false")) {
gotoAndStop (2);
}
if ((_root.varMKP5_2 == "true") && (_root.varP09_2 == "false")) {
gotoAndStop (3);
}
if (_root.varP09_2 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varA003_1 == "false") {
gotoAndStop (1);
}
if ((_root.varA003_1 == "true") && (_root.varPEZ_1 == "false")) {
gotoAndStop (2);
}
if ((_root.varPEZ_1 == "true") && (_root.varDOA12_1 == "false")) {
gotoAndStop (3);
}
if (_root.varDOA12_1 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varA003_2 == "false") {
gotoAndStop (1);
}
if ((_root.varA003_2 == "true") && (_root.varPEZ_2 == "false")) {
gotoAndStop (2);
}
if ((_root.varPEZ_2 == "true") && (_root.varDOA12_2 == "false")) {
gotoAndStop (3);
}
if (_root.varDOA12_2 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varG36_1 == "false") {
gotoAndStop (1);
}
if ((_root.varG36_1 == "true") && (_root.varG11_1 == "false")) {
gotoAndStop (2);
}
if ((_root.varG11_1 == "true") && (_root.varXM8_1 == "false")) {
gotoAndStop (3);
}
if (_root.varXM8_1 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1382 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varG36_2 == "false") {
gotoAndStop (1);
}
if ((_root.varG36_2 == "true") && (_root.varG11_2 == "false")) {
gotoAndStop (2);
}
if ((_root.varG11_2 == "true") && (_root.varXM8_2 == "false")) {
gotoAndStop (3);
}
if (_root.varXM8_2 == "true") {
gotoAndStop (4);
}
}
Instance of Symbol 1386 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varGS2000_1 == "false") {
gotoAndStop (1);
}
if ((_root.varGS2000_1 == "true") && (_root.varGS3000_1 == "false")) {
gotoAndStop (2);
}
if (_root.varGS3000_1 == "true") {
gotoAndStop (3);
}
}
Instance of Symbol 1386 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varGS2000_2 == "false") {
gotoAndStop (1);
}
if ((_root.varGS2000_2 == "true") && (_root.varGS3000_2 == "false")) {
gotoAndStop (2);
}
if (_root.varGS3000_2 == "true") {
gotoAndStop (3);
}
}
Instance of Symbol 1386 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varM9_1 == "false") {
gotoAndStop (1);
}
if ((_root.varM9_1 == "true") && (_root.varLAWL80_1 == "false")) {
gotoAndStop (2);
}
if (_root.varLAWL80_1 == "true") {
gotoAndStop (3);
}
}
Instance of Symbol 1386 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.varM9_2 == "false") {
gotoAndStop (1);
}
if ((_root.varM9_2 == "true") && (_root.varLAWL80_2 == "false")) {
gotoAndStop (2);
}
if (_root.varLAWL80_2 == "true") {
gotoAndStop (3);
}
}
Symbol 1429 MovieClip Frame 3
stop();
Instance of Symbol 1373 MovieClip "display" in Symbol 1429 MovieClip Frame 3
onClipEvent (load) {
number = 2;
}
Symbol 1429 MovieClip Frame 4
stop();
Instance of Symbol 280 MovieClip in Symbol 1429 MovieClip Frame 4
onClipEvent (enterFrame) {
_parent.pistol = _root.pistolINV;
_parent.smg = _root.smgINV;
_parent.shotgun = _root.shotgunINV;
_parent.autorifle = _root.autorifleINV;
_parent.sniper = _root.rifleINV;
_parent.incendiary = _root.incendiaryINV;
_parent.rocket = _root.rocketINV;
}
Symbol 1429 MovieClip Frame 5
stop();
Instance of Symbol 280 MovieClip in Symbol 1429 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.armorLevel = _root.varARMOR;
if (_root.varARMOR == 1) {
_parent.cost = 500;
}
if (_root.varARMOR == 2) {
_parent.cost = 1000;
}
if (_root.varARMOR == 3) {
_parent.cost = 1500;
}
if (_root.varARMOR == 4) {
_parent.cost = 2000;
}
if (_root.varARMOR == 5) {
_parent.cost = 3000;
}
if (_root.varARMOR == 6) {
_parent.cost = 5000;
}
if (_root.varARMOR == 7) {
_parent.cost = 10000;
}
if (_root.varARMOR == 8) {
_parent.armorCost = "no more available";
} else {
_parent.armorCost = "$ " + _parent.cost;
}
if (_root.varHEALTH > _root.maxHEALTH) {
_root.varHEALTH = _root.maxHEALTH;
}
_parent.medic1 = 150;
_parent.medic2 = 250;
_parent.medic3 = 500;
_parent.cost1 = "$ " + _parent.medic1;
_parent.cost2 = "$ " + _parent.medic2;
_parent.cost3 = "$ " + _parent.medic3;
}
Symbol 1429 MovieClip Frame 6
stop();
Instance of Symbol 1012 MovieClip "bulletSlider" in Symbol 1429 MovieClip Frame 6
onClipEvent (load) {
slider._y = 0;
slider._x = _root.maxBullets;
}
onClipEvent (enterFrame) {
if (drag == "true") {
if ((_xmouse >= 1) && (_xmouse <= 100)) {
slider._x = _xmouse;
}
if (_xmouse > 100) {
slider._x = 100;
}
if (_xmouse < 1) {
slider._x = 1;
}
}
bulletDisp = Math.round(slider._x);
_root.maxBullets = bulletDisp;
}
Instance of Symbol 1089 MovieClip in Symbol 1429 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(_root.varKEYCONFIG);
}
onClipEvent (enterFrame) {
if (_root.varKEYCONFIG == 1) {
_root.keyUP = 87;
_root.keyDOWN = 83;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keyMELEE = 32;
_root.keySECONDARYSELECT = 81;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 2) {
_root.keyUP = 90;
_root.keyDOWN = 81;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keySECONDARYSELECT = 65;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 3) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 17;
_root.keyINOUT = 16;
_root.keyRELOAD = 96;
_root.keyMELEE = 17;
_root.keySECONDARYSELECT = 97;
_root.keyPRIMARYSELECT = 98;
}
if (_root.varKEYCONFIG == 4) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 96;
_root.keyINOUT = 97;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 16;
_root.keyPRIMARYSELECT = 17;
}
if (_root.varKEYCONFIG == 5) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 13;
_root.keyINOUT = 107;
_root.keyRELOAD = 96;
_root.keyMELEE = 13;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
if (_root.varKEYCONFIG == 6) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 96;
_root.keyINOUT = 107;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
}
Symbol 1435 Button
on (release) {
_root.survival = "true";
stopAllSounds();
gotoAndStop ("hud");
}
Symbol 1441 Button
on (release) {
_root.savefile.data.maxBullets = _root.maxBullets;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
_root.savefile.data.varHEALTH = _root.varHEALTH;
_root.savefile.data.varARMOR = _root.varARMOR;
_root.savefile.data.varMONEY = _root.varMONEY;
_root.savefile.data.varMUSIC = _root.varMUSIC;
_root.savefile.data.varMELEE2 = _root.varMELEE2;
_root.savefile.data.varWEAPON1 = _root.varWEAPON1;
_root.savefile.data.varWEAPON2 = _root.varWEAPON2;
_root.savefile.data.varfist_1 = _root.varfist_1;
_root.savefile.data.varN1911_1 = _root.varN1911_1;
_root.savefile.data.varP262_1 = _root.varP262_1;
_root.savefile.data.varL17_1 = _root.varL17_1;
_root.savefile.data.varT85_1 = _root.varT85_1;
_root.savefile.data.varMKP5_1 = _root.varMKP5_1;
_root.savefile.data.varP09_1 = _root.varP09_1;
_root.savefile.data.varA003_1 = _root.varA003_1;
_root.savefile.data.varPEZ_1 = _root.varPEZ_1;
_root.savefile.data.varDOA12_1 = _root.varDOA12_1;
_root.savefile.data.varGS2000_1 = _root.varGS2000_1;
_root.savefile.data.varGS3000_1 = _root.varGS3000_1;
_root.savefile.data.varG36_1 = _root.varG36_1;
_root.savefile.data.varG11_1 = _root.varG11_1;
_root.savefile.data.varXM8_1 = _root.varXM8_1;
_root.savefile.data.varHT3_1 = _root.varHT3_1;
_root.savefile.data.varFT2A1_1 = _root.varFT2A1_1;
_root.savefile.data.varM9_1 = _root.varM9_1;
_root.savefile.data.varLAWL80_1 = _root.varLAWL80_1;
_root.savefile.data.varfist_2 = _root.varfist_2;
_root.savefile.data.varN1911_2 = _root.varN1911_2;
_root.savefile.data.varP262_2 = _root.varP262_2;
_root.savefile.data.varL17_2 = _root.varL17_2;
_root.savefile.data.varT85_2 = _root.varT85_2;
_root.savefile.data.varMKP5_2 = _root.varMKP5_2;
_root.savefile.data.varP09_2 = _root.varP09_2;
_root.savefile.data.varA003_2 = _root.varA003_2;
_root.savefile.data.varPEZ_2 = _root.varPEZ_2;
_root.savefile.data.varDOA12_2 = _root.varDOA12_2;
_root.savefile.data.varD142_2 = _root.varD142_2;
_root.savefile.data.varGS2000_2 = _root.varGS2000_2;
_root.savefile.data.varGS3000_2 = _root.varGS3000_2;
_root.savefile.data.varG36_2 = _root.varG36_2;
_root.savefile.data.varG11_2 = _root.varG11_2;
_root.savefile.data.varXM8_2 = _root.varXM8_2;
_root.savefile.data.varHT3_2 = _root.varHT3_2;
_root.savefile.data.varFT2A1_2 = _root.varFT2A1_2;
_root.savefile.data.varM9_2 = _root.varM9_2;
_root.savefile.data.varLAWL80_2 = _root.varLAWL80_2;
_root.savefile.data.pistolINV = _root.pistolINV;
_root.savefile.data.smgINV = _root.smgINV;
_root.savefile.data.shotgunINV = _root.shotgunINV;
_root.savefile.data.decapINV = _root.decapINV;
_root.savefile.data.rifleINV = _root.rifleINV;
_root.savefile.data.autorifleINV = _root.autorifleINV;
_root.savefile.data.flameINV = _root.flameINV;
_root.savefile.data.rocketINV = _root.rocketINV;
_root.savefile.data.N1911AMMO1 = _root.N1911AMMO1;
_root.savefile.data.P262AMMO1 = _root.P262AMMO1;
_root.savefile.data.L17AMMO1 = _root.L17AMMO1;
_root.savefile.data.T85AMMO1 = _root.T85AMMO1;
_root.savefile.data.MKP5AMMO1 = _root.MKP5AMMO1;
_root.savefile.data.P09AMMO1 = _root.P09AMMO1;
_root.savefile.data.A003AMMO1 = _root.A003AMMO1;
_root.savefile.data.DOA12AMMO1 = _root.DOA12AMMO1;
_root.savefile.data.PEZAMMO1 = _root.PEZAMMO1;
_root.savefile.data.D142AMMO1 = _root.D142AMMO1;
_root.savefile.data.GS2000AMMO1 = _root.GS2000AMMO1;
_root.savefile.data.GS3000AMMO1 = _root.GS3000AMMO1;
_root.savefile.data.G36AMMO1 = _root.G36AMMO1;
_root.savefile.data.G11AMMO1 = _root.G11AMMO1;
_root.savefile.data.XM8AMMO1 = _root.XM8AMMO1;
_root.savefile.data.FT2A1AMMO1 = _root.FT2A1AMMO1;
_root.savefile.data.M9AMMO1 = _root.M9AMMO1;
_root.savefile.data.LAWL80AMMO1 = _root.LAWL80AMMO1;
_root.savefile.data.N1911AMMO2 = _root.N1911AMMO2;
_root.savefile.data.P262AMMO2 = _root.P262AMMO2;
_root.savefile.data.L17AMMO2 = _root.L17AMMO2;
_root.savefile.data.T85AMMO2 = _root.T85AMMO2;
_root.savefile.data.MKP5AMMO2 = _root.MKP5AMMO2;
_root.savefile.data.P09AMMO2 = _root.P09AMMO2;
_root.savefile.data.A003AMMO2 = _root.A003AMMO2;
_root.savefile.data.DOA12AMMO2 = _root.DOA12AMMO2;
_root.savefile.data.PEZAMMO2 = _root.PEZAMMO2;
_root.savefile.data.D142AMMO2 = _root.D142AMMO2;
_root.savefile.data.GS2000AMMO2 = _root.GS2000AMMO2;
_root.savefile.data.GS3000AMMO2 = _root.GS3000AMMO2;
_root.savefile.data.G36AMMO2 = _root.G36AMMO2;
_root.savefile.data.G11AMMO2 = _root.G11AMMO2;
_root.savefile.data.XM8AMMO2 = _root.XM8AMMO2;
_root.savefile.data.FT2A1AMMO2 = _root.FT2A1AMMO2;
_root.savefile.data.M9AMMO2 = _root.M9AMMO2;
_root.savefile.data.LAWL80AMMO2 = _root.LAWL80AMMO2;
_root.savefile.data.savedGame = "true";
_root.savefile.flush();
saved.play();
}
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1447 MovieClip Frame 1
gotoAndStop(_root["varWEAPON" + weaponNumber]);
stop();
Symbol 1447 MovieClip Frame 2
gotoAndStop ("lastFrame");
Symbol 1447 MovieClip Frame 3
stop();
Instance of Symbol 420 MovieClip "arm" in Symbol 1447 MovieClip Frame 3
onClipEvent (load) {
_root.crosshair["crosshair" + weaponNumber].gotoAndStop(weapon);
this.gotoAndStop(_root.varMELEE);
}
onClipEvent (enterFrame) {
_parent.weapon = "fist";
_parent.weaponType = "melee";
if (Key.isDown(_root.keySECONDARYSELECT)) {
_parent.play();
}
}
Symbol 1447 MovieClip Frame 4
stop();
Instance of Symbol 427 MovieClip "gun" in Symbol 1447 MovieClip Frame 4
onClipEvent (load) {
if (_root["varP262_" + _parent.weaponNumber] == "true") {
gotoAndStop ("P262");
} else {
_parent.weapon = "N1911";
_parent.weaponType = "pistol";
}
}
Symbol 1447 MovieClip Frame 5
stop();
Instance of Symbol 430 MovieClip "gun" in Symbol 1447 MovieClip Frame 5
onClipEvent (load) {
if (_root["varL17_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "P262";
_parent.weaponType = "pistol";
}
}
Symbol 1447 MovieClip Frame 6
stop();
Instance of Symbol 433 MovieClip "gun" in Symbol 1447 MovieClip Frame 6
onClipEvent (load) {
_parent.weapon = "L17";
_parent.weaponType = "pistol";
}
Symbol 1447 MovieClip Frame 7
stop();
Instance of Symbol 438 MovieClip "gun" in Symbol 1447 MovieClip Frame 7
onClipEvent (load) {
if (_root["varMKP5_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "T85";
_parent.weaponType = "smg";
}
}
Symbol 1447 MovieClip Frame 8
stop();
Instance of Symbol 441 MovieClip "gun" in Symbol 1447 MovieClip Frame 8
onClipEvent (load) {
if (_root["varP09_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "MKP5";
_parent.weaponType = "smg";
}
}
Symbol 1447 MovieClip Frame 9
stop();
Instance of Symbol 444 MovieClip "gun" in Symbol 1447 MovieClip Frame 9
onClipEvent (load) {
_parent.weapon = "P09";
_parent.weaponType = "smg";
}
Symbol 1447 MovieClip Frame 10
stop();
Instance of Symbol 449 MovieClip "gun" in Symbol 1447 MovieClip Frame 10
onClipEvent (load) {
if (_root["varPEZ_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "A003";
_parent.weaponType = "shotgun";
}
}
Symbol 1447 MovieClip Frame 11
stop();
Instance of Symbol 452 MovieClip "gun" in Symbol 1447 MovieClip Frame 11
onClipEvent (load) {
if (_root["varDOA12_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "PEZ";
_parent.weaponType = "shotgun";
}
}
Symbol 1447 MovieClip Frame 12
stop();
Instance of Symbol 455 MovieClip "gun" in Symbol 1447 MovieClip Frame 12
onClipEvent (load) {
_parent.weapon = "DOA12";
_parent.weaponType = "shotgun";
}
Symbol 1447 MovieClip Frame 13
stop();
Instance of Symbol 481 MovieClip "gun" in Symbol 1447 MovieClip Frame 13
onClipEvent (load) {
if (_root["varG11_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "G36";
_parent.weaponType = "autorifle";
}
}
Symbol 1447 MovieClip Frame 14
stop();
Instance of Symbol 484 MovieClip "gun" in Symbol 1447 MovieClip Frame 14
onClipEvent (load) {
if (_root["varXM8_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "G11";
_parent.weaponType = "autorifle";
}
}
Symbol 1447 MovieClip Frame 15
stop();
Instance of Symbol 487 MovieClip "gun" in Symbol 1447 MovieClip Frame 15
onClipEvent (load) {
_parent.weapon = "XM8";
_parent.weaponType = "autorifle";
}
Symbol 1447 MovieClip Frame 16
stop();
Instance of Symbol 473 MovieClip "gun" in Symbol 1447 MovieClip Frame 16
onClipEvent (load) {
if (_root["varGS3000_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "GS2000";
_parent.weaponType = "rifle";
}
}
Symbol 1447 MovieClip Frame 17
stop();
Instance of Symbol 477 MovieClip "gun" in Symbol 1447 MovieClip Frame 17
onClipEvent (load) {
_parent.weapon = "GS3000";
_parent.weaponType = "rifle";
}
Symbol 1447 MovieClip Frame 18
stop();
Instance of Symbol 495 MovieClip "gun" in Symbol 1447 MovieClip Frame 18
onClipEvent (load) {
if (_root["varLAWL80_" + _parent.weaponNumber] == "true") {
_parent.nextFrame();
} else {
_parent.weapon = "M9";
_parent.weaponType = "rocket";
}
}
Symbol 1447 MovieClip Frame 19
stop();
Instance of Symbol 501 MovieClip "gun" in Symbol 1447 MovieClip Frame 19
onClipEvent (load) {
_parent.weapon = "LAWL80";
_parent.weaponType = "rocket";
}
Symbol 1447 MovieClip Frame 21
stop();
Instance of Symbol 466 MovieClip "gun" in Symbol 1447 MovieClip Frame 21
onClipEvent (enterFrame) {
_parent.weapon = "D142";
_parent.weaponType = "shotgun";
}
Symbol 1447 MovieClip Frame 22
gotoAndStop ("firstFrame");
Symbol 1454 MovieClip Frame 1
function onEnterFrame() {
if (_root.survival == "false") {
dayLength = 18000;
} else {
dayLength = 3600;
}
Time = _root.Time;
if ((hand._rotation > 165) && (hand._rotation < 185)) {
if ((warning._alpha < 100) && (_root.survival == "false")) {
warning._alpha = warning._alpha + 3;
}
} else if (warning._alpha > 0) {
warning._alpha = warning._alpha - 3;
}
hand._rotation = hand._rotation + (360 / dayLength);
if (_root.varPURCHASE == "true") {
_alpha = 0;
} else {
_alpha = 100;
if ((hand._rotation >= 0) && (hand._rotation <= 180)) {
_root.Time = "day";
} else {
_root.Time = "night";
}
}
}
hand._rotation = 1;
warning._alpha = 0;
Symbol 1474 MovieClip Frame 1
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 2
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 3
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 4
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 5
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 6
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 7
function onEnterFrame() {
AMMO = _root[_root.character.secondary.gun.weapon + "AMMO2"];
INV = _root[_root.character.secondary.gun.weaponType + "INV"];
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1474 MovieClip Frame 8
function onEnterFrame() {
AMMO = "";
INV = "";
NAME = _root.character.secondary.gun.weapon;
}
stop();
Symbol 1485 MovieClip Frame 1
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1485 MovieClip Frame 2
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1485 MovieClip Frame 3
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1485 MovieClip Frame 4
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1485 MovieClip Frame 5
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1485 MovieClip Frame 6
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1485 MovieClip Frame 7
function onEnterFrame() {
AMMO = _root[_root.character.primary.gun.weapon + "AMMO1"];
INV = _root[_root.character.primary.gun.weaponType + "INV"];
NAME = _root.character.primary.gun.weapon;
if (AMMO == 0) {
reload._alpha = 100;
} else {
reload._alpha = 0;
}
if (INV == 0) {
noMoreAmmo._alpha = 100;
} else {
noMoreAmmo._alpha = 0;
}
}
stop();
Symbol 1486 MovieClip Frame 1
function onEnterFrame() {
weapon1.gotoAndStop(_root.character.secondary.gun.weaponType);
weapon2.gotoAndStop(_root.character.primary.gun.weaponType);
if (_root.varPURCHASE == "true") {
_alpha = 0;
weapon1.AMMO = "";
weapon1.INV = "";
weapon1.NAME = "";
weapon2.AMMO = "";
weapon2.INV = "";
weapon2.NAME = "";
} else {
_alpha = 100;
}
}
Symbol 1493 MovieClip Frame 1
function onEnterFrame() {
if ((_root.survival == "true") && (_root.varPURCHASE == "false")) {
day = _root.day;
_root.totalTimer = _root.totalTimer + 1;
_root.nightsSurvived = _root.day - 1;
_y = -195;
_root.dayTimer = _root.dayTimer + 1;
if (_root.dayTimer >= 3600) {
_root.day = _root.day + 1;
_root.dayTimer = 0;
}
_root.LEVEL = _root.day;
mil = mil + 1;
if (mil >= 30) {
sec = sec + 1;
mil = 0;
}
if (sec >= 60) {
mins = mins + 1;
sec = 0;
}
if (mil < 10) {
milDisp = "0" + mil;
} else {
milDisp = mil;
}
if (sec < 10) {
secDisp = "0" + sec;
} else {
secDisp = sec;
}
Clock = (((mins + ":") + secDisp) + ":") + milDisp;
gotoAndStop (1);
} else if (_root.gotThere == "false") {
day = "";
mins = 0;
sec = 0;
mil = 0;
_root.dayTimer = 0;
_root.day = 1;
_y = -2500;
}
if ((_root.gotThere == "true") && (_root.survival == "false")) {
_y = -195;
if (_root.defendTimer > 0) {
mins = Math.floor(_root.defendTimer / 1800);
}
seconds = Math.round(_root.defendTimer / 30) - (mins * 60);
if (seconds >= 0) {
if (seconds < 10) {
secDisp = "0" + seconds;
} else {
secDisp = seconds;
}
}
Clock = (mins + ":") + secDisp;
gotoAndStop (2);
}
}
mins = 0;
sec = 0;
mil = 0;
_root.dayTimer = 0;
_root.day = 1;
stop();
Symbol 1493 MovieClip Frame 2
stop();
Symbol 1511 MovieClip Frame 1
stop();
Symbol 1511 MovieClip Frame 2
stop();
Symbol 1529 MovieClip Frame 1
stop();
Symbol 1529 MovieClip Frame 2
stop();
Symbol 1529 MovieClip Frame 3
stop();
Symbol 1529 MovieClip Frame 4
stop();
Symbol 1531 MovieClip Frame 1
stop();
Symbol 1531 MovieClip Frame 2
stop();
if (_root.LEVEL < 1) {
_root.LEVEL = 1;
}
Instance of Symbol 220 MovieClip in Symbol 1531 MovieClip Frame 2
on (release) {
_parent.play();
}
Symbol 1531 MovieClip Frame 3
stop();
if (_root.LEVEL < 1) {
_root.LEVEL = 1;
}
Symbol 1531 MovieClip Frame 4
stop();
Symbol 1531 MovieClip Frame 5
stop();
Symbol 1531 MovieClip Frame 6
stop();
Symbol 1531 MovieClip Frame 7
stop();
Instance of Symbol 1529 MovieClip in Symbol 1531 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(_root.varLEVEL);
}
Symbol 1531 MovieClip Frame 8
stop();
Symbol 1531 MovieClip Frame 9
stop();
Symbol 1537 Button
on (press) {
play();
}
Symbol 1546 Button
on (press) {
play();
}
Symbol 1553 Button
on (press) {
play();
}
Symbol 1558 Button
on (press) {
play();
}
Symbol 1565 Button
on (press) {
play();
}
Symbol 1570 Button
on (press) {
play();
}
Symbol 1574 Button
on (press) {
play();
}
Symbol 1580 Button
on (press) {
play();
}
Symbol 1585 Button
on (press) {
play();
}
Symbol 1590 Button
on (press) {
play();
}
Symbol 1593 MovieClip Frame 1
stop();
Symbol 1593 MovieClip Frame 2
stop();
Instance of Symbol 220 MovieClip in Symbol 1593 MovieClip Frame 2
on (release) {
_parent.play();
}
Symbol 1594 MovieClip Frame 1
stop();
Symbol 1594 MovieClip Frame 2
stop();
Symbol 1594 MovieClip Frame 3
stop();
Symbol 1619 Button
on (release) {
stopAllSounds();
_parent.gotoAndStop("hud");
}
Symbol 1665 MovieClip Frame 111
stop();
Instance of Symbol 1628 MovieClip in Symbol 1665 MovieClip Frame 111
on (release) {
_parent.play();
}
Symbol 1665 MovieClip Frame 112
stop();
Symbol 1665 MovieClip Frame 113
stop();
Symbol 1665 MovieClip Frame 114
stop();
Symbol 1665 MovieClip Frame 272
stop();
Instance of Symbol 1628 MovieClip in Symbol 1665 MovieClip Frame 272
on (release) {
_parent.play();
}
Symbol 1665 MovieClip Frame 273
stop();
Symbol 1665 MovieClip Frame 274
stop();
Symbol 1665 MovieClip Frame 275
stop();
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 305
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Instance of Symbol 1653 MovieClip in Symbol 1665 MovieClip Frame 445
onClipEvent (load) {
gotoAndPlay(random(20));
}
Symbol 1665 MovieClip Frame 591
_parent.gotoAndStop("hud");
Instance of Symbol 1678 MovieClip in Symbol 1682 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -_parent._rotation;
}
Symbol 1685 MovieClip Frame 1
stop();
char._x = 1592;
char._y = -1585;
car._alpha = 100;
Instance of Symbol 1679 MovieClip in Symbol 1685 MovieClip Frame 1
onClipEvent (load) {
streets.hit._alpha = 0;
}
onClipEvent (enterFrame) {
_x = _root._x;
_y = ((_root._y - 75) + 3182);
}
Instance of Symbol 1681 MovieClip "char" in Symbol 1685 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = 1591;
_y = 1591;
if (_root.varINCAR == "false") {
_rotation = _root.character._rotation;
} else {
_rotation = ((_root.car._rotation - 90) + _root.car.car._rotation);
}
}
Instance of Symbol 1682 MovieClip "carDisplay" in Symbol 1685 MovieClip Frame 1
onClipEvent (enterFrame) {
sideO = _root.car._y - _root.character._y;
sideA = _root.car._x - _root.character._x;
_rotation = (Math.atan2(sideO, sideA) * _root.varRAD);
if (_root.varINCAR == "true") {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 1684 MovieClip in Symbol 1685 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.varOBJECTIVE == "true") && (_root.defending == "false")) {
_alpha = 100;
} else {
_alpha = 0;
}
sideO = _root.objectiveY - _root.character._y;
sideA = _root.objectiveX - _root.character._x;
_rotation = (Math.atan2(sideO, sideA) * _root.varRAD);
}
Instance of Symbol 1684 MovieClip in Symbol 1685 MovieClip Frame 1
onClipEvent (enterFrame) {
sideO = 781 - _root.character._y;
sideA = 154 - _root.character._x;
_rotation = (Math.atan2(sideO, sideA) * _root.varRAD);
}
Instance of Symbol 1684 MovieClip in Symbol 1685 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.LEVEL > 1) {
_alpha = 100;
} else {
_alpha = 0;
}
sideO = 4464 - _root.character._y;
sideA = 7756 - _root.character._x;
_rotation = (Math.atan2(sideO, sideA) * _root.varRAD);
}
Symbol 1688 MovieClip Frame 1
stop();
Symbol 1694 MovieClip Frame 1
stop();
Symbol 1694 MovieClip Frame 2
if (_root.varKEYCONFIG == 1) {
driveHelp = "CTRL";
}
if (_root.varKEYCONFIG == 2) {
driveHelp = "CTRL";
}
if (_root.varKEYCONFIG == 3) {
driveHelp = "SHIFT";
}
if (_root.varKEYCONFIG == 4) {
driveHelp = "NUMPAD 1";
}
if (_root.varKEYCONFIG == 5) {
driveHelp = "NUMPAD +";
}
if (_root.varKEYCONFIG == 6) {
driveHelp = "NUMPAD +";
}
Symbol 1696 MovieClip Frame 1
stop();
Symbol 1699 MovieClip Frame 1
stop();
Symbol 1699 MovieClip Frame 2
if (_root.varKEYCONFIG == 1) {
driveHelp = "SPACEBAR";
}
if (_root.varKEYCONFIG == 2) {
driveHelp = "SPACEBAR";
}
if (_root.varKEYCONFIG == 3) {
driveHelp = "CTRL";
}
if (_root.varKEYCONFIG == 4) {
driveHelp = "NUMPAD 0";
}
if (_root.varKEYCONFIG == 5) {
driveHelp = "NUMPAD ENTER";
}
if (_root.varKEYCONFIG == 6) {
driveHelp = "NUMPAD 0";
}
Symbol 1701 MovieClip Frame 1
gotoAndStop ("lastFrame");
Instance of Symbol 395 MovieClip "arm" in Symbol 1701 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.varMELEE2 == "fist") {
_root.varDAMAGE2 = 5;
}
}
Symbol 1701 MovieClip Frame 2
stop();
Symbol 1701 MovieClip Frame 3
stop();
Symbol 1701 MovieClip Frame 4
stop();
Symbol 1701 MovieClip Frame 5
stop();
Symbol 1701 MovieClip Frame 6
stop();
Symbol 1701 MovieClip Frame 7
stop();
Symbol 1701 MovieClip Frame 8
stop();
Symbol 1701 MovieClip Frame 9
stop();
Symbol 1701 MovieClip Frame 10
stop();
Symbol 1701 MovieClip Frame 11
stop();
Symbol 1701 MovieClip Frame 12
stop();
Symbol 1701 MovieClip Frame 13
stop();
Symbol 1701 MovieClip Frame 14
stop();
Symbol 1701 MovieClip Frame 15
stop();
Symbol 1701 MovieClip Frame 16
stop();
Symbol 1701 MovieClip Frame 17
stop();
Symbol 1701 MovieClip Frame 18
stop();
Symbol 1701 MovieClip Frame 19
stop();
Instance of Symbol 390 MovieClip "legs" in Symbol 1702 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 1701 MovieClip "primary" in Symbol 1702 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.varWEAPON2);
}
Instance of Symbol 1701 MovieClip "secondary" in Symbol 1702 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.varWEAPON1);
}
Instance of Symbol 511 MovieClip in Symbol 1702 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.varARMOR);
}
Symbol 1726 MovieClip Frame 15
stop();
Symbol 1735 MovieClip Frame 71
stop();
Instance of Symbol 1701 MovieClip "primary" in Symbol 1761 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.varWEAPON2);
}
Instance of Symbol 1701 MovieClip "secondary" in Symbol 1761 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.varWEAPON1);
}
Instance of Symbol 511 MovieClip in Symbol 1761 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.varARMOR);
}
Symbol 1787 MovieClip Frame 71
stop();
Symbol 1801 MovieClip Frame 2
stop();
Symbol 1801 MovieClip Frame 3
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 3
on (release) {
_parent.play();
}
Symbol 1801 MovieClip Frame 4
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 5
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 6
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 7
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 8
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1089 MovieClip in Symbol 1801 MovieClip Frame 8
onClipEvent (load) {
gotoAndStop(_root.varKEYCONFIG);
}
onClipEvent (enterFrame) {
if (_root.varKEYCONFIG == 1) {
_root.keyUP = 87;
_root.keyDOWN = 83;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keyMELEE = 32;
_root.keySECONDARYSELECT = 81;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 2) {
_root.keyUP = 90;
_root.keyDOWN = 81;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keySECONDARYSELECT = 65;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 3) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 17;
_root.keyINOUT = 16;
_root.keyRELOAD = 96;
_root.keyMELEE = 17;
_root.keySECONDARYSELECT = 97;
_root.keyPRIMARYSELECT = 98;
}
if (_root.varKEYCONFIG == 4) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 96;
_root.keyINOUT = 97;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 16;
_root.keyPRIMARYSELECT = 17;
}
if (_root.varKEYCONFIG == 5) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 13;
_root.keyINOUT = 107;
_root.keyRELOAD = 96;
_root.keyMELEE = 13;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
if (_root.varKEYCONFIG == 6) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 96;
_root.keyINOUT = 107;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
}
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 8
on (release) {
_root.varPURCHASE = "false";
_parent.gotoAndStop("hud");
}
Symbol 1801 MovieClip Frame 9
_root.varPURCHASE = "true";
Symbol 1801 MovieClip Frame 10
_root.varPURCHASE = "true";
Symbol 1801 MovieClip Frame 70
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 70
on (release) {
_parent.play();
}
Symbol 1801 MovieClip Frame 71
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 72
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 73
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 74
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 75
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 76
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 77
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 77
on (release) {
_root.varPURCHASE = "false";
_parent.gotoAndPlay(1);
}
Symbol 1801 MovieClip Frame 78
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 78
on (release) {
_parent.play();
}
Symbol 1801 MovieClip Frame 79
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 80
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 81
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 82
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 83
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 84
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 85
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 86
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 87
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 88
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 89
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 89
on (release) {
_root.varPURCHASE = "false";
_parent.gotoAndPlay(1);
}
Symbol 1801 MovieClip Frame 90
_root.varPURCHASE = "true";
Symbol 1801 MovieClip Frame 182
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 182
on (release) {
_parent.play();
}
Symbol 1801 MovieClip Frame 183
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 184
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 185
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 186
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 187
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 188
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 189
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 190
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 191
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 192
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 193
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 194
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 194
on (release) {
_root.varPURCHASE = "false";
_parent.gotoAndPlay(1);
}
Symbol 1801 MovieClip Frame 195
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 195
on (release) {
_parent.play();
}
Symbol 1801 MovieClip Frame 196
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 197
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 198
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 199
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 200
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 201
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 202
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 203
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 204
_root.varPURCHASE = "true";
stop();
Symbol 1801 MovieClip Frame 205
_root.varPURCHASE = "true";
Symbol 1801 MovieClip Frame 269
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1628 MovieClip in Symbol 1801 MovieClip Frame 269
on (release) {
_parent.play();
}
Symbol 1801 MovieClip Frame 270
_root.varPURCHASE = "true";
stop();
Instance of Symbol 1795 MovieClip in Symbol 1801 MovieClip Frame 270
onClipEvent (load) {
gotoAndPlay(random(30));
}
Instance of Symbol 1795 MovieClip in Symbol 1801 MovieClip Frame 270
onClipEvent (load) {
gotoAndPlay(random(30));
}
Instance of Symbol 1795 MovieClip in Symbol 1801 MovieClip Frame 270
onClipEvent (load) {
gotoAndPlay(random(30));
}
Instance of Symbol 1795 MovieClip in Symbol 1801 MovieClip Frame 270
onClipEvent (load) {
gotoAndPlay(random(30));
}
Instance of Symbol 1795 MovieClip in Symbol 1801 MovieClip Frame 270
onClipEvent (load) {
gotoAndPlay(random(30));
}
Symbol 1801 MovieClip Frame 375
_parent.gotoAndPlay("win");
gotoAndPlay (1);
Symbol 1806 MovieClip Frame 1
stop();
Instance of Symbol 220 MovieClip in Symbol 1806 MovieClip Frame 1
on (release) {
_parent.gotoAndStop(5);
}
Symbol 1806 MovieClip Frame 2
stop();
Symbol 1806 MovieClip Frame 3
stop();
Symbol 1806 MovieClip Frame 4
stop();
Symbol 1806 MovieClip Frame 5
stop();
Symbol 1808 Button
on (release) {
gotoAndPlay ("exit");
}
Symbol 1809 Button
on (release) {
_root.savefile.data.playerX = _root.character._x;
_root.savefile.data.playerY = _root.character._y;
_root.savefile.data.carX = _root.car._x;
_root.savefile.data.carY = _root.car._y;
_root.savefile.data.carR = _root.car._rotation;
_root.savefile.data.maxBullets = _root.maxBullets;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
_root.savefile.data.varHEALTH = _root.varHEALTH;
_root.savefile.data.varARMOR = _root.varARMOR;
_root.savefile.data.varMONEY = _root.varMONEY;
_root.savefile.data.LEVEL = _root.LEVEL;
_root.savefile.data.varMUSIC = _root.varMUSIC;
_root.savefile.data.varMELEE2 = _root.varMELEE2;
_root.savefile.data.varWEAPON1 = _root.varWEAPON1;
_root.savefile.data.varWEAPON2 = _root.varWEAPON2;
_root.savefile.data.varfist_1 = _root.varfist_1;
_root.savefile.data.varN1911_1 = _root.varN1911_1;
_root.savefile.data.varP262_1 = _root.varP262_1;
_root.savefile.data.varL17_1 = _root.varL17_1;
_root.savefile.data.varT85_1 = _root.varT85_1;
_root.savefile.data.varMKP5_1 = _root.varMKP5_1;
_root.savefile.data.varP09_1 = _root.varP09_1;
_root.savefile.data.varA003_1 = _root.varA003_1;
_root.savefile.data.varPEZ_1 = _root.varPEZ_1;
_root.savefile.data.varDOA12_1 = _root.varDOA12_1;
_root.savefile.data.varGS2000_1 = _root.varGS2000_1;
_root.savefile.data.varGS3000_1 = _root.varGS3000_1;
_root.savefile.data.varG36_1 = _root.varG36_1;
_root.savefile.data.varG11_1 = _root.varG11_1;
_root.savefile.data.varXM8_1 = _root.varXM8_1;
_root.savefile.data.varHT3_1 = _root.varHT3_1;
_root.savefile.data.varFT2A1_1 = _root.varFT2A1_1;
_root.savefile.data.varM9_1 = _root.varM9_1;
_root.savefile.data.varLAWL80_1 = _root.varLAWL80_1;
_root.savefile.data.varfist_2 = _root.varfist_2;
_root.savefile.data.varN1911_2 = _root.varN1911_2;
_root.savefile.data.varP262_2 = _root.varP262_2;
_root.savefile.data.varL17_2 = _root.varL17_2;
_root.savefile.data.varT85_2 = _root.varT85_2;
_root.savefile.data.varMKP5_2 = _root.varMKP5_2;
_root.savefile.data.varP09_2 = _root.varP09_2;
_root.savefile.data.varA003_2 = _root.varA003_2;
_root.savefile.data.varPEZ_2 = _root.varPEZ_2;
_root.savefile.data.varDOA12_2 = _root.varDOA12_2;
_root.savefile.data.varD142_2 = _root.varD142_2;
_root.savefile.data.varGS2000_2 = _root.varGS2000_2;
_root.savefile.data.varGS3000_2 = _root.varGS3000_2;
_root.savefile.data.varG36_2 = _root.varG36_2;
_root.savefile.data.varG11_2 = _root.varG11_2;
_root.savefile.data.varXM8_2 = _root.varXM8_2;
_root.savefile.data.varHT3_2 = _root.varHT3_2;
_root.savefile.data.varFT2A1_2 = _root.varFT2A1_2;
_root.savefile.data.varM9_2 = _root.varM9_2;
_root.savefile.data.varLAWL80_2 = _root.varLAWL80_2;
_root.savefile.data.pistolINV = _root.pistolINV;
_root.savefile.data.smgINV = _root.smgINV;
_root.savefile.data.shotgunINV = _root.shotgunINV;
_root.savefile.data.decapINV = _root.decapINV;
_root.savefile.data.rifleINV = _root.rifleINV;
_root.savefile.data.autorifleINV = _root.autorifleINV;
_root.savefile.data.flameINV = _root.flameINV;
_root.savefile.data.rocketINV = _root.rocketINV;
_root.savefile.data.N1911AMMO1 = _root.N1911AMMO1;
_root.savefile.data.P262AMMO1 = _root.P262AMMO1;
_root.savefile.data.L17AMMO1 = _root.L17AMMO1;
_root.savefile.data.T85AMMO1 = _root.T85AMMO1;
_root.savefile.data.MKP5AMMO1 = _root.MKP5AMMO1;
_root.savefile.data.P09AMMO1 = _root.P09AMMO1;
_root.savefile.data.A003AMMO1 = _root.A003AMMO1;
_root.savefile.data.DOA12AMMO1 = _root.DOA12AMMO1;
_root.savefile.data.PEZAMMO1 = _root.PEZAMMO1;
_root.savefile.data.D142AMMO1 = _root.D142AMMO1;
_root.savefile.data.GS2000AMMO1 = _root.GS2000AMMO1;
_root.savefile.data.GS3000AMMO1 = _root.GS3000AMMO1;
_root.savefile.data.G36AMMO1 = _root.G36AMMO1;
_root.savefile.data.G11AMMO1 = _root.G11AMMO1;
_root.savefile.data.XM8AMMO1 = _root.XM8AMMO1;
_root.savefile.data.FT2A1AMMO1 = _root.FT2A1AMMO1;
_root.savefile.data.M9AMMO1 = _root.M9AMMO1;
_root.savefile.data.LAWL80AMMO1 = _root.LAWL80AMMO1;
_root.savefile.data.N1911AMMO2 = _root.N1911AMMO2;
_root.savefile.data.P262AMMO2 = _root.P262AMMO2;
_root.savefile.data.L17AMMO2 = _root.L17AMMO2;
_root.savefile.data.T85AMMO2 = _root.T85AMMO2;
_root.savefile.data.MKP5AMMO2 = _root.MKP5AMMO2;
_root.savefile.data.P09AMMO2 = _root.P09AMMO2;
_root.savefile.data.A003AMMO2 = _root.A003AMMO2;
_root.savefile.data.DOA12AMMO2 = _root.DOA12AMMO2;
_root.savefile.data.PEZAMMO2 = _root.PEZAMMO2;
_root.savefile.data.D142AMMO2 = _root.D142AMMO2;
_root.savefile.data.GS2000AMMO2 = _root.GS2000AMMO2;
_root.savefile.data.GS3000AMMO2 = _root.GS3000AMMO2;
_root.savefile.data.G36AMMO2 = _root.G36AMMO2;
_root.savefile.data.G11AMMO2 = _root.G11AMMO2;
_root.savefile.data.XM8AMMO2 = _root.XM8AMMO2;
_root.savefile.data.FT2A1AMMO2 = _root.FT2A1AMMO2;
_root.savefile.data.M9AMMO2 = _root.M9AMMO2;
_root.savefile.data.LAWL80AMMO2 = _root.LAWL80AMMO2;
_root.savefile.data.savedGame = "true";
_root.savefile.flush();
saved.play();
}
Symbol 1814 Button
on (release) {
gotoAndPlay (1);
}
Symbol 1884 Button
on (release) {
play();
}
Symbol 1893 Button
on (release) {
_root.savefile.data.maxBullets = _root.maxBullets;
_root.savefile.data.varKEYCONFIG = _root.varKEYCONFIG;
_root.savefile.data.varHEALTH = _root.varHEALTH;
_root.savefile.data.varARMOR = _root.varARMOR;
_root.savefile.data.varMONEY = _root.varMONEY;
_root.savefile.data.LEVEL = _root.LEVEL;
_root.savefile.data.varMUSIC = _root.varMUSIC;
_root.savefile.data.varMELEE2 = _root.varMELEE2;
_root.savefile.data.varWEAPON1 = _root.varWEAPON1;
_root.savefile.data.varWEAPON2 = _root.varWEAPON2;
_root.savefile.data.varfist_1 = _root.varfist_1;
_root.savefile.data.varN1911_1 = _root.varN1911_1;
_root.savefile.data.varP262_1 = _root.varP262_1;
_root.savefile.data.varL17_1 = _root.varL17_1;
_root.savefile.data.varT85_1 = _root.varT85_1;
_root.savefile.data.varMKP5_1 = _root.varMKP5_1;
_root.savefile.data.varP09_1 = _root.varP09_1;
_root.savefile.data.varA003_1 = _root.varA003_1;
_root.savefile.data.varPEZ_1 = _root.varPEZ_1;
_root.savefile.data.varDOA12_1 = _root.varDOA12_1;
_root.savefile.data.varGS2000_1 = _root.varGS2000_1;
_root.savefile.data.varGS3000_1 = _root.varGS3000_1;
_root.savefile.data.varG36_1 = _root.varG36_1;
_root.savefile.data.varG11_1 = _root.varG11_1;
_root.savefile.data.varXM8_1 = _root.varXM8_1;
_root.savefile.data.varHT3_1 = _root.varHT3_1;
_root.savefile.data.varFT2A1_1 = _root.varFT2A1_1;
_root.savefile.data.varM9_1 = _root.varM9_1;
_root.savefile.data.varLAWL80_1 = _root.varLAWL80_1;
_root.savefile.data.varfist_2 = _root.varfist_2;
_root.savefile.data.varN1911_2 = _root.varN1911_2;
_root.savefile.data.varP262_2 = _root.varP262_2;
_root.savefile.data.varL17_2 = _root.varL17_2;
_root.savefile.data.varT85_2 = _root.varT85_2;
_root.savefile.data.varMKP5_2 = _root.varMKP5_2;
_root.savefile.data.varP09_2 = _root.varP09_2;
_root.savefile.data.varA003_2 = _root.varA003_2;
_root.savefile.data.varPEZ_2 = _root.varPEZ_2;
_root.savefile.data.varDOA12_2 = _root.varDOA12_2;
_root.savefile.data.varD142_2 = _root.varD142_2;
_root.savefile.data.varGS2000_2 = _root.varGS2000_2;
_root.savefile.data.varGS3000_2 = _root.varGS3000_2;
_root.savefile.data.varG36_2 = _root.varG36_2;
_root.savefile.data.varG11_2 = _root.varG11_2;
_root.savefile.data.varXM8_2 = _root.varXM8_2;
_root.savefile.data.varHT3_2 = _root.varHT3_2;
_root.savefile.data.varFT2A1_2 = _root.varFT2A1_2;
_root.savefile.data.varM9_2 = _root.varM9_2;
_root.savefile.data.varLAWL80_2 = _root.varLAWL80_2;
_root.savefile.data.pistolINV = _root.pistolINV;
_root.savefile.data.smgINV = _root.smgINV;
_root.savefile.data.shotgunINV = _root.shotgunINV;
_root.savefile.data.decapINV = _root.decapINV;
_root.savefile.data.rifleINV = _root.rifleINV;
_root.savefile.data.autorifleINV = _root.autorifleINV;
_root.savefile.data.flameINV = _root.flameINV;
_root.savefile.data.rocketINV = _root.rocketINV;
_root.savefile.data.N1911AMMO1 = _root.N1911AMMO1;
_root.savefile.data.P262AMMO1 = _root.P262AMMO1;
_root.savefile.data.L17AMMO1 = _root.L17AMMO1;
_root.savefile.data.T85AMMO1 = _root.T85AMMO1;
_root.savefile.data.MKP5AMMO1 = _root.MKP5AMMO1;
_root.savefile.data.P09AMMO1 = _root.P09AMMO1;
_root.savefile.data.A003AMMO1 = _root.A003AMMO1;
_root.savefile.data.DOA12AMMO1 = _root.DOA12AMMO1;
_root.savefile.data.PEZAMMO1 = _root.PEZAMMO1;
_root.savefile.data.GS2000AMMO1 = _root.GS2000AMMO1;
_root.savefile.data.GS3000AMMO1 = _root.GS3000AMMO1;
_root.savefile.data.G36AMMO1 = _root.G36AMMO1;
_root.savefile.data.G11AMMO1 = _root.G11AMMO1;
_root.savefile.data.XM8AMMO1 = _root.XM8AMMO1;
_root.savefile.data.FT2A1AMMO1 = _root.FT2A1AMMO1;
_root.savefile.data.M9AMMO1 = _root.M9AMMO1;
_root.savefile.data.LAWL80AMMO1 = _root.LAWL80AMMO1;
_root.savefile.data.N1911AMMO2 = _root.N1911AMMO2;
_root.savefile.data.P262AMMO2 = _root.P262AMMO2;
_root.savefile.data.L17AMMO2 = _root.L17AMMO2;
_root.savefile.data.T85AMMO2 = _root.T85AMMO2;
_root.savefile.data.MKP5AMMO2 = _root.MKP5AMMO2;
_root.savefile.data.P09AMMO2 = _root.P09AMMO2;
_root.savefile.data.A003AMMO2 = _root.A003AMMO2;
_root.savefile.data.DOA12AMMO2 = _root.DOA12AMMO2;
_root.savefile.data.PEZAMMO2 = _root.PEZAMMO2;
_root.savefile.data.GS2000AMMO2 = _root.GS2000AMMO2;
_root.savefile.data.GS3000AMMO2 = _root.GS3000AMMO2;
_root.savefile.data.G36AMMO2 = _root.G36AMMO2;
_root.savefile.data.G11AMMO2 = _root.G11AMMO2;
_root.savefile.data.XM8AMMO2 = _root.XM8AMMO2;
_root.savefile.data.FT2A1AMMO2 = _root.FT2A1AMMO2;
_root.savefile.data.M9AMMO2 = _root.M9AMMO2;
_root.savefile.data.LAWL80AMMO2 = _root.LAWL80AMMO2;
_root.savefile.data.savedGame = "true";
_root.savefile.flush();
play();
}
Symbol 1900 Button
on (release) {
_parent.hsOutput = "Sending...";
Tosend = new LoadVars();
Tosend.name = playerName;
Tosend.score = playerScore;
Tosend.gameId = "145";
Tosend.gameVersion = "1.0";
Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(8).toString() + random(7).toString()) + random(6).toString()) + random(1).toString()) + random(5).toString()) + random(2).toString()) + random(8).toString()) + random(1).toString()) + random(4).toString()) + random(9).toString()) + random(2).toString()) + random(1).toString()) + random(0).toString()) + random(2).toString()) + random(8).toString()) + random(1).toString()) + random(6).toString()) + random(0).toString()) + random(2).toString()) + random(6).toString()) + random(1).toString()) + random(2).toString()) + random(0).toString()) + random(2).toString()) + random(2).toString()) + random(8).toString()) + random(9).toString()) + random(2).toString()) + random(3).toString()) + random(8).toString()) + random(3).toString()) + random(2).toString()) + random(5).toString()) + random(9).toString()) + random(3).toString()) + random(0).toString()) + random(2).toString()) + random(2).toString()) + random(2).toString()) + random(6).toString()) + random(2).toString()) + random(4).toString()) + random(7).toString()) + random(2).toString()) + random(6).toString()) + random(5).toString()) + random(3).toString()) + random(3).toString()) + random(6).toString()) + random(6).toString()) + random(9).toString()) + random(8).toString()) + random(8).toString()) + random(0).toString()) + random(0).toString()) + random(0).toString()) + random(8).toString()) + random(0).toString()) + random(3).toString()) + random(2).toString()) + random(8).toString()) + random(6).toString()) + random(4).toString()) + random(4).toString()) + random(6).toString()) + random(8).toString()) + random(4).toString()) + random(9).toString()) + random(1).toString()) + random(7).toString()) + random(5).toString()) + random(3).toString()) + random(1).toString()) + random(3).toString()) + random(5).toString()) + random(8).toString()) + random(9).toString()) + random(9).toString()) + random(1).toString()) + random(5).toString()) + random(5).toString()) + random(1).toString()) + random(3).toString()) + random(4).toString()) + random(1).toString()) + random(4).toString()) + random(4).toString()) + random(0).toString()) + random(4).toString()) + random(8).toString()) + random(2).toString()) + random(3).toString()) + random(4).toString()) + random(7).toString()) + random(7).toString()) + random(1).toString()) + random(6).toString()) + random(2).toString()) + random(0).toString()) + random(7).toString()) + random(9).toString()) + random(6).toString()) + random(0).toString()) + random(1).toString()) + random(0).toString()) + random(6).toString()) + random(0).toString()) + random(9).toString()) + random(5).toString()) + random(1).toString()) + random(5).toString()) + random(0).toString()) + random(2).toString()) + random(8).toString()) + random(4).toString()) + random(4).toString()) + random(2).toString()) + random(9).toString()) + random(4).toString()) + random(7).toString()) + random(7).toString()) + random(6).toString()) + random(1).toString()) + random(2).toString()) + random(4).toString()) + random(9).toString()) + random(4).toString()) + random(0).toString();
Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST");
Tosend.onLoad = function (ok) {
if (ok) {
if (this.ok == 1) {
_parent.hsOutput = "Your score was submitted.";
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=145", "_BLANK");
gotoAndStop (2);
} else if (this.ok == 0) {
_parent.hsOutput = "Problem occured !";
} else if (this.ok == 2) {
_parent.hsOutput = "Please update game file.";
getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php", "_blank");
}
}
};
}
Symbol 1903 MovieClip Frame 1
stop();
Symbol 1903 MovieClip Frame 2
stop();
Symbol 1908 Button
on (release) {
_parent.hsOutput = "Sending...";
Tosend = new LoadVars();
Tosend.name = playerName;
Tosend.score = playerScore;
Tosend.gameId = "146";
Tosend.gameVersion = "1.0";
Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(8).toString() + random(3).toString()) + random(8).toString()) + random(8).toString()) + random(8).toString()) + random(4).toString()) + random(1).toString()) + random(5).toString()) + random(2).toString()) + random(4).toString()) + random(4).toString()) + random(6).toString()) + random(6).toString()) + random(7).toString()) + random(1).toString()) + random(3).toString()) + random(8).toString()) + random(6).toString()) + random(7).toString()) + random(6).toString()) + random(3).toString()) + random(4).toString()) + random(4).toString()) + random(2).toString()) + random(1).toString()) + random(0).toString()) + random(3).toString()) + random(7).toString()) + random(5).toString()) + random(0).toString()) + random(5).toString()) + random(3).toString()) + random(3).toString()) + random(4).toString()) + random(2).toString()) + random(1).toString()) + random(8).toString()) + random(4).toString()) + random(7).toString()) + random(1).toString()) + random(8).toString()) + random(2).toString()) + random(7).toString()) + random(5).toString()) + random(9).toString()) + random(9).toString()) + random(8).toString()) + random(8).toString()) + random(5).toString()) + random(5).toString()) + random(4).toString()) + random(8).toString()) + random(0).toString()) + random(8).toString()) + random(1).toString()) + random(1).toString()) + random(8).toString()) + random(5).toString()) + random(9).toString()) + random(4).toString()) + random(5).toString()) + random(5).toString()) + random(7).toString()) + random(9).toString()) + random(9).toString()) + random(0).toString()) + random(1).toString()) + random(7).toString()) + random(4).toString()) + random(9).toString()) + random(8).toString()) + random(3).toString()) + random(1).toString()) + random(5).toString()) + random(8).toString()) + random(0).toString()) + random(4).toString()) + random(6).toString()) + random(9).toString()) + random(0).toString()) + random(2).toString()) + random(3).toString()) + random(9).toString()) + random(2).toString()) + random(2).toString()) + random(1).toString()) + random(4).toString()) + random(1).toString()) + random(6).toString()) + random(4).toString()) + random(5).toString()) + random(2).toString()) + random(9).toString()) + random(3).toString()) + random(1).toString()) + random(8).toString()) + random(3).toString()) + random(3).toString()) + random(6).toString()) + random(7).toString()) + random(2).toString()) + random(4).toString()) + random(1).toString()) + random(3).toString()) + random(0).toString()) + random(0).toString()) + random(4).toString()) + random(5).toString()) + random(6).toString()) + random(3).toString()) + random(5).toString()) + random(9).toString()) + random(7).toString()) + random(5).toString()) + random(2).toString()) + random(0).toString()) + random(6).toString()) + random(7).toString()) + random(1).toString()) + random(3).toString()) + random(1).toString()) + random(7).toString()) + random(5).toString()) + random(1).toString()) + random(0).toString()) + random(7).toString()) + random(9).toString()) + random(4).toString();
Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST");
Tosend.onLoad = function (ok) {
if (ok) {
if (this.ok == 1) {
_parent.hsOutput = "Your score was submitted.";
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=146", "_BLANK");
gotoAndStop (2);
} else if (this.ok == 0) {
_parent.hsOutput = "Problem occured !";
} else if (this.ok == 2) {
_parent.hsOutput = "Please update game file.";
getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php", "_blank");
}
}
};
}
Symbol 1911 MovieClip Frame 1
stop();
Symbol 1911 MovieClip Frame 2
stop();
Symbol 1913 Button
on (release) {
_parent.hsOutput = "Sending...";
Tosend = new LoadVars();
Tosend.name = playerName;
Tosend.score = playerScore;
Tosend.gameId = "147";
Tosend.gameVersion = "1.0";
Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(2).toString() + random(6).toString()) + random(8).toString()) + random(6).toString()) + random(4).toString()) + random(2).toString()) + random(9).toString()) + random(3).toString()) + random(0).toString()) + random(0).toString()) + random(8).toString()) + random(8).toString()) + random(3).toString()) + random(1).toString()) + random(2).toString()) + random(0).toString()) + random(8).toString()) + random(8).toString()) + random(1).toString()) + random(8).toString()) + random(3).toString()) + random(4).toString()) + random(0).toString()) + random(7).toString()) + random(5).toString()) + random(4).toString()) + random(3).toString()) + random(8).toString()) + random(3).toString()) + random(4).toString()) + random(2).toString()) + random(5).toString()) + random(1).toString()) + random(0).toString()) + random(2).toString()) + random(5).toString()) + random(3).toString()) + random(2).toString()) + random(8).toString()) + random(4).toString()) + random(2).toString()) + random(7).toString()) + random(3).toString()) + random(6).toString()) + random(8).toString()) + random(5).toString()) + random(6).toString()) + random(7).toString()) + random(4).toString()) + random(7).toString()) + random(6).toString()) + random(7).toString()) + random(1).toString()) + random(6).toString()) + random(5).toString()) + random(6).toString()) + random(1).toString()) + random(9).toString()) + random(5).toString()) + random(4).toString()) + random(3).toString()) + random(7).toString()) + random(0).toString()) + random(4).toString()) + random(8).toString()) + random(3).toString()) + random(0).toString()) + random(1).toString()) + random(5).toString()) + random(8).toString()) + random(5).toString()) + random(8).toString()) + random(5).toString()) + random(9).toString()) + random(4).toString()) + random(4).toString()) + random(4).toString()) + random(0).toString()) + random(2).toString()) + random(9).toString()) + random(8).toString()) + random(8).toString()) + random(7).toString()) + random(9).toString()) + random(5).toString()) + random(2).toString()) + random(6).toString()) + random(6).toString()) + random(1).toString()) + random(1).toString()) + random(0).toString()) + random(5).toString()) + random(9).toString()) + random(1).toString()) + random(0).toString()) + random(7).toString()) + random(4).toString()) + random(0).toString()) + random(8).toString()) + random(0).toString()) + random(9).toString()) + random(4).toString()) + random(8).toString()) + random(4).toString()) + random(3).toString()) + random(3).toString()) + random(9).toString()) + random(8).toString()) + random(4).toString()) + random(1).toString()) + random(7).toString()) + random(2).toString()) + random(0).toString()) + random(5).toString()) + random(2).toString()) + random(5).toString()) + random(7).toString()) + random(8).toString()) + random(1).toString()) + random(8).toString()) + random(0).toString()) + random(2).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(3).toString()) + random(6).toString()) + random(7).toString();
Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST");
Tosend.onLoad = function (ok) {
if (ok) {
if (this.ok == 1) {
_parent.hsOutput = "Your score was submitted.";
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=147", "_BLANK");
gotoAndStop (2);
} else if (this.ok == 0) {
_parent.hsOutput = "Problem occured !";
} else if (this.ok == 2) {
_parent.hsOutput = "Please update game file.";
getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php", "_blank");
}
}
};
}
Symbol 1916 MovieClip Frame 1
stop();
Symbol 1916 MovieClip Frame 2
stop();
Symbol 1918 Button
on (release) {
_parent.hsOutput = "Sending...";
Tosend = new LoadVars();
Tosend.name = playerName;
Tosend.score = playerScore;
Tosend.gameId = "148";
Tosend.gameVersion = "1.0";
Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(7).toString() + random(4).toString()) + random(4).toString()) + random(0).toString()) + random(6).toString()) + random(2).toString()) + random(9).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(3).toString()) + random(3).toString()) + random(9).toString()) + random(7).toString()) + random(6).toString()) + random(4).toString()) + random(0).toString()) + random(7).toString()) + random(2).toString()) + random(4).toString()) + random(3).toString()) + random(0).toString()) + random(6).toString()) + random(7).toString()) + random(9).toString()) + random(0).toString()) + random(6).toString()) + random(3).toString()) + random(2).toString()) + random(4).toString()) + random(3).toString()) + random(9).toString()) + random(9).toString()) + random(8).toString()) + random(9).toString()) + random(6).toString()) + random(0).toString()) + random(9).toString()) + random(2).toString()) + random(0).toString()) + random(4).toString()) + random(6).toString()) + random(3).toString()) + random(3).toString()) + random(3).toString()) + random(0).toString()) + random(8).toString()) + random(4).toString()) + random(7).toString()) + random(0).toString()) + random(9).toString()) + random(1).toString()) + random(1).toString()) + random(5).toString()) + random(9).toString()) + random(0).toString()) + random(5).toString()) + random(5).toString()) + random(4).toString()) + random(8).toString()) + random(0).toString()) + random(7).toString()) + random(7).toString()) + random(9).toString()) + random(5).toString()) + random(7).toString()) + random(6).toString()) + random(5).toString()) + random(6).toString()) + random(8).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(9).toString()) + random(4).toString()) + random(8).toString()) + random(9).toString()) + random(3).toString()) + random(3).toString()) + random(7).toString()) + random(3).toString()) + random(2).toString()) + random(9).toString()) + random(5).toString()) + random(7).toString()) + random(9).toString()) + random(6).toString()) + random(3).toString()) + random(4).toString()) + random(0).toString()) + random(1).toString()) + random(5).toString()) + random(8).toString()) + random(9).toString()) + random(5).toString()) + random(4).toString()) + random(6).toString()) + random(1).toString()) + random(0).toString()) + random(2).toString()) + random(0).toString()) + random(6).toString()) + random(3).toString()) + random(5).toString()) + random(5).toString()) + random(8).toString()) + random(4).toString()) + random(5).toString()) + random(1).toString()) + random(8).toString()) + random(2).toString()) + random(5).toString()) + random(0).toString()) + random(2).toString()) + random(0).toString()) + random(8).toString()) + random(1).toString()) + random(6).toString()) + random(1).toString()) + random(6).toString()) + random(7).toString()) + random(3).toString()) + random(2).toString()) + random(5).toString()) + random(2).toString()) + random(7).toString()) + random(9).toString()) + random(9).toString();
Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST");
Tosend.onLoad = function (ok) {
if (ok) {
if (this.ok == 1) {
_parent.hsOutput = "Your score was submitted.";
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=148", "_BLANK");
gotoAndStop (2);
} else if (this.ok == 0) {
_parent.hsOutput = "Problem occured !";
} else if (this.ok == 2) {
_parent.hsOutput = "Please update game file.";
getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php", "_blank");
}
}
};
}
Symbol 1921 MovieClip Frame 1
stop();
Symbol 1921 MovieClip Frame 2
stop();
Symbol 1922 MovieClip Frame 1
hsOutput = "";
stop();
Symbol 1922 MovieClip Frame 2
stop();
Symbol 1922 MovieClip Frame 3
stop();
Symbol 1922 MovieClip Frame 4
stop();
Symbol 1953 MovieClip Frame 1
_root.varPURCHASE = "true";
_root._x = 0;
_root._y = 0;
_root.SCORE = 0;
_root.varOBJECTIVE = "false";
_root.gotThere = "false";
_root.defending = "false";
_root.survival = "false";
_root.N1911MAX = 8;
_root.P262MAX = 12;
_root.L17MAX = 17;
_root.T85MAX = 30;
_root.MKP5MAX = 40;
_root.P09MAX = 50;
_root.A003MAX = 4;
_root.PEZMAX = 8;
_root.DOA12MAX = 12;
_root.GS2000MAX = 5;
_root.GS3000MAX = 10;
_root.G36MAX = 30;
_root.G11MAX = 50;
_root.XM8MAX = 100;
_root.FT2A1MAX = 25;
_root.M9MAX = 1;
_root.LAWL80MAX = 5;
_root.G98MAX = 3;
_root.varfist_2 = "false";
_root.defending = "false";
_root.varRELOADING1 = "false";
_root.varRELOADING2 = "false";
_root.varWEAPON1 = "fist";
_root.varWEAPON2 = "N1911";
_root.varMELEE2 = "fist";
_root.varARMOR = 1;
_root.maxHEALTH = 100 + (50 * _root.varARMOR);
_root.varHEALTH = _root.maxHEALTH;
_root.varMONEY = 250;
_root.LEVEL = 0;
_root.character._x = -1167;
_root.character._y = -2467;
_root.car._x = 2900;
_root.car._y = 507;
_root.car._rotation = 80;
_root.varMUSIC = "ON";
_root.varINCAR = "false";
_root.varfist_1 = "true";
_root.varN1911_1 = "false";
_root.varP262_1 = "false";
_root.varL17_1 = "false";
_root.varT85_1 = "false";
_root.varMKP5_1 = "false";
_root.varP09_1 = "false";
_root.varA003_1 = "false";
_root.varPEZ_1 = "false";
_root.varDOA12_1 = "false";
_root.varGS2000_1 = "false";
_root.varGS3000_1 = "false";
_root.varG36_1 = "false";
_root.varG11_1 = "false";
_root.varXM8_1 = "false";
_root.varM9_1 = "false";
_root.varLAWL80_1 = "false";
_root.varN1911_2 = "true";
_root.varP262_2 = "false";
_root.varL17_2 = "false";
_root.varT85_2 = "false";
_root.varMKP5_2 = "false";
_root.varP09_2 = "false";
_root.varA003_2 = "false";
_root.varDOA12_2 = "false";
_root.varPEZ_2 = "false";
_root.varD142_2 = "false";
_root.varGS2000_2 = "false";
_root.varGS3000_2 = "false";
_root.varG36_2 = "false";
_root.varG11_2 = "false";
_root.varXM8_2 = "false";
_root.varM9_2 = "false";
_root.varLAWL80_2 = "false";
_root.pistolINV = 160;
_root.smgINV = 0;
_root.shotgunINV = 0;
_root.rifleINV = 0;
_root.autorifleINV = 0;
_root.rocketINV = 0;
_root.N1911AMMO1 = _root.N1911MAX;
_root.P262AMMO1 = _root.P262MAX;
_root.L17AMMO1 = _root.L17MAX;
_root.T85AMMO1 = _root.T85MAX;
_root.MKP5AMMO1 = _root.MKP5MAX;
_root.P09AMMO1 = _root.P09MAX;
_root.A003AMMO1 = _root.A003MAX;
_root.DOA12AMMO1 = _root.DOA12MAX;
_root.PEZAMMO1 = _root.PEZMAX;
_root.GS2000AMMO1 = _root.GS2000MAX;
_root.GS3000AMMO1 = _root.GS3000MAX;
_root.G36AMMO1 = _root.G36MAX;
_root.G11AMMO1 = _root.G11MAX;
_root.XM8AMMO1 = _root.XM8MAX;
_root.M9AMMO1 = _root.M9MAX;
_root.LAWL80AMMO1 = _root.LAWL80MAX;
_root.G98AMMO1 = _root.G98MAX;
_root.N1911AMMO2 = _root.N1911MAX;
_root.P262AMMO2 = _root.P262MAX;
_root.L17AMMO2 = _root.L17MAX;
_root.T85AMMO2 = _root.T85MAX;
_root.MKP5AMMO2 = _root.MKP5MAX;
_root.P09AMMO2 = _root.P09MAX;
_root.A003AMMO2 = _root.A003MAX;
_root.PEZAMMO2 = _root.PEZMAX;
_root.DOA12AMMO2 = _root.DOA12MAX;
_root.GS2000AMMO2 = _root.GS2000MAX;
_root.GS3000AMMO2 = _root.GS3000MAX;
_root.G36AMMO2 = _root.G36MAX;
_root.G11AMMO2 = _root.G11MAX;
_root.XM8AMMO2 = _root.XM8MAX;
_root.M9AMMO2 = _root.M9MAX;
_root.LAWL80AMMO2 = _root.LAWL80MAX;
stopAllSounds();
function onEnterFrame() {
if ((_root.varHEALTH <= 0) && (_root.varPURCHASE == "false")) {
_root.defending = "false";
_root.varINCAR = "false";
_root.varHEALTH = 0;
if (_root.survival == "false") {
gotoAndPlay ("dead");
} else {
nights = survivalCounter.day - 1;
score2 = survivalCounter.totalTimer;
survivalTime = survivalCounter.Clock;
gotoAndPlay ("dead2");
}
}
if (_root.LEVEL > 0) {
if ((_root.varOBJECTIVE == "true") && (_root.defending == "false")) {
objText1 = "zombie activity spotted at";
objText2 = _root.locName;
} else {
objText1 = "";
objText2 = "";
}
}
if ((_root.LEVEL == 0) && (_root.survival == "false")) {
objText1 = "there should be a garage";
objText2 = "in this section of town";
}
if (_root.defending == "false") {
if (_root.varINCAR == "false") {
if (_root.survival == "false") {
_x = _root.character._x;
_y = _root.character._y;
} else {
_x = _root.survivalX;
_y = _root.survivalY;
}
} else {
_x = (_root.car._x + (_root.car.xSpeed * 4));
_y = (_root.car._y + (_root.car.ySpeed * 4));
}
} else {
_x = _root.objectiveX;
_y = _root.objectiveY;
}
if (_root.survival == "false") {
dispMONEY = "$ " + Math.round(_root.varMONEY);
} else {
dispMONEY = "score: " + Math.round((((((((((((_root.totalTimer + _root.kills) + (_root.decap * 2)) + (_root.dismember * 3)) + (_root.zombie * 2)) + (_root.wZombie * 3)) + (_root.pZombie * 3)) + (_root.aZombie * 4)) + (_root.rZombie * 5)) + (_root.malformed * 8)) + (_root.bMalformed * 10)) + _root.crow) + _root.bat);
}
debug.zomCounter1 = _root.zomCounter1;
debug.zomCounter2 = _root.zomCounter2;
debug.zomCounter3 = _root.zomCounter3;
debug.zomCounter4 = _root.zomCounter4;
debug.zomCounter5 = _root.zomCounter5;
debug.malCounter1 = _root.malCounter1;
debug.malCounter2 = _root.malCounter2;
debug.crowCounter = _root.crowCounter;
debug.batCounter = _root.batCounter;
debug.LEVEL = _root.LEVEL;
}
Instance of Symbol 963 MovieClip "musics2" in Symbol 1953 MovieClip Frame 2
onClipEvent (load) {
if (_root.varMUSIC == "ON") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1953 MovieClip Frame 33
stop();
_root.streets._x = 0;
_root.streets._y = 0;
_root.overhang._x = 0;
_root.overhang._y = 0;
_root.LEVEL = 0;
Symbol 1953 MovieClip Frame 34
stop();
Instance of Symbol 1012 MovieClip "bulletSlider" in Symbol 1953 MovieClip Frame 34
onClipEvent (load) {
slider._y = 0;
slider._x = _root.maxBullets;
}
onClipEvent (enterFrame) {
if (drag == "true") {
if ((_xmouse >= 1) && (_xmouse <= 100)) {
slider._x = _xmouse;
}
if (_xmouse > 100) {
slider._x = 100;
}
if (_xmouse < 1) {
slider._x = 1;
}
}
bulletDisp = Math.round(slider._x);
_root.maxBullets = bulletDisp;
}
Instance of Symbol 1089 MovieClip in Symbol 1953 MovieClip Frame 34
onClipEvent (load) {
gotoAndStop(_root.varKEYCONFIG);
}
onClipEvent (enterFrame) {
if (_root.varKEYCONFIG == 1) {
_root.keyUP = 87;
_root.keyDOWN = 83;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keyMELEE = 32;
_root.keySECONDARYSELECT = 81;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 2) {
_root.keyUP = 90;
_root.keyDOWN = 81;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keySECONDARYSELECT = 65;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 3) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 17;
_root.keyINOUT = 16;
_root.keyRELOAD = 96;
_root.keyMELEE = 17;
_root.keySECONDARYSELECT = 97;
_root.keyPRIMARYSELECT = 98;
}
if (_root.varKEYCONFIG == 4) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 96;
_root.keyINOUT = 97;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 16;
_root.keyPRIMARYSELECT = 17;
}
if (_root.varKEYCONFIG == 5) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 13;
_root.keyINOUT = 107;
_root.keyRELOAD = 96;
_root.keyMELEE = 13;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
if (_root.varKEYCONFIG == 6) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 96;
_root.keyINOUT = 107;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
}
Symbol 1953 MovieClip Frame 35
stop();
Instance of Symbol 1132 MovieClip in Symbol 1953 MovieClip Frame 35
onClipEvent (load) {
gotoAndStop(_root.LEVEL);
}
Symbol 1953 MovieClip Frame 36
stop();
Instance of Symbol 1089 MovieClip in Symbol 1953 MovieClip Frame 36
onClipEvent (load) {
gotoAndStop(_root.varKEYCONFIG);
}
onClipEvent (enterFrame) {
if (_root.varKEYCONFIG == 1) {
_root.keyUP = 87;
_root.keyDOWN = 83;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keyMELEE = 32;
_root.keySECONDARYSELECT = 81;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 2) {
_root.keyUP = 90;
_root.keyDOWN = 81;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keySECONDARYSELECT = 65;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 3) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 17;
_root.keyINOUT = 16;
_root.keyRELOAD = 96;
_root.keyMELEE = 17;
_root.keySECONDARYSELECT = 97;
_root.keyPRIMARYSELECT = 98;
}
if (_root.varKEYCONFIG == 4) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 96;
_root.keyINOUT = 97;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 16;
_root.keyPRIMARYSELECT = 17;
}
if (_root.varKEYCONFIG == 5) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 13;
_root.keyINOUT = 107;
_root.keyRELOAD = 96;
_root.keyMELEE = 13;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
if (_root.varKEYCONFIG == 6) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 96;
_root.keyINOUT = 107;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
}
Symbol 1953 MovieClip Frame 37
_root.varPURCHASE = "true";
_root.survival = "true";
_root.dayTimer = 0;
_root.day = 1;
_root.totalTimer = 0;
_root.flashlight._alpha = 0;
_root.zombie = 0;
_root.wZombie = 0;
_root.pZombie = 0;
_root.aZombie = 0;
_root.rZombie = 0;
_root.malformed = 0;
_root.bMalformed = 0;
_root.crow = 0;
_root.bat = 0;
_root.kills = 0;
_root.decap = 0;
_root.dismember = 0;
Instance of Symbol 1429 MovieClip "purchaseDisplay" in Symbol 1953 MovieClip Frame 37
onClipEvent (mouseDown) {
Text = "";
}
Instance of Symbol 1447 MovieClip "primary" in Symbol 1953 MovieClip Frame 37
onClipEvent (load) {
weaponNumber = 2;
arm = "primary";
gotoAndStop(_root.varWEAPON1);
_root.varRELOADING1 = "false";
_root.varSHOOTING1 = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
stop();
_root.varWEAPON2 = weapon;
if (_root[(("var" + weapon) + "_") + weaponNumber] == "true") {
_root.character.primary.gotoAndStop(weapon);
} else {
nextFrame();
}
if (Key.isDown(_root.keyRELOAD)) {
if ((((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING1 == "false")) && (_root.varRELOADING1 == "false")) && (_root[_root.character.primary.gun.weapon + "AMMO1"] < _root[_root.character.primary.gun.weapon + "MAX"])) && (_root[_root.character.primary.gun.weaponType + "INV"] > 0)) {
_root.varRELOADING1 = "true";
_root.character.primary.gun.gotoAndPlay("reload");
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.keyPRIMARYSELECT)) {
if (((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING1 == "false")) && (_root.varRELOADING1 == "false")) && (primarySelecting == "false")) {
nextFrame();
_root.getprimary = "true";
primarySelecting = "true";
}
} else {
primarySelecting = "false";
}
}
Instance of Symbol 1447 MovieClip "secondary" in Symbol 1953 MovieClip Frame 37
onClipEvent (load) {
weaponNumber = 1;
arm = "secondary";
gotoAndStop(_root.varWEAPON2);
_root.varRELOADING2 = "false";
_root.varSHOOTING2 = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
stop();
_root.varWEAPON1 = weapon;
if (_root[(("var" + weapon) + "_") + weaponNumber] == "true") {
_root.character.secondary.gotoAndStop(weapon);
} else {
nextFrame();
}
if ((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) {
if ((((Key.isDown(_root.keyRELOAD) && (_root.varSHOOTING2 == "false")) && (_root.varRELOADING2 == "false")) && (_root[_root.character.secondary.gun.weapon + "AMMO2"] < _root[_root.character.secondary.gun.weapon + "MAX"])) && (_root[_root.character.secondary.gun.weaponType + "INV"] > 0)) {
_root.varRELOADING2 = "true";
_root.character.secondary.gun.gotoAndPlay("reload");
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.keySECONDARYSELECT)) {
if (((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING2 == "false")) && (_root.varRELOADING2 == "false")) && (secondarySelecting == "false")) {
_root.getsecondary = "true";
nextFrame();
secondarySelecting = "true";
}
} else {
secondarySelecting = "false";
}
}
Instance of Symbol 1203 MovieClip in Symbol 1953 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.varPURCHASE == "true") {
_alpha = 0;
} else {
_alpha = 100;
}
_xscale = _root.maxHEALTH;
life._xscale = (_root.varHEALTH / _root.maxHEALTH) * 100;
_parent.lifeNumber = _root.varHEALTH;
}
Instance of Symbol 1594 MovieClip "musics" in Symbol 1953 MovieClip Frame 37
onClipEvent (load) {
if (_root.varMUSIC == "ON") {
if (_root.survival == "true") {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Symbol 1953 MovieClip Frame 38
gotoAndPlay ("loop2");
Symbol 1953 MovieClip Frame 39
stop();
Symbol 1953 MovieClip Frame 40
stop();
_root.varDEAD = "false";
_root.varPURCHASE = "false";
if (_root.survival == "true") {
_root.varHEALTH = _root.maxHEALTH;
}
Instance of Symbol 1674 MovieClip in Symbol 1953 MovieClip Frame 40
onClipEvent (enterFrame) {
nextLoc.gotoAndStop(_root.LEVEL);
if ((((_root.defending == "true") || (_root.varPURCHASE == "true")) || (_root.survival == "true")) || (_root.LEVEL == 0)) {
_alpha = 0;
} else {
_alpha = 80;
NextLocTimer = 300;
}
if (_root.LEVEL == 1) {
_root.nextAreaX = 3927;
_root.nextAreaY = -151;
}
if (_root.LEVEL == 2) {
_root.nextAreaX = 4575;
_root.nextAreaY = 5951;
}
if (_root.LEVEL == 3) {
_root.nextAreaX = 3148;
_root.nextAreaY = -6227;
}
if (_root.LEVEL == 4) {
_root.nextAreaX = 9116;
_root.nextAreaY = -2134;
}
if (_root.LEVEL == 5) {
_alpha = 0;
}
sideO = _root.nextAreaY - _root.character._y;
sideA = _root.nextAreaX - _root.character._x;
_rotation = (Math.atan2(sideO, sideA) * _root.varRAD);
}
Instance of Symbol 1675 MovieClip "objPointer" in Symbol 1953 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((_root.varOBJECTIVE == "true") && (_root.defending == "false")) {
_alpha = 65;
} else {
_alpha = 0;
}
sideO = _root.objectiveY - _root.character._y;
sideA = _root.objectiveX - _root.character._x;
_rotation = (Math.atan2(sideO, sideA) * _root.varRAD);
}
Instance of Symbol 1685 MovieClip in Symbol 1953 MovieClip Frame 40
onClipEvent (load) {
_xscale = 2;
_yscale = 2;
scale = "small";
}
onClipEvent (enterFrame) {
if (_root.survival == "true") {
_alpha = 0;
} else {
_alpha = 100;
}
if (scale == "none") {
if (_root.alpha == "false") {
_alpha = 100;
}
}
if (scale == "small") {
_xscale = 2;
_yscale = 2;
if (_root.alpha == "false") {
_alpha = 100;
}
}
if (scale == "med") {
_xscale = 4.3;
_yscale = 4.3;
if (_root.alpha == "false") {
_alpha = 100;
}
}
if (Key.isDown(77)) {
if ((scale == "med") && (mapButton == "false")) {
scale = "small";
mapButton = "true";
}
if ((scale == "small") && (mapButton == "false")) {
scale = "none";
mapButton = "true";
}
if ((scale == "none") && (mapButton == "false")) {
scale = "med";
mapButton = "true";
}
} else {
mapButton = "false";
}
}
Instance of Symbol 1447 MovieClip "primary" in Symbol 1953 MovieClip Frame 40
onClipEvent (load) {
weaponNumber = 2;
arm = "primary";
gotoAndStop(_root.varWEAPON1);
_root.varRELOADING1 = "false";
_root.varSHOOTING1 = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
stop();
_root.varWEAPON2 = weapon;
if (_root[(("var" + weapon) + "_") + weaponNumber] == "true") {
_root.character.primary.gotoAndStop(weapon);
} else {
nextFrame();
}
if (Key.isDown(_root.keyRELOAD)) {
if ((((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING1 == "false")) && (_root.varRELOADING1 == "false")) && (_root[_root.character.primary.gun.weapon + "AMMO1"] < _root[_root.character.primary.gun.weapon + "MAX"])) && (_root[_root.character.primary.gun.weaponType + "INV"] > 0)) {
_root.varRELOADING1 = "true";
_root.character.primary.gun.gotoAndPlay("reload");
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.keyPRIMARYSELECT)) {
if (((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING1 == "false")) && (_root.varRELOADING1 == "false")) && (primarySelecting == "false")) {
nextFrame();
_root.getprimary = "true";
primarySelecting = "true";
}
} else {
primarySelecting = "false";
}
}
Instance of Symbol 1447 MovieClip "secondary" in Symbol 1953 MovieClip Frame 40
onClipEvent (load) {
weaponNumber = 1;
arm = "secondary";
gotoAndStop(_root.varWEAPON2);
_root.varRELOADING2 = "false";
_root.varSHOOTING2 = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
stop();
_root.varWEAPON1 = weapon;
if (_root[(("var" + weapon) + "_") + weaponNumber] == "true") {
_root.character.secondary.gotoAndStop(weapon);
} else {
nextFrame();
}
if ((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) {
if ((((Key.isDown(_root.keyRELOAD) && (_root.varSHOOTING2 == "false")) && (_root.varRELOADING2 == "false")) && (_root[_root.character.secondary.gun.weapon + "AMMO2"] < _root[_root.character.secondary.gun.weapon + "MAX"])) && (_root[_root.character.secondary.gun.weaponType + "INV"] > 0)) {
_root.varRELOADING2 = "true";
_root.character.secondary.gun.gotoAndPlay("reload");
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.keySECONDARYSELECT)) {
if (((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING2 == "false")) && (_root.varRELOADING2 == "false")) && (secondarySelecting == "false")) {
_root.getsecondary = "true";
nextFrame();
secondarySelecting = "true";
}
} else {
secondarySelecting = "false";
}
}
Instance of Symbol 1688 MovieClip "defendThisSpot" in Symbol 1953 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.varPURCHASE == "true") {
gotoAndStop (1);
}
}
Instance of Symbol 1203 MovieClip in Symbol 1953 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.varPURCHASE == "true") {
_alpha = 0;
} else {
_alpha = 100;
}
_xscale = _root.maxHEALTH;
life._xscale = (_root.varHEALTH / _root.maxHEALTH) * 100;
_parent.lifeNumber = _root.varHEALTH;
}
Instance of Symbol 1594 MovieClip "musics" in Symbol 1953 MovieClip Frame 40
onClipEvent (load) {
if (_root.varMUSIC == "ON") {
if (_root.survival == "true") {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1801 MovieClip "cutScene" in Symbol 1953 MovieClip Frame 40
onClipEvent (load) {
if ((_root.LEVEL == 0) && (_root.survival == "false")) {
gotoAndPlay ("level0");
}
}
Instance of Symbol 1806 MovieClip "welcome2" in Symbol 1953 MovieClip Frame 47
onClipEvent (load) {
if (_root.LEVEL == 0) {
gotoAndStop (5);
} else {
gotoAndStop(_root.LEVEL);
}
}
Symbol 1953 MovieClip Frame 48
_root.varPURCHASE = "true";
if (_root.LEVEL == 0) {
welcome1.play();
}
Instance of Symbol 1429 MovieClip "purchaseDisplay" in Symbol 1953 MovieClip Frame 49
onClipEvent (mouseDown) {
Text = "";
}
onClipEvent (enterFrame) {
if (_root.varKEYCONFIG == 1) {
_root.keyUP = 87;
_root.keyDOWN = 83;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keyMELEE = 32;
_root.keySECONDARYSELECT = 81;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 2) {
_root.keyUP = 90;
_root.keyDOWN = 81;
_root.keyLEFT = 65;
_root.keyRIGHT = 68;
_root.keyBREAK = 32;
_root.keyINOUT = 17;
_root.keyRELOAD = 82;
_root.keySECONDARYSELECT = 65;
_root.keyPRIMARYSELECT = 69;
}
if (_root.varKEYCONFIG == 3) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 17;
_root.keyINOUT = 16;
_root.keyRELOAD = 96;
_root.keyMELEE = 17;
_root.keySECONDARYSELECT = 97;
_root.keyPRIMARYSELECT = 98;
}
if (_root.varKEYCONFIG == 4) {
_root.keyUP = 38;
_root.keyDOWN = 40;
_root.keyLEFT = 37;
_root.keyRIGHT = 39;
_root.keyBREAK = 96;
_root.keyINOUT = 97;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 16;
_root.keyPRIMARYSELECT = 17;
}
if (_root.varKEYCONFIG == 5) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 13;
_root.keyINOUT = 107;
_root.keyRELOAD = 96;
_root.keyMELEE = 13;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
if (_root.varKEYCONFIG == 6) {
_root.keyUP = 104;
_root.keyDOWN = 101;
_root.keyLEFT = 100;
_root.keyRIGHT = 102;
_root.keyBREAK = 96;
_root.keyINOUT = 107;
_root.keyRELOAD = 13;
_root.keyMELEE = 96;
_root.keySECONDARYSELECT = 103;
_root.keyPRIMARYSELECT = 105;
}
}
Symbol 1953 MovieClip Frame 56
clock.hand._rotation = 1;
_root.varPURCHASE = "true";
_root.flashlight._alpha = 0;
Symbol 1953 MovieClip Frame 57
gotoAndPlay ("loop");
Symbol 1953 MovieClip Frame 65
if (_root.varINCAR == "true") {
_root.car._rotation = 0;
_root.car._y = _root.car._y - 50;
_root.car.speed = 3;
} else {
_root.character._y = _root.character._y - 50;
}
Symbol 1953 MovieClip Frame 72
_root.varPURCHASE = "false";
gotoAndStop ("hud");
Symbol 1953 MovieClip Frame 73
_root.varPURCHASE = "true";
_root.defending = "false";
_root.varOBJECTIVE = "false";
_root.gotThere = "false";
Symbol 1953 MovieClip Frame 87
stop();
Symbol 1953 MovieClip Frame 88
_root.varPURCHASE = "true";
Instance of Symbol 1881 MovieClip in Symbol 1953 MovieClip Frame 94
onClipEvent (load) {
gotoAndStop(random(_totalframes) + 1);
}
onClipEvent (enterFrame) {
stop();
}
Symbol 1953 MovieClip Frame 95
bounty = _root.objBounty;
_root.varMONEY = _root.varMONEY + bounty;
Symbol 1953 MovieClip Frame 102
stop();
Symbol 1953 MovieClip Frame 115
_root.varPURCHASE = "false";
_root.varOBJECTIVE = "false";
_root.objTimer = _root.objTimerMax + random(_root.objTimerMax);
gotoAndStop ("hud");
Symbol 1953 MovieClip Frame 116
_root.varPURCHASE = "false";
_root.varOBJECTIVE = "false";
_root.objTimer = _root.objTimerMax + random(_root.objTimerMax);
gotoAndStop ("hud");
Symbol 1953 MovieClip Frame 117
_root.varMONEY = _root.varMONEY + 1000000;
_root.LEVEL = 5;
stopAllSounds();
Symbol 1953 MovieClip Frame 124
stop();
Symbol 1953 MovieClip Frame 202
stopAllSounds();
gotoAndStop ("mainMenu");
Symbol 1953 MovieClip Frame 203
stopAllSounds();
gotoAndStop ("mainMenu");
Symbol 1953 MovieClip Frame 204
_root.varPURCHASE = "true";
Instance of Symbol 1447 MovieClip "primary" in Symbol 1953 MovieClip Frame 204
onClipEvent (load) {
weaponNumber = 2;
arm = "primary";
gotoAndStop(_root.varWEAPON1);
_root.varRELOADING1 = "false";
_root.varSHOOTING1 = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
stop();
_root.varWEAPON2 = weapon;
if (_root[(("var" + weapon) + "_") + weaponNumber] == "true") {
_root.character.primary.gotoAndStop(weapon);
} else {
nextFrame();
}
if (Key.isDown(_root.keyRELOAD)) {
if ((((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING1 == "false")) && (_root.varRELOADING1 == "false")) && (_root[_root.character.primary.gun.weapon + "AMMO1"] < _root[_root.character.primary.gun.weapon + "MAX"])) && (_root[_root.character.primary.gun.weaponType + "INV"] > 0)) {
_root.varRELOADING1 = "true";
_root.character.primary.gun.gotoAndPlay("reload");
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.keyPRIMARYSELECT)) {
if (((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING1 == "false")) && (_root.varRELOADING1 == "false")) && (primarySelecting == "false")) {
nextFrame();
_root.getprimary = "true";
primarySelecting = "true";
}
} else {
primarySelecting = "false";
}
}
Instance of Symbol 1447 MovieClip "secondary" in Symbol 1953 MovieClip Frame 204
onClipEvent (load) {
weaponNumber = 1;
arm = "secondary";
gotoAndStop(_root.varWEAPON2);
_root.varRELOADING2 = "false";
_root.varSHOOTING2 = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
stop();
_root.varWEAPON1 = weapon;
if (_root[(("var" + weapon) + "_") + weaponNumber] == "true") {
_root.character.secondary.gotoAndStop(weapon);
} else {
nextFrame();
}
if ((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) {
if ((((Key.isDown(_root.keyRELOAD) && (_root.varSHOOTING2 == "false")) && (_root.varRELOADING2 == "false")) && (_root[_root.character.secondary.gun.weapon + "AMMO2"] < _root[_root.character.secondary.gun.weapon + "MAX"])) && (_root[_root.character.secondary.gun.weaponType + "INV"] > 0)) {
_root.varRELOADING2 = "true";
_root.character.secondary.gun.gotoAndPlay("reload");
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.keySECONDARYSELECT)) {
if (((((_root.varINCAR == "false") && (_root.varPURCHASE == "false")) && (_root.varSHOOTING2 == "false")) && (_root.varRELOADING2 == "false")) && (secondarySelecting == "false")) {
_root.getsecondary = "true";
nextFrame();
secondarySelecting = "true";
}
} else {
secondarySelecting = "false";
}
}
Instance of Symbol 1203 MovieClip in Symbol 1953 MovieClip Frame 204
onClipEvent (enterFrame) {
if (_root.varPURCHASE == "true") {
_alpha = 0;
} else {
_alpha = 100;
}
_xscale = _root.maxHEALTH;
life._xscale = (_root.varHEALTH / _root.maxHEALTH) * 100;
}
Symbol 1953 MovieClip Frame 210
nights = _root.nightsSurvived;
zombie = _root.zombie;
wZombie = _root.wZombie;
pZombie = _root.pZombie;
aZombie = _root.aZombie;
rZombie = _root.rZombie;
malformed = _root.malformed;
bMalformed = _root.bMalformed;
crow = _root.crow;
bat = _root.bat;
kills = _root.kills;
decap = _root.decap;
dismember = _root.dismember;
score2 = _root.totalTimer;
score3 = kills;
score4 = decap * 2;
score5 = dismember * 3;
score6 = zombie * 2;
score7 = wZombie * 3;
score8 = pZombie * 3;
score9 = aZombie * 4;
score10 = rZombie * 5;
score11 = malformed * 8;
score12 = bMalformed * 10;
score13 = crow;
score14 = bat;
playerScore = (((((((((((score2 + score3) + score4) + score5) + score6) + score7) + score8) + score9) + score10) + score11) + score12) + score13) + score14;
Instance of Symbol 1922 MovieClip "scoreSubmit" in Symbol 1953 MovieClip Frame 210
onClipEvent (load) {
gotoAndStop(_root.survivalLevel);
playerScore = _parent.playerScore;
blockSubmit.playerScore = _parent.playerScore;
}
Symbol 1953 MovieClip Frame 218
stop();
Symbol 1960 MovieClip Frame 1
stop();
Symbol 1960 MovieClip Frame 2
play();
Symbol 1963 MovieClip Frame 1
stop();
Symbol 1963 MovieClip Frame 2
play();
Symbol 1966 MovieClip Frame 1
stop();
Symbol 1969 MovieClip Frame 1
stop();
Symbol 1972 MovieClip Frame 1
stop();
Symbol 1975 MovieClip Frame 1
stop();
Symbol 1978 MovieClip Frame 1
stop();
Symbol 1981 MovieClip Frame 1
stop();
Symbol 1982 MovieClip Frame 2
stop();
Symbol 1982 MovieClip Frame 3
stop();
Symbol 1982 MovieClip Frame 4
stop();
Symbol 1982 MovieClip Frame 5
stop();
Symbol 1982 MovieClip Frame 6
stop();
Symbol 1982 MovieClip Frame 7
stop();
Symbol 1982 MovieClip Frame 8
stop();
Symbol 1982 MovieClip Frame 9
stop();
Symbol 1982 MovieClip Frame 10
stop();
Symbol 1982 MovieClip Frame 11
stop();
Symbol 1982 MovieClip Frame 12
stop();
Symbol 1982 MovieClip Frame 13
stop();
Symbol 1982 MovieClip Frame 14
stop();
Symbol 1982 MovieClip Frame 15
stop();
Symbol 1982 MovieClip Frame 16
stop();
Symbol 1982 MovieClip Frame 17
stop();
Symbol 1982 MovieClip Frame 18
stop();
Symbol 1982 MovieClip Frame 19
stop();
Symbol 1982 MovieClip Frame 20
stop();
Symbol 1982 MovieClip Frame 21
stop();
Symbol 1982 MovieClip Frame 22
stop();
Symbol 1982 MovieClip Frame 23
stop();
Symbol 1982 MovieClip Frame 24
stop();
Symbol 1985 MovieClip Frame 1
stop();
Symbol 1985 MovieClip Frame 2
play();
Symbol 1988 MovieClip Frame 1
stop();
Symbol 1988 MovieClip Frame 2
play();
Symbol 1991 MovieClip Frame 1
stop();
Symbol 1994 MovieClip Frame 1
stop();
Symbol 1997 MovieClip Frame 1
stop();
Symbol 2000 MovieClip Frame 1
stop();
Symbol 2003 MovieClip Frame 1
stop();
Symbol 2004 MovieClip Frame 2
stop();
Symbol 2004 MovieClip Frame 3
stop();
Symbol 2004 MovieClip Frame 4
stop();
Symbol 2004 MovieClip Frame 5
stop();
Symbol 2004 MovieClip Frame 6
stop();
Symbol 2004 MovieClip Frame 7
stop();
Symbol 2004 MovieClip Frame 8
stop();
Symbol 2004 MovieClip Frame 9
stop();
Symbol 2004 MovieClip Frame 10
stop();
Symbol 2004 MovieClip Frame 11
stop();
Symbol 2004 MovieClip Frame 12
stop();
Symbol 2004 MovieClip Frame 13
stop();
Symbol 2004 MovieClip Frame 14
stop();
Symbol 2004 MovieClip Frame 15
stop();
Symbol 2004 MovieClip Frame 16
stop();
Symbol 2004 MovieClip Frame 17
stop();
Symbol 2004 MovieClip Frame 18
stop();
Symbol 2004 MovieClip Frame 19
stop();
Symbol 2004 MovieClip Frame 20
stop();
Symbol 2004 MovieClip Frame 21
stop();
Symbol 2004 MovieClip Frame 22
stop();
Symbol 2004 MovieClip Frame 23
stop();
Symbol 2004 MovieClip Frame 24
stop();