Frame 1
stop();
Instance of Symbol 2 MovieClip in Frame 1
onClipEvent (enterFrame) {
this.swapDepths(99999999999999);
}
Instance of Symbol 18 MovieClip "loadingbar" in Frame 1
onClipEvent (enterFrame) {
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
if (_root.percentLoaded == 100) {
_root.gotoAndPlay(2);
}
this.bar._xscale = _root.percentLoaded;
}
Frame 2
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("f501c95e", this, 10301);
_global.paused = 0;
_root.paused._y = 100000 /* 0x0186A0 */;
_global.hardness = 1;
_root.normal.gotoAndStop(2);
stop();
_global.marker1 = 6;
_global.marker2 = 12;
_global.marker3 = 18;
_global.marker4 = 999;
_global.jihadmarker = 1;
_global.day = 1;
_global.houselevels = 1;
_global.maxhealth = 100;
_global.health = _global.maxhealth;
_global.maxammo = 7;
_global.ammo = _global.maxammo;
_global.smokenum = 100000 /* 0x0186A0 */;
_global.money = 0;
_global.swordnum = 0;
_global.m16num = 0;
_global.rocketeernum = 0;
_global.tanknum = 0;
_global.skyspeed = 0.5;
_global.godammo = 0;
_global.godgun = 0;
_global.godhouse = 0;
_global.dupnum = 1;
_global.minigunstart = 0;
_global.dualsu = 0;
_global.smgu = 0;
_global.shotgunu = 0;
_global.machinegunu = 0;
_global.grenadeu = 0;
_global.sniperu = 0;
_global.gravu = 0;
_global.minigunu = 0;
_global.gunpower = 1;
_global.gun = "pistol";
_global.pistolpower = 1;
_global.dualspower = 1;
_global.smgpower = 2;
_global.shotgunpower = 5;
_global.machinegunpower = 2;
_global.sniperpower = 2;
_global.minigunpower = 2;
_global.spread = 50;
_global.shotgunluck = 40;
_global.smgspread = 10;
_global.smgluck = 80;
_global.machinegunspread = 20;
_global.machinegunluck = 50;
_global.minigunspread = 30;
_global.minigunluck = 35;
_global.gravspread = 70;
_global.grenadepower = 6;
_global.grenadespread = 50;
_global.craftsman = 0;
_global.gunman = 0;
_global.rifledamage = 3;
_global.missiledamage = 8;
_global.missiles = 0;
_root.code = "";
Mouse.show();
Stage.showMenu = false;
Frame 3
Mouse.show();
stop();
Instance of Symbol 87 MovieClip "missilesite" in Frame 3
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (this._currentframe > 1) {
this.play();
}
} else {
this.stop();
}
}
Frame 4
_global.swordnum = 0;
_global.m16num = 0;
_global.rocketeernum = 0;
_global.jeepnum = 0;
_global.tanknum = 0;
_global.paused = 0;
_global.ammo = _global.maxammo;
_root.daynum = "Day " + _global.day;
_root.birds.gotoAndPlay(2);
money = "$" + _global.money;
_global.gunpower = _global[_global.gun + "power"];
_root.pause._y = 10000;
Mouse.hide();
if (_global.day > 49) {
_quality = "medium";
}
if (_global.day < _global.marker1) {
while ((_global.swordnum / 2) < (_global.day - 1)) {
_root.sword.duplicateMovieClip("sword", _global.swordnum, _global.swordnum);
_global.swordnum++;
}
} else {
while (_global.swordnum < 10) {
_root.sword.duplicateMovieClip("sword", _global.swordnum, _global.swordnum);
_global.swordnum++;
}
}
if (_global.day > 12) {
if (_global.day < 30) {
while (_global.jeepnum < ((_global.day - 14) / 3)) {
_root.jeep.duplicateMovieClip(_root.jeep, _global.jeepnum + 200, _global.jeepnum + 200);
_global.jeepnum++;
}
} else {
while (_global.jeepnum < 6.33333333333333) {
_root.jeep.duplicateMovieClip(_root.jeep, _global.jeepnum + 200, _global.jeepnum + 200);
_global.jeepnum++;
}
}
}
if ((_global.day > (_global.marker1 - 1)) and (_global.day < _global.marker2)) {
while (_global.m16num < (_global.day - _global.marker1)) {
_root.m16.duplicateMovieClip("m16", _global.m16num + 100, _global.m16num + 100);
_global.m16num++;
}
} else if (_global.day > (_global.marker2 - 1)) {
while (_global.m16num < (_global.marker2 - _global.marker1)) {
_root.m16.duplicateMovieClip("m16", _global.m16num + 100, _global.m16num + 100);
_global.m16num++;
}
}
if ((_global.day > (_global.marker2 - 1)) and (_global.day < _global.marker3)) {
while (_global.rocketeernum < (_global.day - _global.marker2)) {
_root.rocketeer.duplicateMovieClip("rocketeer", _global.rocketeernum + 300, _global.rocketeernum + 300);
_global.rocketeernum++;
}
} else if (_global.day > (_global.marker3 - 1)) {
while (_global.rocketeernum < (_global.marker3 - _global.marker2)) {
_root.rocketeer.duplicateMovieClip("rocketeer", _global.rocketeernum + 300, _global.rocketeernum + 300);
_global.rocketeernum++;
}
}
if ((_global.day > (_global.marker3 - 1)) and (_global.day < _global.marker4)) {
while (_global.tanknum < Math.round(((_global.day - _global.marker3) / 2) - 0.1)) {
_root.tank.duplicateMovieClip("tank", _global.tanknum + 400, _global.tanknum + 400);
_global.tanknum++;
}
} else if (_global.day > (_global.marker4 - 1)) {
while (_global.tanknum < ((_global.marker4 - _global.marker3) / 2)) {
_root.tank.duplicateMovieClip("tank", _global.tanknum + 400, _global.tanknum + 400);
_global.tanknum++;
}
}
_root.healthnumber = (Math.round(_global.health) + " / ") + _global.maxhealth;
_root.craftsmannum = _global.craftsman + " craftsmen";
_root.gunmannum = _global.gunman + " gunmen";
_root.missilesnum = _global.missiles + " silo workers";
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
_root.money = "$" + _global.money;
_root.payroll = ((_root.gunmansallery * _global.gunman) + (_root.craftsmansallery * _global.craftsman)) + (_root.siloworkersallery * _global.missiles);
_root.payrolltext = "$" + _root.payroll;
_root.bars.play();
stop();
Instance of Symbol 117 MovieClip "ammobar" in Frame 4
onClipEvent (enterFrame) {
this.green._alpha = this._xscale;
}
Instance of Symbol 135 MovieClip "shockwave" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (Key.isDown(32)) {
if (_global.ammo < _global.maxammo) {
if (_root.reload._currentframe == 1) {
if (_global.gun == "shotgun") {
if (_root.gunshot._currentframe == 1) {
_root.bars.gotoAndPlay(2);
_root.reload.gotoAndPlay(2);
}
} else {
_global.ammo = 0;
}
if (_global.gun == "shotgun") {
if (_root.gunshot._currentframe == 1) {
_root.bars.gotoAndPlay(2);
_root.reload.gotoAndPlay(2);
}
} else {
_root.bars.gotoAndPlay(2);
_root.reload.gotoAndPlay(2);
}
}
}
}
}
}
Instance of Symbol 143 MovieClip "grenade" in Frame 4
onClipEvent (load) {
launching = 0;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if ((this._x > 0) and (launching == 0)) {
launching = 1;
_root.gunshot.gotoAndPlay("grenadefire");
xspeed = (680 - _root._xmouse) / 28;
yspeed = ((230 - _root._ymouse) / 40) + 12;
ground = _root._ymouse;
if (ground < 300) {
ground = 300;
}
}
if (launching == 1) {
if (this._y > ground) {
_root.grenadeexplosion._x = this._x;
_root.grenadeexplosion._y = this._y;
_root.gunfire.play();
_root.gunshot.gotoAndPlay("grenadehit");
_root.grenadeexplosion.gotoAndPlay(2);
launching = 0;
this._y = 230;
this._x = -1000;
} else {
this._x = this._x - xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 1;
}
x = lastx - this._x;
y = lasty - this._y;
if (y < 0) {
arcSide = 0;
} else {
arcSide = 180;
}
this._rotation = ((((Math.atan(x / y) * -1) * 180) / Math.PI) + arcSide) + 180;
lastx = this._x;
lasty = this._y;
}
}
}
Instance of Symbol 148 MovieClip "explosiontimer" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (this._currentframe < 31) {
if (this._name != "explosiontimer") {
this.play();
}
}
} else {
this.stop();
}
}
Instance of Symbol 150 MovieClip in Frame 4
onClipEvent (load) {
shoot = 0;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_global.missiles > 0) {
shoot = (shoot + 1) + (_global.missiles * 0.2);
}
if (shoot > 200) {
_root.missilesite.gotoAndPlay(2);
shoot = 0;
}
}
}
Instance of Symbol 167 MovieClip "reload" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (this._currentframe > 1) {
this.play();
}
} else {
this.stop();
}
}
Instance of Symbol 181 MovieClip "gunshot" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (this._currentframe > 1) {
this.play();
}
} else {
this.stop();
}
}
Instance of Symbol 183 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_global.health < _global.maxhealth) {
_global.health = _global.health + ((_global.craftsman * 0.7) / 12);
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
_root.bars.play();
}
}
}
Instance of Symbol 185 MovieClip in Frame 4
onClipEvent (load) {
shoot = 0;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_global.gunman > 0) {
shoot = (shoot + 1) + _global.gunman;
}
if (shoot > 80) {
_root.muzzleflash.gotoAndPlay(2);
shoot = 0;
}
}
}
Instance of Symbol 266 MovieClip "m16" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_root._currentframe == 5) {
this._y = -1000;
removeMovieClip(this);
}
if (_root._currentframe != 4) {
this.gotoAndPlay(1);
}
if (this._currentframe == 2) {
if (this.man._currentframe < 12) {
this._x = this._x + speed;
if (this._x > 390) {
if (_root.fence.hitTest(this._x, this._y, true)) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if (_global.gun == "shotgun") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root._xmouse) < (_global.spread / 5)) and (Math.abs(this._y - _root._ymouse) < (_global.spread / 5))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
num = random(100);
if (num < _global.shotgunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.spread) and (Math.abs(this._y - _root._ymouse) < _global.spread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "grenade") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root.grenadeexplosion._x) < _global.grenadespread) and (Math.abs(this._y - _root.grenadeexplosion._y) < _global.grenadespread)) {
_global.money = _global.money + deathmoney;
xoffset = (this._x - _root.grenadeexplosion._x) / 5;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - (_root._ymouse + 20)) < 40)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
if (_global.gun == "smg") {
num = random(100);
if (_root.gunfire._currentframe > 1) {
if (num < _global.smgluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.smgspread) and (Math.abs(this._y - _root._ymouse) < _global.smgspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "machinegun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.machinegunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.machinegunspread) and (Math.abs(this._y - _root._ymouse) < _global.machinegunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "minigun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.minigunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.minigunspread) and (Math.abs(this._y - _root._ymouse) < _global.minigunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_root.shockwave._x > -100) {
if (_root.shockwave.hit.hitTest(this._x, this._y, false)) {
shocknum = random(100);
if (shocknum < 5) {
_global.money = _global.money + deathmoney;
_root.bars.play();
this.gotoAndPlay("shockwave");
}
}
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
} else if (this._currentframe > 2) {
this.play();
}
}
Instance of Symbol 337 MovieClip "rocketeer" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_root._currentframe == 5) {
this._y = -1000;
removeMovieClip(this);
}
if (this._currentframe == 2) {
if (this.man._currentframe < 12) {
if (_global.day > (_global.marker2 - 1)) {
this._x = this._x + speed;
if (this._x > firedistance) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if ((_root.currentframe = 4)) {
removeMovieClip(this);
}
if (_global.gun == "shotgun") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root._xmouse) < (_global.spread / 5)) and (Math.abs(this._y - _root._ymouse) < (_global.spread / 5))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
num = random(100);
if (num < _global.shotgunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.spread) and (Math.abs(this._y - _root._ymouse) < _global.spread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "smg") {
num = random(100);
if (_root.gunfire._currentframe > 1) {
if (num < _global.smgluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.smgspread) and (Math.abs(this._y - _root._ymouse) < _global.smgspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "grenade") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root.grenadeexplosion._x) < _global.grenadespread) and (Math.abs(this._y - _root.grenadeexplosion._y) < _global.grenadespread)) {
_global.money = _global.money + deathmoney;
xoffset = (this._x - _root.grenadeexplosion._x) / 5;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_global.gun == "machinegun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.machinegunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.machinegunspread) and (Math.abs(this._y - _root._ymouse) < _global.machinegunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "minigun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.minigunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.minigunspread) and (Math.abs(this._y - _root._ymouse) < _global.minigunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - _root._ymouse) < 30)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
if (_root.shockwave._x > -100) {
if (_root.shockwave.hit.hitTest(this._x, this._y, false)) {
shocknum = random(100);
if (shocknum < 5) {
_global.money = _global.money + deathmoney;
_root.bars.play();
this.gotoAndPlay("shockwave");
}
}
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - (_root._ymouse + 20)) < 40)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
} else if (this._currentframe > 2) {
this.play();
}
}
Instance of Symbol 354 MovieClip "tank" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_root._currentframe == 5) {
this._y = -1000;
removeMovieClip(this);
}
if (this._currentframe == 2) {
if (this.man._currentframe < 12) {
if (_global.day > (_global.marker3 - 1)) {
this._x = this._x + speed;
if (this._x > firedistance) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hit.hitTest(this._x, this._y, false)) {
health = 0;
explodehit = 1;
}
}
if ((_root.currentframe = 4)) {
removeMovieClip(this);
}
if (_global.gun == "shotgun") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root._xmouse) < (_global.spread / 3)) and (Math.abs(this._y - _root._ymouse) < (_global.spread / 3))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
if (_global.gun == "smg") {
num = random(100);
if (_root.gunfire._currentframe > 1) {
if (num < _global.smgluck) {
if ((Math.abs(this._x - _root._xmouse) < (_global.smgspread * 4)) and (Math.abs(this._y - _root._ymouse) < (_global.smgspread * 2))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "machinegun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.machinegunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.machinegunspread) and (Math.abs(this._y - _root._ymouse) < _global.machinegunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "grenade") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root.grenadeexplosion._x) < _global.grenadespread) and (Math.abs(this._y - _root.grenadeexplosion._y) < _global.grenadespread)) {
health = health - _global.gunpower;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_global.gun == "minigun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.minigunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.minigunspread) and (Math.abs(this._y - _root._ymouse) < _global.minigunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - (_root._ymouse + 20)) < 40)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
if (_root.shockwave._x > -100) {
if (_root.shockwave.hit.hitTest(this._x, this._y, false)) {
shocknum = random(100);
if (shocknum < 3) {
_global.money = _global.money + deathmoney;
_root.bars.play();
this.gotoAndPlay("shockwave");
}
}
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
} else if (this._currentframe > 2) {
this.play();
}
}
Instance of Symbol 432 MovieClip "sword" in Frame 4
onClipEvent (load) {
health = 2;
deathmoney = 150;
explodehit = 0;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_root._currentframe != 4) {
this.gotoAndPlay(1);
}
if (_root._currentframe == 5) {
this._y = -1000;
removeMovieClip(this);
}
if (this._currentframe == 2) {
if (this.man._currentframe < 12) {
this._x = this._x + speed;
if (this._x > 390) {
if (_root.fence.hitTest(this._x, this._y, true)) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if (_global.gun == "shotgun") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root._xmouse) < (_global.spread / 5)) and (Math.abs(this._y - _root._ymouse) < (_global.spread / 5))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
num = random(100);
if (num < _global.shotgunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.spread) and (Math.abs(this._y - _root._ymouse) < _global.spread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "smg") {
num = random(100);
if (_root.gunfire._currentframe > 1) {
if (num < _global.smgluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.smgspread) and (Math.abs(this._y - _root._ymouse) < _global.smgspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "grenade") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root.grenadeexplosion._x) < _global.grenadespread) and (Math.abs(this._y - _root.grenadeexplosion._y) < _global.grenadespread)) {
_global.money = _global.money + deathmoney;
xoffset = (this._x - _root.grenadeexplosion._x) / 5;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_global.gun == "machinegun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.machinegunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.machinegunspread) and (Math.abs(this._y - _root._ymouse) < _global.machinegunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "minigun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.minigunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.minigunspread) and (Math.abs(this._y - _root._ymouse) < _global.minigunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_root.shockwave._x > -100) {
if (_root.shockwave.hit.hitTest(this._x, this._y, false)) {
shocknum = random(100);
if (shocknum < 5) {
_global.money = _global.money + deathmoney;
_root.bars.play();
this.gotoAndPlay("shockwave");
}
}
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - (_root._ymouse + 20)) < 40)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_root._currentframe < 4) {
this._x = -99999;
}
} else if (this._currentframe > 2) {
this.play();
}
}
Instance of Symbol 447 MovieClip "jeep" in Frame 4
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_root._currentframe == 5) {
this._y = -1000;
removeMovieClip(this);
}
if (_root._currentframe != 4) {
this.gotoAndPlay(1);
}
if (this._currentframe == 2) {
if (this._currentframe == 2) {
if (this.man._currentframe < 2) {
if (speed > 0) {
this._x = this._x + speed;
speed = speed - 0.3;
} else {
speed = 0;
this.man.play();
attacking = 1;
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if (_global.gun == "shotgun") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root._xmouse) < (_global.spread / 3)) and (Math.abs(this._y - _root._ymouse) < (_global.spread / 3))) {
health = health - (_global.gunpower / 2);
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
num = random(100);
if (num < _global.shotgunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.spread) and (Math.abs(this._y - _root._ymouse) < _global.spread)) {
health = health - (_global.gunpower / 2);
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "grenade") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root.grenadeexplosion._x) < _global.grenadespread) and (Math.abs(this._y - _root.grenadeexplosion._y) < _global.grenadespread)) {
_global.money = _global.money + deathmoney;
xoffset = (this._x - _root.grenadeexplosion._x) / 5;
this.gotoAndPlay("death");
_root.bars.play();
}
}
}
if (_global.gun == "smg") {
num = random(100);
if (_root.gunfire._currentframe > 1) {
if (num < _global.smgluck) {
if ((Math.abs(this._x - _root._xmouse) < (_global.smgspread * 3)) and (Math.abs(this._y - _root._ymouse) < (_global.smgspread * 2))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "machinegun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.machinegunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.machinegunspread) and (Math.abs(this._y - _root._ymouse) < _global.machinegunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - (_root._ymouse + 20)) < 40)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
if (_global.gun == "minigun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.minigunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.minigunspread) and (Math.abs(this._y - _root._ymouse) < _global.minigunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_root.shockwave._x > -100) {
if (_root.shockwave.hit.hitTest(this._x, this._y, false)) {
shocknum = random(100);
if (shocknum < 4) {
_global.money = _global.money + deathmoney;
_root.bars.play();
this.gotoAndPlay("shockwave");
}
}
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
} else if (attacking == 1) {
this.man.play();
}
}
Instance of Symbol 474 MovieClip "jihad" in Frame 4
onClipEvent (load) {
health = 2;
deathmoney = 3000;
explodehit = 0;
if (_global.day < 25) {
}
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (_global.day > 20) {
if (_root._currentframe == 5) {
this._y = -1000;
removeMovieClip(this);
}
if (this._currentframe == 2) {
if (this.man._currentframe < 7) {
this._x = this._x + speed;
if (this._x > 390) {
if (_root.fence.hitTest(this._x, this._y, true)) {
this.man.gotoAndPlay("fight");
}
}
}
if (_global.gun == "shotgun") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root._xmouse) < (_global.spread / 5)) and (Math.abs(this._y - _root._ymouse) < (_global.spread / 5))) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
num = random(100);
if (num < _global.shotgunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.spread) and (Math.abs(this._y - _root._ymouse) < _global.spread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "smg") {
num = random(100);
if (_root.gunfire._currentframe > 1) {
if (num < _global.smgluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.smgspread) and (Math.abs(this._y - _root._ymouse) < _global.smgspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "grenade") {
if (_root.gunfire._currentframe > 1) {
if ((Math.abs(this._x - _root.grenadeexplosion._x) < _global.grenadespread) and (Math.abs(this._y - _root.grenadeexplosion._y) < _global.grenadespread)) {
_global.money = _global.money + deathmoney;
xoffset = (this._x - _root.grenadeexplosion._x) / 5;
this.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_global.gun == "machinegun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.machinegunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.machinegunspread) and (Math.abs(this._y - _root._ymouse) < _global.machinegunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_global.gun == "minigun") {
if (_root.gunfire._currentframe > 1) {
num = random(100);
if (num < _global.minigunluck) {
if ((Math.abs(this._x - _root._xmouse) < _global.minigunspread) and (Math.abs(this._y - _root._ymouse) < _global.minigunspread)) {
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
}
}
}
}
if (_root.shockwave._x > -100) {
if (_root.shockwave.hit.hitTest(this._x, this._y, false)) {
shocknum = random(100);
if (shocknum < 10) {
_global.money = _global.money + deathmoney;
_root.bars.play();
this.gotoAndPlay("death");
}
}
}
if (_global.fist == 1) {
if ((Math.abs(this._x - _root._xmouse) < 60) and (Math.abs(this._y - (_root._ymouse + 20)) < 40)) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
}
}
} else if (this._currentframe > 2) {
this.play();
}
}
Instance of Symbol 483 MovieClip in Frame 4
onClipEvent (keyDown) {
if (Key.isDown(88)) {
if (_global.paused == 0) {
if (_global.day > 39) {
this._x = _root._xmouse;
this._y = _root._ymouse;
this.swapDepths(888888);
if (this._y < 250) {
this._y = 250;
}
this.play();
}
}
}
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
if (this._currentframe > 1) {
this.play();
}
} else {
this.stop();
}
}
Instance of Symbol 500 MovieClip "pause" in Frame 4
onClipEvent (keyDown) {
if (Key.isDown(80)) {
if (this._y < 0) {
_global.paused = 0;
this._y = 10000;
} else {
_global.paused = 1;
this._y = -30;
this.swapDepths(999999999);
this.text._alpha = 100;
this.p._x = this.p.resetx;
this.p._y = this.p.resety;
this.p.xpower = 0;
this.p.ypower = 0;
this.a._x = this.a.resetx;
this.a._y = this.a.resety;
this.a.xpower = 0;
this.a.ypower = 0;
this.u._x = this.u.resetx;
this.u._y = this.u.resety;
this.u.xpower = 0;
this.u.ypower = 0;
this.s._x = this.s.resetx;
this.s._y = this.s.resety;
this.s.xpower = 0;
this.s.ypower = 0;
this.e._x = this.e.resetx;
this.e._y = this.e.resety;
this.e.xpower = 0;
this.e.ypower = 0;
}
}
}
Instance of Symbol 509 MovieClip "crosshair" in Frame 4
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
_root._ymouse = _root._ymouse - 1;
this.swapDepths(99999999);
if (_root._currentframe != 4) {
this._alpha = 0;
}
if (_root._currentframe == 4) {
this._alpha = 100;
}
}
Frame 5
_global.ammo = _global.maxammo;
_quality = "high";
_root._root.bars.play();
_root.housebutton.gotoAndStop(_root.house._currentframe);
_root.gunmansallerytext = ("$" + _root.gunmansallery) + " / day";
_root.craftsmansallerytext = ("$" + _root.craftsmansallery) + " / day";
_root.silo.siloworkersallerytext = ("$" + _root.siloworkersallery) + " / day";
_root.payroll = ((_root.gunmansallery * _global.gunman) + (_root.craftsmansallery * _global.craftsman)) + (_root.siloworkersallery * _global.missiles);
_root.payrolltext = "$" + _root.payroll;
Mouse.show();
_root.payrollcover._x = 335;
_root.payrollcover.gotoAndPlay(1);
if (_global.gunpower == 2) {
_root.sniperbutton._x = -500;
_root.sniperfull._x = 354.4;
}
if (_root.missilesite._x < 700) {
_root.silo.gotoAndStop(2);
}
if (_root.wall._currentframe > 3) {
_root.wallfull._x = 252;
_root.wallbutton._x = -100;
}
if (_root.house._currentframe > 2) {
_root.fortifyfull._x = 444;
_root.fortifybutton._x = -100;
}
if (_global.day == 39) {
_root.win._x = -22;
} else {
_root.win._x = 99999 /* 0x01869F */;
}
stop();
Instance of Symbol 521 MovieClip "shotgun" in Frame 5
onClipEvent (load) {
if (_global.shotgunu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 539 MovieClip "duals" in Frame 5
onClipEvent (load) {
if (_global.dualsu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 546 MovieClip "smg" in Frame 5
onClipEvent (load) {
if (_global.smgu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 609 MovieClip "machinegun" in Frame 5
onClipEvent (load) {
if (_global.machinegunu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 619 MovieClip "minigun" in Frame 5
onClipEvent (load) {
if (_global.minigunu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 629 MovieClip "grav" in Frame 5
onClipEvent (load) {
if (_global.gravu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 537 MovieClip "grenade" in Frame 5
onClipEvent (load) {
if (_global.grenadeu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Instance of Symbol 647 MovieClip "sniper" in Frame 5
onClipEvent (load) {
if (_global.sniperu == 1) {
this.gotoAndStop(2);
if (_global.gun == this._name) {
this.gotoAndStop(3);
}
}
}
Frame 6
stop();
Symbol 29 Button
on (release) {
gotoAndStop (3);
}
Symbol 32 Button
on (release) {
_root.instructions._x = 325;
}
Symbol 35 Button
on (release) {
_global.hardness = 0.5;
this.gotoAndStop(2);
_root.normal.gotoAndStop(1);
_root.whygod.gotoAndStop(1);
_root.hard.gotoAndStop(1);
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 39 Button
on (release) {
_global.hardness = 1;
this.gotoAndStop(2);
_root.easy.gotoAndStop(1);
_root.whygod.gotoAndStop(1);
_root.hard.gotoAndStop(1);
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
stop();
Symbol 43 Button
on (release) {
_global.hardness = 2;
this.gotoAndStop(2);
_root.normal.gotoAndStop(1);
_root.easy.gotoAndStop(1);
_root.hard.gotoAndStop(1);
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 47 Button
on (release) {
_global.hardness = 1.5;
this.gotoAndStop(2);
_root.normal.gotoAndStop(1);
_root.easy.gotoAndStop(1);
_root.whygod.gotoAndStop(1);
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
stop();
Symbol 60 Button
on (release) {
_root.instructions._x = 10000;
}
Symbol 67 MovieClip Frame 1
if (_global.paused == 0) {
if (_global.health > 1) {
if (this._y < 0) {
this._y = this._y + (_global.skyspeed * 10);
} else {
stopAllSounds();
_root.gotoAndStop(5);
}
}
}
Symbol 67 MovieClip Frame 11
gotoAndPlay (1);
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 80 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 4
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
i = random(10000000);
_root.explosiontimer.duplicateMovieClip("explosiontimer" + i, i, _root.explosiontimer);
Symbol 90 MovieClip Frame 1
daytext = "Day " + _global.day;
Symbol 90 MovieClip Frame 71
_root.gotoAndStop(4);
Instance of Symbol 101 MovieClip "cloud" in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
cloudspeed = random(100) / 400;
this._parent._y = random(180);
this.gotoAndStop(random(10) + 1);
this.stop();
this._parent._x = random(1200) - 500;
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x - cloudspeed;
if (this._parent._x < -500) {
this._parent._x = 700;
this.gotoAndStop(random(10));
this._parent._y = random(150);
cloudspeed = random(100) / 400;
this._parent._y = random(180);
}
}
Symbol 105 MovieClip Frame 2
if ((_global.gun == "grav") or (_global.gun == "grenade")) {
_root.ammonum = ((_global.ammo - (_global.maxammo - 1)) + " / ") + 1;
_root.ammobar._xscale = ((_global.ammo - (_global.maxammo - 1)) / 1) * 100;
} else {
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
}
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
this._x = random(350) + 50;
this._y = random(80) + 325;
Symbol 109 MovieClip Frame 11
this._y = 1000;
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
if (_global.godhouse == 0) {
_global.health = _global.health - 10;
}
_root.bars.play();
Symbol 120 MovieClip Frame 1
this._x = _root._xmouse;
this._y = _root._ymouse;
num = random(360);
if (_global.gun == "shotgun") {
this._x = (Math.sin(num) * random(_global.spread)) + _root._xmouse;
this._y = (Math.cos(num) * random(_global.spread)) + _root._ymouse;
} else {
this._x = (Math.sin(num) * random(_global[_global.gun + "spread"])) + _root._xmouse;
this._y = (Math.cos(num) * random(_global[_global.gun + "spread"])) + _root._ymouse;
}
if (this._name == "smoke") {
this._alpha = 0;
} else if (this._y > 250) {
this._alpha = 100;
}
Symbol 120 MovieClip Frame 20
stop();
removeMovieClip(this);
Symbol 121 MovieClip Frame 1
if (this._name == "bloodsmoke") {
this._alpha = 0;
} else {
this._alpha = 100;
}
Symbol 121 MovieClip Frame 20
stop();
removeMovieClip(this);
Symbol 128 MovieClip Frame 1
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
}
if (_global.godhouse == 1) {
_global.health = _global.maxhealth;
}
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
_root.healthnumber = (Math.round(_global.health) + " / ") + _global.maxhealth;
if (_root.reload._currentframe == 1) {
if ((_global.gun == "grav") or (_global.gun == "grenade")) {
_root.ammonum = ((_global.ammo - (_global.maxammo - 1)) + " / ") + 1;
_root.ammobar._xscale = ((_global.ammo - (_global.maxammo - 1)) / 1) * 100;
} else {
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
}
}
_root.money = "$" + _global.money;
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 73
this._x = -1000;
Symbol 136 Button
on (press) {
if (_global.paused == 0) {
if (_global.ammo > 0) {
if (_global.gun == "shotgun") {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
_root.gunfire.play();
_root.reload.gotoAndStop(1);
_root.bars.play();
}
}
if (((_global.gun == "pistol") or (_global.gun == "sniper")) or (_global.gun == "duals")) {
if (_root.reload._currentframe == 1) {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
_root.bars.play();
}
}
}
if (_global.gun == "smg") {
if (_root.reload._currentframe == 1) {
if (_global.ammo > 0) {
_root.gunshot.gotoAndPlay("smg");
}
}
}
if (_global.gun == "grenade") {
if (_root.reload._currentframe == 1) {
if (_global.ammo > (_global.maxammo - 1)) {
_global.ammo--;
_root.grenade._x = 680;
_root.grenade._y = 230;
_root.gunshot.gotoAndPlay("grenade");
_root.bars.play();
}
}
}
if (_global.gun == "machinegun") {
if (_root.reload._currentframe == 1) {
if (_global.ammo > 0) {
_root.gunshot.gotoAndPlay("machinegun");
}
}
}
if (_global.gun == "minigun") {
if (_root.reload._currentframe == 1) {
if (_global.ammo > 0) {
if (_global.minigunstart == 0) {
_root.gunshot.gotoAndPlay("minigun");
_global.minigunfiring = 1;
}
}
}
}
if (_global.gun == "grav") {
if ((_root.reload._currentframe == 1) and (_root.gunshot._currentframe == 1)) {
if (_global.ammo > (_global.maxammo - 1)) {
_root.gunshot.gotoAndPlay("grav");
}
}
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
}
on (release) {
if (_global.paused == 0) {
if (((_global.gun == "smg") or (_global.gun == "machinegun")) or (_global.gun == "minigun")) {
if (_global.minigunstart == 0) {
_root.gunshot.gotoAndStop(1);
_global.minigunfiring = 0;
} else {
_global.minigunfiring = 0;
}
}
}
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 4
this._y = 1000;
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
place = random(3);
if (place == 0) {
this._x = 548;
this._y = 314;
}
if (place == 1) {
this._x = 563;
this._y = 327;
}
if (place == 2) {
this._x = 578;
this._y = 342;
}
_root.riflemarker._x = random(450) + 50;
_root.riflemarker._y = random(80) + 325;
_root.riflemarker.gotoAndPlay(2);
Symbol 148 MovieClip Frame 1
if (this._name == "explosiontimer") {
stop();
}
Symbol 148 MovieClip Frame 31
_root.explosion.gotoAndPlay(2);
removeMovieClip(this);
stop();
Symbol 153 MovieClip Frame 1
if (this._name == "rocketeertimer") {
stop();
}
Symbol 153 MovieClip Frame 31
_root.rocketeerexplosion.gotoAndPlay(2);
removeMovieClip(this);
stop();
Symbol 167 MovieClip Frame 1
if ((_global.gun == "grav") or (_global.gun == "grenade")) {
_root.ammonum = "1 / 1";
_root.ammobar._xscale = 100;
} else {
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
}
stop();
Symbol 167 MovieClip Frame 2
if (_global.gun == "pistol") {
gotoAndPlay ("pistol");
}
if (_global.gun == "sniper") {
gotoAndPlay ("sniper");
}
if (_global.gun == "shotgun") {
gotoAndPlay ("shotgun");
}
if (_global.gun == "smg") {
gotoAndPlay ("smg");
}
if (_global.gun == "machinegun") {
gotoAndPlay ("machinegun");
}
if (_global.gun == "minigun") {
gotoAndPlay ("minigun");
}
if (_global.gun == "grenade") {
gotoAndPlay ("grenade");
}
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 3
onClipEvent (load) {
num = 0;
i = 0.0434782608695652;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
}
Symbol 167 MovieClip Frame 27
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 28
onClipEvent (load) {
num = 0;
i = 0.0227272727272727;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
}
Symbol 167 MovieClip Frame 73
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
Symbol 167 MovieClip Frame 84
if ((_global.ammo + 1) < _global.maxammo) {
_global.ammo++;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
} else {
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
}
Symbol 167 MovieClip Frame 91
gotoAndPlay ("shotgun");
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 92
onClipEvent (load) {
num = 0;
i = 0.0227272727272727;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
}
Symbol 167 MovieClip Frame 136
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 137
onClipEvent (load) {
num = 0;
i = 0.0112359550561798;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
}
Symbol 167 MovieClip Frame 226
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 227
onClipEvent (load) {
num = 0;
i = 0.0163934426229508;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
}
Symbol 167 MovieClip Frame 288
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 288
onClipEvent (load) {
num = 0;
i = 0.0112359550561798;
}
onClipEvent (enterFrame) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
Instance of Symbol 156 MovieClip in Symbol 167 MovieClip Frame 289
onClipEvent (load) {
num = 0;
i = 0.024390243902439;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root.ammobar._xscale = (num * i) * 100;
num++;
}
}
Symbol 167 MovieClip Frame 331
_global.ammo = _global.maxammo;
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
gotoAndStop (1);
gotoAndStop (1);
Symbol 181 MovieClip Frame 1
_global.minigunfiring = 0;
stop();
Symbol 181 MovieClip Frame 2
if (_global.gun == "pistol") {
gotoAndPlay ("pistol");
}
if (_global.gun == "sniper") {
gotoAndPlay ("sniper");
}
if (_global.gun == "shotgun") {
gotoAndPlay ("shotgun");
}
if (_global.gun == "minigun") {
gotoAndPlay ("minigun");
}
Symbol 181 MovieClip Frame 8
if (_global.gun == "duals") {
gotoAndStop (1);
}
Symbol 181 MovieClip Frame 11
gotoAndStop (1);
Symbol 181 MovieClip Frame 15
gotoAndStop (1);
Symbol 181 MovieClip Frame 18
gotoAndStop (1);
Symbol 181 MovieClip Frame 40
gotoAndStop (1);
Symbol 181 MovieClip Frame 41
if (_global.ammo > 0) {
_root.gunfire.play();
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.bars.gotoAndPlay(2);
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
} else {
gotoAndPlay ("Dryfire");
}
Symbol 181 MovieClip Frame 45
gotoAndPlay ("smg");
Symbol 181 MovieClip Frame 46
if (_global.ammo > 0) {
_root.gunfire.play();
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.bars.gotoAndPlay(2);
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
} else {
gotoAndPlay ("Dryfire");
}
Symbol 181 MovieClip Frame 49
gotoAndPlay ("machinegun");
Symbol 181 MovieClip Frame 50
_global.minigunstart = 1;
Symbol 181 MovieClip Frame 71
_global.minigunstart = 0;
Symbol 181 MovieClip Frame 72
if (_global.ammo > -1) {
_root.gunfire.play();
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
if (_global.minigunfiring == 0) {
this.gotoAndStop(1);
}
_root.bars.gotoAndPlay(2);
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
} else {
gotoAndPlay ("Dryfire");
}
Symbol 181 MovieClip Frame 74
if (_global.ammo > 1) {
gotoAndPlay ("minigunfire");
} else {
gotoAndStop (1);
}
Symbol 181 MovieClip Frame 122
_root.gunfire.play();
if (_global.godammo == 0) {
_global.ammo--;
}
_root.bars.gotoAndPlay(2);
_root.shockwave._x = _root._xmouse;
_root.shockwave._y = _root._ymouse;
_root.shockwave.gotoAndPlay(2);
Symbol 181 MovieClip Frame 152
gotoAndStop (1);
Symbol 181 MovieClip Frame 174
gotoAndStop (1);
Symbol 181 MovieClip Frame 224
gotoAndStop (1);
Symbol 201 MovieClip Frame 12
gotoAndPlay (1);
Symbol 201 MovieClip Frame 15
if (_global.godhouse == 0) {
_global.health = _global.health - 2;
}
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
removeMovieClip(this);
}
_root.bars.play();
Symbol 201 MovieClip Frame 18
gotoAndPlay ("fight");
Symbol 202 Button
on (press) {
if (_global.paused == 0) {
if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , _root._xmouse);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , _root._ymouse);
_global.smokenum++;
_root.bars.play();
}
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
}
Symbol 266 MovieClip Frame 1
this._x = random(50) - 75;
this._y = random(80) + 325;
speed = (random(20) / 10) + 1.5;
deathmoney = 400;
if (_global.day < _global.marker1) {
this._x = 10000;
}
health = 4 * _global.hardness;
explodehit = 0;
Symbol 266 MovieClip Frame 2
if ((((((_global.gun == "shotgun") or (_global.gun == "smg")) or (_global.gun == "machinegun")) or (_global.gun == "minigun")) or (_global.gun == "grenade")) or (_global.gun == "grav")) {
click._y = 10000;
}
stop();
Instance of Symbol 201 MovieClip "man" in Symbol 266 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this.stop();
} else {
this.play();
}
}
Symbol 266 MovieClip Frame 52
gotoAndPlay (1);
Instance of Symbol 219 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 221 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 223 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 225 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 227 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 229 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 231 MovieClip in Symbol 266 MovieClip Frame 53
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Symbol 266 MovieClip Frame 85
stop();
this._y = 1000;
this.gotoAndPlay(1);
Instance of Symbol 219 MovieClip in Symbol 266 MovieClip Frame 85
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 221 MovieClip in Symbol 266 MovieClip Frame 85
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 223 MovieClip in Symbol 266 MovieClip Frame 85
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 225 MovieClip in Symbol 266 MovieClip Frame 85
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 227 MovieClip in Symbol 266 MovieClip Frame 85
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 234 MovieClip in Symbol 266 MovieClip Frame 85
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Symbol 266 MovieClip Frame 138
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 290 MovieClip Frame 11
gotoAndPlay (1);
Symbol 290 MovieClip Frame 47
i = random(1000000);
_root.rocketeertimer.duplicateMovieClip("rocketeertimer" + i, i, _root.rocketeertimer);
Symbol 290 MovieClip Frame 75
gotoAndPlay ("fire");
Symbol 337 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(80) + 325;
speed = (random(10) / 10) + 1;
deathmoney = 500;
firedistance = random(50) + 50;
if (_global.day < _global.marker2) {
this._x = 10000;
}
health = 6 * _global.hardness;
explodehit = 0;
Symbol 337 MovieClip Frame 2
if ((((((_global.gun == "shotgun") or (_global.gun == "smg")) or (_global.gun == "machinegun")) or (_global.gun == "grenade")) or (_global.gun == "minigun")) or (_global.gun == "grav")) {
click._y = 10000;
}
stop();
Instance of Symbol 290 MovieClip "man" in Symbol 337 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this.stop();
} else {
this.play();
}
}
Symbol 337 MovieClip Frame 55
gotoAndPlay (1);
Instance of Symbol 219 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 221 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 223 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 225 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 227 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 305 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 307 MovieClip in Symbol 337 MovieClip Frame 56
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Symbol 337 MovieClip Frame 88
stop();
this._y = 1000;
this.gotoAndPlay(1);
Instance of Symbol 219 MovieClip in Symbol 337 MovieClip Frame 88
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 221 MovieClip in Symbol 337 MovieClip Frame 88
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 223 MovieClip in Symbol 337 MovieClip Frame 88
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 225 MovieClip in Symbol 337 MovieClip Frame 88
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 227 MovieClip in Symbol 337 MovieClip Frame 88
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 234 MovieClip in Symbol 337 MovieClip Frame 88
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Symbol 337 MovieClip Frame 150
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 349 MovieClip Frame 11
gotoAndPlay (1);
Symbol 349 MovieClip Frame 43
if (_global.godhouse == 0) {
_global.health = _global.health - 30;
}
_root.bars.play();
Symbol 349 MovieClip Frame 100
gotoAndPlay ("fight");
Symbol 350 Button
on (press) {
if (_global.paused == 0) {
if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bars.play();
}
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
}
Symbol 354 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(130) + 290;
speed = (random(10) / 10) + 1;
deathmoney = 1500;
firedistance = random(120) + 30;
if (_global.day < _global.marker3) {
this._x = 10000;
}
health = 20 * _global.hardness;
explodehit = 0;
Symbol 354 MovieClip Frame 2
if ((((((_global.gun == "shotgun") or (_global.gun == "smg")) or (_global.gun == "machinegun")) or (_global.gun == "grenade")) or (_global.gun == "minigun")) or (_global.gun == "grav")) {
click._y = 10000;
}
stop();
Instance of Symbol 349 MovieClip "man" in Symbol 354 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this.stop();
} else {
this.play();
}
}
Symbol 354 MovieClip Frame 79
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 354 MovieClip Frame 155
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
_root.bars.gotoAndPlay(2);
Symbol 384 MovieClip Frame 12
gotoAndPlay (1);
Symbol 384 MovieClip Frame 21
if (_global.godhouse == 0) {
_global.health = _global.health - 1;
}
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
removeMovieClip(this);
}
_root.bars.play();
Symbol 384 MovieClip Frame 25
gotoAndPlay ("fight");
Symbol 385 Button
on (press) {
if (_global.paused == 0) {
if (_global.gun == "shotgun") {
} else if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , _root._xmouse);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , _root._ymouse);
_global.smokenum++;
_root.bars.play();
}
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
}
Symbol 400 MovieClip Frame 49
stop();
this._y = 1000;
removeMovieClip(this);
Symbol 431 MovieClip Frame 30
gotoAndPlay ("loop");
Symbol 432 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(80) + 325;
speed = (random(20) / 10) + 3;
health = 2 * _global.hardness;
deathmoney = 100;
explodehit = 0;
Symbol 432 MovieClip Frame 2
if ((((((_global.gun == "shotgun") or (_global.gun == "smg")) or (_global.gun == "machinegun")) or (_global.gun == "minigun")) or (_global.gun == "grav")) or (_global.gun == "grenade")) {
click._y = 10000;
}
stop();
Instance of Symbol 384 MovieClip "man" in Symbol 432 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this.stop();
} else {
this.play();
}
}
Symbol 432 MovieClip Frame 56
gotoAndPlay (1);
Symbol 432 MovieClip Frame 113
stop();
this._y = 1000;
this.gotoAndPlay(1);
Instance of Symbol 219 MovieClip in Symbol 432 MovieClip Frame 114
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 221 MovieClip in Symbol 432 MovieClip Frame 114
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 223 MovieClip in Symbol 432 MovieClip Frame 114
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 225 MovieClip in Symbol 432 MovieClip Frame 114
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 227 MovieClip in Symbol 432 MovieClip Frame 114
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Instance of Symbol 234 MovieClip in Symbol 432 MovieClip Frame 114
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 2) - 25;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
this._alpha = this._alpha - 4;
}
Symbol 432 MovieClip Frame 146
stop();
this._y = 1000;
this.gotoAndPlay(1);
Instance of Symbol 219 MovieClip in Symbol 432 MovieClip Frame 146
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 221 MovieClip in Symbol 432 MovieClip Frame 146
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 223 MovieClip in Symbol 432 MovieClip Frame 146
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 225 MovieClip in Symbol 432 MovieClip Frame 146
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 227 MovieClip in Symbol 432 MovieClip Frame 146
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 234 MovieClip in Symbol 432 MovieClip Frame 146
onClipEvent (load) {
xspeed = ((random(100) / 10) - 5) + this._parent.xoffset;
yspeed = (random(100) / 20) + 5;
rotate = (random(100) / 5) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y - yspeed;
yspeed = yspeed - 0.7;
this._rotation = this._rotation + rotate;
}
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 7
this._y = 10000;
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 32
if (_global.godhouse == 0) {
_global.health = _global.health - 2;
}
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
removeMovieClip(this);
}
_root.bars.play();
Symbol 445 MovieClip Frame 38
if (_global.godhouse == 0) {
_global.health = _global.health - 2;
}
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
removeMovieClip(this);
}
_root.bars.play();
Symbol 445 MovieClip Frame 43
if (_global.godhouse == 0) {
_global.health = _global.health - 2;
}
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
removeMovieClip(this);
}
_root.bars.play();
Symbol 445 MovieClip Frame 49
gotoAndPlay ("fight");
Symbol 446 Button
on (press) {
if (_global.paused == 0) {
if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , _root._xmouse);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , _root._ymouse);
_global.smokenum++;
_root.bars.play();
}
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
}
Symbol 447 MovieClip Frame 1
this._x = random(50) - 75;
this._y = random(80) + 325;
speed = (random(30) / 10) + 8;
attacking = 0;
deathmoney = 800;
if (_global.day < 7) {
this._x = 10000;
stop();
}
health = 6 * _global.hardness;
explodehit = 0;
Symbol 447 MovieClip Frame 2
if ((((((_global.gun == "shotgun") or (_global.gun == "smg")) or (_global.gun == "machinegun")) or (_global.gun == "minigun")) or (_global.gun == "grenade")) or (_global.gun == "grav")) {
click._y = 10000;
}
stop();
Instance of Symbol 445 MovieClip "man" in Symbol 447 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this.gotoAndPlay(1);
} else if (this._currentframe > 1) {
}
}
Symbol 447 MovieClip Frame 109
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 447 MovieClip Frame 230
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 467 MovieClip Frame 6
gotoAndPlay (1);
Symbol 467 MovieClip Frame 7
if (_global.godhouse == 0) {
_global.health = _global.health - 120;
}
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
removeMovieClip(this);
}
_root.bars.play();
Symbol 467 MovieClip Frame 500
stop();
this._parent._y = 1000;
this._parent.gotoAndPlay(1);
Symbol 468 Button
on (press) {
if (_global.paused == 0) {
if (_global.gun == "shotgun") {
} else if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
if (_root.gunshot._currentframe == 1) {
if (_global.godammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , _root._xmouse);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , _root._ymouse);
_global.smokenum++;
_root.bars.play();
}
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
}
Symbol 474 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(80) + 325;
speed = (random(20) / 10) + 6;
if (_global.day < _global.jihadmarker) {
this._x = 10000;
stop();
}
health = 1 * _global.hardness;
deathmoney = 100;
explodehit = 0;
Symbol 474 MovieClip Frame 2
if ((((((_global.gun == "shotgun") or (_global.gun == "smg")) or (_global.gun == "machinegun")) or (_global.gun == "minigun")) or (_global.gun == "grav")) or (_global.gun == "grenade")) {
click._y = 10000;
}
stop();
Instance of Symbol 467 MovieClip "man" in Symbol 474 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this.stop();
} else {
this.play();
}
}
Symbol 474 MovieClip Frame 500
stop();
this._y = 1000;
this.gotoAndPlay(1);
Symbol 476 MovieClip Frame 10
stop();
this._y = 100000 /* 0x0186A0 */;
removeMovieClip(this);
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 5
_global.fist = 1;
Instance of Symbol 481 MovieClip in Symbol 483 MovieClip Frame 5
onClipEvent (load) {
num = 11;
}
onClipEvent (enterFrame) {
if (_global.paused == 0) {
_root._x = random(num * 2) - num;
_root._y = random(num * 2) - num;
num--;
}
}
Symbol 483 MovieClip Frame 6
_global.fist = 0;
Symbol 483 MovieClip Frame 13
_root._x = 0;
_root._y = 0;
Instance of Symbol 486 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
_global.gravity = 0;
_global.power = 40;
_global.bouncy = 0.9;
}
onClipEvent (mouseDown) {
if (_global.paused == 1) {
if (_root.infobox.hitTest(_root._xmouse, _root._ymouse, false)) {
} else {
_root.pexplosion._x = _root._xmouse;
_root.pexplosion._y = _root._ymouse;
_root.pexplosion.gotoAndPlay(1);
_global.splode = 1;
_global.splodex = _root._xmouse;
_global.splodey = _root._ymouse;
}
}
}
Instance of Symbol 489 MovieClip "e" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
xpower = 0;
ypower = 0;
resetx = this._x;
resety = this._y;
}
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this._x = this._x + xpower;
xpower = xpower * 0.95;
if (this._x > 630) {
this._x = 630;
xpower = -(xpower * _global.bouncy);
}
if (this._x < 20) {
this._x = 20;
xpower = xpower + (xpower * -2);
}
this._y = this._y + ypower;
ypower = (ypower * 0.95) + _global.gravity;
if (this._y > 430) {
this._y = 430;
ypower = (-(ypower * _global.bouncy)) + (_global.gravity * 3);
}
if (this._y < 20) {
this._y = 20.1;
ypower = -(ypower * _global.bouncy);
}
if (sploded == 1) {
_global.splode = 0;
sploded = 0;
}
if (_global.splode == 1) {
sploded = 1;
}
if (sploded == 1) {
power = _global.power / (((this._x - _global.splodex) * (this._x - _global.splodex)) + ((this._y - _global.splodey) * (this._y - _global.splodey)));
lastxpower = xpower;
lastypower = ypower;
xpower = lastxpower + ((this._x - _global.splodex) * power);
ypower = lastypower + ((this._y - _global.splodey) * power);
}
}
}
Instance of Symbol 491 MovieClip "s" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
xpower = 0;
ypower = 0;
resetx = this._x;
resety = this._y;
}
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this._x = this._x + xpower;
xpower = xpower * 0.95;
if (this._x > 630) {
this._x = 630;
xpower = -(xpower * _global.bouncy);
}
if (this._x < 20) {
this._x = 20;
xpower = xpower + (xpower * -2);
}
this._y = this._y + ypower;
ypower = (ypower * 0.95) + _global.gravity;
if (this._y > 430) {
this._y = 430;
ypower = (-(ypower * _global.bouncy)) + (_global.gravity * 3);
}
if (this._y < 20) {
this._y = 20.1;
ypower = -(ypower * _global.bouncy);
}
if (sploded == 1) {
_global.splode = 0;
sploded = 0;
}
if (_global.splode == 1) {
sploded = 1;
}
if (sploded == 1) {
power = _global.power / (((this._x - _global.splodex) * (this._x - _global.splodex)) + ((this._y - _global.splodey) * (this._y - _global.splodey)));
lastxpower = xpower;
lastypower = ypower;
xpower = lastxpower + ((this._x - _global.splodex) * power);
ypower = lastypower + ((this._y - _global.splodey) * power);
}
}
}
Instance of Symbol 493 MovieClip "u" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
xpower = 0;
ypower = 0;
resetx = this._x;
resety = this._y;
}
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this._x = this._x + xpower;
xpower = xpower * 0.95;
if (this._x > 630) {
this._x = 630;
xpower = -(xpower * _global.bouncy);
}
if (this._x < 20) {
this._x = 20;
xpower = xpower + (xpower * -2);
}
this._y = this._y + ypower;
ypower = (ypower * 0.95) + _global.gravity;
if (this._y > 430) {
this._y = 430;
ypower = (-(ypower * _global.bouncy)) + (_global.gravity * 3);
}
if (this._y < 20) {
this._y = 20.1;
ypower = -(ypower * _global.bouncy);
}
if (sploded == 1) {
_global.splode = 0;
sploded = 0;
}
if (_global.splode == 1) {
sploded = 1;
}
if (sploded == 1) {
power = _global.power / (((this._x - _global.splodex) * (this._x - _global.splodex)) + ((this._y - _global.splodey) * (this._y - _global.splodey)));
lastxpower = xpower;
lastypower = ypower;
xpower = lastxpower + ((this._x - _global.splodex) * power);
ypower = lastypower + ((this._y - _global.splodey) * power);
}
}
}
Instance of Symbol 495 MovieClip "a" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
xpower = 0;
ypower = 0;
resetx = this._x;
resety = this._y;
}
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this._x = this._x + xpower;
xpower = xpower * 0.95;
if (this._x > 630) {
this._x = 630;
xpower = -(xpower * _global.bouncy);
}
if (this._x < 20) {
this._x = 20;
xpower = xpower + (xpower * -2);
}
this._y = this._y + ypower;
ypower = (ypower * 0.95) + _global.gravity;
if (this._y > 430) {
this._y = 430;
ypower = (-(ypower * _global.bouncy)) + (_global.gravity * 3);
}
if (this._y < 20) {
this._y = 20.1;
ypower = -(ypower * _global.bouncy);
}
if (sploded == 1) {
_global.splode = 0;
sploded = 0;
}
if (_global.splode == 1) {
sploded = 1;
}
if (sploded == 1) {
power = _global.power / (((this._x - _global.splodex) * (this._x - _global.splodex)) + ((this._y - _global.splodey) * (this._y - _global.splodey)));
lastxpower = xpower;
lastypower = ypower;
xpower = lastxpower + ((this._x - _global.splodex) * power);
ypower = lastypower + ((this._y - _global.splodey) * power);
}
}
}
Instance of Symbol 497 MovieClip "p" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
xpower = 0;
ypower = 0;
resetx = this._x;
resety = this._y;
}
onClipEvent (enterFrame) {
if (_global.paused == 1) {
this._x = this._x + xpower;
xpower = xpower * 0.95;
if (this._x > 630) {
this._x = 630;
xpower = -(xpower * _global.bouncy);
}
if (this._x < 20) {
this._x = 20;
xpower = xpower + (xpower * -2);
}
this._y = this._y + ypower;
ypower = (ypower * 0.95) + _global.gravity;
if (this._y > 430) {
this._y = 430;
ypower = (-(ypower * _global.bouncy)) + (_global.gravity * 3);
}
if (this._y < 20) {
this._y = 20.1;
ypower = -(ypower * _global.bouncy);
}
if (sploded == 1) {
_global.splode = 0;
sploded = 0;
}
if (_global.splode == 1) {
sploded = 1;
}
if (sploded == 1) {
power = _global.power / (((this._x - _global.splodex) * (this._x - _global.splodex)) + ((this._y - _global.splodey) * (this._y - _global.splodey)));
lastxpower = xpower;
lastypower = ypower;
xpower = lastxpower + ((this._x - _global.splodex) * power);
ypower = lastypower + ((this._y - _global.splodey) * power);
}
}
}
Instance of Symbol 499 MovieClip "text" in Symbol 500 MovieClip Frame 1
onClipEvent (mouseDown) {
this._alpha = 0;
}
Symbol 503 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 2
_global.paused = 0;
_root.paused._y = 100000 /* 0x0186A0 */;
Symbol 505 MovieClip Frame 17
_root.gotoAndstop("death");
stop();
Symbol 505 MovieClip Frame 18
gotoAndStop (17);
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 2
stop();
Symbol 511 Button
on (release) {
if ((_global.money + 1) > wallcost) {
_global.money = _global.money - wallcost;
_root.wall.gotoAndStop(_root.wall._currentframe + 1);
_global.maxhealth = _global.maxhealth + 50;
_global.health = _global.health + 50;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
if (_root.wall._currentframe > 3) {
_root.wallfull._x = 252;
_root.wallbutton._x = -100;
} else {
wallcost = _root.wall._currentframe * 4000;
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
Symbol 517 Button
on (release) {
if ((_global.money + 1) > _root.shotguncost) {
_global.money = _global.money - _root.shotguncost;
if (_global.godgun == 0) {
_global.gunpower = 5;
}
_global.gun = "shotgun";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
_global.shotgunu = 1;
_root.bars.play();
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Shotgun - $" + _root.shotguncost;
_root.info.info = "Sporting a slow rate of fire and a long (but interuptable) reload time, the shotgun is not without it's drawbacks. However, it's ability to take out more than one target with a single high powered blast brings an important question to mind... What would Bruce Campbell do?";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 518 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 5;
}
_global.gun = "shotgun";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.info._x = -500;
_root.bars.play();
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Shotgun - Purchased";
_root.info.info = "Sporting a slow rate of fire and a long (but interuptable) reload time, the shotgun is not without it's drawbacks. However, it's ability to take out more than one target with a single high powered blast brings an important question to mind... What would Bruce Campbell do?";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
stop();
Symbol 521 MovieClip Frame 3
stop();
Symbol 528 Button
on (release) {
if ((_global.money + 1) > _root.dualscost) {
_global.money = _global.money - _root.dualscost;
if (_global.godgun == 0) {
_global.gunpower = 1;
}
_global.gun = "duals";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.info._x = -500;
_global.dualsu = 1;
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Dual Pistols - $" + _root.dualscost;
_root.info.info = ("Weilding two of your ordinary pistols instead of one won't increase the amount of damage you'll do, but it will let you fire off rounds faster and at only $" + _root.dualscost) + " it's the most affordable gun upgrade in this mindless game.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 529 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 1;
}
_global.gun = "duals";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Dual Pistols - Purchased";
_root.info.info = ("Weilding two of your ordinary pistols instead of one won't increase the amount of damage you'll do, but it will let you fire off rounds faster and at only $" + _root.dualscost) + " it's the most affordable gun upgrade in this mindless game.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 533 Button
on (release) {
if ((_global.money + 1) > _root.grenadecost) {
_global.money = _global.money - _root.grenadecost;
if (_global.godgun == 0) {
_global.gunpower = 6;
}
_global.gun = "grenade";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
_global.grenadeu = 1;
_root.bars.play();
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Grenade Launcher - $" + _root.grenadecost;
_root.info.info = "Finally, a hot injection of testosterone. The grenade launcher fires slow and there's a long delay in between firing the round and the actual impact, but this gun is not without it's benefits. Benefits include: explosions.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 536 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 6;
}
_global.gun = "grenade";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.info._x = -500;
_root.bars.play();
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Grenade Launcher - Purchased";
_root.info.info = "Finally, a hot injection of testosterone. The grenade launcher fires slow and there's a long delay in between firing the round and the actual impact, but this gun is not without it's benefits. Benefits include: explosions.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 2
stop();
Symbol 537 MovieClip Frame 3
stop();
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
stop();
Symbol 539 MovieClip Frame 3
stop();
Symbol 543 Button
on (release) {
if ((_global.money + 1) > _root.smgcost) {
_global.money = _global.money - _root.smgcost;
if (_global.godgun == 0) {
_global.gunpower = 1;
}
_global.gun = "smg";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.info._x = -500;
_global.smgu = 1;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "SMG - $" + _root.smgcost;
_root.info.info = "Cheap and automatic... That's about all the SMG has going for it. Developed with affordability and ammo conservation in mind, this gun is perfect for women, children and grown men who dislike loud noises.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 544 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 1;
}
_global.gun = "smg";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.info._x = -500;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "SMG - Purchased";
_root.info.info = "Cheap and automatic... That's about all the SMG has going for it. Developed with affordability and ammo conservation in mind, this gun is perfect for women, children and grown men who dislike loud noises.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 2
stop();
Symbol 546 MovieClip Frame 3
stop();
Symbol 553 MovieClip Frame 1
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
if (_global.ammo > _global.maxammo) {
_global.ammo = _global.maxammo;
}
_root.healthnumber = (Math.round(_global.health) + " / ") + _global.maxhealth;
_root.craftsmannum = _global.craftsman + " craftsmen";
_root.gunmannum = _global.gunman + " gunmen";
_root.missilesnum = _global.missiles + " silo workers";
if ((_global.gun == "grav") or (_global.gun == "grenade")) {
_root.ammonum = ((_global.ammo - (_global.maxammo - 1)) + " / ") + 1;
_root.ammobar._xscale = ((_global.ammo - (_global.ammo - 1)) / 1) * 100;
} else {
_root.ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
}
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
_root.money = "$" + _global.money;
_root.payroll = ((_root.gunmansallery * _global.gunman) + (_root.craftsmansallery * _global.craftsman)) + (_root.siloworkersallery * _global.missiles);
_root.payrolltext = "$" + _root.payroll;
stop();
Symbol 559 Button
on (release) {
if ((_global.money + 1) > clipsizecost) {
_global.money = _global.money - clipsizecost;
_global.maxammo++;
_root.ammobar._xscale = 100;
_global.ammo = _global.maxammo;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 563 Button
on (release) {
_global.day++;
_root.sky._y = -884;
_root.gotoAndStop(3);
_global.enemyNum = 0;
}
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
_root.bars.play();
Symbol 569 MovieClip Frame 1
stop();
Symbol 573 Button
on (release) {
if ((_global.money + 1) > repaircost) {
if (_global.health < _global.maxhealth) {
_global.money = _global.money - repaircost;
_global.health = _global.health + 20;
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
_root.money = "$" + _global.money;
_root.buy.gotoAndPlay(2);
} else {
wrong.gotoAndPlay(2);
}
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 578 Button
on (release) {
if ((_global.money + 1) > craftsmancost) {
_global.money = _global.money - craftsmancost;
_global.craftsman++;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 581 Button
on (release) {
if ((_global.money + 1) > gunmancost) {
_global.money = _global.money - gunmancost;
_global.gunman++;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 601 Button
on (release) {
_root.instructions._x = 325;
}
Symbol 605 Button
on (release) {
if ((_global.money + 1) > _root.machineguncost) {
_global.money = _global.money - _root.machineguncost;
if (_global.godgun == 0) {
_global.gunpower = 2;
}
_global.gun = "machinegun";
this.gotoAndStop(3);
_root.info._x = -500;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_global.machinegunu = 1;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Machine gun - $" + _root.machineguncost;
_root.info.info = "Half way up the food chain of automatic weaponry, the machine gun has become famous for being a loud, high powered, bullet hose. As one satisfied customer put it, 'I didn't know pure unadulterated bliss came in gunmetal.'";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 606 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 2;
}
_global.gun = "machinegun";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Machine gun - Purchased";
_root.info.info = "Half way up the food chain of automatic weaponry, the machine gun has become famous for being a loud, high powered, bullet hose. As one satisfied customer put it, 'I didn't know pure unadulterated bliss came in gunmetal.'";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
stop();
Symbol 609 MovieClip Frame 3
stop();
Symbol 616 Button
on (release) {
if ((_global.money + 1) > _root.miniguncost) {
_global.money = _global.money - _root.miniguncost;
if (_global.godgun == 0) {
_global.gunpower = 5;
}
_global.gun = "minigun";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
_global.minigunu = 1;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "'Old Glory' - $" + _root.miniguncost;
_root.info.info = "With it's sheer size, high damage rating and ridiculously fast rate of fire, it's entirely possible that buying the minigun (a.k.a. 'Old Glory') will completely take the fun out of playing this game. You know what they say though, 'Everytime you fire a minigun, an angel stands up an applauds'";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 617 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 5;
}
_global.gun = "minigun";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.info._x = -500;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "'Old Glory' - Purchased";
_root.info.info = "With it's sheer size, high damage rating and ridiculously fast rate of fire, it's entirely possible that buying the minigun (a.k.a. 'Old Glory') will completely take the fun out of playing this game. You know what they say though, 'Everytime you fire a minigun, an angel stands up an applauds'";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 2
stop();
Symbol 619 MovieClip Frame 3
stop();
Symbol 625 Button
on (release) {
if ((_global.money + 1) > _root.gravcost) {
_global.money = _global.money - _root.gravcost;
if (_global.godgun == 0) {
_global.gunpower = 0;
}
_global.gun = "grav";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
_global.gravu = 1;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Gravity Cannon - $" + _root.gravcost;
_root.info.info = "Recovered from a mysterious UFO crash site, the gravity cannon was found in the woods by a passing bigfoot who later lost his grip on the gun while hunting wild bore, dropping it into a deep ravine where it met it's final resting place, shattered into a million pieces. But now you have it.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 626 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 0;
}
_global.gun = "grav";
this.gotoAndStop(3);
_root.info._x = -500;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.sniper._currentframe == 3) {
_root.sniper.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Gravity Cannon - Purchased";
_root.info.info = "Recovered from a mysterious UFO crash site, the gravity cannon was found in the woods by a passing bigfoot who later lost his grip on the gun while hunting wild bore, dropping it into a deep ravine where it met it's final resting place, shattered into a million pieces. But now you have it.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
stop();
Symbol 629 MovieClip Frame 3
stop();
Symbol 631 Button
on (release) {
if ((_global.money + 1) > _root.missilesitecost) {
_global.money = _global.money - _root.missilesitecost;
_root.missilesitetext = "Silo Worker";
_root.missilesitecost = 12000;
_root.missilesite._x = 560;
_global.missiles = 1;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
gotoAndStop (2);
} else {
_root.wrong.gotoAndPlay(2);
}
}
Symbol 633 Button
on (release) {
if ((_global.money + 1) > _root.missilesitecost) {
_global.money = _global.money - _root.missilesitecost;
_global.missiles++;
_root.buy.gotoAndPlay(2);
_root.money = "$" + _global.money;
_root.bars.play();
} else {
_root.wrong.gotoAndPlay(2);
}
}
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
stop();
Symbol 644 Button
on (release) {
if ((_global.money + 1) > _root.snipercost) {
_global.money = _global.money - _root.snipercost;
if (_global.godgun == 0) {
_global.gunpower = 3;
}
_global.gun = "sniper";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
_global.sniperu = 1;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
} else {
_root.wrong.gotoAndPlay(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Sniper Rifle - $" + _root.snipercost;
_root.info.info = "This .50 caliber semi-automatic anti tank rifle will take out your standard infantry unit in one shot, as well as having the ability to pierce the armor plating on tanks.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 645 Button
on (release) {
if (_global.godgun == 0) {
_global.gunpower = 3;
}
_global.gun = "sniper";
this.gotoAndStop(3);
_root.buy.gotoAndPlay(2);
_root.info._x = -500;
_root.money = "$" + _global.money;
if (_root.duals._currentframe == 3) {
_root.duals.gotoAndStop(2);
}
if (_root.smg._currentframe == 3) {
_root.smg.gotoAndStop(2);
}
if (_root.shotgun._currentframe == 3) {
_root.shotgun.gotoAndStop(2);
}
if (_root.machinegun._currentframe == 3) {
_root.machinegun.gotoAndStop(2);
}
if (_root.grenade._currentframe == 3) {
_root.grenade.gotoAndStop(2);
}
if (_root.grav._currentframe == 3) {
_root.grav.gotoAndStop(2);
}
if (_root.minigun._currentframe == 3) {
_root.minigun.gotoAndStop(2);
}
}
on (rollOver) {
_root.info._x = 20;
_root.info.header = "Sniper Rifle - Purchased";
_root.info.info = "This .50 caliber semi-automatic anti tank rifle will take out your standard infantry unit in one shot, as well as having the ability to pierce the armor plating on tanks.";
}
on (rollOut) {
_root.info._x = -500;
}
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 2
stop();
Symbol 647 MovieClip Frame 3
stop();
Symbol 650 Button
on (release) {
if ((_global.money + 1) > fortifycost) {
_global.money = _global.money - fortifycost;
_root.house.gotoAndStop(_root.house._currentframe + 1);
_global.maxhealth = _global.maxhealth + 375;
_global.health = _global.health + 375;
_root.buy.gotoAndPlay(2);
this.gotoAndStop(2);
_root.money = "$" + _global.money;
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 652 Button
on (release) {
if ((_global.money + 1) > fortifycost2) {
_global.money = _global.money - fortifycost2;
_root.house.gotoAndStop(_root.house._currentframe + 1);
_global.maxhealth = _global.maxhealth + 375;
_global.health = _global.health + 375;
_root.buy.gotoAndPlay(2);
this.gotoAndStop(3);
_root.money = "$" + _global.money;
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 657 MovieClip Frame 1
stop();
Symbol 657 MovieClip Frame 2
stop();
Symbol 657 MovieClip Frame 3
stop();
Instance of Symbol 661 MovieClip in Symbol 662 MovieClip Frame 24
onClipEvent (load) {
num = 0;
finalmoney = _global.money - _root.payroll;
}
onClipEvent (enterFrame) {
if (num < 14) {
_global.money = Math.round(_global.money - (_root.payroll / 15));
_root.bars.play();
num++;
} else {
_global.money = finalmoney;
_root.bars.play();
}
}
Symbol 662 MovieClip Frame 47
this._x = 10000;
_global.ammo = _global.maxammo;
stop();
Symbol 668 Button
on (release) {
_root.win._x = 999999 /* 0x0F423F */;
}