Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
Stage.showMenu = false;
onEnterFrame = function () {
epercentLoaded = Math.round(100 * (getBytesLoaded() / getBytesTotal()));
loadBar.bar._xscale = epercentLoaded;
if (epercentLoaded == 100) {
play();
delete onEnterFrame;
}
};
__com_mochibot__("dae4c57f", this, 10301, true);
stop();
Instance of Symbol 13 MovieClip "loadBar" in Frame 1
onClipEvent (load) {
bar._xscale = 0;
}
Frame 2
stop();
Frame 4
function scoreBounce() {
mx.transitions.TransitionManager.start(mcScore, {type:mx.transitions.Zoom, direction:0, duration:1, easing:mx.transitions.easing.Elastic.easeOut});
}
ShakyCamX = [13.7, 9.85, 6.15, 2.35, -1.25, 0.2, 1.6, 3.05, 4.45, 5.85, 7.2, 8.6, 6.6, 6.35, 4.5, 2.7, 0.85, -0.9, -2.8, -4.6, -6.25, -7.9, -9.5, -7.95, -6.4, -4.85, -1.85, -0.4, 1, 2.45, 0.8, -0.75, -2.4, -4, -4.05, -2.5, -1.05, -1.05, -2.55, -4.05, -4.1, -4.2, -2.7, -1.3, -1.3, -2.8, -4.25, -4.2, -4.1, -1.1, 0.3, 1.8, 1.75, -1.1, -3.9, -5.2, -6.5, -4.9, -3.35, -1.7, -0.3, -0.2, -0.1, -2.8, -2.65, 0.35, 1.8, 3.25, 4.65, 4.7, 3.35, 2, 0.8, -0.45, -1.65, -2.75, -3.85, -3.55, -3.25, -5.6, -3.95, -2.3, -2.05, -4.4, -4, -2.3, -0.55, 1, 2.6, 4.1, 5.6, 4.45, 2.1, 1.15, 0.3, -0.55, -0.1, 0.2, -0.55, -1.3, -2.05, -0.2, -0.9, -1.55, 0.3, -0.3, 0.3, 2.2, 2.8, 2.15, 0.4, 0.05, -0.15, -0.25, -0.15];
ShakyCamY = [17.65, 20.55, 23.35, 21.05, 15.4, 13.3, 11.2, 9.1, 7.05, 8.3, 9.6, 10.85, 12.15, 11.8, 13.1, 14.4, 12.35, 10.45, 8.45, 6.6, 4.75, 6.1, 7.5, 5.7, 3.9, 2.25, 5.3, 6.7, 5, 3.3, 1.55, 0, -1.5, -3, -6.05, -7.45, -8.8, -10.2, -11.55, -11.3, -12.5, -13.75, -13.35, -13.05, -11.25, -10.85, -10.55, -8.75, -5.6, -3.9, -2.2, -3.45, -4.7, -7.25, -9.75, -10.8, -11.8, -12.7, -13.65, -14.55, -15.45, -16.25, -17, -19.15, -19.8, -19, -18.25, -16.05, -12.6, -10.6, -8.55, -6.55, -4.6, -1.3, -0.8, -0.25, -2.4, -3.1, -3.85, -5.75, -6.3, -6.9, -7.35, -9.05, -9.45, -9.75, -8.7, -7.55, -9.15, -9.35, -9.4, -8.35, -8.4, -8.4, -8.4, -8.3, -8.15, -9.25, -8.95, -8.6, -8.2, -7.7, -8.35, -7.65, -7, -6.25, -5.4, -4.6, -2.35, -0.15, 2, 3.05, 4.15, 6.5, 7.8];
var neLocal = SharedObject.getLocal("neSaveData");
if (neLocal.data.playedBefore == undefined) {
playedBefore = false;
} else {
playedBefore = neLocal.data.playedBefore;
}
if (neLocal.data.fxBlood == undefined) {
fxBlood = true;
} else {
fxBlood = neLocal.data.fxBlood;
}
if (neLocal.data.fxScreams == undefined) {
fxScreams = true;
} else {
fxScreams = neLocal.data.fxScreams;
}
if (neLocal.data.fxSmoke == undefined) {
fxSmoke = true;
} else {
fxSmoke = neLocal.data.fxSmoke;
}
if (neLocal.data.fxDebris == undefined) {
fxDebris = true;
} else {
fxDebris = neLocal.data.fxDebris;
}
if (neLocal.data.fxSounds == undefined) {
fxSounds = true;
} else {
fxSounds = neLocal.data.fxSounds;
}
if (neLocal.data.fxMusic == undefined) {
fxMusic = true;
} else {
fxMusic = neLocal.data.fxMusic;
}
if (neLocal.data.fxQuality == undefined) {
} else {
_quality = neLocal.data.fxQuality;
}
if (neLocal.data.DYN == undefined) {
DYN = true;
} else {
DYN = neLocal.data.DYN;
}
if (neLocal.data.cityUnlocked == undefined) {
cityUnlocked = false;
} else {
cityUnlocked = neLocal.data.cityUnlocked;
}
groundEnterFrame = function () {
if (!Paused) {
if (this.resting) {
if (this.restIt > 0) {
this.restIt--;
} else {
this.resting = false;
this.energy = random(200) + 50;
this.faceIt = random(100) + 50;
this.run = random(20) + 40;
this.gotoAndStop("run");
}
} else if (this.energy > 0) {
if (this.faceIt > 0) {
if (this._xscale > 0) {
if ((this._x > 540) || ((this._y < 300) && (!Backgrounds.roofTops.hitTest(this._x + (this._xscale / this.run), this._y + 10, true)))) {
this._xscale = -100;
}
} else if ((this._x < 10) || ((this._y < 300) && (!Backgrounds.roofTops.hitTest(this._x + (this._xscale / this.run), this._y + 10, true)))) {
this._xscale = 100;
}
this._x = this._x + (this._xscale / this.run);
this.faceIt--;
} else {
this._xscale = -this._xscale;
this.faceIt = random(100) + 50;
}
this.energy--;
} else {
this.restIt = random(50) + 20;
this.resting = true;
this.gotoAndStop("idle");
}
}
};
civAttackEnterFrame = function () {
if (!Paused) {
if (this.resting) {
if (this.restIt > 0) {
this.restIt--;
} else {
this.resting = false;
this.energy = random(200) + 50;
this.run = random(20) + 40;
if (this._x < 500) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.gotoAndStop("run");
}
} else if (this.energy > 0) {
if (this._xscale > 0) {
if (this._x > 540) {
this._xscale = -100;
}
} else if (this._x < 10) {
this._xscale = 100;
}
if (((this._x > 470) && (this._x < 520)) && (random(10) == 0)) {
this.energy = 0;
}
this._x = this._x + (this._xscale / this.run);
this.energy--;
} else {
this.restIt = random(100) + 20;
this.resting = true;
this.gotoAndStop("idle");
if ((this._x > 450) && (this._x < 520)) {
this.idlePerson.gotoAndStop(11);
this.shootN = random(20) + 50;
this.onEnterFrame = function () {
if (!_root.Paused) {
if (this.shootN > 0) {
this.shootN--;
} else {
this.bulletX = this._x;
this.bulletY = this._y;
this.bulletRL = 0;
this.bulletUD = -5;
this.hurtIt = true;
while (this.bulletY > (nestY + 15)) {
if (VLayer.hitTest(this.bulletX, this.bulletY)) {
var _local3 = 0;
while (_local3 <= _root.vehicMax) {
if (VLayer["vehicle" + _local3].hitTest(this.bulletX, this.bulletY) && (VLayer["vehicle" + _local3]._currentframe > 2)) {
dropGrabbedVehicle(this.bulletX, this.bulletY, this.bulletRL * 0.5, this.bulletUD * 0.5, _local3, 2, 0, 1, "impact");
this.hurtIt = false;
this.bulletX = 0;
this.bulletY = 0;
break;
}
_local3++;
}
}
this.bulletY = this.bulletY + this.bulletUD;
}
if (this.hurtIt) {
if (fxSounds) {
CopShot.setPan((this._x / 2.75) - 100);
CopShot.start();
}
this.idlePerson.play();
squirtBlood(this._x, nestY + 15, 180);
hurtBabies(2);
}
this.shootN = random(20) + 30;
}
}
};
}
}
}
};
pointsPuffEnterFrame = function () {
if (this._xscale < 100) {
this._xscale = this._xscale + ((100 - this._xscale) / 10);
this._yscale = this._yscale + ((100 - this._yscale) / 10);
}
this._y = this._y - (this.pointsRise / 10);
if (this.counter > 20) {
if ((this._alpha - 3) <= 0) {
removeMovieClip(this);
} else {
this._alpha = this._alpha - 3;
}
} else {
this.counter++;
}
};
fallingOnEnterFrame = function () {
if (!Paused) {
var _local3 = -1;
if (VLayer.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
var _local4 = 0;
while (_local4 <= _root.vehicMax) {
if (VLayer["vehicle" + _local4].hitTest(this._x + this.moveRL, (this._y + this.moveUD) - VLayer["vehicle" + _local4].tallDisplace, true) && (VLayer["vehicle" + _local4]._currentframe < 5)) {
_local3 = _local4;
}
_local4++;
}
}
if (_local3 > -1) {
VLayer["vehicle" + _local3].health = VLayer["vehicle" + _local3].health - 20;
if (VLayer["vehicle" + _local3].health > 0) {
VLayer["vehicle" + _local3].shellForCatch++;
VLayer["vehicle" + _local3].combo++;
stickToVehicle((this._x + this.moveRL) - VLayer["vehicle" + _local3]._x, (this._y + this.moveUD) - VLayer["vehicle" + _local3]._y, this.falling._rotation * (this._xscale / Math.abs(this._xscale)), this.unitType, _local3, this.combo, VLayer["vehicle" + _local3].shellForCatch, 100);
this.points = 0;
if (fxSounds) {
_local3 = random(4);
HumanFall.setPan((this._x / 2.75) - 100);
HumanFall.start();
}
killMe(this.ID, false, this._parent._name, false);
} else {
if (_local3 == Char.grabbed) {
VLayer["vehicle" + _local3]._xscale = VLayer["vehicle" + _local3]._xscale * (VLayer["vehicle" + _local3].grabbed._xscale / Math.abs(VLayer["vehicle" + _local3].grabbed._xscale));
VLayer["vehicle" + _local3].gotoAndStop("falling");
Char.grabbed = -1;
Char.maxSpeed = 10;
}
this.tempX = _root.VLayer["vehicle" + _local3]._x - this._x;
if (Math.abs(this.tempX) > 5) {
this.tempX = (this.tempX / Math.abs(this.tempX)) * 5;
}
VLayer["vehicle" + _local3].moveRL = this.tempX;
VLayer["vehicle" + _local3].gotoAndStop("die");
VLayer["vehicle" + _local3].combo = VLayer["vehicle" + _local3].combo + this.combo;
}
} else if ((this._y + this.moveUD) > 340) {
this._y = 340;
this._rotation = 0;
if (Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD)) > 10) {
_local3 = 0;
while (_local3 <= _root.badMax) {
if ((BLayer["person" + _local3].hitTest(this._x + this.moveRL, this._y + this.moveUD, true) && (_local3 != this.ID)) && (BLayer["person" + _local3]._currentframe < 3)) {
BLayer["person" + _local3].health = BLayer["person" + _local3].health - 30;
if (BLayer["person" + _local3].health > 0) {
delete this.onEnterFrame;
} else {
this.i = _root.BLayer["person" + _local3]._x - this._x;
if (Math.abs(this.i) > 5) {
this.i = (this.i / Math.abs(this.i)) * 5;
}
BLayer["person" + _local3].moveRL = this.i;
BLayer["person" + _local3].gotoAndStop("die");
BLayer["person" + _local3].combo = BLayer["person" + _local3].combo + this.combo;
}
}
_local3++;
}
if (fxSounds) {
_local3 = random(4);
HumanFall.setPan((this._x / 2.75) - 100);
HumanFall.start();
}
this.gotoAndStop("die");
if (this.unitType < 6) {
if (random(3) > 0) {
spawnSomething();
}
}
} else {
this.restIt = random(150) + 20;
this.moveUD = 0;
this.gotoAndStop("idle");
this.resting = true;
this.restIt = 50;
if ((DYN && (this.unitType < 6)) && (Level > 2)) {
this.onEnterFrame = civAttackEnterFrame;
} else {
this.onEnterFrame = groundEnterFrame;
}
}
this.moveUD = 0;
} else if (((this.moveUD > 0) && (Backgrounds.roofTops.hitTest(this._x + this.moveRL, (this._y + this.moveUD) + 10, true))) && (!Backgrounds.roofTops.hitTest(this._x + this.moveRL, this._y + 9, true))) {
while (!Backgrounds.roofTops.hitTest(this._x + this.moveRL, this._y + 9, true)) {
this._y++;
}
this._rotation = 0;
this.restIt = random(150) + 20;
this.moveUD = 0;
this._x = this._x + this.moveUD;
this.gotoAndStop("idle");
this.onEnterFrame = groundEnterFrame;
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
if ((Backgrounds.yummies.hitTest(this._x + this.moveRL, this._y + this.moveUD, true) && (!Backgrounds.yummies.hitTest(this._x + this.moveRL, this._y, true))) && (this.moveUD > 0)) {
levelPoints = levelPoints + (this.points * this.combo);
if (levelPoints >= levelPointsMax) {
levelBar.barPot._xscale = 100;
} else {
levelBar.barPot._xscale = (levelPoints / levelPointsMax) * 100;
}
squirtBlood(this._x, this._y + this.moveUD, 180);
if (fxSounds) {
HumanSquished.setPan(80);
HumanSquished.start();
}
var _local5 = this.points * this.combo;
if ((babyHealthBar.bar._xscale + _local5) > 100) {
babyHealthBar.bar._xscale = 100;
} else {
babyHealthBar.bar._xscale = babyHealthBar.bar._xscale + _local5;
}
killMe(this.ID, this.replace, this._parent._name, true);
}
this.falling._rotation = this.falling._rotation + this.rotating;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
}
};
stickToVehicle = function (ex, ey, erot, stickWho, stickToWho, combo, nameIt, eDepth) {
i = VLayer["vehicle" + stickToWho].personShell.getNextHighestDepth();
if (stickWho < 6) {
VLayer["vehicle" + stickToWho].personShell.attachMovie(("person" + stickWho) + "MC", "person" + nameIt, i, {unitType:stickWho});
} else if (stickWho == 6) {
VLayer["vehicle" + stickToWho].personShell.attachMovie("cop", "person" + nameIt, i, {unitType:stickWho});
} else if (stickWho == 7) {
VLayer["vehicle" + stickToWho].personShell.attachMovie("swat", "person" + nameIt, i, {unitType:stickWho});
} else if (stickWho == 8) {
VLayer["vehicle" + stickToWho].personShell.attachMovie("soldier", "person" + nameIt, i, {unitType:stickWho});
}
VLayer["vehicle" + stickToWho].personShell["person" + nameIt].gotoAndStop("stuck");
VLayer["vehicle" + stickToWho].personShell["person" + nameIt]._x = (ex * 4) * (VLayer["vehicle" + stickToWho]._xscale / Math.abs(VLayer["vehicle" + stickToWho]._xscale));
VLayer["vehicle" + stickToWho].personShell["person" + nameIt]._y = (ey * 4) + 100;
VLayer["vehicle" + stickToWho].personShell["person" + nameIt]._xscale = 400;
VLayer["vehicle" + stickToWho].personShell["person" + nameIt]._yscale = 400;
VLayer["vehicle" + stickToWho].personShell["person" + nameIt]._rotation = erot;
VLayer["vehicle" + stickToWho].personShell["person" + nameIt].combo = combo;
};
throwStuckPerson = function (ex, ey, unitType, combo) {
if (unitType < 6) {
placePerson(ex, ey, 100, unitType, false, combo);
} else if (unitType == 6) {
placeCop(ex, ey, 100, false, combo);
} else if (unitType == 7) {
placeSwat(ex, ey, 100, false, combo);
} else if (unitType == 8) {
placeSoldier(ex, ey, 100, false, combo);
}
};
dieOnEnterFrame = function () {
if (!Paused) {
if (Math.abs(this.moveRL) > 1) {
this.moveRL = this.moveRL * 0.98;
this.moveRL = this.moveRL - ((this.moveRL / Math.abs(this.moveRL)) * 0.5);
this._x = this._x + this.moveRL;
} else {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
_root.killMe(this.ID, this.replace, this._parent._name, false);
}
}
}
};
vehicleDeathEnterFrame = function () {
if (!Paused) {
if ((this._y + this.moveUD) > 340) {
this._rotation = 0;
this._y = 340;
var _local3 = 0;
while (_local3 <= _root.badMax) {
if ((Math.abs(BLayer["person" + _local3]._x - this._x) < 100) && (BLayer["person" + _local3]._currentframe < 3)) {
this.temp = BLayer["person" + _local3]._x - this._x;
if (Math.abs(this.temp) < 20) {
BLayer["person" + _local3].moveRL = this.temp;
} else {
BLayer["person" + _local3].moveRL = (this.temp / Math.abs(this.temp)) * 20;
}
if (fxSounds) {
HumanSquished.setPan((_root.BLayer["person" + _local3]._x / 2.75) - 100);
HumanSquished.start();
}
BLayer["person" + _local3].gotoAndStop("die");
if (BLayer["person" + _local3].unitType < 6) {
personMusicVol = personMusicVol - BLayer["person" + _local3].thisPMC;
BLayer["person" + _local3].thisPMC = 0;
}
}
_local3++;
}
_local3 = 0;
while (_local3 <= _root.vehicMax) {
if (((Math.abs(VLayer["vehicle" + _local3]._x - this._x) < 100) && (Math.abs(VLayer["vehicle" + _local3]._y - this._y) < 50)) && (VLayer["vehicle" + _local3]._currentframe < 3)) {
VLayer["vehicle" + _local3].gotoAndStop("die");
}
_local3++;
}
delete this.onEnterFrame;
this.gotoAndPlay("land");
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
this._rotation = this._rotation + (this.moveRL * 8);
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
}
};
peanutGallery = ["nice and easy, one at a time...", "keep them away from your nest, they shoot!", "try to throw them into your nest from there!", "hear that music? this is where the fun starts!", "throw people at cars for combos!", "feeding babies restores their health!", "try catching people from the air", "toss a car up, thow people at it :)", "don't forget about your own health!", "Congradulations! City level unlocked!"];
setLevel = function (level) {
if (level > 9) {
levelPoints = levelPoints - levelPointsMax;
levelPointsMax = Math.round(levelPointsMax * 1.5);
commentStuff("How much longer can you last?!");
} else {
if ((level == 9) && (DYN)) {
cityUnlocked = true;
neLocal.data.cityUnlocked = true;
}
if (DYN && (Level > 2)) {
civEnterFrame = civAttackEnterFrame;
} else {
civEnterFrame = groundEnterFrame;
}
var _local2 = spawnSpeed;
levelPoints = levelPoints - levelPointsMax;
levelPointsMax = [4, 10, 15, 30, 50, 80, 100, 150, 200, 300][level];
spawnSpeed = [1, 50, 30, 50, 20, 15, 10, 8, 5, 2][level];
personSpawnRuns = [1000, 1000, 1000, 4, 4, 3, 3, 2, 2, 2][level];
copCarChance = [0, 0, 0, 1, 1, 3, 2, 4, 2, 2][level];
swatCarChance = [0, 0, 0, 0, 0, 1, 1, 4, 4, 6][level];
tankerChance = [0, 0, 0, 0, 0, 0, 0, 1, 2, 1][level];
tankChance = [0, 0, 0, 0, 0, 0, 0, 1, 1, 2][level];
chopperChance = [0, 0, 0, 0, 0, 0, 0, 0, 1, 2][level];
copSpawnTimer = [0, 0, 0, 30, 30, 28, 28, 25, 25, 20][level];
chancePool = copCarChance;
copCarThresh = chancePool;
chancePool = chancePool + swatCarChance;
swatCarThresh = chancePool;
chancePool = chancePool + tankerChance;
tankerThresh = chancePool;
chancePool = chancePool + tankChance;
tankThresh = chancePool;
chancePool = chancePool + chopperChance;
chopperThresh = chancePool;
copsInCars = [0, 0, 0, 1, 2, 2, 3, 3, 4, 5][level];
stageMax = [1, 2, 3, 4, 6, 6, 7, 8, 8, 10][level];
spawnTimer = (Math.round(random(spawnSpeed / 5)) + spawnSpeed) - (_local2 - spawnTimer);
if ((personSpawnRun > 100) && (personSpawnRuns < 100)) {
personSpawnRun = 0;
} else {
personSpawnRun = random(personSpawnRuns) + Math.round(personSpawnRuns / 2);
}
commentStuff(peanutGallery[level]);
}
if (DYN) {
announceStuff("Level " + Level);
} else {
announceStuff("You're timed, have fun!");
}
};
personMusicVol = 0;
spawnSomething = function () {
if (personSpawnRun > 0) {
if ((random(2) == 0) || (DYN && (Level < 8))) {
ex = -10;
exs = 100;
} else {
ex = 560;
exs = -100;
}
placePerson(ex, 340, exs, random(5) + 1, true);
personMusicVol = personMusicVol + 10;
personSpawnRun--;
} else {
i = random(chancePool);
if ((copCarThresh > 0) && (i < copCarThresh)) {
if (random(2) == 0) {
ex = -70;
exs = 25;
} else {
ex = 620;
exs = -25;
}
placePoliceCar(ex, exs, true);
} else if ((swatCarThresh > 0) && (i < swatCarThresh)) {
if (random(28) == 0) {
ex = -70;
exs = 25;
} else {
ex = 620;
exs = -25;
}
placeSwatCar(ex, exs, true);
} else if ((tankerThresh > 0) && (i < tankerThresh)) {
if (random(2) == 0) {
ex = -70;
exs = 25;
} else {
ex = 620;
exs = -25;
}
placeTanker(ex, exs, true);
} else if ((tankThresh > 0) && (i < tankThresh)) {
if ((random(2) == 0) || (DYN)) {
ex = -70;
exs = 25;
} else {
ex = 620;
exs = -25;
}
placeTank(ex, exs, true);
} else if ((chopperThresh > 0) && (i < chopperThresh)) {
if (random(2) == 0) {
ex = -70;
exs = 25;
} else {
ex = 620;
exs = -25;
}
placeChopper(ex, exs, true);
}
personSpawnRun = Math.round(random(personSpawnRuns)) + personSpawnRuns;
}
};
placePerson = function (ex, ey, exs, placeWho, replace, combo) {
if (combo == undefined) {
combo = 1;
}
badMax++;
if (BLayer["person" + badMax] != undefined) {
trace("help!");
}
BLayer.attachMovie(("person" + placeWho) + "MC", "person" + badMax, badMax, {_x:ex, _y:ey, _xscale:exs, ID:badMax, replace:replace, spinMax:(random(10) + 10) / 10, points:3, health:10, grabSpeed:10, combo:1, unitType:placeWho, tallDisplace:0, onEnterFrame:civEnterFrame, resting:true, restIt:0, thisPMC:10});
};
placeCop = function (ex, ey, exs, replace, combo) {
if (combo == undefined) {
combo = 1;
}
badMax++;
BLayer.attachMovie("cop", "person" + badMax, badMax, {_x:ex, _y:ey, _xscale:exs, ID:badMax, replace:replace, shootN:random(20) + 50, spinMax:(random(10) + 10) / 10, points:4, health:10, grabSpeed:10, combo:1, unitType:6, tallDisplace:0, onEnterFrame:groundEnterFrame, resting:true, restIt:0});
};
placeSwat = function (ex, ey, exs, replace, combo) {
if (combo == undefined) {
combo = 1;
}
badMax++;
BLayer.attachMovie("swat", "person" + badMax, badMax, {_x:ex, _y:ey, _xscale:exs, ID:badMax, replace:replace, shootN:random(20) + 50, spinMax:(random(10) + 10) / 10, points:6, health:20, grabSpeed:10, combo:1, unitType:7, tallDisplace:0, onEnterFrame:groundEnterFrame, resting:true, restIt:0});
};
placeSoldier = function (ex, ey, exs, replace, combo) {
if (combo == undefined) {
combo = 1;
}
badMax++;
BLayer.attachMovie("soldier", "person" + badMax, badMax, {_x:ex, _y:ey, _xscale:exs, ID:badMax, replace:replace, shootN:random(20) + 50, spinMax:(random(10) + 10) / 10, points:10, health:30, grabSpeed:10, combo:1, unitType:8, tallDisplace:0, onEnterFrame:groundEnterFrame, resting:true, restIt:0});
};
placePoliceCar = function (ex, exs, replace) {
vehicMax++;
VLayer.attachMovie("policeCar", "vehicle" + vehicMax, vehicMax, {_x:ex, _y:340, _xscale:exs, _yscale:25, targetX:random(250) + 150, ID:vehicMax, replace:replace, cops:copsInCars, spinMax:0.5, health:50, grabSpeed:8, points:20, combo:1, unitType:9, shellForCatch:0, tallDisplace:8});
};
placeSwatCar = function (ex, exs, replace) {
vehicMax++;
VLayer.attachMovie("swatCar", "vehicle" + vehicMax, vehicMax, {_x:ex, _y:340, _xscale:exs, _yscale:25, targetX:random(250) + 150, ID:vehicMax, replace:replace, cops:copsInCars, spinMax:0.5, health:80, grabSpeed:6, points:30, combo:1, unitType:10, shellForCatch:0, tallDisplace:18});
};
placeTank = function (ex, exs, replace) {
vehicMax++;
VLayer.attachMovie("tank", "vehicle" + vehicMax, vehicMax, {_x:ex, _y:340, _xscale:exs, _yscale:25, targetX:random(250) + 150, ID:vehicMax, replace:replace, shootN:random(100) + 60, cops:copsInCars, spinMax:0.5, health:500, grabSpeed:4, noise:0, points:35, combo:1, unitType:11, shellForCatch:0, tallDisplace:20});
};
placeTanker = function (ex, exs, replace) {
vehicMax++;
VLayer.attachMovie("tanker", "vehicle" + vehicMax, vehicMax, {_x:ex, _y:340, _xscale:exs, _yscale:25, targetX:random(250) + 150, ID:vehicMax, replace:replace, shootN:random(100) + 60, cops:copsInCars, spinMax:0.5, health:20, grabSpeed:6, points:20, combo:1, unitType:12, shellForCatch:0, tallDisplace:20});
};
placeChopper = function (ex, exs, replace) {
vehicMax++;
VLayer.attachMovie("chopper", "vehicle" + vehicMax, vehicMax, {_x:ex, _y:200 - random(80), _xscale:exs, _yscale:24, targetX:random(250) + 150, ID:vehicMax, replace:replace, shootN:random(100) + 60, cops:random(4) + 1, spinMax:0.5, health:50, grabSpeed:6, noise:0, points:20, combo:1, unitType:13, shellForCatch:0, tallDisplace:20});
};
killMe = function (ID, replace, BeeVee, inNest) {
if (BeeVee == "BLayer") {
if (BLayer["person" + ID].unitType < 6) {
personMusicVol = personMusicVol - BLayer["person" + ID].thisPMC;
}
var _local2 = BLayer["person" + ID].points * BLayer["person" + ID].combo;
var _local4 = BLayer["person" + ID]._x;
var _local3 = BLayer["person" + ID]._y;
removeMovieClip(BLayer["person" + ID]);
if (ID < badMax) {
BLayer["person" + badMax].ID = ID;
BLayer["person" + badMax].swapDepths(ID);
BLayer["person" + badMax]._name = "person" + ID;
if (Char.grabbed == badMax) {
Char.grabbed = ID;
}
}
badMax--;
} else {
var _local2 = VLayer["vehicle" + ID].points * VLayer["vehicle" + ID].combo;
var _local4 = VLayer["vehicle" + ID]._x;
var _local3 = VLayer["vehicle" + ID]._y;
removeMovieClip(VLayer["vehicle" + ID]);
if (ID < vehicMax) {
VLayer["vehicle" + vehicMax].ID = ID;
VLayer["vehicle" + vehicMax].swapDepths(ID);
VLayer["vehicle" + vehicMax]._name = "vehicle" + ID;
if (Char.grabbed == vehicMax) {
Char.grabbed = ID;
}
}
vehicMax--;
}
if ((_local2 > 0) && ((!DYN) || (inNest))) {
Score = Score + _local2;
iDepth = SLayer.getNextHighestDepth();
SLayer.attachMovie("pointsPuff", "pointsPuff" + iDepth, iDepth, {_x:_local4, _y:_local3, display:"+" + _local2, onEnterFrame:pointsPuffEnterFrame, _xscale:0, _yscale:0, pointsRise:random(5) + 10, counter:0});
}
};
fireGun = function (ex, ey) {
if (DYN) {
eRot = (-Math.atan2(ex - _root.nestX, ey - _root.nestY)) / (Math.PI/180);
} else {
eRot = (-Math.atan2(ex - _root.Char._x, ey - _root.Char._y)) / (Math.PI/180);
}
eRL = 15 * Math.sin(eRot * (Math.PI/180));
eUD = -15 * Math.cos(eRot * (Math.PI/180));
var _local2 = getNextHighestDepth();
attachMovie("bullet", "bullet" + _local2, _local2, {_x:ex + eRL, _y:ey + eUD, moveRL:eRL, moveUD:eUD, _rotation:eRot, lifeN:40, onEnterFrame:bulletEnterFrame});
};
fireTank = function (ex, ey, eRot) {
if (fxSounds) {
var _local2 = random(4);
_root["TankShot" + _local2].setPan((ex / 2.75) - 100);
_root["TankShot" + _local2].start();
}
eRL = 15 * Math.sin(eRot * (Math.PI/180));
eUD = -15 * Math.cos(eRot * (Math.PI/180));
var _local2 = getNextHighestDepth();
attachMovie("bullet", "bullet" + _local2, _local2, {_x:ex + (eRL * 4), _y:ey + (eUD * 4), moveRL:eRL, moveUD:eUD, _rotation:eRot, lifeN:40, onEnterFrame:tankBulletEnterFrame});
};
fireRifle = function (ex, ey) {
if (DYN) {
eRot = (-Math.atan2(ex - _root.nestX, ey - _root.nestY)) / (Math.PI/180);
} else {
eRot = (-Math.atan2(ex - _root.Char._x, ey - _root.Char._y)) / (Math.PI/180);
}
if (fxSounds) {
var _local2 = random(3);
_root["SoldierShot" + _local2].setPan((ex / 2.75) - 100);
_root["SoldierShot" + _local2].start();
}
eRL = 15 * Math.sin(eRot * (Math.PI/180));
eUD = -15 * Math.cos(eRot * (Math.PI/180));
var _local2 = getNextHighestDepth();
attachMovie("bullet", "bullet" + _local2, _local2, {_x:ex + eRL, _y:ey + eUD, moveRL:eRL, moveUD:eUD, _rotation:eRot, lifeN:40, onEnterFrame:rifleBulletEnterFrame});
};
bulletEnterFrame = function () {
if (!Paused) {
if (fxSmoke) {
this.i = getNextHighestDepth();
attachMovie("smokePuff", "smokeTrail" + this.i, this.i, {_x:this._x, _y:this._y, _xscale:150, _yscale:150, _rotation:random(360), onEnterFrame:smokePuffEnterFrame});
}
if (BLayer.hitTest(this._x, this._y)) {
var i = 0;
while (i <= _root.badMax) {
if (BLayer["person" + i].hitTest(this._x, this._y) && (BLayer["person" + i]._currentframe > 2)) {
dropGrabbedPerson(this._x, this._y, this.moveRL * 0.5, this.moveUD * 0.5, i, 2, this._rotation, 1);
removeMovieClip(this);
}
i++;
}
} else if (VLayer.hitTest(this._x, this._y)) {
var i = 0;
while (i <= _root.vehicMax) {
if (VLayer["vehicle" + i].hitTest(this._x, this._y) && (VLayer["vehicle" + i]._currentframe > 2)) {
dropGrabbedVehicle(this._x, this._y, this.moveRL * 0.5, this.moveUD * 0.5, i, 2, this._rotation, 1, "impact");
removeMovieClip(this);
}
i++;
}
} else if (Char.hitBox.hitTest(this._x, this._y, true)) {
squirtBlood(Char._x - this.moveRL, Char._y - this.moveUD, this._rotation);
hurtChar(2);
removeMovieClip(this);
} else if (Backgrounds.yummies.hitTest(this._x - this.moveRL, this._y - this.moveUD, true)) {
squirtBlood(this._x + 20, nestY + 15, 180);
hurtBabies(2);
removeMovieClip(this);
}
if (this.lifeN == 0) {
removeMovieClip(this);
} else {
this.lifeN--;
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
};
tankBulletEnterFrame = function () {
if (!Paused) {
while (this.lifeN > 0) {
if (fxSmoke) {
this.i = getNextHighestDepth();
attachMovie("slowSmoke", "smokeTrail" + this.i, this.i, {_x:this._x, _y:this._y, _xscale:200, _yscale:200, _rotation:random(360)});
this.i = getNextHighestDepth();
attachMovie("smokePuff", "smokeTrail" + this.i, this.i, {_x:this._x - (this.moveRL / 2), _y:this._y - (this.moveUD / 2), _xscale:150, _yscale:150, _rotation:random(360)});
}
if (BLayer.hitTest(this._x, this._y)) {
var i = 0;
while (i <= _root.badMax) {
if (BLayer["person" + i].hitTest(this._x, this._y) && (BLayer["person" + i]._currentframe > 2)) {
dropGrabbedPerson(this._x, this._y, this.moveRL, this.moveUD, i, 100, this._rotation, 3);
removeMovieClip(this);
}
i++;
}
} else if (VLayer.hitTest(this._x, this._y)) {
var i = 0;
while (i <= _root.badMax) {
if (VLayer["vehicle" + i].hitTest(this._x, this._y) && (VLayer["vehicle" + i]._currentframe > 2)) {
dropGrabbedVehicle(this._x, this._y, this.moveRL, this.moveUD, i, 100, this._rotation, 3, "impact");
removeMovieClip(this);
}
i++;
}
} else if (Char.hitBox.hitTest(this._x, this._y, true)) {
var _local3 = 0;
while (_local3 < 3) {
squirtBlood(Char._x - this.moveRL, Char._y - this.moveUD, this._rotation);
_local3++;
}
hurtChar(15);
} else if (Backgrounds.yummies.hitTest(this._x - this.moveRL, this._y - this.moveUD, true)) {
var _local3 = 0;
while (_local3 < 3) {
squirtBlood(this._x + 20, nestY + 15, 180);
_local3++;
}
hurtBabies(15);
removeMovieClip(this);
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
this.lifeN--;
}
removeMovieClip(this);
}
};
rifleBulletEnterFrame = function () {
if (!Paused) {
while (this.lifeN > 0) {
if (fxSmoke) {
this.i = getNextHighestDepth();
attachMovie("slowSmoke", "smokeTrail" + this.i, this.i, {_x:this._x, _y:this._y, _xscale:100, _yscale:100, _rotation:random(360)});
this.i = getNextHighestDepth();
attachMovie("smokePuff", "smokeTrail" + this.i, this.i, {_x:this._x - (this.moveRL / 2), _y:this._y - (this.moveUD / 2), _xscale:50, _yscale:50, _rotation:random(360)});
}
if (BLayer.hitTest(this._x, this._y)) {
var i = 0;
while (i <= _root.badMax) {
if (BLayer["person" + i].hitTest(this._x, this._y) && (BLayer["person" + i]._currentframe > 2)) {
dropGrabbedPerson(this._x, this._y, this.moveRL * 0.8, this.moveUD * 0.8, i, 15, this._rotation, 3);
removeMovieClip(this);
}
i++;
}
} else if (VLayer.hitTest(this._x, this._y)) {
var i = 0;
while (i <= _root.badMax) {
if (VLayer["vehicle" + i].hitTest(this._x, this._y) && (VLayer["vehicle" + i]._currentframe > 2)) {
dropGrabbedVehicle(this._x, this._y, this.moveRL * 0.8, this.moveUD * 0.8, i, 15, this._rotation, 3, "bounce");
removeMovieClip(this);
}
i++;
}
}
if (Char.hitBox.hitTest(this._x, this._y, true)) {
var _local3 = 0;
while (_local3 < 4) {
squirtBlood(Char._x - this.moveRL, Char._y - this.moveUD, this._rotation);
_local3++;
}
hurtChar(10);
removeMovieClip(this);
} else if (Backgrounds.yummies.hitTest(this._x - this.moveRL, this._y - this.moveUD, true)) {
var _local3 = 0;
while (_local3 < 4) {
squirtBlood(this._x + 20, nestY + 15, 180);
_local3++;
}
hurtBabies(10);
removeMovieClip(this);
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
this.lifeN--;
}
removeMovieClip(this);
}
};
ricochetSound = function (ex) {
if (fxSounds) {
var _local2 = random(4);
_root["Ricochet" + _local2].setPan((ex / 2.75) - 100);
_root["Ricochet" + _local2].start();
}
};
bulletImpact = function (ex) {
if (fxSounds) {
var _local2 = random(5);
_root["BulletImpact" + _local2].setPan((ex / 2.75) - 100);
_root["BulletImpact" + _local2].start();
}
};
spawnChopProp = function (ex, ey) {
var _local1 = getNextHighestDepth();
attachMovie("chopProp", "ChopProp" + _local1, _local1, {_x:ex, _y:ey - 40, moveRL:random(10) - 5, moveUD:random(5) - 10, onEnterFrame:chopPropEnterFrame});
};
chopPropEnterFrame = function () {
if (!Paused) {
if (BLayer.hitTest(this._x, this._y + 20, true)) {
var _local3 = 0;
while (_local3 <= _root.badMax) {
if (_root.BLayer["person" + _local3].hitTest(this._x, this._y, true)) {
eRL = (_root.BLayer["person" + _local3]._x - this._x) / 5;
eUD = -random(10);
if (Math.abs(eRL) > 20) {
eRL = eRL * ((eRL / Math.abs(eRL)) * 20);
}
BLayer["person" + _local3].moveRL = eRL;
BLayer["person" + _local3].moveUD = 0;
BLayer["person" + _local3].combo++;
BLayer["person" + _local3]._alpha = 100;
_root.BLayer["person" + _local3].gotoAndStop("falling");
}
_local3++;
}
}
if (VLayer.hitTest(this._x, this._y, true)) {
var _local3 = 0;
while (_local3 <= _root.vehicMax) {
if (_root.VLayer["vehicle" + _local3].hitTest(this._x, this._y, true) && (VLayer["vehicle" + _local3]._currentframe < 3)) {
_root.VLayer["vehicle" + _local3].gotoAndStop("die");
}
_local3++;
}
}
if ((this._y + this.moveUD) > 310) {
this.moveUD = 0;
this._y = 310;
this.gotoAndPlay(2);
delete this.onEnterFrame;
} else {
this.moveUD = this.moveUD + 0.5;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
}
};
dropGrabbedPerson = function (ex, ey, mRL, mUD, i, health, eRot, bloodI) {
var _local1 = 0;
while (_local1 < bloodI) {
squirtBlood(ex, ey, eRot);
_local1++;
}
BLayer["person" + i].health = BLayer["person" + i].health - health;
if (i == Char.grabbed) {
if (BLayer["person" + i].health > 0) {
Char.spring = Char.spring - mRL;
} else {
BLayer["person" + i]._xscale = BLayer["person" + i]._xscale * (BLayer["person" + i].grabbed._xscale / Math.abs(BLayer["person" + i].grabbed._xscale));
BLayer["person" + i].gotoAndStop("falling");
Char.grabbed = -1;
Char.maxSpeed = 10;
BLayer["person" + i].rotating = (BLayer["person" + i]._x - ex) / 5;
BLayer["person" + i].moveRL = mRL * (BLayer["person" + i].grabSpeed / 10);
BLayer["person" + i].moveUD = mUD * (BLayer["person" + i].grabSpeed / 10);
}
} else {
BLayer["person" + i].rotating = BLayer["person" + i].rotating + ((BLayer["person" + i]._x - ex) / 10);
BLayer["person" + i].moveRL = BLayer["person" + i].moveRL + ((mRL * (BLayer["person" + i].grabSpeed / 10)) * 0.2);
BLayer["person" + i].moveUD = BLayer["person" + i].moveUD + ((mUD * (BLayer["person" + i].grabSpeed / 10)) * 0.2);
}
};
dropGrabbedVehicle = function (ex, ey, mRL, mUD, i, health, eRot, sparkI, soundOff) {
var _local1 = 0;
while (_local1 < sparkI) {
sparkImpact(ex, ey, eRot - 180, sparkI);
_local1++;
}
if (soundOff == "impact") {
bulletBounce(ex);
} else if (soundOff == "bounce") {
ricochetSound(ex);
}
VLayer["vehicle" + i].health = VLayer["vehicle" + i].health - health;
if (i == Char.grabbed) {
if (VLayer["vehicle" + i].health > 0) {
Char.spring = Char.spring + ((VLayer["vehicle" + i]._x - ex) / 20);
} else {
VLayer["vehicle" + i]._xscale = VLayer["vehicle" + i]._xscale * (VLayer["vehicle" + i].grabbed._xscale / Math.abs(VLayer["vehicle" + i].grabbed._xscale));
VLayer["vehicle" + i].gotoAndStop("falling");
Char.grabbed = -1;
Char.maxSpeed = 10;
VLayer["vehicle" + i].rotating = (VLayer["vehicle" + i]._x - ex) / 5;
VLayer["vehicle" + i].moveRL = mRL * (VLayer["vehicle" + i].grabSpeed / 10);
VLayer["vehicle" + i].moveUD = mUD * (VLayer["vehicle" + i].grabSpeed / 10);
}
} else {
VLayer["vehicle" + i].rotating = VLayer["vehicle" + i].rotating + ((VLayer["vehicle" + i]._x - ex) / 20);
VLayer["vehicle" + i].moveRL = VLayer["vehicle" + i].moveRL + ((mRL * (VLayer["vehicle" + i].grabSpeed / 10)) * 0.2);
VLayer["vehicle" + i].moveUD = VLayer["vehicle" + i].moveUD + ((mUD * (VLayer["vehicle" + i].grabSpeed / 10)) * 0.2);
}
};
hurtChar = function (hurt) {
if ((Health.bar._xscale - hurt) > 0) {
Health.bar._xscale = Health.bar._xscale - hurt;
} else {
Health.bar._xscale = 0;
attachMovie("ghettoPawzDead", "ghettoPawz", getNextHighestDepth());
BLayer.removeMovieClip(this);
VLayer.removeMovieClip(this);
Paused = true;
delete onEnterFrame;
Mouse.show();
}
};
hurtBabies = function (hurt) {
if ((babyHealthBar.bar._xscale - hurt) > 0) {
babyHealthBar.bar._xscale = babyHealthBar.bar._xscale - hurt;
} else {
babyHealthBar.bar._xscale = 0;
attachMovie("ghettoPawzDeadBabies", "ghettoPawz", getNextHighestDepth());
BLayer.removeMovieClip(this);
VLayer.removeMovieClip(this);
Paused = true;
delete onEnterFrame;
Mouse.show();
}
};
squirtBlood = function (ex, ey, eRot) {
if (fxBlood) {
i = getNextHighestDepth();
if (random(2)) {
exs = 100;
} else {
exs = -100;
}
attachMovie("bloodSquirt" + random(3), "bloodSquirt" + i, i, {_x:ex, _y:ey, _xscale:exs, _yscale:100, _rotation:eRot + 180});
}
};
sparkImpact = function (ex, ey, eRot) {
n = random(4);
if (random(2)) {
exs = 100;
} else {
exs = -100;
}
i = getNextHighestDepth();
attachMovie("vehicleHit" + n, "vehicleHit" + i, i, {_x:ex, _y:ey, _xscale:300, _yscale:300, _rotation:eRot + 180});
bulletImpact(ex);
};
scream = function (ex) {
if (fxScreams && (fxSounds)) {
i = random(3);
_root["GirlyScream" + i].setPan((ex / 2.75) - 100);
_root["GirlyScream" + i].start();
}
};
explodeAtPeople = function (ex, ey, ID, combo) {
if (fxSounds) {
i = random(2);
_root["Boom" + i].setPan((ex / 2.75) - 100);
_root["Boom" + i].start();
}
i = getNextHighestDepth();
attachMovie("explosion", "explosion" + i, i, {_x:ex, _y:ey + 10});
var i = 0;
while (i <= _root.badMax) {
if ((Math.abs(BLayer["person" + i]._x - ex) < 100) && (Math.abs(BLayer["person" + i]._y - ey) < 100)) {
eRL = (BLayer["person" + i]._x - ex) / 10;
eUD = -20;
var _local5 = Math.sqrt((eRL * eRL) + (eUD * eUD));
var _local4 = 15 + (random(30) / 10);
eRL = eRL * (_local4 / _local5);
eUD = eUD * (_local4 / _local5);
BLayer["person" + i].rotating = (eRL * 4) * BLayer["person" + i].spinMax;
BLayer["person" + i].moveRL = eRL;
BLayer["person" + i].moveUD = eUD;
BLayer["person" + i].combo = BLayer["person" + i].combo + combo;
BLayer["person" + i]._alpha = 100;
BLayer["person" + i]._xscale = 100;
BLayer["person" + i].gotoAndStop("falling");
if (BLayer["person" + i].unitType < 6) {
personMusicVol = personMusicVol - BLayer["person" + i].thisPMC;
BLayer["person" + i].thisPMC = 0;
}
}
i++;
}
var i = 0;
while (i <= _root.vehicMax) {
if (((((Math.abs(VLayer["vehicle" + i]._x - ex) < 100) && (Math.abs(VLayer["vehicle" + i]._y - ey) < 100)) && (VLayer["vehicle" + i]._currentframe < 5)) && (VLayer["vehicle" + i]._currentframe != 3)) && (i != ID)) {
eRL = (VLayer["vehicle" + i]._x - ex) / 10;
eUD = -20;
var _local5 = Math.sqrt((eRL * eRL) + (eUD * eUD));
var _local4 = 15 + (random(30) / 10);
eRL = eRL * (_local4 / _local5);
eUD = eUD * (_local4 / _local5);
VLayer["vehicle" + i].rotating = eRL * 4;
VLayer["vehicle" + i].moveRL = eRL;
VLayer["vehicle" + i].moveUD = eUD;
VLayer["vehicle" + i].combo = VLayer["vehicle" + i].combo + combo;
VLayer["vehicle" + i]._alpha = 100;
VLayer["vehicle" + i].gotoAndStop("falling");
}
i++;
}
if (fxDebris) {
debrisN = random(5) + 3;
var _local3 = 0;
while (_local3 < debrisN) {
i = getNextHighestDepth();
attachMovie("debris" + random(4), "debris" + i, i, {_x:ex, _y:ey, moveRL:random(20) - 10, moveUD:-10 - random(6), onEnterFrame:debrisEnterFrame, trailN:2});
_local3++;
}
}
};
debrisEnterFrame = function () {
this.moveUD = this.moveUD + 0.5;
if (fxSmoke) {
this.i = getNextHighestDepth();
attachMovie("smokeTrail", "smokeTrail" + this.i, this.i, {_x:this._x, _y:this._y, _rotation:random(360)});
}
if ((this._y + this.moveUD) > 350) {
this.moveRL = this.moveRL * 0.5;
this.moveUD = (-this.moveUD) / 2;
if (this.moveUD > -5) {
removeMovieClip(this);
}
}
if ((this._x < -20) || (this._x > 570)) {
removeMovieClip(this);
}
this._rotation = this._rotation + (this.moveRL * 2);
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
};
var tehpants = new Color(Char);
var tehpantsicon = new Color(OutPut.pantsicon);
var RedTint = new Object();
checkGrab = function () {
var _local2 = -1;
if (VLayer.hitTest(Char._x, Char._y + 20, true)) {
var _local4 = -1;
var _local1 = vehicMax;
while (_local1 > -1) {
if ((VLayer["vehicle" + _local1].hitTest(Char._x, Char._y + 20, true) && (VLayer["vehicle" + _local1]._currentframe < 5)) && (VLayer["vehicle" + _local1].unitType != 13)) {
_local4 = VLayer["vehicle" + _local1].ID;
_local2 = _local1;
var _local3 = "vehicle";
Char.tallDisplace = VLayer["vehicle" + _local1].tallDisplace;
break;
}
_local1--;
}
} else if (BLayer.hitTest(Char._x, Char._y + 20, true)) {
var _local4 = -1;
var _local1 = badMax;
while (_local1 > -1) {
if (BLayer["person" + _local1].hitTest(Char._x, Char._y + 20, true) && (BLayer["person" + _local1]._currentframe < 5)) {
_local4 = BLayer["person" + _local1].ID;
_local2 = _local1;
var _local3 = "person";
Char.tallDisplace = 0;
break;
}
_local1--;
}
}
if (_local2 == -1) {
selectorArrowT._x = -20;
selectorArrowT._y = -30;
selectorArrowB._x = -20;
selectorArrowB._y = -20;
Char.tallDisplace = 0;
showSelected.gotoAndStop(1);
} else {
if (_local3 == "person") {
selectorArrowT._x = BLayer["person" + _local2]._x;
selectorArrowT._y = BLayer["person" + _local2]._y - 14;
selectorArrowB._x = BLayer["person" + _local2]._x;
selectorArrowB._y = BLayer["person" + _local2]._y + 12;
showSelected.gotoAndStop(BLayer["person" + _local2].unitType + 1);
showSelected.smoke = ((((("points: " + BLayer["person" + _local2].points) + " + combo: ") + BLayer["person" + _local2].combo) + " = ") + (BLayer["person" + _local2].points * BLayer["person" + _local2].combo)) + " total";
} else {
selectorArrowT._x = VLayer["vehicle" + _local2]._x;
selectorArrowT._y = (VLayer["vehicle" + _local2]._y - 15) - VLayer["vehicle" + _local2].tallDisplace;
selectorArrowB._x = VLayer["vehicle" + _local2]._x;
selectorArrowB._y = VLayer["vehicle" + _local2]._y + 12;
showSelected.gotoAndStop(VLayer["vehicle" + _local2].unitType + 1);
showSelected.smoke = ((((("points: " + VLayer["vehicle" + _local2].points) + " + combo: ") + VLayer["vehicle" + _local2].combo) + " = ") + (VLayer["vehicle" + _local2].points * VLayer["vehicle" + _local2].combo)) + " total";
}
if (grabSlacker > 0) {
grabIt(_local2, _local3);
grabSlacker = 0;
}
}
if (Char.couldGrab != _local2) {
Char.couldGrab = _local2;
Char.couldGrabType = _local3;
}
};
grabIt = function (n, type) {
selectorArrowT._x = -20;
selectorArrowT._y = -30;
selectorArrowB._x = -20;
selectorArrowB._y = -20;
if (type == "person") {
var _local3 = "BLayer";
} else {
var _local3 = "VLayer";
}
_root[_local3][type + n].gotoAndStop("grabbed");
_root[_local3][type + n].grabbed._xscale = (_root[_local3][type + n]._xscale / Math.abs(_root[_local3][type + n]._xscale)) * 100;
_root[_local3][type + n].personShell._xscale = _root[_local3][type + n].grabbed._xscale;
_root[_local3][type + n]._xscale = Math.abs(_root[_local3][type + n]._xscale);
_root[_local3][type + n]._rotation = 0;
Char.maxSpeed = _root[_local3][type + n].grabSpeed;
Char.tallDisplace = _root[_local3][type + n].tallDisplace;
Char.grabbed = n;
Char.grabbedType = type;
Char.spring = 0;
if (type == "person") {
scream(Char._x);
}
};
throwIt = function () {
if (Char.grabbedType == "person") {
BLayer["person" + Char.grabbed].moveRL = (cursorRL / 3) + Char.moveRL;
BLayer["person" + Char.grabbed].moveUD = (cursorUD / 3) + Char.moveUD;
speed = Math.sqrt((BLayer["person" + Char.grabbed].moveRL * BLayer["person" + Char.grabbed].moveRL) + (BLayer["person" + Char.grabbed].moveUD * BLayer["person" + Char.grabbed].moveUD));
if (speed > 20) {
BLayer["person" + Char.grabbed].moveRL = BLayer["person" + Char.grabbed].moveRL * (20 / speed);
BLayer["person" + Char.grabbed].moveUD = BLayer["person" + Char.grabbed].moveUD * (20 / speed);
speed = 20;
}
BLayer["person" + Char.grabbed].rotating = speed;
BLayer["person" + Char.grabbed]._xscale = (BLayer["person" + Char.grabbed].moveRL / Math.abs(BLayer["person" + Char.grabbed].moveRL)) * 100;
BLayer["person" + Char.grabbed].grabbed._xscale = 100;
BLayer["person" + Char.grabbed].gotoAndStop("falling");
Char.grabbed = -1;
Char.maxSpeed = 10;
scream(Char._x);
} else {
VLayer["vehicle" + Char.grabbed].moveRL = (cursorRL / 3) + Char.moveRL;
VLayer["vehicle" + Char.grabbed].moveUD = (cursorUD / 3) + Char.moveUD;
speed = Math.sqrt((VLayer["vehicle" + Char.grabbed].moveRL * VLayer["vehicle" + Char.grabbed].moveRL) + (VLayer["vehicle" + Char.grabbed].moveUD * VLayer["vehicle" + Char.grabbed].moveUD));
if (speed > 20) {
VLayer["vehicle" + Char.grabbed].moveRL = VLayer["vehicle" + Char.grabbed].moveRL * (20 / speed);
VLayer["vehicle" + Char.grabbed].moveUD = VLayer["vehicle" + Char.grabbed].moveUD * (20 / speed);
}
VLayer["vehicle" + Char.grabbed].rotating = VLayer["vehicle" + Char.grabbed].moveRL * 0.5;
VLayer["vehicle" + Char.grabbed]._xscale = VLayer["vehicle" + Char.grabbed]._xscale * (VLayer["vehicle" + Char.grabbed].grabbed._xscale / Math.abs(VLayer["vehicle" + Char.grabbed].grabbed._xscale));
VLayer["vehicle" + Char.grabbed].personShell._xscale = 100;
VLayer["vehicle" + Char.grabbed].gotoAndStop("falling");
Char.grabbed = -1;
Char.maxSpeed = 10;
Char.tallDisplace = 0;
}
if (fxSounds) {
i = random(3);
_root["Throw" + i].setPan((Char._x / 2.75) - 100);
_root["Throw" + i].start();
}
};
announceStuff = function (smoke) {
var _local3 = getNextHighestDepth();
attachMovie("announcer", "announcer" + _local3, _local3, {smoke:smoke});
_root["announcer" + _local3].onEnterFrame = function () {
if (Paused) {
this.stop();
} else {
this.play();
}
};
};
commentStuff = function (smoke) {
if (DYN) {
var _local3 = getNextHighestDepth();
attachMovie("commentor", "commentor" + _local3, _local3, {smoke:smoke});
_root["commentor" + _local3].onEnterFrame = function () {
if (Paused) {
this.stop();
} else {
this.play();
}
};
}
};
bgMusicVol = 100;
changeMusicVol = function (ex) {
if ((bgMusicVol == 0) && (ex > 0)) {
bgMusic.start(0, 1000);
bgMusicVol = bgMusicVol + ex;
} else if ((bgMusicVol > 0) && ((bgMusicVol + ex) <= 0)) {
bgMusicVol = 0;
bgMusic.stop();
} else if ((bgMusicVol + ex) > 100) {
bgMusicVol = 100;
} else if ((bgMusicVol + ex) < 0) {
bgMusicVol = 0;
} else {
bgMusicVol = bgMusicVol + ex;
}
bgMusic.setVolume(Math.round(bgMusicVol));
};
badMax = -1;
createEmptyMovieClip("BLayer", 1);
civEnterFrame = groundEnterFrame;
attachMovie("optionsMenu", "optionsMenu", 2);
var i = 0;
while (i <= 10) {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
placePerson(random(300) + 10, 340, exs, random(5) + 1, true);
i++;
}
ShakyCount = 0;
shakeX = ((ShakyCamX[Math.round(ShakyCount)] * 2) + 280) - (BLayer.person0._x * 5);
shakeY = (ShakyCamY[Math.round(ShakyCount)] * 2) - 1400;
camOn = random(10);
switchCamCount = random(100) + 100;
onEnterFrame = function () {
if (ShakyCamX[Math.round(ShakyCount)] == undefined) {
ShakyCount = 0;
}
var _local1 = ((((ShakyCamX[Math.round(ShakyCount)] * 2) + 280) - (BLayer["person" + camOn]._x * 5)) - shakeX) / 5;
if (Math.abs(_local1) > 10) {
shakeX = shakeX + ((_local1 / Math.abs(_local1)) * 10);
} else {
shakeX = shakeX + _local1;
}
shakeY = shakeY + ((((ShakyCamY[Math.round(ShakyCount)] * 2) - 1400) - shakeY) / 5);
_x = Math.round(shakeX);
_y = Math.round(shakeY);
optionsMenu._x = (-_x) / 5;
optionsMenu._y = (-_y) / 5;
ShakyCount = ShakyCount + 1;
if (((switchCamCount > 0) && (BLayer["person" + camOn]._x > 50)) && (BLayer["person" + camOn]._x < 500)) {
switchCamCount--;
} else {
camOn = random(10);
switchCamCount = random(100) + 100;
}
};
_xscale = 500;
_yscale = 500;
optionsMenu._xscale = 20;
optionsMenu._yscale = 20;
var Boom0 = new Sound(createEmptyMovieClip("soundmc0", 1000000));
Boom0.attachSound("boom0");
var Boom1 = new Sound(createEmptyMovieClip("soundmc1", 1000001));
Boom1.attachSound("boom1");
var CopShot = new Sound(createEmptyMovieClip("soundmc4", 1000004));
CopShot.attachSound("copShot");
CopShot.setVolume(50);
var TankShot0 = new Sound(createEmptyMovieClip("soundmc6", 1000006));
TankShot0.attachSound("tankShot4");
TankShot0.setVolume(500);
var TankShot1 = new Sound(createEmptyMovieClip("soundmc7", 1000007));
TankShot1.attachSound("tankShot5");
TankShot1.setVolume(500);
var TankShot2 = new Sound(createEmptyMovieClip("soundmc8", 1000008));
TankShot2.attachSound("tankShot6");
TankShot2.setVolume(500);
var TankShot3 = new Sound(createEmptyMovieClip("soundmc9", 1000009));
TankShot3.attachSound("tankShot7");
TankShot3.setVolume(500);
var Ricochet0 = new Sound(createEmptyMovieClip("soundmc10", 1000010));
Ricochet0.attachSound("ricochet0");
Ricochet0.setVolume(25);
var Ricochet1 = new Sound(createEmptyMovieClip("soundmc11", 1000011));
Ricochet1.attachSound("ricochet1");
Ricochet1.setVolume(25);
var Ricochet2 = new Sound(createEmptyMovieClip("soundmc12", 1000012));
Ricochet2.attachSound("ricochet2");
Ricochet2.setVolume(25);
var Ricochet3 = new Sound(createEmptyMovieClip("soundmc13", 1000013));
Ricochet3.attachSound("ricochet3");
Ricochet3.setVolume(25);
var HumanFall = new Sound(createEmptyMovieClip("soundmc14", 1000014));
HumanFall.attachSound("humanFall");
HumanFall.setVolume(25);
var HumanSquished = new Sound(createEmptyMovieClip("soundmc15", 1000015));
HumanSquished.attachSound("humanSquished");
HumanSquished.setVolume(25);
var Crunch1 = new Sound(createEmptyMovieClip("soundmc16", 1000016));
Crunch1.attachSound("crunch1");
Crunch1.setVolume(25);
var Crunch2 = new Sound(createEmptyMovieClip("soundmc17", 1000017));
Crunch2.attachSound("crunch2");
Crunch2.setVolume(25);
var Crunch3 = new Sound(createEmptyMovieClip("soundmc18", 1000018));
Crunch3.attachSound("crunch3");
Crunch3.setVolume(25);
var SoldierShot0 = new Sound(createEmptyMovieClip("soundmc19", 1000019));
SoldierShot0.attachSound("soldierShot0");
SoldierShot0.setVolume(200);
var SoldierShot1 = new Sound(createEmptyMovieClip("soundmc20", 1000020));
SoldierShot1.attachSound("soldierShot1");
SoldierShot1.setVolume(200);
var SoldierShot2 = new Sound(createEmptyMovieClip("soundmc21", 1000021));
SoldierShot2.attachSound("soldierShot2");
SoldierShot2.setVolume(200);
var SwatShot0 = new Sound(createEmptyMovieClip("soundmc22", 1000022));
SwatShot0.attachSound("uzi0");
var SwatShot1 = new Sound(createEmptyMovieClip("soundmc23", 1000023));
SwatShot1.attachSound("uzi1");
var SwatShot2 = new Sound(createEmptyMovieClip("soundmc24", 1000024));
SwatShot2.attachSound("uzi2");
var BulletImpact0 = new Sound(createEmptyMovieClip("soundmc25", 1000025));
BulletImpact0.attachSound("bulletImpact0");
BulletImpact0.setVolume(20);
var BulletImpact1 = new Sound(createEmptyMovieClip("soundmc26", 1000026));
BulletImpact1.attachSound("bulletImpact1");
BulletImpact1.setVolume(20);
var BulletImpact2 = new Sound(createEmptyMovieClip("soundmc27", 1000027));
BulletImpact2.attachSound("bulletImpact2");
BulletImpact2.setVolume(20);
var BulletImpact3 = new Sound(createEmptyMovieClip("soundmc28", 1000028));
BulletImpact3.attachSound("bulletImpact3");
BulletImpact3.setVolume(20);
var BulletImpact4 = new Sound(createEmptyMovieClip("soundmc29", 1000029));
BulletImpact4.attachSound("bulletImpact4");
BulletImpact4.setVolume(20);
var BulletBounce0 = new Sound(createEmptyMovieClip("soundmc30", 1000030));
BulletBounce0.attachSound("bulletBounce0");
BulletBounce0.setVolume(25);
var BulletBounce1 = new Sound(createEmptyMovieClip("soundmc31", 1000031));
BulletBounce1.attachSound("bulletBounce1");
BulletBounce1.setVolume(25);
var BulletBounce2 = new Sound(createEmptyMovieClip("soundmc32", 1000032));
BulletBounce2.attachSound("bulletBounce2");
BulletBounce2.setVolume(25);
var Throw0 = new Sound(createEmptyMovieClip("soundmc33", 1000033));
Throw0.attachSound("throw0");
Throw0.setVolume(50);
var Throw1 = new Sound(createEmptyMovieClip("soundmc34", 1000034));
Throw1.attachSound("throw1");
Throw1.setVolume(50);
var GirlyScream0 = new Sound(createEmptyMovieClip("soundmc35", 1000035));
GirlyScream0.attachSound("femaleScream0");
GirlyScream0.setVolume(25);
var GirlyScream1 = new Sound(createEmptyMovieClip("soundmc36", 1000036));
GirlyScream1.attachSound("femaleScream1");
GirlyScream1.setVolume(25);
var GirlyScream2 = new Sound(createEmptyMovieClip("soundmc37", 1000037));
GirlyScream2.attachSound("femaleScream2");
GirlyScream2.setVolume(25);
var bgMusic = new Sound(createEmptyMovieClip("soundmc38", 1000038));
bgMusic.attachSound("bgMusic");
var ambientBG = new Sound(createEmptyMovieClip("soundmc39", 1000039));
ambientBG.attachSound("ambientBG");
ambientBG.setVolume(15);
var chopperGunStart = new Sound(createEmptyMovieClip("soundmc40", 1000040));
chopperGunStart.attachSound("chopperGunStart");
var chopperGunFire = new Sound(createEmptyMovieClip("soundmc41", 1000041));
chopperGunFire.attachSound("chopperGunFire");
var chopperGunEnd = new Sound(createEmptyMovieClip("soundmc42", 1000042));
chopperGunEnd.attachSound("chopperGunEnd");
if (fxMusic) {
bgMusic.start(0, 1000);
}
stop();
Frame 5
Char.moveRL = 0;
Char.moveUD = 0;
Char.grabbed = -1;
Char.couldGrab = -1;
Char.swapDepths(1000);
Char.tallDisplace = 0;
cursor.swapDepths(1010);
circle.swapDepths(1020);
babyHealthBar.swapDepths(10010);
levelBar.swapDepths(10009);
badMax = -1;
vehicMax = -1;
Paused = false;
Mouse.hide();
Char.maxSpeed = 10;
Score = 0;
Hunger = 0;
flapSpeed = 3;
flapN = 0;
grabSlacker = 0;
spawnTimer = 0;
levelPoints = 0;
levelPointsMax = 0;
spawnSpeed = 100;
BLayer.removeMovieClip(this);
VLayer.removeMovieClip(this);
SLayer.removeMovieClip(this);
optionsMenu.removeMovieClip(this);
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
if (fxMusic) {
if (DYN) {
changeMusicVol(-100);
ambientVol = 15;
ambientBG.setVolume(15);
ambientBG.start(0, 1000);
} else if (bgMusicVol < 100) {
ambientVol = 0;
changeMusicVol(100 - bgMusicVol);
}
}
createEmptyMovieClip("BLayer", 1);
createEmptyMovieClip("VLayer", 0);
createEmptyMovieClip("SLayer", 1025);
onMouseDown = function () {
if (Char.grabbed > -1) {
throwIt();
} else if (Char.couldGrab > -1) {
grabIt(Char.couldGrab, Char.couldGrabType);
} else {
grabSlacker = 5;
}
};
onMouseUp = function () {
if (Char.grabbed > -1) {
throwIt();
}
};
mainEnterFrame = function () {
if (((Level > 3) && (bgMusicVol < 100)) && (fxMusic)) {
changeMusicVol(0.5);
if (ambientVol > 0) {
ambientVol = ambientVol - 0.5;
ambientBG.setVolume(ambientVol);
}
}
if (DYN) {
if (levelBar.bar._xscale != levelBar.barPot._xscale) {
var _local2 = (levelBar.barPot._xscale - levelBar.bar._xscale) / 20;
if (Math.abs(_local2) < 0.5) {
_local2 = (0.5 * _local2) / Math.abs(_local2);
}
if (Math.abs(levelBar.bar._xscale - levelBar.barPot._xscale) > Math.abs(_local2)) {
levelBar.bar._xscale = levelBar.bar._xscale + _local2;
} else if (levelBar.barPot._xscale == 100) {
Level++;
setLevel(Level - 1);
levelBar.barPot._xscale = (levelPoints / levelPointsMax) * 100;
if (DYN && (Level == 2)) {
civEnterFrame = civAttackEnterFrame;
}
} else {
levelBar.bar._xscale = levelBar.barPot._xscale;
}
}
} else if (Countdown > 0) {
Countdown--;
} else {
attachMovie("ghettoPawzAfterCity", "ghettoPawz", getNextHighestDepth());
BLayer.removeMovieClip(this);
VLayer.removeMovieClip(this);
Paused = true;
delete onEnterFrame;
Mouse.show();
}
if (Char.grabbed == -1) {
checkGrab();
if (grabSlacker > 0) {
grabSlacker--;
}
}
cursorRL = ((_xmouse * 1.2) - 50) - cursor._x;
cursorUD = ((_ymouse * 1.2) - 50) - cursor._y;
cursor._x = cursor._x + (cursorRL / 3);
cursor._y = cursor._y + (cursorUD / 3);
if (cursor._x < 5) {
cursor._x = 5;
cursorRL = 0;
}
if (cursor._x > 545) {
cursor._x = 545;
cursorRL = 0;
}
if (cursor._y < 5) {
cursor._y = 5;
cursorUD = 0;
}
if (cursor._y > 472) {
cursor._y = 472;
cursorUD = 0;
}
xDist = cursor._x - circle._x;
yDist = cursor._y - circle._y;
Dist = Math.sqrt((xDist * xDist) + (yDist * yDist));
if (Dist > 40) {
xDist = xDist * (40 / Dist);
yDist = yDist * (40 / Dist);
circle._x = cursor._x - xDist;
circle._y = cursor._y - yDist;
}
if (Dist < 42) {
circle._x = circle._x + ((cursor._x - circle._x) / 30);
circle._y = circle._y + ((cursor._y - circle._y) / 30);
}
if (circle._y > 340) {
circle._y = 340;
}
Char.moveRL = (circle._x - Char._x) / 10;
Char.moveUD = (((circle._y - 20) - Char.tallDisplace) - Char._y) / 10;
speed = Math.sqrt((Char.moveRL * Char.moveRL) + (Char.moveUD * Char.moveUD));
if (speed > Char.maxSpeed) {
Char.moveRL = Char.moveRL * (Char.maxSpeed / speed);
Char.moveUD = Char.moveUD * (Char.maxSpeed / speed);
}
flapSpeed = Math.round((10 - speed) / 3.3);
if (flapN <= 0) {
Char.nextFrame();
if (Char._currentframe > 12) {
Char.gotoAndStop(1);
}
flapN = flapSpeed;
} else {
flapN--;
}
Char._rotation = ((Char.moveRL * Char.moveRL) / 3) * (Char.moveRL / Math.abs(Char.moveRL));
Char._x = Char._x + Char.moveRL;
Char._y = Char._y + Char.moveUD;
bigDist = Math.sqrt(((Char._x - cursor._x) * (Char._x - cursor._x)) + ((Char._y - cursor._y) * (Char._y - cursor._y)));
if (bigDist > 60) {
cursor._rotation = (-Math.atan2(cursor._x - Char._x, cursor._y - Char._y)) / (Math.PI/180);
cursor.stretch._yscale = Math.sqrt(((Char._x - cursor._x) * (Char._x - cursor._x)) + ((Char._y - cursor._y) * (Char._y - cursor._y))) * 1;
cursor.gotoAndStop(1);
} else {
cursor.gotoAndStop(2);
}
if (Char.grabbed > -1) {
if (Char.grabbedType == "person") {
BLayer["person" + Char.grabbed]._x = Char._x;
BLayer["person" + Char.grabbed]._y = Char._y + 18;
Char.spring = Char.spring - ((BLayer["person" + Char.grabbed].grabbed._rotation - (Char.moveRL * 5)) / 15);
Char.spring = Char.spring * 0.95;
BLayer["person" + Char.grabbed].grabbed._rotation = BLayer["person" + Char.grabbed].grabbed._rotation + Char.spring;
} else {
VLayer["vehicle" + Char.grabbed]._x = Char._x;
if (((Char._y + 18) + Char.tallDisplace) < 340) {
VLayer["vehicle" + Char.grabbed]._y = (Char._y + 18) + Char.tallDisplace;
} else {
VLayer["vehicle" + Char.grabbed]._y = 340;
}
Char.spring = Char.spring - ((VLayer["vehicle" + Char.grabbed].grabbed._rotation - (Char.moveRL * 5)) / 15);
Char.spring = Char.spring * 0.95;
VLayer["vehicle" + Char.grabbed].grabbed._rotation = VLayer["vehicle" + Char.grabbed].grabbed._rotation + Char.spring;
VLayer["vehicle" + Char.grabbed].personShell._rotation = VLayer["vehicle" + Char.grabbed].grabbed._rotation;
}
}
if (spawnTimer > 0) {
spawnTimer--;
} else {
if (((vehicMax + badMax) + 2) < stageMax) {
spawnSomething();
}
spawnTimer = Math.round(random(spawnSpeed / 2) + spawnSpeed);
}
if (!Key.isDown(32)) {
SpisDown = false;
}
if (Key.isDown(32) && (!SpisDown)) {
attachMovie("ghettoPawz", "ghettoPawz", getNextHighestDepth());
SpisDown = true;
Paused = true;
onEnterFrame = pausedEnterFrame;
Mouse.show();
BLayer._visible = false;
VLayer._visible = false;
}
};
pausedEnterFrame = function () {
if (!Key.isDown(32)) {
SpisDown = false;
}
if (Key.isDown(32) && (!SpisDown)) {
ghettoPawz.removeMovieClip(this);
SpisDown = true;
Paused = false;
onEnterFrame = mainEnterFrame;
Mouse.hide();
BLayer._visible = true;
VLayer._visible = true;
}
};
onEnterFrame = mainEnterFrame;
if (DYN) {
babyHealthBar.gotoAndStop(1);
levelBar.bar._xscale = 0;
levelBar.barPot._xscale = 0;
nestX = 525;
nestY = 150;
Level = 1;
setLevel(Level - 1);
StageBack = "Country";
if (!playedBefore) {
attachMovie("instructionsMC", "instructionsMC", getNextHighestDepth(), {_x:275, _y:240});
}
} else {
babyHealthBar.gotoAndStop(2);
levelBar.removeMovieClip(this);
stageMax = 10;
StageBack = "City";
setLevel(9);
Countdown = 3600;
civEnterFrame = groundEnterFrame;
var i = 0;
while (i <= 10) {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
placePerson(random(530) + 10, 340, exs, random(5) + 1, true);
i++;
}
}
Backgrounds.gotoAndStop(StageBack);
Instance of Symbol 1144 MovieClip "circle" in Frame 5
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 1148 MovieClip "healthWords" in Frame 5
onClipEvent (load) {
swapDepths(10007);
}
Instance of Symbol 1152 MovieClip "Health" in Frame 5
onClipEvent (load) {
swapDepths(10008);
}
Instance of Symbol 1154 MovieClip "mcScore" in Frame 5
onClipEvent (load) {
swapDepths(10012);
}
Instance of Symbol 1156 MovieClip "scoreName" in Frame 5
onClipEvent (load) {
swapDepths(10011);
}
Frame 6
mcScore.removeMovieClip(this);
cursor.removeMovieClip(this);
circle.removeMovieClip(this);
Char.removeMovieClip(this);
scoreName.removeMovieClip(this);
babyHealthBar.removeMovieClip(this);
healthWords.removeMovieClip(this);
Health.removeMovieClip(this);
levelBar.removeMovieClip(this);
ghettoPawz.removeMovieClip(this);
stopAllSounds();
bgMusicVol = 0;
gotoAndStop (5);
Symbol 1178 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 1179 MovieClip [__Packages.mx.transitions.TransitionManager] Frame 0
class mx.transitions.TransitionManager
{
var _transitions, removeEventListener, _content, addEventListener, _contentAppearance, _innerBounds, _outerBounds, _width, _height, _triggerEvent, dispatchEvent;
function TransitionManager (content) {
this.content = (content);
_transitions = {};
}
function set content(c) {
removeEventListener("allTransitionsInDone", _content);
removeEventListener("allTransitionsOutDone", _content);
_content = c;
saveContentAppearance();
addEventListener("allTransitionsInDone", _content);
addEventListener("allTransitionsOutDone", _content);
//return(content);
}
function get content() {
return(_content);
}
function get transitionsList() {
return(_transitions);
}
function get numTransitions() {
var _local2 = 0;
for (var _local3 in _transitions) {
_local2++;
}
return(_local2);
}
function get numInTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (!_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get numOutTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get contentAppearance() {
return(_contentAppearance);
}
static function start(content, transParams) {
if (content.__transitionManager == undefined) {
content.__transitionManager = new mx.transitions.TransitionManager(content);
}
if (transParams.direction == 1) {
content.__transitionManager._triggerEvent = "hide";
} else {
content.__transitionManager._triggerEvent = "reveal";
}
return(content.__transitionManager.startTransition(transParams));
}
function startTransition(transParams) {
removeTransition(findTransition(transParams));
var _local3 = transParams.type;
var _local2 = new _local3[undefined](_content, transParams, this);
addTransition(_local2);
_local2.start();
return(_local2);
}
function addTransition(trans) {
trans.ID = ++IDCount;
_transitions[trans.ID] = trans;
return(trans);
}
function removeTransition(trans) {
if (_transitions[trans.ID] == undefined) {
return(false);
}
trans.cleanUp();
return(delete _transitions[trans.ID]);
}
function findTransition(transParams) {
var _local2;
for (var _local4 in _transitions) {
_local2 = _transitions[_local4];
if (_local2.type == transParams.type) {
return(_local2);
}
}
return(undefined);
}
function removeAllTransitions() {
for (var _local2 in _transitions) {
_transitions[_local2].cleanUp();
removeTransition(_transitions[_local2]);
}
}
function saveContentAppearance() {
var _local2 = _content;
if (_contentAppearance == undefined) {
var _local3 = (_contentAppearance = {});
for (var _local4 in _visualPropList) {
_local3[_local4] = _local2[_local4];
}
_local3.colorTransform = new Color(_local2).getTransform();
}
_innerBounds = _local2.getBounds(targetPath(_local2));
_outerBounds = _local2.getBounds(targetPath(_local2._parent));
_width = _local2._width;
_height = _local2._height;
}
function restoreContentAppearance() {
var _local2 = _content;
var _local3 = _contentAppearance;
for (var _local4 in _visualPropList) {
_local2[_local4] = _local3[_local4];
}
new Color(_local2).setTransform(_local3.colorTransform);
}
function transitionInDone(e) {
removeTransition(e.target);
if (numInTransitions == 0) {
var _local2;
_local2 = _content._visible;
if ((_triggerEvent == "hide") || (_triggerEvent == "hideChild")) {
_content._visible = false;
}
if (_local2) {
dispatchEvent({type:"allTransitionsInDone", target:this});
}
}
}
function transitionOutDone(e) {
removeTransition(e.target);
if (numOutTransitions == 0) {
restoreContentAppearance();
var _local2;
_local2 = _content._visible;
if (_local2 && ((_triggerEvent == "hide") || (_triggerEvent == "hideChild"))) {
_content._visible = false;
}
updateAfterEvent();
if (_local2) {
dispatchEvent({type:"allTransitionsOutDone", target:this});
}
}
}
function toString() {
return("[TransitionManager]");
}
static var version = "1.1.0.52";
static var IDCount = 0;
var type = mx.transitions.TransitionManager;
var className = "TransitionManager";
var _visualPropList = {_x:null, _y:null, _xscale:null, _yscale:null, _alpha:null, _rotation:null};
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.TransitionManager.prototype);
}
Symbol 1180 MovieClip [__Packages.mx.transitions.Transition] Frame 0
class mx.transitions.Transition
{
var _manager, removeEventListener, addEventListener, _content, _twn, _easing, _progress, dispatchEvent, _innerBounds, _outerBounds, _width, _height;
function Transition (content, transParams, manager) {
if (!arguments.length) {
return;
}
init(content, transParams, manager);
}
function set manager(mgr) {
if (_manager != undefined) {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
}
_manager = mgr;
addEventListener("transitionInDone", _manager);
addEventListener("transitionOutDone", _manager);
addEventListener("transitionProgress", _manager);
//return(manager);
}
function get manager() {
return(_manager);
}
function set content(c) {
if (typeof(c) == "movieclip") {
_content = c;
_twn.obj = c;
}
//return(content);
}
function get content() {
return(_content);
}
function set direction(direction) {
_direction = (direction ? 1 : 0);
//return(this.direction);
}
function get direction() {
return(_direction);
}
function set duration(d) {
if (d) {
_duration = d;
_twn.duration = d;
}
//return(duration);
}
function get duration() {
return(_duration);
}
function set easing(e) {
if (typeof(e) == "string") {
e = eval (e);
} else if (e == undefined) {
e = _noEase;
}
_easing = e;
_twn.easing = e;
//return(easing);
}
function get easing() {
return(_easing);
}
function set progress(p) {
if (_progress == p) {
return;
}
_progress = p;
if (_direction) {
_render(1 - p);
} else {
_render(p);
}
dispatchEvent({type:"transitionProgress", target:this, progress:p});
//return(progress);
}
function get progress() {
return(_progress);
}
function init(content, transParams, manager) {
this.content = (content);
direction = (transParams.direction);
duration = (transParams.duration);
easing = (transParams.easing);
this.manager = (manager);
_innerBounds = this.manager._innerBounds;
_outerBounds = this.manager._outerBounds;
_width = this.manager._width;
_height = this.manager._height;
_resetTween();
}
function toString() {
return(("[Transition " + className) + "]");
}
function start() {
content._visible = true;
_twn.start();
}
function stop() {
_twn.fforward();
_twn.stop();
}
function cleanUp() {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
stop();
}
function getNextHighestDepthMC(mc) {
var _local4 = mc.getNextHighestDepth();
if (_local4 != undefined) {
return(_local4);
}
_local4 = -1;
var _local3;
var _local1;
for (var _local5 in mc) {
_local1 = mc[_local5];
if ((typeof(_local1) == "movieclip") && (_local1._parent == mc)) {
_local3 = _local1.getDepth();
if (_local3 > _local4) {
_local4 = _local3;
}
}
}
return(_local4 + 1);
}
function drawBox(mc, x, y, w, h) {
mc.moveTo(x, y);
mc.lineTo(x + w, y);
mc.lineTo(x + w, y + h);
mc.lineTo(x, y + h);
mc.lineTo(x, y);
}
function drawCircle(mc, x, y, r) {
mc.moveTo(x + r, y);
mc.curveTo(r + x, (0.414213562373095 * r) + y, (0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((0.414213562373095 * r) + x, r + y, x, r + y);
mc.curveTo((-0.414213562373095 * r) + x, r + y, (-0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((-r) + x, (0.414213562373095 * r) + y, (-r) + x, y);
mc.curveTo((-r) + x, (-0.414213562373095 * r) + y, (-0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo((-0.414213562373095 * r) + x, (-r) + y, x, (-r) + y);
mc.curveTo((0.414213562373095 * r) + x, (-r) + y, (0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo(r + x, (-0.414213562373095 * r) + y, r + x, y);
}
function _render(p) {
}
function _resetTween() {
_twn.stop();
_twn.removeListener(this);
_twn = new mx.transitions.Tween(this, null, easing, 0, 1, duration, true);
_twn.stop();
_twn.prop = "progress";
_twn.addListener(this);
}
function _noEase(t, b, c, d) {
return(((c * t) / d) + b);
}
function onMotionFinished(src) {
if (direction) {
dispatchEvent({type:"transitionOutDone", target:this});
} else {
dispatchEvent({type:"transitionInDone", target:this});
}
}
static var version = "1.1.0.52";
static var IN = 0;
static var OUT = 1;
var type = mx.transitions.Transition;
var className = "Transition";
var _direction = 0;
var _duration = 2;
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.Transition.prototype);
}
Symbol 1181 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1182 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1183 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1184 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 1185 MovieClip [__Packages.mx.transitions.Zoom] Frame 0
class mx.transitions.Zoom extends mx.transitions.Transition
{
var _xscaleFinal, __get__manager, _yscaleFinal, _content;
function Zoom (content, transParams, manager) {
super();
init(content, transParams, manager);
}
function init(content, transParams, manager) {
super.init(content, transParams, manager);
_xscaleFinal = __get__manager().__get__contentAppearance()._xscale;
_yscaleFinal = __get__manager().__get__contentAppearance()._yscale;
}
function _render(p) {
if (p < 0) {
p = 0;
}
_content._xscale = p * _xscaleFinal;
_content._yscale = p * _yscaleFinal;
}
static var version = "1.1.0.52";
var type = mx.transitions.Zoom;
var className = "Zoom";
}
Symbol 15 Button
on (press) {
getURL ("http://www.c404.net", "_blank");
}
Symbol 26 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 35 MovieClip Frame 382
stop();
_root.play();
Symbol 43 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (_parent._parent.shootN > 0) {
_parent._parent.shootN--;
} else {
_root.fireGun(_parent._parent._x, _parent._parent._y, _rotation * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)), true);
if (_root.fxSounds) {
_root.CopShot.setPan((_parent._parent._x / 2.75) - 100);
_root.CopShot.start();
}
_parent._parent.shootN = random(100) + 60;
play();
onEnterFrame = function () {
if (_root.Paused) {
stop();
} else {
play();
}
};
}
if (_root.DYN) {
_rotation = (((-Math.atan2(_parent._parent._x - _root.nestX, _parent._parent._y - _root.nestY)) / (Math.PI/180)) * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
} else {
_rotation = (((-Math.atan2(_parent._parent._x - _root.Char._x, _parent._parent._y - _root.Char._y)) / (Math.PI/180)) * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
}
}
};
onEnterFrame();
stop();
Symbol 89 MovieClip Frame 9
stop();
Symbol 91 MovieClip [cop] Frame 1
stop();
Symbol 91 MovieClip [cop] Frame 3
delete onEnterFrame;
Symbol 91 MovieClip [cop] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 91 MovieClip [cop] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 91 MovieClip [cop] Frame 6
delete onEnterFrame;
Symbol 146 MovieClip Frame 10
stop();
Symbol 146 MovieClip Frame 15
gotoAndStop (11);
Symbol 176 MovieClip Frame 9
stop();
Symbol 178 MovieClip [person1MC] Frame 1
stop();
Symbol 178 MovieClip [person1MC] Frame 3
delete onEnterFrame;
Symbol 178 MovieClip [person1MC] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 178 MovieClip [person1MC] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 178 MovieClip [person1MC] Frame 6
delete onEnterFrame;
Symbol 222 MovieClip Frame 10
stop();
Symbol 222 MovieClip Frame 15
gotoAndStop (11);
Symbol 252 MovieClip Frame 9
stop();
Symbol 254 MovieClip [person2MC] Frame 1
stop();
Symbol 254 MovieClip [person2MC] Frame 3
delete onEnterFrame;
Symbol 254 MovieClip [person2MC] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 254 MovieClip [person2MC] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 254 MovieClip [person2MC] Frame 6
delete onEnterFrame;
Symbol 303 MovieClip Frame 10
stop();
Symbol 303 MovieClip Frame 15
gotoAndStop (11);
Symbol 333 MovieClip Frame 9
stop();
Symbol 335 MovieClip [person3MC] Frame 1
stop();
Symbol 335 MovieClip [person3MC] Frame 3
delete onEnterFrame;
Symbol 335 MovieClip [person3MC] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 335 MovieClip [person3MC] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 335 MovieClip [person3MC] Frame 6
delete onEnterFrame;
Symbol 387 MovieClip Frame 10
stop();
Symbol 387 MovieClip Frame 15
gotoAndStop (11);
Symbol 417 MovieClip Frame 9
stop();
Symbol 419 MovieClip [person4MC] Frame 1
stop();
Symbol 419 MovieClip [person4MC] Frame 3
delete onEnterFrame;
Symbol 419 MovieClip [person4MC] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 419 MovieClip [person4MC] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 419 MovieClip [person4MC] Frame 6
delete onEnterFrame;
Symbol 461 MovieClip Frame 10
stop();
Symbol 461 MovieClip Frame 15
gotoAndStop (11);
Symbol 492 MovieClip Frame 9
stop();
Symbol 494 MovieClip [person5MC] Frame 1
stop();
Symbol 494 MovieClip [person5MC] Frame 3
delete onEnterFrame;
Symbol 494 MovieClip [person5MC] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 494 MovieClip [person5MC] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 494 MovieClip [person5MC] Frame 6
delete onEnterFrame;
Symbol 501 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (_parent._parent.shootN > 0) {
_parent._parent.shootN--;
} else {
_parent._parent.shootN = 50 + random(20);
play();
onEnterFrame = function () {
if (_root.Paused) {
stop();
} else {
play();
}
};
}
if (_root.DYN) {
_rotation = (((-Math.atan2(_parent._parent._x - _root.nestX, _parent._parent._y - _root.nestY)) / (Math.PI/180)) * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
} else {
_rotation = (((-Math.atan2(_parent._parent._x - _root.Char._x, _parent._parent._y - _root.Char._y)) / (Math.PI/180)) * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
}
}
};
onEnterFrame();
stop();
Symbol 501 MovieClip Frame 2
_root.fireGun(_parent._parent._x, _parent._parent._y, false);
if (_root.fxSounds) {
i = random(3);
_root["SwatShot" + i].setPan((_parent._parent.x / 2.75) - 100);
_root["SwatShot" + i].start();
}
Symbol 501 MovieClip Frame 5
_root.fireGun(_parent._parent._x, _parent._parent._y, false);
Symbol 501 MovieClip Frame 8
_root.fireGun(_parent._parent._x, _parent._parent._y, false);
Symbol 501 MovieClip Frame 11
_root.fireGun(_parent._parent._x, _parent._parent._y, false);
Symbol 545 MovieClip Frame 9
stop();
Symbol 547 MovieClip [swat] Frame 1
stop();
Symbol 547 MovieClip [swat] Frame 3
delete onEnterFrame;
Symbol 547 MovieClip [swat] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 547 MovieClip [swat] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 547 MovieClip [swat] Frame 6
delete onEnterFrame;
Symbol 557 MovieClip Frame 1
onEnterFrame = function () {
if (_parent._parent.shootN > 0) {
_parent._parent.shootN--;
} else {
_parent._parent.shootN = random(100) + 60;
play();
delete onEnterFrame;
}
if (_root.DYN) {
_rotation = (((-Math.atan2(_parent._parent._x - _root.nestX, _parent._parent._y - _root.nestY)) / (Math.PI/180)) * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
} else {
_rotation = (((-Math.atan2(_parent._parent._x - _root.Char._x, _parent._parent._y - _root.Char._y)) / (Math.PI/180)) * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
}
};
onEnterFrame();
stop();
Symbol 557 MovieClip Frame 2
_root.fireRifle(_parent._parent._x, _parent._parent._y, _rotation * (_parent._parent._xscale / Math.abs(_parent._parent._xscale)));
Symbol 600 MovieClip Frame 9
stop();
Symbol 602 MovieClip [soldier] Frame 1
stop();
Symbol 602 MovieClip [soldier] Frame 3
delete onEnterFrame;
Symbol 602 MovieClip [soldier] Frame 4
airtime = 0;
onEnterFrame = _root.fallingOnEnterFrame;
Symbol 602 MovieClip [soldier] Frame 5
_xscale = ((moveRL / Math.abs(moveRL)) * 100);
moveRL = moveRL * 0.5;
onEnterFrame = _root.dieOnEnterFrame;
Symbol 602 MovieClip [soldier] Frame 6
delete onEnterFrame;
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 616 MovieClip [policeCar] Frame 1
b = _root.copSpawnTimer;
if (_root.Level > 7) {
onEnterFrame = function () {
if (!_root.Paused) {
if (b == 0) {
if (cops > 0) {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeCop((random(20) + _x) - 10, 340, exs, false);
cops--;
b = _root.copSpawnTimer;
}
} else {
b--;
}
if (_xscale > 0) {
if (_x < targetX) {
moveRL = _xscale / 2;
} else {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
}
car.play();
}
} else if (_x > targetX) {
moveRL = _xscale / 2;
} else {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
}
car.play();
}
_x = (_x + moveRL);
}
};
} else {
onEnterFrame = function () {
if (!_root.Paused) {
if (_xscale > 0) {
if (_x < targetX) {
moveRL = _xscale / 2;
} else {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
}
car.play();
}
} else if (_x > targetX) {
moveRL = _xscale / 2;
} else {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
}
car.play();
}
_x = (_x + moveRL);
}
};
}
stop();
Symbol 616 MovieClip [policeCar] Frame 2
onEnterFrame = function () {
if (!_root.Paused) {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
_x = (_x + moveRL);
} else if (b == 0) {
if (cops == 0) {
delete onEnterFrame;
} else {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeCop((random(20) + _x) - 10, 340, exs, false);
cops--;
b = _root.copSpawnTimer;
}
} else {
b--;
}
}
};
stop();
Symbol 616 MovieClip [policeCar] Frame 3
delete onEnterFrame;
Symbol 616 MovieClip [policeCar] Frame 4
airtime = 0;
onEnterFrame = function () {
if (!_root.Paused) {
if (this._y > 340) {
this._y = 340;
this._rotation = 0;
if (Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD)) > 7) {
temp = this.points * this.combo;
_root.Score = _root.Score + temp;
iDepth = _root.SLayer.getNextHighestDepth();
_root.SLayer.attachMovie("pointsPuff", "pointsPuff" + iDepth, iDepth, {_x:_x, _y:_y, display:"+" + temp, onEnterFrame:_root.pointsPuffEnterFrame, _xscale:0, _yscale:0, pointsRise:random(10) + 5, counter:0});
this.gotoAndStop("die");
} else {
this.gotoAndStop("idle");
}
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
this._rotation = this._rotation + this.rotating;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
}
};
Symbol 616 MovieClip [policeCar] Frame 5
if (shellForCatch > 0) {
var i = 1;
while (i <= shellForCatch) {
_root.throwStuckPerson(_x + (personShell["person" + i]._x / 4), _y + (personShell["person" + i]._y / 4), personShell["person" + i].unitType, personShell["person" + i].combo);
personShell["person" + i].removeMovieClip(this);
i++;
}
}
_root.explodeAtPeople(this._x, this._y, this.ID, combo);
moveRL = (-_xscale) / 10;
moveUD = -12;
onEnterFrame = _root.vehicleDeathEnterFrame;
_root.spawnSomething();
Symbol 616 MovieClip [policeCar] Frame 14
moveRL = 0;
onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 628 MovieClip [swatCar] Frame 1
b = _root.copSpawnTimer;
if (_root.Level > 7) {
onEnterFrame = function () {
if (!_root.Paused) {
if (b == 0) {
if (cops == 0) {
delete onEnterFrame;
} else {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeSwat((random(20) + _x) - 10, 340, exs, false);
cops--;
b = _root.copSpawnTimer;
}
} else {
b--;
}
if (_xscale > 0) {
if (_x < targetX) {
moveRL = _xscale / 2;
} else if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
} else {
gotoAndStop ("idle");
}
} else if (_x > targetX) {
moveRL = _xscale / 2;
} else if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
} else {
gotoAndStop ("idle");
}
_x = (_x + moveRL);
}
};
} else {
onEnterFrame = function () {
if (!_root.Paused) {
if (_xscale > 0) {
if (_x < targetX) {
moveRL = _xscale / 2;
} else if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
} else {
gotoAndStop ("idle");
}
} else if (_x > targetX) {
moveRL = _xscale / 2;
} else if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
} else {
gotoAndStop ("idle");
}
_x = (_x + moveRL);
}
};
}
stop();
Symbol 628 MovieClip [swatCar] Frame 2
onEnterFrame = function () {
if (!_root.Paused) {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
_x = (_x + moveRL);
} else if (b == 0) {
if (cops == 0) {
delete onEnterFrame;
} else {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeSwat((random(20) + _x) - 10, 340, exs, false);
cops--;
b = _root.copSpawnTimer;
}
} else {
b--;
}
}
};
stop();
Symbol 628 MovieClip [swatCar] Frame 3
delete onEnterFrame;
Symbol 628 MovieClip [swatCar] Frame 4
airtime = 0;
onEnterFrame = function () {
if (!_root.Paused) {
if (this._y > 340) {
this._y = 340;
this._rotation = 0;
if (Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD)) > 7) {
temp = this.points * this.combo;
_root.Score = _root.Score + temp;
_root.i = _root.SLayer.getNextHighestDepth();
_root.SLayer.attachMovie("pointsPuff", "pointsPuff" + iDepth, iDepth, {_x:_x, _y:_y, display:"+" + temp, onEnterFrame:_root.pointsPuffEnterFrame, _xscale:0, _yscale:0, pointsRise:random(10) + 5, counter:0});
this.gotoAndStop("die");
} else {
this.gotoAndStop("idle");
}
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
this._rotation = this._rotation + rotating;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
}
};
Symbol 628 MovieClip [swatCar] Frame 5
if (shellForCatch > 0) {
var i = 1;
while (i <= shellForCatch) {
_root.throwStuckPerson(_x + (personShell["person" + i]._x / 4), _y + (personShell["person" + i]._y / 4), personShell["person" + i].unitType, personShell["person" + i].combo);
personShell["person" + i].removeMovieClip(this);
i++;
}
}
if (shellForCatch > 0) {
var i = 1;
while (i <= shellForCatch) {
throwStuckPerson(_x, personShell["person" + i]._x);
i++;
}
}
_root.explodeAtPeople(this._x, this._y, this.ID, combo);
moveRL = (-_xscale) / 10;
moveUD = -12;
onEnterFrame = _root.vehicleDeathEnterFrame;
_root.spawnSomething();
Symbol 628 MovieClip [swatCar] Frame 14
moveRL = 0;
onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 641 MovieClip Frame 1
_parent.shootN = random(100) + 60;
stop();
Symbol 641 MovieClip Frame 35
_root.fireTank(_parent._x + (_parent._xscale / 2), _parent._y - 25, (_rotation - 90) * (_parent._xscale / Math.abs(_parent._xscale)));
Symbol 645 MovieClip Frame 1
stop();
Instance of Symbol 641 MovieClip "gun" in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
_rotation = _parent.gunRot;
}
onClipEvent (enterFrame) {
if (Math.abs(_rotation - 180) > 0.5) {
_rotation = (_rotation + ((180 - _rotation) / 10));
}
}
Symbol 655 MovieClip Frame 30
_parent.onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 659 MovieClip [tank] Frame 1
b = _root.copSpawnTimer;
onEnterFrame = function () {
if (b == 0) {
if (cops == 0) {
delete onEnterFrame;
} else {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeSoldier((random(20) + _x) - 10, 340, exs, false);
cops--;
b = _root.copSpawnTimer;
}
} else {
b--;
}
if (_xscale > 0) {
if (_x < targetX) {
moveRL = _xscale / 20;
} else if (Math.abs(moveRL) > 1) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 20);
} else {
TankNoise.stop();
gotoAndStop ("idle");
}
} else if (_x > targetX) {
moveRL = _xscale / 20;
} else if (Math.abs(moveRL) > 1) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 20);
} else {
TankNoise.stop();
gotoAndStop ("idle");
}
_x = (_x + moveRL);
if (_root.fxSounds) {
var TankNoise = new Sound(this);
if (noise < 200) {
noise = noise + 5;
TankNoise.setVolume(noise);
}
TankNoise.setPan((_x / 2.75) - 100);
}
};
if (_root.fxSounds) {
var TankNoise = new Sound(this);
TankNoise.attachSound("tankNoise");
TankNoise.setVolume(0);
TankNoise.setPan((_x / 2.75) - 100);
TankNoise.start(0, 1000);
}
stop();
Instance of Symbol 641 MovieClip "gun" in Symbol 659 MovieClip [tank] Frame 1
onClipEvent (enterFrame) {
if (_parent.shootN > 0) {
_parent.shootN--;
if (_root.DYN) {
i = (((-Math.atan2(_parent._x - _root.nestX, _parent._y - _root.nestY)) / (Math.PI/180)) * (_parent._xscale / Math.abs(_parent._xscale))) + 90;
} else {
i = (((-Math.atan2(_parent._x - _root.Char._x, _parent._y - _root.Char._y)) / (Math.PI/180)) * (_parent._xscale / Math.abs(_parent._xscale))) + 90;
}
if (i < 90) {
i = 90;
}
temp = (i - _rotation) / 10;
if (temp > 1) {
_rotation = (_rotation+1);
} else if (temp < -1) {
_rotation = (_rotation-1);
} else {
_rotation = (_rotation + temp);
}
} else if (_currentframe == 1) {
play();
_parent.EEP.play();
}
_parent.gunRot = _rotation;
}
Symbol 659 MovieClip [tank] Frame 2
onEnterFrame = function () {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
_x = (_x + moveRL);
} else if (b == 0) {
if (cops == 0) {
delete onEnterFrame;
} else {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeSoldier((random(20) + _x) - 10, 340, exs, false);
cops--;
b = _root.copSpawnTimer;
}
} else {
b--;
}
if (_root.fxSounds) {
var _local3 = new Sound(this);
if (noise > 0) {
noise = noise - 2;
_local3.setVolume(noise);
} else {
_local3.stop();
}
}
};
stop();
Symbol 659 MovieClip [tank] Frame 3
if (_root.fxSounds) {
onEnterFrame = function () {
var _local2 = new Sound(this);
if (noise > 0) {
noise = noise - 10;
_local2.setVolume(noise);
_local2.setPan((_x / 2.75) - 100);
} else {
_local2.stop();
}
};
}
Symbol 659 MovieClip [tank] Frame 4
airtime = 0;
onEnterFrame = function () {
if (_root.fxSounds) {
var _local3 = new Sound(this);
_local3.setPan((_x / 2.75) - 100);
}
if (this._y > 340) {
this._y = 340;
this._rotation = 0;
if (Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD)) > 7) {
temp = this.points * this.combo;
_root.Score = _root.Score + temp;
_root.i = _root.SLayer.getNextHighestDepth();
_root.SLayer.attachMovie("pointsPuff", "pointsPuff" + iDepth, iDepth, {_x:_x, _y:_y, display:"+" + temp, onEnterFrame:_root.pointsPuffEnterFrame, _xscale:0, _yscale:0, pointsRise:random(10) + 5, counter:0});
this.gotoAndStop("die");
} else {
this.gotoAndStop("idle");
}
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
this._rotation = this._rotation + this.rotating;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
};
Instance of Symbol 641 MovieClip "gun" in Symbol 659 MovieClip [tank] Frame 4
onClipEvent (load) {
_rotation = _parent.gunRot;
}
onClipEvent (enterFrame) {
if (Math.abs(_rotation - 180) > 0.5) {
_rotation = (_rotation + ((180 - _rotation) / 10));
}
}
Symbol 659 MovieClip [tank] Frame 5
if (shellForCatch > 0) {
var i = 1;
while (i <= shellForCatch) {
_root.throwStuckPerson(_x + (personShell["person" + i]._x / 4), _y + (personShell["person" + i]._y / 4), personShell["person" + i].unitType, personShell["person" + i].combo);
personShell["person" + i].removeMovieClip(this);
i++;
}
}
_root.explodeAtPeople(this._x, this._y, this.ID, combo);
var TankNoise = new Sound(this);
TankNoise.stop();
onEnterFrame = function () {
if (Math.abs(moveRL) > 2) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 2);
_x = (_x + moveRL);
}
};
_root.spawnSomething();
Symbol 659 MovieClip [tank] Frame 14
moveRL = 0;
onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 671 MovieClip [bloodSquirt1] Frame 22
removeMovieClip(this);
Symbol 682 MovieClip [bloodSquirt2] Frame 23
removeMovieClip(this);
Symbol 696 MovieClip [bloodSquirt0] Frame 21
removeMovieClip(this);
Symbol 732 MovieClip [explosion] Frame 44
removeMovieClip(this);
Symbol 744 MovieClip [slowSmoke] Frame 39
removeMovieClip(this);
Symbol 753 MovieClip [vehicleHit1] Frame 9
removeMovieClip(this);
Symbol 772 MovieClip [vehicleHit2] Frame 19
removeMovieClip(this);
Symbol 787 MovieClip [vehicleHit3] Frame 15
removeMovieClip(this);
Symbol 802 MovieClip [vehicleHit0] Frame 16
removeMovieClip(this);
Symbol 905 MovieClip [smokeTrail] Frame 13
removeMovieClip(this);
Symbol 917 MovieClip [smokePuff] Frame 23
removeMovieClip(this);
Symbol 942 MovieClip Frame 45
_parent.onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 946 MovieClip [tanker] Frame 1
onEnterFrame = function () {
moveRL = _xscale / 4;
if (((_x + moveRL) > 750) || ((_x + moveRL) < -100)) {
onEnterFrame = _root.dieOnEnterFrame;
} else {
_x = (_x + moveRL);
}
};
stop();
Symbol 946 MovieClip [tanker] Frame 2
b = 30;
onEnterFrame = function () {
if (Math.abs(moveRL) > 1) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
_x = (_x + moveRL);
} else if (b == 0) {
if (cops == 0) {
delete onEnterFrame;
} else {
temp = random(2);
if (temp) {
exs = 100;
} else {
exs = -100;
}
_root.placeSoldier((random(20) + _x) - 10, exs, false);
cops--;
b = 30;
}
} else {
b--;
}
};
stop();
Symbol 946 MovieClip [tanker] Frame 3
delete onEnterFrame;
Symbol 946 MovieClip [tanker] Frame 4
airtime = 0;
onEnterFrame = function () {
if (this._y > 340) {
this._y = 340;
this._rotation = 0;
if (Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD)) > 7) {
temp = this.points * this.combo;
_root.Score = _root.Score + temp;
_root.i = _root.SLayer.getNextHighestDepth();
_root.SLayer.attachMovie("pointsPuff", "pointsPuff" + iDepth, iDepth, {_x:_x, _y:_y, display:"+" + temp, onEnterFrame:_root.pointsPuffEnterFrame, _xscale:0, _yscale:0, pointsRise:random(10) + 5, counter:0});
this.gotoAndStop("die");
} else {
this.gotoAndStop("idle");
}
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
this._rotation = this._rotation + rotating;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
};
Symbol 946 MovieClip [tanker] Frame 5
_root.explodeAtPeople(this._x, this._y, this.ID, combo);
_root.explodeAtPeople(this._x - 70, this._y, this.ID, combo);
_root.explodeAtPeople(this._x + 70, this._y, this.ID, combo);
onEnterFrame = function () {
if (Math.abs(moveRL) > 2) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 2);
_x = (_x + moveRL);
}
};
_root.spawnSomething();
Symbol 946 MovieClip [tanker] Frame 14
moveRL = 0;
onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 956 MovieClip [chopProp] Frame 1
stop();
Symbol 956 MovieClip [chopProp] Frame 80
stop();
onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
removeMovieClip(this);
}
};
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
trace(_root.chopperGunStart);
_root.chopperGunStart.setPan((_x / 2.75) - 100);
_root.chopperGunStart.start();
Symbol 960 MovieClip Frame 19
b = 12;
Symbol 960 MovieClip Frame 20
mcMuzzle0._rotation = random(100);
mcMuzzle1._rotation = random(100);
_root.chopperGunFire.setPan((_x / 2.75) - 100);
_root.chopperGunFire.start();
if (_root.Char.hitTest(_parent._x + 15, _parent._y - 6, true)) {
_root.squirtBlood(_parent._x + 15, _parent._y - 6, random(360));
_root.hurtChar(1);
}
if (_root.Char.hitTest(_parent._x - 15, _parent._y - 6, true)) {
_root.squirtBlood(_parent._x - 15, _parent._y - 6, random(360));
_root.hurtChar(1);
}
Symbol 960 MovieClip Frame 22
if (b > 0) {
b--;
gotoAndPlay ("gattlingLoop");
}
Symbol 960 MovieClip Frame 23
_root.chopperGunEnd.setPan((_x / 2.75) - 100);
_root.chopperGunEnd.start();
Symbol 971 MovieClip Frame 20
stop();
Symbol 972 MovieClip [chopper] Frame 1
ex = _x;
ey = _y;
shakeX = 0;
shakeY = 0;
ShakyCount = 0;
onEnterFrame = function () {
if (_xscale > 0) {
if (_x < targetX) {
moveRL = _xscale / 4;
} else if (Math.abs(moveRL) > 0.5) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 0.5);
} else {
delete onEnterFrame;
gotoAndStop ("idle");
}
} else if (_x > targetX) {
moveRL = _xscale / 4;
} else if (Math.abs(moveRL) > 0.5) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 0.5);
} else {
gotoAndStop ("idle");
}
if (_root.ShakyCamX[Math.round(ShakyCount)] == undefined) {
ShakyCount = 0;
}
shakeX = shakeX + (((_root.ShakyCamX[Math.round(ShakyCount)] * 0.8) - shakeX) / 10);
shakeY = shakeY + (((_root.ShakyCamY[Math.round(ShakyCount)] * 0.8) - shakeY) / 10);
ShakyCount = ShakyCount + 1;
ex = ex + moveRL;
_x = Math.round(ex + shakeX);
_y = Math.round(ey + shakeY);
_rotation = (moveRL * 2);
if (_root.fxSounds) {
var _local3 = new Sound(this);
if (noise < 100) {
noise = noise + 5;
_local3.setVolume(noise);
}
_local3.setPan((_x / 2.75) - 100);
}
};
if (_root.fxSounds) {
var ChopperNoise = new Sound(this);
ChopperNoise.attachSound("ChopperNoise");
ChopperNoise.setVolume(0);
ChopperNoise.setPan((_x / 2.75) - 100);
ChopperNoise.start(0, 1000);
}
stop();
Symbol 972 MovieClip [chopper] Frame 2
moveRL = 0;
moveUD = 0;
onEnterFrame = function () {
if (_root.ShakyCamX[Math.round(ShakyCount)] == undefined) {
ShakyCount = 0;
}
shakeX = shakeX + (((_root.ShakyCamX[Math.round(ShakyCount)] * 0.8) - shakeX) / 10);
shakeY = shakeY + (((_root.ShakyCamY[Math.round(ShakyCount)] * 0.8) - shakeY) / 10);
ShakyCount = ShakyCount + 1;
distX = _root.Char._x - ex;
distY = _root.Char._y - ey;
dist = Math.sqrt((distX * distX) + (distY * distY));
if (dist > 1000) {
if (moveRL != 0) {
if (Math.abs(moveRL) > 0.5) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 0.5);
} else {
moveRL = 0;
}
}
if (moveUD != 0) {
if (Math.abs(moveUD) > 0.5) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) * 0.5);
} else {
moveUD = 0;
}
}
} else if (dist > 60) {
moveRL = moveRL + ((distX / dist) * 0.1);
moveUD = moveUD + ((distY / dist) * 0.1);
} else {
chopperBody.play();
moveRL = distX / 40;
moveUD = distY / 40;
}
speed = Math.sqrt((moveRL * moveRL) + (moveUD * moveUD));
if (speed > 3) {
moveRL = moveRL * (3 / speed);
moveUD = moveUD * (3 / speed);
}
if ((ey + moveUD) > 320) {
moveUD = 0;
ey = 320;
}
_rotation = (_rotation + (((moveRL * 5) - _rotation) / 3));
ex = ex + moveRL;
ey = ey + moveUD;
_x = Math.round(ex + shakeX);
_y = Math.round(ey + shakeY);
if (_root.fxSounds) {
var _local3 = new Sound(this);
if (noise > 50) {
noise = noise - 2;
_local3.setVolume(noise);
} else {
_local3.stop();
}
}
};
Symbol 972 MovieClip [chopper] Frame 3
delete onEnterFrame;
Symbol 972 MovieClip [chopper] Frame 4
airtime = 0;
var ChopperNoise = new Sound(this);
ChopperNoise.stop();
delete ChopperNoise;
onEnterFrame = function () {
if (this._y > 340) {
this._y = 340;
this._rotation = 0;
if (Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD)) > 7) {
temp = this.points * this.combo;
_root.Score = _root.Score + temp;
iDepth = _root.SLayer.getNextHighestDepth();
_root.SLayer.attachMovie("pointsPuff", "pointsPuff" + iDepth, iDepth, {_x:_x, _y:_y, display:"+" + temp, onEnterFrame:_root.pointsPuffEnterFrame, _xscale:0, _yscale:0, pointsRise:random(10) + 5, counter:0});
this.gotoAndStop("die");
} else {
this.gotoAndStop("idle");
}
} else {
this.airtime++;
this.moveUD = this.moveUD + 0.5;
this._rotation = this._rotation + rotating;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
};
Symbol 972 MovieClip [chopper] Frame 5
var ChopperNoise = new Sound(this);
ChopperNoise.stop();
delete ChopperNoise;
if (shellForCatch > 0) {
var i = 1;
while (i <= shellForCatch) {
_root.throwStuckPerson(_x + (personShell["person" + i]._x / 4), _y + (personShell["person" + i]._y / 4), personShell["person" + i].unitType, personShell["person" + i].combo);
personShell["person" + i].removeMovieClip(this);
i++;
}
}
_root.explodeAtPeople(this._x, this._y, this.ID, combo);
moveRL = (-_xscale) / 10;
moveUD = -12;
_root.spawnChopProp(_x, _y);
onEnterFrame = _root.vehicleDeathEnterFrame;
Symbol 972 MovieClip [chopper] Frame 6
moveRL = 0;
onEnterFrame = _root.dieOnEnterFrame;
stop();
Symbol 974 MovieClip [announcer] Frame 81
removeMovieClip(this);
Symbol 976 MovieClip [commentor] Frame 121
removeMovieClip(this);
Symbol 984 Button
on (press) {
if (_root[itemIs]) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 987 Button
on (press) {
if (buttonOn._alpha < 100) {
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
buttonOn._alpha = 100;
buttonOff._alpha = 50;
_parent.shouts.smoke = itemIs.substring(2) + " is on";
}
}
on (rollOver) {
if (buttonOn._alpha < 100) {
_parent.shouts.smoke = ("turn " + itemIs.substring(2)) + " on";
} else {
_parent.shouts.smoke = itemIs.substring(2) + " is on";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 990 Button
on (press) {
if (buttonOff._alpha < 100) {
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
buttonOn._alpha = 50;
buttonOff._alpha = 100;
_parent.shouts.smoke = itemIs.substring(2) + " is off";
}
}
on (rollOver) {
if (buttonOff._alpha < 100) {
_parent.shouts.smoke = ("turn " + itemIs.substring(2)) + " off";
} else {
_parent.shouts.smoke = itemIs.substring(2) + " is off";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 993 Button
on (press) {
if (_root[itemIs]) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root[itemIs] = false;
delete _root.neLocal.data[itemIs];
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
_root.neLocal.data[itemIs] = false;
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 996 Button
on (press) {
if (_root[itemIs]) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 997 Button
on (press) {
if (buttonOn._alpha < 100) {
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
buttonOn._alpha = 100;
buttonOff._alpha = 50;
_parent.shouts.smoke = "hope you know what you're doing...";
}
}
on (rollOver) {
if (buttonOn._alpha < 100) {
_parent.shouts.smoke = ("turn " + itemIs.substring(2)) + " on";
} else {
_parent.shouts.smoke = itemIs.substring(2) + " is on";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1000 Button
on (press) {
if (_root[itemIs]) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1001 Button
on (press) {
if (buttonOn._alpha < 100) {
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
buttonOn._alpha = 100;
buttonOff._alpha = 50;
_parent.shouts.smoke = "hope you know what you're doing...";
}
}
on (rollOver) {
if (buttonOn._alpha < 100) {
_parent.shouts.smoke = ("turn " + itemIs.substring(2)) + " on";
} else {
_parent.shouts.smoke = itemIs.substring(2) + " is on";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1004 Button
on (press) {
if (_root[itemIs]) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1007 Button
on (press) {
if (_root[itemIs]) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root.bgMusic.stop();
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
_root.bgMusic.start();
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1008 Button
on (press) {
if (buttonOn._alpha < 100) {
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
_root.bgMusic.start(0, 1000);
_root.ambientBG.start(0, 1000);
buttonOn._alpha = 100;
buttonOff._alpha = 50;
_parent.shouts.smoke = itemIs.substring(2) + " is on";
}
}
on (rollOver) {
if (buttonOn._alpha < 100) {
_parent.shouts.smoke = ("turn " + itemIs.substring(2)) + " on";
} else {
_parent.shouts.smoke = itemIs.substring(2) + " is on";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1009 Button
on (press) {
if (buttonOff._alpha < 100) {
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
_root.bgMusic.stop();
_root.ambientBG.stop();
buttonOn._alpha = 50;
buttonOff._alpha = 100;
_parent.shouts.smoke = itemIs.substring(2) + " is off";
}
}
on (rollOver) {
if (buttonOff._alpha < 100) {
_parent.shouts.smoke = ("turn " + itemIs.substring(2)) + " off";
} else {
_parent.shouts.smoke = itemIs.substring(2) + " is off";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1012 Button
on (press) {
if (_quality == "HIGH") {
buttonHigh._alpha = 50;
buttonMed._alpha = 100;
buttonLow._alpha = 50;
_quality = "MEDIUM";
_root.neLocal.data[itemIs] = "MEDIUM";
} else if (_quality == "MEDIUM") {
buttonHigh._alpha = 50;
buttonMed._alpha = 50;
buttonLow._alpha = 100;
_quality = "LOW";
_root.neLocal.data[itemIs] = "LOW";
} else if (_quality == "LOW") {
buttonHigh._alpha = 100;
buttonMed._alpha = 50;
buttonLow._alpha = 50;
_quality = "HIGH";
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle " + itemIs.substring(2);
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1015 Button
on (press) {
if (buttonHigh._alpha < 100) {
_quality = "HIGH";
delete _root.neLocal.data[itemIs];
buttonHigh._alpha = 100;
buttonMed._alpha = 50;
buttonLow._alpha = 50;
_parent.shouts.smoke = "confident, are ya?";
}
}
on (rollOver) {
if (buttonHigh._alpha < 100) {
_parent.shouts.smoke = "set quality to high";
} else {
_parent.shouts.smoke = "quality is set to high";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1018 Button
on (press) {
if (buttonMed._alpha < 100) {
_quality = "MEDIUM";
_root.neLocal.data[itemIs] = "MEDIUM";
buttonHigh._alpha = 50;
buttonMed._alpha = 100;
buttonLow._alpha = 50;
_parent.shouts.smoke = "medium says hi";
}
}
on (rollOver) {
if (buttonMed._alpha < 100) {
_parent.shouts.smoke = "set quality to medium";
} else {
_parent.shouts.smoke = "quality is so very medium";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1021 Button
on (press) {
if (buttonLow._alpha < 100) {
_quality = "LOW";
_root.neLocal.data[itemIs] = "LOW";
buttonHigh._alpha = 50;
buttonMed._alpha = 50;
buttonLow._alpha = 100;
_parent.shouts.smoke = "slow computer?";
}
}
on (rollOver) {
if (buttonLow._alpha < 100) {
_parent.shouts.smoke = "set quality to low";
} else {
_parent.shouts.smoke = "quality now sucks";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1024 Button
on (press) {
if (_root[itemIs]) {
if (_root.cityUnlocked) {
buttonOff._alpha = 100;
buttonOn._alpha = 50;
_root[itemIs] = false;
_root.neLocal.data[itemIs] = false;
} else {
_parent.shouts.smoke = "reach level 10 first!";
}
} else {
buttonOff._alpha = 50;
buttonOn._alpha = 100;
_root[itemIs] = true;
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
_parent.shouts.smoke = "toggle Level";
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1027 Button
on (press) {
_root[itemIs] = true;
if (_root._currentframe == 5) {
_root.play();
} else if (buttonOn._alpha < 100) {
buttonOn._alpha = 100;
buttonOff._alpha = 50;
delete _root.neLocal.data[itemIs];
}
}
on (rollOver) {
if (_root._currentframe == 5) {
_parent.shouts.smoke = "restart in Country";
} else {
_parent.shouts.smoke = "feed your babies!!!";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1030 Button
on (press) {
if (_root.cityUnlocked) {
_root[itemIs] = false;
if (_root._currentframe == 5) {
_root.play();
} else if (buttonOff._alpha < 100) {
buttonOn._alpha = 50;
buttonOff._alpha = 100;
_root.neLocal.data[itemIs] = false;
}
}
}
on (rollOver) {
if (_root.cityUnlocked) {
if (_root._currentframe == 5) {
_parent.shouts.smoke = "restart in City";
} else {
_parent.shouts.smoke = "pure destruction!";
}
} else {
_parent.shouts.smoke = "reach level 10 first!";
}
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1035 Button
on (press) {
_root.nextFrame();
}
on (rollOver) {
_parent.shouts.smoke = "click!";
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1038 Button
on (press) {
_root.BLayer._visible = true;
_root.VLayer._visible = true;
_root.Paused = false;
_root.onEnterFrame = _root.mainEnterFrame;
Mouse.hide();
_root.ghettoPawz.removeMovieClip(this);
}
on (rollOver) {
_parent.shouts.smoke = "click!";
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1044 Button
on (press) {
getURL ("http://www.armorgames.com/", "_blank");
}
on (rollOver) {
_parent.shouts.smoke = "play great games";
}
on (rollOut) {
_parent.shouts.smoke = " ";
}
Symbol 1045 MovieClip Frame 1
gotoAndStop(itemIs);
if ((itemIs == "DYN") && (_root._currentframe == 5)) {
buttonOn._alpha = 50;
buttonOff._alpha = 50;
} else if (itemIs == "fxQuality") {
if (_quality != "HIGH") {
buttonHigh._alpha = 50;
}
if (_quality != "MEDIUM") {
buttonMed._alpha = 50;
}
if (_quality != "LOW") {
buttonLow._alpha = 50;
}
} else if (_root[itemIs]) {
buttonOff._alpha = 50;
} else {
buttonOn._alpha = 50;
}
Instance of Symbol 1032 MovieClip in Symbol 1045 MovieClip Frame 10
onClipEvent (load) {
if (_root.cityUnlocked) {
_visible = false;
}
}
Symbol 1048 Button
on (press) {
getURL ("http://www.c404.net/", "_blank");
}
on (rollOver) {
shouts.smoke = "concept and art by Luksy";
}
on (rollOut) {
shouts.smoke = " ";
}
Symbol 1050 Button
on (press) {
shouts.smoke = "I need a website :(";
}
on (rollOver) {
shouts.smoke = "programmed by Brad Borne";
}
on (rollOut) {
shouts.smoke = " ";
}
Symbol 1051 Button
on (press) {
getURL ("http://www.armorgames.com/", "_blank");
}
on (rollOver) {
shouts.smoke = "Presented by Armor Games";
}
on (rollOut) {
shouts.smoke = " ";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxBlood";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxScreams";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "welcome";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxSmoke";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxDebris";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxSounds";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxMusic";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "fxQuality";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "DYN";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "play";
}
Instance of Symbol 1047 MovieClip "shouts" in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
smoke = " ";
}
Instance of Symbol 1045 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
itemIs = "PMG";
}
Symbol 1054 MovieClip [optionsMenu] Frame 71
stop();
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxBlood";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxScreams";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "welcome";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxSmoke";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxDebris";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxSounds";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxMusic";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "fxQuality";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "DYN";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "continue";
}
Instance of Symbol 1047 MovieClip "shouts" in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
smoke = " ";
}
Instance of Symbol 1045 MovieClip in Symbol 1055 MovieClip [ghettoPawz] Frame 1
onClipEvent (load) {
itemIs = "PMG";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxBlood";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxScreams";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "timesUp";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxSmoke";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxDebris";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxSounds";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxMusic";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "fxQuality";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "DYN";
}
Instance of Symbol 1047 MovieClip "shouts" in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
smoke = " ";
}
Instance of Symbol 1045 MovieClip in Symbol 1056 MovieClip [ghettoPawzAfterCity] Frame 1
onClipEvent (load) {
itemIs = "PMG";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxBlood";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxScreams";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "lolDead";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxSmoke";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxDebris";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxSounds";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxMusic";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "fxQuality";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "DYN";
}
Instance of Symbol 1047 MovieClip "shouts" in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
smoke = " ";
}
Instance of Symbol 1045 MovieClip in Symbol 1057 MovieClip [ghettoPawzDead] Frame 1
onClipEvent (load) {
itemIs = "PMG";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxBlood";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxScreams";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "lolDeadBabies";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxSmoke";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxDebris";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxSounds";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxMusic";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "fxQuality";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "DYN";
}
Instance of Symbol 1047 MovieClip "shouts" in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
smoke = " ";
}
Instance of Symbol 1045 MovieClip in Symbol 1058 MovieClip [ghettoPawzDeadBabies] Frame 1
onClipEvent (load) {
itemIs = "PMG";
}
Symbol 1065 Button
on (press) {
_root.playedBefore = true;
_root.neLocal.data.playedBefore = true;
play();
}
Symbol 1067 MovieClip [instructionsMC] Frame 1
_root.Paused = true;
Instance of Symbol 1062 MovieClip in Symbol 1067 MovieClip [instructionsMC] Frame 1
onClipEvent (enterFrame) {
_x = (_root._xmouse - 275);
_y = (_root._ymouse - 240);
}
Symbol 1067 MovieClip [instructionsMC] Frame 21
stop();
Symbol 1067 MovieClip [instructionsMC] Frame 27
_root.Paused = false;
removeMovieClip(this);
Symbol 1120 MovieClip Frame 1
E = Number(getTimer()) + Number(random(1000));
Symbol 1120 MovieClip Frame 2
if (Number(E) < Number(getTimer())) {
gotoAndPlay (4);
}
Symbol 1120 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1127 MovieClip Frame 1
stop();
Instance of Symbol 1123 MovieClip in Symbol 1127 MovieClip Frame 1
onClipEvent (enterFrame) {
((_x < 550) ? (_x = (_x + 0.25)_x + 0.25) : (_x = (-_width)-_width));
}
Symbol 1177 MovieClip Frame 1
stop();
Instance of Symbol 1176 MovieClip in Symbol 1177 MovieClip Frame 2
onClipEvent (load) {
swapDepths(10012);
}