Frame 1
user_so = SharedObject.getLocal("user");
Stage.showMenu = false;
_root._quality = "MEDIUM";
_root.glocksound = new Sound(_root);
_root.glocksound.attachSound("glocksound");
_root.mac10sound = new Sound(_root);
_root.mac10sound.attachSound("mac10sound");
_root.shotgunsound = new Sound(_root);
_root.shotgunsound.attachSound("shotgunsound");
_root.ak47sound = new Sound(_root);
_root.ak47sound.attachSound("ak47sound");
_root.knifesound = new Sound(_root);
_root.knifesound.attachSound("knifesound");
_root.swordsound = new Sound(_root);
_root.swordsound.attachSound("swordsound");
_root.nadesound = new Sound(_root);
_root.nadesound.attachSound("nadesound");
_root.hitsound = new Sound(_root);
_root.hitsound.attachSound("hitsound");
_root.kevlarsound = new Sound(_root);
_root.kevlarsound.attachSound("kevlarsound");
_root.blood1sound = new Sound(_root);
_root.blood1sound.attachSound("blood1sound");
_root.selectsound = new Sound(_root);
_root.selectsound.attachSound("selectsound");
_root.punchsound = new Sound(_root);
_root.punchsound.attachSound("punchsound");
_root.AWPsound = new Sound(_root);
_root.AWPsound.attachSound("AWPsound");
_root.pulloutgunsound = new Sound(_root);
_root.pulloutgunsound.attachSound("pulloutgunsound");
_root.ammosound = new Sound(_root);
_root.ammosound.attachSound("ammosound");
_root.landsound = new Sound(_root);
_root.landsound.attachSound("landsound");
_root.swordhit = new Sound(_root);
_root.swordhit.attachSound("swordhit");
_root.blood1 = new Sound(_root);
_root.blood1.attachSound("blood1sound");
_root.smitty = new Sound(_root);
_root.smitty.attachSound("smitty");
_root.gangsta = new Sound(_root);
_root.gangsta.attachSound("gangsta");
_root.swamp = new Sound(_root);
_root.swamp.attachSound("swamp");
_root.olschool = new Sound(_root);
_root.olschool.attachSound("olschool");
_root.night = new Sound(_root);
_root.night.attachSound("night");
_root.snicker = new Sound(_root);
_root.snicker.attachSound("snicker");
_root.whip = new Sound(_root);
_root.whip.attachSound("whip");
_root.akusound = new Sound(_root);
_root.akusound.attachSound(_root);
if (!user_so.data.activated) {
user_so.data.activated = true;
user_so.data.beateasy = false;
user_so.data.beatnormal = false;
user_so.data.beathard = false;
user_so.data.hat = 2;
user_so.data.shades = 1;
user_so.data.cash = 1000;
user_so.data.hat1 = Object();
user_so.data.hat1.price = 0;
user_so.data.hat1.NAME = "yo head";
user_so.data.hat2 = Object();
user_so.data.hat2.price = 0;
user_so.data.hat2.NAME = "brown hat";
user_so.data.hat3 = Object();
user_so.data.hat3.price = 500;
user_so.data.hat3.NAME = "jheri-curl";
user_so.data.hat4 = Object();
user_so.data.hat4.price = 600;
user_so.data.hat4.NAME = "flat top";
user_so.data.hat5 = Object();
user_so.data.hat5.price = 750;
user_so.data.hat5.NAME = "kid N play";
user_so.data.hat6 = Object();
user_so.data.hat6.price = 1000;
user_so.data.hat6.NAME = "santa hat";
user_so.data.hat7 = Object();
user_so.data.hat7.price = 1500;
user_so.data.hat7.NAME = "fitted cap";
user_so.data.hat8 = Object();
user_so.data.hat8.price = 2500;
user_so.data.hat8.NAME = "checkas";
user_so.data.hat9 = Object();
user_so.data.hat9.price = 3000;
user_so.data.hat9.NAME = "dolla dolla bill";
user_so.data.hat10 = Object();
user_so.data.hat10.price = 4000;
user_so.data.hat10.NAME = "SUPA SAIYA JIN!!!!";
user_so.data.hat11 = Object();
user_so.data.hat11.price = 5000;
user_so.data.hat11.NAME = "yo head";
user_so.data.hat12 = Object();
user_so.data.hat12.price = 6000;
user_so.data.hat12.NAME = "yo head";
user_so.data.shades1 = Object();
user_so.data.shades1.price = 0;
user_so.data.shades2 = Object();
user_so.data.shades2.price = 1000;
user_so.data.shades3 = Object();
user_so.data.shades3.price = 3000;
}
_root.hat = user_so.data.hat;
_root.shades = user_so.data.shades;
_root.cash = user_so.data.cash;
_root.DOLEVEL = function (Level) {
_root.LEVEL = Level;
_root.bulletsOnScreen = Array();
_root.enemyOnScreen = Array();
_root.ShitToDelete = Array();
_root.ComboStart = ["a2b", "a2d", "a2f", "front2u"];
_root.ComboA = ["a2b", "a2d", "a2special1", "a2f", "front2u"];
_root.ComboB = ["b2a", "b2c", "b2f", "back2u"];
_root.ComboC = ["a2b", "a2d", "a2special1", "a2f", "front2u"];
_root.ComboD = ["d2a", "d2f", "d2c", "back2u"];
_root.ComboF = ["f2b", "f2d", "front2u"];
_root.ComboU = ["u2d", "u2b", "u2a", "u2f"];
_root.bulletindex = 0;
_root.bossin = false;
_root.enemycount = 0;
_root.nadecount = 0;
_root.bloodcount = 0;
_root.powerupcount = 0;
_root.assistCount = 0;
_root.FPdepthcount = 0;
_root.ICEcount = 0;
_root.control = 1;
_root.shotguncontrol = 1;
_root.swordcontrol = 1;
_root.turncontrol = 1;
_root.Paused = false;
_root.swordtype = 0;
_root.showjordans = false;
_root.showarmor = false;
_root.explosive = false;
_root.averageFrames = 20;
_root.timerArray = new Array(averageFrames);
_root.startTime = 0;
_root.CurrentFrame = 0;
_root.onEnterFrame = function () {
_root.main.collisionTest();
if (Key.isDown(80) or Key.isDown(27)) {
if ((!pausePressed) and (!_root.cam.cutscenin)) {
pausePressed = true;
if (_root.Paused == true) {
_root.UNPAUSE();
} else {
_root.PAUSE();
}
}
} else {
pausePressed = false;
}
};
_root.mac10 = Object();
_root.mac10.damage = 25;
_root.mac10.ydiff = 3;
_root.mac10.accuracy = 16;
_root.mac10.airSpeed = 14;
_root.mac10.wSpeed = 13;
_root.ak47 = Object();
_root.ak47.damage = 40;
_root.ak47.ydiff = 0;
_root.ak47.accuracy = 16;
_root.ak47.airSpeed = 11;
_root.ak47.wSpeed = 10;
_root.glock = Object();
_root.glock.damage = 50;
_root.glock.ydiff = -10;
_root.glock.accuracy = 5;
_root.glock.airSpeed = 15;
_root.glock.wSpeed = 14;
_root.knife = Object();
_root.knife.damage = 25;
_root.knife.airSpeed = 20;
_root.knife.wSpeed = 19;
_root.shotgun = Object();
_root.shotgun.damage = 50;
_root.shotgun.ydiff = 0;
_root.shotgun.accuracy = 30;
_root.shotgun.airSpeed = 9;
_root.shotgun.wSpeed = 8;
_root.AWP = Object();
_root.AWP.damage = 200;
_root.AWP.ydiff = 0;
_root.AWP.accuracy = 0;
_root.AWP.airSpeed = 11;
_root.AWP.wSpeed = 10;
_root.sok = Object();
_root.sok.damage = 50;
_root.sok.airSpeed = 11;
_root.sok.wSpeed = 10;
_root.lightsaber = Object();
_root.lightsaber.damage = 20;
_root.lightsaber.airSpeed = 11;
_root.lightsaber.wSpeed = 10;
_root.katana = Object();
_root.katana.damage = 70;
_root.katana.airSpeed = 23;
_root.katana.wSpeed = 22;
_root.main.shoot = function (gun, assist, pierce, tmato) {
if (((_root.main.ammo > 0) or (_root.main.Gun == _root.main.Secondary)) or assist) {
if (!assist) {
_root.main.kog.bean.body.gotoAndPlay("shoot");
}
if (gun == "shotgun") {
if (((_root.main.State != "JumpUp") and (_root.main.State != "JumpForward")) and (_root.main.State != "Crouch")) {
_root.main.State = "Stand";
_root.main.kog.gotoAndStop("Stand");
_root.shotguncontrol = 0;
_root.main.shooting = true;
}
}
_root.bulletindex++;
if (!assist) {
if (_root.main.Gun != _root.main.Secondary) {
_root.main.ammo--;
}
if (_root.main.State == "JumpUp") {
yspecial = -25;
} else if (_root.main.State == "Crouch") {
yspecial = 33;
} else {
yspecial = -10;
}
xdiff = _root.main._x + (120 * _root.main.DIR);
ydiff = (_root.main._y + yspecial) + _root[gun].ydiff;
} else if (!tmato) {
xdiff = _root.assister._x;
ydiff = _root.assister._y + 110;
} else {
xdiff = (_root.assister._x + (_root.assister._width / 8)) + (220 * tmato);
ydiff = _root.assister._y + 80;
}
if (gun != "AWP") {
bulletType = "mac10bullet";
} else {
_root.camShake(60, 10);
bulletType = "AWPbullet";
}
_root[gun + "sound"].start(0, 1);
var _local3 = _root.attachMovie(bulletType, "bullet" + _root.bulletindex, 8000 + _root.bulletindex);
_local3._x = xdiff;
_local3._y = ydiff;
_local3.enemy = false;
_local3.damage = _root[gun].damage;
if (!assist) {
_local3._xscale = 100 * _root.main.DIR;
_local3.dir = _root.main.DIR;
} else if (tmato) {
_local3.dir = tmato;
} else {
_local3.dir = _root.assister.DIR;
_local3._xscale = 100 * _local3.dir;
}
_local3.pierce = pierce;
_local3.Angle = random(_root[gun].accuracy) - (_root[gun].accuracy / 2);
_local3._rotation = _local3.Angle;
if (_local3.Angle > 0) {
_local3.yDir = 1;
} else {
_local3.yDir = -1;
}
_local3.onEnterFrame = function () {
while (!_root.main.HIT(this, false, pierce)) {
this._xscale = this._xscale + (20 * this.dir);
this._visible = true;
}
};
bulletsOnScreen.push({ref:_root["bullet" + _root.bulletindex]});
} else {
_root.main.kog.bean.hand.gun.weapon.gotoAndStop(1);
}
};
_root.main.shootdown = function (gun, assist, pierce, tmato) {
if (((_root.main.ammo > 0) or (_root.main.Gun == _root.main.Secondary)) or assist) {
if (!assist) {
_root.main.kog.bean.body.gotoAndPlay("shoot");
}
if (gun == "shotgun") {
if (((_root.main.State != "JumpUp") and (_root.main.State != "JumpForward")) and (_root.main.State != "Crouch")) {
_root.main.State = "Stand";
_root.main.kog.gotoAndStop("Stand");
_root.shotguncontrol = 0;
_root.main.shooting = true;
}
}
_root.bulletindex++;
if (_root.main.Gun != _root.main.Secondary) {
_root.main.ammo--;
}
if (_root.main.State == "JumpUp") {
yspecial = -25;
} else if (_root.main.State == "Crouch") {
yspecial = 33;
} else {
yspecial = -10;
}
xdiff = _root.main._x;
ydiff = (_root.main._y + (_root.main._height / 2)) + yspecial;
if (gun != "AWP") {
bulletType = "dbullet";
} else {
_root.camShake(60, 10);
bulletType = "AWPbullet";
}
_root[gun + "sound"].start(0, 1);
var _local3 = _root.attachMovie(bulletType, "bullet" + _root.bulletindex, 8000 + _root.bulletindex);
_local3._x = xdiff;
_local3._y = ydiff;
_local3.enemy = false;
_local3.damage = _root[gun].damage;
_local3._xscale = 100 * _root.main.DIR;
_local3.dir = _root.main.DIR;
_local3.pierce = pierce;
_local3.Angle = random(_root[gun].accuracy) - (_root[gun].accuracy / 2);
_local3._rotation = _local3.Angle;
if (_local3.Angle > 0) {
_local3.yDir = 1;
} else {
_local3.yDir = -1;
}
_local3.onEnterFrame = function () {
while (!_root.main.HIT(this, false, pierce, 1)) {
this._yscale = this._yscale + 20;
this._visible = true;
}
};
bulletsOnScreen.push({ref:_root["bullet" + _root.bulletindex]});
} else {
_root.main.kog.bean.hand.gun.weapon.gotoAndStop(1);
}
};
_root.enemyShoot = function (who, gun) {
who.kog.body.gotoAndPlay("shoot");
_root.bulletindex++;
glob = who.whatkind;
xdiff = who._x + (_root[glob].xdiff * who.DIR);
ydiff = who._y + _root[glob].ydiff;
if (who.hitTest(_root.cam)) {
_root[gun + "sound"].start(0, 1);
}
var _local3 = _root.attachMovie("mac10bullet", "bullet" + _root.bulletindex, 7000 + _root.bulletindex);
_local3._x = xdiff;
_local3._y = ydiff;
_local3._xscale = who.DIR;
_local3.dir = who.DIR;
_local3.Angle = random(16) - 8;
_local3._rotation = _local3.Angle;
_local3.enemybullet = true;
_local3.damage = _root[glob].damage;
if (_local3.Angle > 0) {
_local3.yDir = 1;
} else {
_local3.yDir = -1;
}
_local3.onEnterFrame = function () {
while (!_root.main.HIT(this, true)) {
this._xscale = this._xscale + (20 * this.dir);
this._visible = true;
}
};
bulletsOnScreen.push({ref:_root["bullet" + _root.bulletindex]});
};
_root.main.throwNade = function (Upper, Who, Xchange, Dirchange, Assist) {
_root.nadecount++;
Who.nades--;
if (Dirchange) {
Dire = Dirchange;
} else {
Dire = Who.DIR;
}
if (Assist) {
xPlace = (Who._x + (Who._width / 4)) + (50 * Dire);
yPlace = Who._y - 10;
} else {
Xchange = 1;
xPlace = Who._x + (50 * Dire);
yPlace = Who._y - 80;
}
nadee = _root.attachMovie("nade", "nade" + _root.nadecount, 8000 + _root.nadecount, {_x:xPlace, _y:yPlace});
_root.ShitToDelete.push({ref:_root["nade" + _root.nadecount]});
nadee.xSpeed = (15 * Dire) * Xchange;
nadee.ySpeed = (-Upper) * 30;
nadee.exploding = false;
nadee.DIR = Dire;
nadee.timerr = 0;
nadee.Assist = Assist;
nadee._xscale = 100 * nadee.DIR;
nadee.onEnterFrame = function () {
if (!_root.Paused) {
if (this.unpause == true) {
this.unpause = false;
if (this._currentframe != 1) {
this.play();
}
}
if (!this.exploding) {
this.xSpeed = this.xSpeed / 1.01;
this.ySpeed = this.ySpeed + 4;
if (_root.ground.g.hitTest(this._x + (this._width / 2), this._y + (this._height / 2), true)) {
this.xSpeed = 0;
this.ySpeed = 0;
this.gotoAndPlay("explode");
this.exploding = true;
}
this._y = this._y + this.ySpeed;
this._x = this._x + this.xSpeed;
}
} else {
this.stop();
this.unpause = true;
}
};
};
_root.main.HIT = function (it, enemy, pierce, downed) {
thing = false;
if (!enemy) {
for (v in _root.enemyOnScreen) {
if (enemyOnScreen[v].ref.kog.hittest.hitTest(it.collision)) {
_root.blood1.start(0, 1);
enemyOnScreen[v].ref.health = enemyOnScreen[v].ref.health - it.damage;
if (enemyOnScreen[v].ref.snicker) {
_root.lighto.light.gotoAndPlay("flash");
}
_root.bloodcount++;
if ((!enemyOnScreen[v].ref.boss) and (!enemyOnScreen[v].ref.NAN)) {
if (!_root.explosive) {
if (!downed) {
_root.attachMovie("blood", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:enemyOnScreen[v].ref._x, _y:it._y + (it._height * it.yDir)});
} else {
_root.attachMovie("downblood", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:it._x + (it._width * it.yDir), _y:enemyOnScreen[v].ref._y});
}
}
} else if (enemyOnScreen[v].ref.NAN) {
if (_root.main.DIR == 1) {
_root.attachMovie("blood", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:it._x + it._width, _y:it._y + (it._height * it.yDir)});
} else {
_root.attachMovie("blood", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:it._x, _y:it._y + (it._height * it.yDir)});
}
}
if (_root.explosive) {
if (!downed) {
bluebu = _root.attachMovie("nade", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:enemyOnScreen[v].ref._x, _y:it._y + (it._height * it.yDir)});
} else {
bluebu = _root.attachMovie("nade", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:it._x + (it._width * it.yDir), _y:enemyOnScreen[v].ref._y});
}
bluebu._xscale = 25;
bluebu._yscale = 25;
bluebu.lowdamage = true;
bluebu.gotoAndPlay("explode");
}
if (enemyOnScreen[v].ref.health <= 0) {
enemyOnScreen[v].ref.gotoAndStop("Die");
} else if (!enemyOnScreen[v].ref.boss) {
enemyOnScreen[v].ref.kog.body.gotoAndPlay("hit");
} else {
_root.bossflashing = true;
}
if (!pierce) {
thing = true;
it.play();
}
}
}
} else {
if (_root.assister.shield.hitTest(it.collision)) {
thing = true;
it.play();
}
if (_root.main.kog.bean.hittest.hitTest(it.collision)) {
_root.main.getHurt(it.damage, "bullet");
_root.bloodcount++;
_root.attachMovie("blood", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:_root.main._x, _y:it._y + (it._height * it.yDir)});
thing = true;
it.play();
}
}
if (!downed) {
if ((it._xscale >= 800) or (it._xscale <= -800)) {
thing = true;
it.play();
}
if (_root.ground.g.hitTest(it._x + (it._width * it.dir), it._y + (it._height * it.yDir), true)) {
thing = true;
it.play();
}
} else if ((_root.sky.bottomoffscreen.hitTest(it.collision) or (it._yscale >= 8000)) or (it._yscale <= -8000)) {
thing = true;
it.play();
}
if (_root.ground.g.hitTest(it._x + (it._width * it.dir), it._y + (it._height * it.yDir), true)) {
thing = true;
it.play();
}
return(thing);
};
_root.POWERUP = function (what) {
if (what.hittest.hitTest(_root.main.kog.bean.hittest)) {
what.gotoAndPlay("hit");
if (what.whichone == "health") {
_root.main.health = _root.main.health + 20;
_root.selectsound.start(0, 1);
} else if (what.whichone == "ammo") {
_root.ammosound.start(0, 1);
_root.main.ammo = _root.main.ammo + 25;
} else if (what.whichone == "ammobig") {
_root.main.ammo = _root.main.ammo + 40;
_root.ammosound.start(0, 1);
} else if (what.whichone == "cash") {
_root.selectsound.start(0, 1);
_root.cashcollected = _root.cashcollected + Math.round((Math.random() * 25) + 25);
} else if (what.whichone == "damage") {
_root.main.powerup = "damage";
_root.selectsound.start(0, 1);
_root.main.poweruptimer = 300;
} else if (what.whichone == "speed") {
_root.main.powerup = "speed";
_root.selectsound.start(0, 1);
_root.main.poweruptimer = 300;
} else if (what.whichone == "1up") {
_root.lives++;
_root.selectsound.start(0, 1);
} else if (what.whichone == "nades") {
_root.main.nades = _root.main.nades + 3;
_root.ammosound.start(0, 1);
} else if (what.whichone == "armor") {
_root.showarmor = true;
_root.kevlarsound.start(0, 1);
_root.main.kog.bean.body.kevlar.gotoAndPlay("flash");
_root.main.armor = 50;
} else if (what.whichone == "shroom") {
_root.showarmor = true;
_root.selectsound.start(0, 1);
_root.main.kog.bean.body.kevlar.gotoAndPlay("flash");
_root.main.armor = 50;
_root.main.health = 100;
}
}
};
_root.killStart = function (who) {
doit = who.whatkind;
if (!_root.main.assisted) {
}
_root.main.specialbar = _root.main.specialbar + _root[doit].special;
_root.main.killtimer = _root.main.killtime;
_root.main.killsontime++;
who.dead = true;
};
_root.dropPowerup = function (who) {
if (((who.whatkind == "FP") or (who.whatkind == "FF")) or (who.whatkind == "HO")) {
randomnumber = Math.floor(Math.random() * _root.powerUpsSmall.length);
whichone = _root.powerUpsSmall[randomnumber];
} else if ((who.whatkind == "CC") or (who.whatkind == "NUGGET")) {
randomnumber = Math.floor(Math.random() * _root.powerUpsMedium.length);
whichone = _root.powerUpsMedium[randomnumber];
} else if (((who.whatkind == "PIZZA") or (who.whatkind == "BURROBO")) or (who.whatkind == "BF")) {
randomnumber = Math.floor(Math.random() * _root.powerUpsLarge.length);
whichone = _root.powerUpsLarge[randomnumber];
} else {
whichone = 0;
}
if (whichone) {
powerup = _root.attachMovie(whichone, "powerup" + _root.powerupcount, 5000 + _root.powerupcount, {_x:who._x, _y:who._y});
_root.ShitToDelete.push({ref:_root["powerup" + _root.powerupcount]});
powerup.whichone = whichone;
powerup.onEnterFrame = function () {
_root.POWERUP(this);
};
}
_root.cashcollected = _root.cashcollected + _root[who.whatkind].cashreward;
};
_root.main.gunStart = function (gun) {
if ((_root.main.State != "Landing") and (!_root.main.shooting)) {
_root.shotguncontrol = 1;
_root.swordcontrol = 1;
}
_root.turncontrol = 1;
if ((_root.main.frametrack != 1) and (!_root.main.shooting)) {
_root.main.kog.bean.hand.gun.weapon.gotoAndPlay(_root.main.frametrack + 1);
}
_root.main.frametrack = 1;
};
_root.main.nadeStart = function () {
if (!_root.sworded) {
if ((_root.main.frametrack2 != 1) and (!_root.main.shooting)) {
_root.main.kog.bean.otherhand.gun.weapon.gotoAndPlay(_root.main.frametrack2 + 1);
}
_root.main.frametrack2 = 1;
} else {
if ((_root.main.frametrack2 != 1) and (!_root.main.shooting)) {
_root.main.kog.bean.swordhand.gun.weapon.gotoAndPlay(_root.main.frametrack2 + 1);
}
_root.main.frametrack2 = 1;
}
};
_root.main.switchGun = function () {
_root.main.frametrack = 1;
_root.bulletcount = 0;
if (!_root.main.nading) {
if (_root.main.Gun == _root.main.Knife) {
_root.main.gotoAndStop("knife");
_root.main.kog.gotoAndStop(_root.main.State);
_root.main.kog.bean.hand.gun.gotoAndStop(4);
_root.main.switching = false;
_root.shotguncontrol = 1;
_root.swordcontrol = 1;
} else {
_root.main.gotoAndStop("gun");
_root.main.kog.gotoAndStop(_root.main.State);
_root.main.kog.bean.hand.gotoAndStop(_root.main.Gun);
_root.main.kog.bean.hand.gun.gotoAndStop(4);
_root.main.switching = false;
_root.shotguncontrol = 1;
_root.swordcontrol = 1;
}
} else {
if (_root.main.Gun != "knife") {
_root.main.kog.bean.hand.gotoAndStop("nade");
} else if (!_root.sworded) {
_root.main.kog.bean.otherhand.gotoAndStop("nade");
}
_root.main.switching = false;
_root.shotguncontrol = 1;
_root.swordcontrol = 1;
}
};
_root.createBoss = function (What, WhereX, WhereY) {
_root.enemycount++;
boob = _root.attachMovie(What, "boss", 4000, {_x:WhereX, _y:WhereY});
_root.enemyOnScreen.push({ref:_root.boss});
boob.health = 2000;
boob.boss = true;
boob.landed = false;
boob.ySpeed = -30;
boob.whichboss = What;
if (boob.whichboss == "CB") {
boob._xscale = 200;
boob._yscale = 200;
}
boss.onEnterFrame = function () {
if (_root.bossflashing == true) {
_root.bossFlash();
}
if (!this.landed) {
this.ySpeed = this.ySpeed + 2;
this._y = this._y + this.ySpeed;
while (_root.ground.bossground.hitTest(this)) {
this._y--;
this.landed = true;
}
}
if (_root.Paused) {
this.stop();
this.unpause = true;
} else if (this.unpause == true) {
this.unpause = false;
if (this._currentframe != 1) {
this.play();
}
}
};
};
_root.createICE = function () {
_root.ICEcount++;
boob = _root.attachMovie("ICE", "ice" + _root.ICEcount, 7000 + _root.ICEcount);
_root.ShitToDelete.push({ref:_root["ice" + _root.ICEcount]});
boob._x = ((Math.random() * 1200) + _root.cam._x) - 760;
boob._y = _root.cam._y - 340;
};
_root.createEnemy = function (What, WhereX, WhereY) {
_root.enemycount++;
boob = _root.attachMovie(What, "enemy" + _root.enemycount, _root.enemycount, {_x:WhereX, _y:WhereY});
_root.enemyOnScreen.push({ref:_root["enemy" + _root.enemycount]});
boob.jumping = true;
boob.ySpeed = 0;
boob.xSpeed = 0;
boob.FACE = Math.floor((Math.random() * 5) + 1);
boob.alreadynadehit = false;
boob.walkspeed = _root[What].walkspeed;
boob.health = _root[What].health;
boob.acceleration = _root[What].acceleration;
boob.range = _root[What].range;
boob.damage = _root[What].damage;
boob.cooldown = _root[What].cooldown;
boob.DO = false;
boob.timer = 0;
boob.DIR = -1;
boob.hityet = false;
boob.whatkind = What;
boob.walking = false;
boob.closeenough = false;
boob.onEnterFrame = function () {
if (!this.dead) {
if (!_root.Paused) {
if (!_root.main.dead) {
this.timer++;
if (Math.abs(this._x - _root.main._x) <= this.range) {
this.closeenough = true;
} else {
this.closeenough = false;
}
if (this.DO == false) {
this.walking = false;
Random = Math.round(Math.random() * 2);
if (Random == 0) {
this.gotoAndStop("Stand");
this.DO = true;
} else if (Random == 1) {
if (this.closeenough == false) {
this.gotoAndStop("Walk");
if (this.whatkind == "NN") {
this.landed = false;
this._y = this._y - 20;
this.ySpeed = this.ySpeed - 20;
}
this.walking = true;
this.DO = true;
}
}
}
if (this.timer >= ((Math.random() * 50) + this.cooldown)) {
this.timer = 0;
if (this.whatkind == "FP") {
fist = Math.round(Math.random());
if (fist == 0) {
this.kog.lefthand.weapon.play();
} else {
this.kog.righthand.weapon.play();
}
} else if (this.whatkind == "PIZZA") {
hand = Math.round(Math.random() * 3);
if (hand == 0) {
this.kog.righthand.gotoAndPlay("throw");
} else {
this.kog.lefthand.weapon.play();
}
} else if (this.whatkind == "NN") {
this.hityet = false;
this.kog.body.play();
} else {
this.kog.lefthand.weapon.play();
}
}
if (this.walking == true) {
this.xSpeed = this.xSpeed + (this.acceleration * this.DIR);
if (this.xSpeed > this.walkspeed) {
this.xSpeed = this.walkspeed;
}
if (this.xSpeed < (-this.walkspeed)) {
this.xSpeed = -this.walkspeed;
}
} else {
this.xSpeed = 0;
}
if (this.xSpeed > 0) {
if (_root.ground.g.hitTest(this._x + 30, this._y, true) or _root.ground.dontfall.hitTest(this._x + 30, this._y, true)) {
this._x--;
this.xSpeed = 0;
}
} else if (this.xSpeed < 0) {
if (_root.ground.g.hitTest(this._x - 30, this._y, true) or _root.ground.dontfall.hitTest(this._x - 30, this._y, true)) {
this._x++;
this.xSpeed = 0;
}
}
this._x = this._x + this.xSpeed;
if (this.whatkind == "FP") {
if (!this.hityet) {
if (this.kog.righthand.weapon.hittest.hitTest(_root.main.kog.bean.hittest) or this.kog.lefthand.weapon.hittest.hitTest(_root.main.kog.bean.hittest)) {
this.hityet = true;
FPdepthcount++;
_root.main.swapDepths(1000);
this.swapDepths(1001 + FPdepthcount);
_root.punchsound.start(0, 1);
_root.main.getHurt(this.damage, "punch");
}
} else {
this.hityet = false;
}
} else if (this.whatkind == "NN") {
if (!this.hityet) {
if (this.kog.body.hittest.hitTest(_root.main.kog.bean.hittest)) {
this.hityet = true;
this.DO = false;
_root.main.getHurt(this.damage, "bullet");
}
}
}
if (_root.main._x >= this._x) {
this.DIR = 1;
} else {
this.DIR = -1;
}
this._xscale = -100 * this.DIR;
}
this.ySpeed = this.ySpeed + 3;
if (this.whatkind == "NN") {
this.ySpeed = this.ySpeed - 1;
}
this._y = this._y + this.ySpeed;
while (_root.ground.g.hitTest(this._x, this._y + _root[this.whatkind].landdiff, true)) {
if ((this.whatkind == "NN") and (!this.landed)) {
this.walking = false;
this.DO = false;
this.landed = true;
this.gotoAndStop("Stand");
}
this._y--;
this.jumping = false;
this.ySpeed = 0;
}
}
}
if (_root.main.dead) {
this.gotoAndStop("Stand");
this.DO = true;
}
};
};
_root.doAssist = function (Which) {
if (_root.main.speciallevel == 1) {
_root.main.speciallevel--;
_root.main.specialbar = 0;
_root.assistCount++;
_root.main.assisted = true;
kweh = _root.attachMovie(Which, "assister", (_root.main.getDepth() + 500) + _root.assistCount);
if (Which == "C1") {
_root.cam.specialbar.ICON.gotoAndPlay("tmatoin");
kweh._x = _root.main._x + 50;
xdifff = 0;
} else if (Which == "C2") {
_root.cam.specialbar.ICON.gotoAndPlay("tmatoin");
kweh._x = _root.main._x - 75;
xdifff = 0;
kweh._xscale = 100 * _root.main.DIR;
} else if (Which == "C3") {
_root.cam.specialbar.ICON.gotoAndPlay("carrotin");
xdifff = -10;
kweh._x = _root.main._x - (150 * _root.main.DIR);
kweh._xscale = 100 * _root.main.DIR;
} else if (Which == "C4") {
_root.cam.specialbar.ICON.gotoAndPlay("carrotin");
xdifff = -10;
kweh._x = _root.main._x + (75 * _root.main.DIR);
}
kweh._y = _root.cam._y - 440;
kweh.ySpeed = 10;
kweh.DIR = _root.main.DIR;
kweh.landed = false;
kweh.xdifff = xdifff;
kweh.onEnterFrame = function () {
if ((!_root.Paused) or _root.Unreal) {
if (this.unpause == true) {
this.unpause = false;
if (this._currentframe != 1) {
this.play();
}
}
if (!this.landed) {
this.ySpeed = this.ySpeed + 5;
this._y = this._y + this.ySpeed;
while (_root.ground.g.hitTest(this._x, (this._y + 215) + this.xdifff, true)) {
this._y--;
this.landed = true;
this.play();
_root.main.assisted = true;
}
}
} else {
this.unpause = true;
this.stop();
}
};
}
};
_root.endAssist = function (who) {
_root.main.assisted = false;
_root.cam.specialbar.ICON.gotoAndPlay(1);
who.removeMovieClip();
};
_root.main.collisionTest = function () {
for (v in _root.enemyOnScreen) {
if (_root.enemyOnScreen[v].ref.DEAD == true) {
_root.powerupcount++;
_root.enemyOnScreen[v].ref.removeMovieClip();
delete enemyOnScreen[v].ref.onEnterFrame;
_root.enemyOnScreen.splice(v, 1);
}
if (enemyOnScreen[v].ref.kog.hittest.hitTest(_root.main.kog.bean.hand.gun.weapon.hittest) and (!enemyOnScreen[v].ref.alreadyhit)) {
if ((!enemyOnScreen[v].ref.NAN) and (!enemyOnScreen[v].ref.boss)) {
_root.main.swapDepths(enemyOnScreen[v].ref.getDepth() + 1000);
}
enemyOnScreen[v].ref.alreadyhit = true;
_root.knifesound.start(0, 1);
enemyOnScreen[v].ref.health = enemyOnScreen[v].ref.health - (_root.knife.damage + _root.main.kog.bean.hand.gun.weapon.hittest.bonus);
_root.bloodcount++;
if (!enemyOnScreen[v].ref.NAN) {
roof = _root.attachMovie("bloodslice", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:enemyOnScreen[v].ref._x, _y:enemyOnScreen[v].ref._y - 100});
} else {
roof = _root.attachMovie("bloodslice", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:enemyOnScreen[v].ref._x + 7247, _y:enemyOnScreen[v].ref._y - 627.1});
}
roof._xscale = 100 * _root.main.DIR;
if (enemyOnScreen[v].ref.health <= 0) {
enemyOnScreen[v].ref.gotoAndStop("Die");
} else if (enemyOnScreen[v].ref.boss) {
_root.bossflashing = true;
if (enemyOnScreen[v].ref.snicker) {
_root.lighto.light.gotoAndPlay("flash");
}
} else {
enemyOnScreen[v].ref.kog.body.gotoAndPlay("hit");
}
} else {
enemyOnScreen[v].ref.alreadyhit = false;
}
}
};
_root.main.getHurt = function (damage, how) {
if (_root.main.armor > 0) {
if (_root.main.armor < damage) {
damage = damage - _root.main.armor;
_root.main.armor = 0;
} else {
_root.main.armor = _root.main.armor - damage;
damage = 0;
if (_root.main.armor < 0) {
_root.main.armor = 0;
}
}
}
_root.main.health = _root.main.health - damage;
if (_root.main.health <= 0) {
_root.main.dead = true;
if (how == "bullet") {
if ((_root.main.State != "JumpUp") and (_root.main.State != "JumpForward")) {
_root.main.kog.gotoAndStop("Die");
} else {
if (_root.main.xSpeed >= 0) {
_root.main.kog.gotoAndStop("DieExplosionPositive");
}
if (_root.main.xSpeed < 0) {
_root.main.kog.gotoAndStop("DieExplosionNegative");
}
}
} else if (how == "crush") {
if (_root.main.xSpeed >= 0) {
_root.main.kog.gotoAndStop("DieExplosionPositive");
}
if (_root.main.xSpeed < 0) {
_root.main.kog.gotoAndStop("DieExplosionNegative");
}
} else if (how == "punch") {
if ((_root.main.State != "JumpUp") and (_root.main.State != "JumpForward")) {
_root.main.kog.gotoAndStop("Die");
} else {
if (_root.main.xSpeed >= 0) {
_root.main.kog.gotoAndStop("DieExplosionPositive");
}
if (_root.main.xSpeed < 0) {
_root.main.kog.gotoAndStop("DieExplosionNegative");
}
}
} else if (how == "explode") {
if (_root.main.xSpeed >= 0) {
_root.main.kog.gotoAndStop("DieExplosionPositive");
}
if (_root.main.xSpeed < 0) {
_root.main.kog.gotoAndStop("DieExplosionNegative");
}
}
} else {
_root.main.kog.bean.body.gotoAndPlay("hit");
}
};
_root.main.doCrouch = function (ride) {
if (((_root.main.State != "JumpUp") and (_root.main.State != "JumpForward")) or ride) {
_root.main.State = "Crouch";
_root.main.crouchtimer++;
if (_root.main.crouchtimer > 50) {
_root.main.CROUCH = true;
}
if (!_root.main.crouched) {
if ((_root.main.kog.bean.hand.gun._currentframe != 3) and (_root.main.kog.bean.hand.gun._currentframe != 4)) {
if (!_root.sworded) {
_root.main.frametrack = _root.main.kog.bean.hand.gun.weapon._currentframe;
_root.main.frametrack2 = _root.main.kog.bean.otherhand.gun.weapon._currentframe;
} else {
_root.main.frametrack2 = _root.main.kog.bean.swordhand.gun.weapon._currentframe;
}
}
_root.main.crouched = true;
_root.main.kog.gotoAndStop("Crouching");
}
}
};
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
_root.bossFlash = function () {
myColor = new Color(_root.ground.boss);
if (_root.bossflashtime < 3) {
_root.bossflashtime++;
myColor.setTint(255, 0, 0, 30);
} else {
myColor.setTint(255, 0, 0, 0);
_root.bossflashtime = 0;
_root.bossflashing = false;
}
};
_root.PAUSE = function (unreal) {
if (unreal) {
_root.Unreal = true;
} else {
_root.cam.showpause._visible = true;
}
_root.Paused = true;
_root.main.kog.bean.stop();
_root.main.kog.bean.body.ear.stop();
_root.main.kog.bean.body.stop();
_root.main.kog.bean.hand.gun.weapon.stop();
for (v in _root.enemyOnScreen) {
_root.enemyOnScreen[v].ref.kog.stop();
_root.enemyOnScreen[v].ref.kog.lefthand.weapon.stop();
_root.enemyOnScreen[v].ref.kog.righthand.weapon.stop();
}
for (b in _root.ShitToDelete) {
if (_root.ShitToDelete[b].ref.ice) {
_root.ShitToDelete[b].ref.ice.stop();
} else {
_root.ShitToDelete[b].ref.stop();
}
}
};
_root.UNPAUSE = function () {
_root.Unreal = false;
_root.cam.showpause._visible = false;
_root.Paused = false;
_root.main.kog.bean.play();
_root.main.kog.bean.body.ear.play();
if (_root.main.kog.bean.hand.gun.weapon._currentframe != 1) {
_root.main.kog.bean.hand.gun.weapon.play();
}
if (_root.main.kog.bean.body._currentframe != 1) {
_root.main.kog.bean.body.play();
}
for (v in _root.enemyOnScreen) {
_root.enemyOnScreen[v].ref.kog.play();
if (_root.enemyOnScreen[v].ref.kog.lefthand.weapon._currentframe != 1) {
_root.enemyOnScreen[v].ref.kog.lefthand.weapon.play();
}
if (_root.enemyOnScreen[v].ref.kog.righthand.weapon._currentframe != 1) {
_root.enemyOnScreen[v].ref.kog.righthand.weapon.play();
}
}
for (b in _root.ShitToDelete) {
if (_root.ShitToDelete[b].ref.ice and (_root.ShitToDelete[b].ref.ice._currentframe != 1)) {
_root.ShitToDelete[b].ref.ice.play();
} else if (_root.ShitToDelete[b].ref._currentframe != 1) {
_root.ShitToDelete[b].ref.play();
}
}
};
_root.doSwordHit = function (whattype, what, damagemult) {
if (whattype == _root.swordtype) {
if (damagemult != 0) {
for (v in _root.enemyOnScreen) {
if (what.hitTest(_root.enemyOnScreen[v].ref.kog.hittest) and (!enemyOnScreen[v].ref.swordalreadyhit)) {
_root.enemyOnScreen[v].ref.health = _root.enemyOnScreen[v].ref.health - (_root[whattype].damage * damagemult);
_root.main.swapDepths(enemyOnScreen[v].ref.getDepth() + 1000);
enemyOnScreen[v].ref.alreadyhit = true;
_root.bloodcount++;
_root.swordhit.start(0, 1);
roof = _root.attachMovie("bloodslice", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:enemyOnScreen[v].ref._x, _y:enemyOnScreen[v].ref._y - 100});
roof._xscale = 100 * _root.main.DIR;
if (enemyOnScreen[v].ref.health <= 0) {
enemyOnScreen[v].ref.gotoAndStop("Die");
} else {
enemyOnScreen[v].ref.kog.body.gotoAndPlay("hit");
}
} else {
enemyOnScreen[v].ref.alreadyhit = false;
}
}
}
} else {
_root.swordmiss.start(0, 1);
what._visible = false;
}
};
_root.doSection = function (which) {
if (_root.sky.hitTest(which)) {
which._visible = true;
} else {
which._visible = false;
}
};
_root.camShake = function (duration, intensity) {
_root.cam.shakemanager.shaketimer = duration;
_root.cam.shakemanager.intensity = intensity;
};
_root.doFoot = function (what) {
if (_root.showjordans) {
what._visible = false;
}
};
_root.main.xSpeed = 0;
_root.main.ySpeed = 0;
_root.main.wSpeed = 10;
_root.main.rSpeed = 15;
_root.main.accel = 2;
_root.main.airSpeed = 11;
_root.main.jumpHeight = 35;
_root.main.primaryPressed = 0;
_root.main.secondaryPressed = 0;
_root.main.knifePressed = 0;
_root.main.shootPressed = 0;
_root.main.nadePressed = 0;
_root.enterPressed = false;
_root.main.assistPressed = false;
_root.pausePressed = false;
_root.main.hat = 1;
_root.main.dir = "right";
_root.main.State = "JumpUp";
_root.main.CROUCH = false;
_root.main.CROUCHable = true;
_root.main.damagemult = 0;
_root.main.speedmult = 0;
_root.main.crouchtimer = 0;
_root.main.killtimer = 0;
_root.main.killsontime = 0;
_root.main.killtime = 50;
_root.main.swordcombo = "0";
_root.main.canmoveleft = true;
_root.main.canmoveright = true;
_root.main.frametrack = 1;
_root.main.frametrack2 = 1;
_root.main.onEnterFrame = function () {
if (!_root.didntdoit) {
_root.didntdoit = true;
if (Level != "snicker") {
_root.cam.crouchadjusted = false;
_root.cam.crouchtopadjusted = true;
_root.cam.topbound._xscale = 150;
_root.cam.cutscenes.gotoAndPlay(("level" + Level) + "start");
_root.control = 0;
_root.cam.xspeed = 40;
_root.cam.OVERRIDE = true;
}
}
if (!_root.Paused) {
if (this.killtimer > 0) {
this.killtimer--;
_root.cam.kills.gotoAndStop(this.killsontime);
} else {
this.killsontime = 0;
_root.cam.kills.gotoAndStop(1);
}
if ((this.Gun == _root.main.Primary) or (this.Gun == "nade")) {
_root.cam.ammoText.text = this.ammo;
} else {
_root.cam.ammoText.text = "\u221E";
}
_root.cam.nadesText.text = this.nades;
if ((this.Gun != "nade") and (!_root.sworded)) {
this.wSpeed = _root[this.Gun].wSpeed;
this.airSpeed = _root[this.Gun].airSpeed;
} else if (_root.sworded and (_root.Gun == "knife")) {
this.wSpeed = _root.katana.wSpeed;
this.airSpeed = _root.katana.airSpeed;
} else if (this.Gun != "nade") {
this.wSpeed = _root[this.Gun].wSpeed;
this.airSpeed = _root[this.Gun].airSpeed;
} else {
this.wSpeed = _root[this.goBack].wSpeed;
this.airSpeed = _root[this.goBack].airSpeed;
}
if (this.powerup == "speed") {
_root.showjordans = true;
this.poweruptimer--;
this.speedmult = 1.5;
this.jumpHeight = 45;
} else {
_root.showjordans = false;
this.speedmult = 1;
this.jumpHeight = 35;
}
if (this.powerup == "damage") {
this.poweruptimer--;
_root.explosive = true;
} else {
_root.explosive = false;
}
if (this.poweruptimer <= 0) {
this.powerup = 0;
}
if (this.health > 100) {
this.health = 100;
}
if (_root.control == 0) {
Right = null;
Left = null;
Down = null;
Up = null;
Enter = null;
Ctrl = null;
One = null;
Two = null;
Three = null;
Space = null;
Four = null;
this.State = "Stand";
this.kog.gotoAndStop("Stand");
} else {
GKEY = Key.isDown(71);
ZKEY = Key.isDown(90);
XKEY = Key.isDown(88);
CKEY = Key.isDown(67);
VKEY = Key.isDown(86);
Right = Key.isDown(39);
Left = Key.isDown(37);
Down = Key.isDown(40);
Up = Key.isDown(38);
Enter = Key.isDown(13);
Shift = Key.isDown(16);
Space = Key.isDown(32);
Ctrl = Key.isDown(17);
One = Key.isDown(49);
Two = Key.isDown(50);
Three = Key.isDown(51);
Four = Key.isDown(52);
this.mac10Key = Key.isDown(52);
this.shotgunKey = Key.isDown(53);
this.ak47Key = Key.isDown(54);
this.shootKey = Space;
this.primaryKey = One;
this.secondaryKey = Two;
this.knifeKey = Three;
this.nadeKey = GKEY;
this.assistKey1 = ZKEY;
this.assistKey2 = XKEY;
this.assistKey3 = CKEY;
this.assistKey4 = VKEY;
}
if (!this.dead) {
if (Shift) {
if (!shiftPressed) {
_root.shiftPressed = true;
rand = Math.round(Math.random());
What = possibleEnemies[rand];
Where = (Math.random() * 700) + 200;
_root.createEnemy("PIZZA", Where);
}
} else {
_root.shiftPressed = false;
}
if (this.assistKey1) {
if ((!assistPressed) and (!this.assisted)) {
this.assistPressed = true;
_root.doAssist("C1");
}
} else {
this.assistPressed = false;
}
if (this.assistKey2) {
if ((!assistPressed) and (!this.assisted)) {
this.assistPressed = true;
_root.doAssist("C2");
}
} else {
this.assistPressed = false;
}
if (this.assistKey3) {
if (((!assistPressed) and (!this.assisted)) and (!_root.bossin)) {
this.assistPressed = true;
_root.doAssist("C3");
}
} else {
this.assistPressed = false;
}
if (this.assistKey4) {
if ((!assistPressed) and (!this.assisted)) {
this.assistPressed = true;
_root.doAssist("C4");
}
} else {
this.assistPressed = false;
}
if (this.switching and (this.kog.bean.hand.gun._currentframe != 3)) {
this.switchGun();
}
if (this.dir == "right") {
this.DIR = 1;
this._xscale = 100;
} else if (this.dir == "left") {
this.DIR = -1;
this._xscale = -100;
}
if ((this.State == "Landing") or this.shooting) {
this.control = 0;
} else {
this.control = 1;
}
if ((_root.control == 1) and (_root.shotguncontrol == 1)) {
if (this.shootKey) {
if (this.Gun != "knife") {
this.kog.bean.hand.gun.weapon.play();
}
if (this.shootPressed == 0) {
if (_root.main.Gun == "knife") {
if (!_root.sworded) {
this.kog.bean.hand.gun.weapon.play();
} else if ((_root.sworded and (this.State != "JumpForward")) and (this.State != "JumpUp")) {
_root.swordcontrol = 0;
this.shootPressed = true;
if (this.swordcombo == 0) {
this.State = "SwordAttack";
this.kog.gotoAndStop("SwordAttack");
rand = Math.round(Math.random() * 4);
What = _root.ComboStart[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
} else if (this.swordcombo == "a") {
rand = Math.round(Math.random() * 4);
What = _root.ComboA[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
} else if (this.swordcombo == "b") {
rand = Math.round(Math.random() * 4);
What = _root.ComboB[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
} else if (this.swordcombo == "c") {
rand = Math.round(Math.random() * 5);
What = _root.ComboC[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
} else if (this.swordcombo == "d") {
rand = Math.round(Math.random() * 4);
What = _root.ComboD[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
} else if (this.swordcombo == "f") {
rand = Math.round(Math.random() * 3);
What = _root.ComboF[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
} else if (this.swordcombo == "u") {
rand = Math.round(Math.random() * 4);
What = _root.ComboU[rand];
this.kog.bean.gotoAndPlay(What);
this.swordcombo = "swinging";
}
}
}
}
} else {
this.shootPressed = 0;
}
if (this.nadeKey and (_root.main.nades > 0)) {
if ((!this.nadePressed) and (!this.nading)) {
this.nadePressed = true;
this.goBack = this.Gun;
if (this.Gun != "knife") {
this.Gun = "nade";
this.switching = true;
this.nading = true;
this.kog.bean.hand.gun.gotoAndStop(3);
} else if (_root.sworded) {
} else {
this.nading = true;
this.kog.bean.otherhand.gotoAndStop("nade");
}
}
} else {
this.nadePressed = false;
}
if (this.primaryKey and (this.Primary != 0)) {
if (this.primaryPressed == 0) {
this.primaryPressed = 1;
if (this.Gun != this.Primary) {
this.switching = true;
this.kog.bean.hand.gun.gotoAndStop(3);
this.Gun = this.Primary;
}
}
} else {
this.primaryPressed = 0;
}
if (this.secondaryKey and (this.Secondary != 0)) {
if (this.secondaryPressed == 0) {
this.secondaryPressed = 1;
if (this.Gun != this.Secondary) {
this.switching = true;
this.kog.bean.hand.gun.gotoAndStop(3);
this.Gun = this.Secondary;
}
}
} else {
this.secondaryPressed = 0;
}
if (this.knifeKey) {
if (this.knifePressed == 0) {
this.knifePressed = 1;
if (this.Gun != this.Knife) {
this.switching = true;
this.kog.bean.hand.gun.gotoAndStop(3);
this.Gun = this.Knife;
}
}
} else {
this.knifePressed = 0;
}
if (this.mac10Key and _root.hasmac10) {
if (!this.mac10Keypressed) {
this.mac10Keypressed = true;
this.Primary = "mac10";
this.Gun = "mac10";
this.switchGun();
}
} else {
this.mac10Keypressed = false;
}
if (this.shotgunKey and _root.hasshotgun) {
if (!this.shotgunKeypressed) {
this.shotgunKeypressed = true;
this.Primary = "shotgun";
this.Gun = "shotgun";
this.switchGun();
}
} else {
this.shotgunKeypressed = false;
}
if (this.ak47Key and _root.hasak47) {
if (!this.ak47Keypressed) {
this.ak47Keypressed = true;
this.Primary = "ak47";
this.Gun = "ak47";
this.switchGun();
}
} else {
this.ak47Keypressed = false;
}
}
if (((_root.control == 1) and (_root.shotguncontrol == 1)) and (_root.swordcontrol == 1)) {
if (Down) {
if ((this.State == "JumpUp") or ((((this.State == "JumpForward") and (this.kog.bean.hand.gun._currentframe != 3)) and (this.kog.bean.hand.gun._currentframe != 4)) and (this.Gun != "knife"))) {
if (!_root.sworded) {
_root.main.frametrack = _root.main.kog.bean.hand.gun.weapon._currentframe;
_root.main.frametrack2 = _root.main.kog.bean.otherhand.gun.weapon._currentframe;
} else {
_root.main.frametrack2 = _root.main.kog.bean.swordhand.gun.weapon._currentframe;
}
if (_root.main.Gun != "knife") {
this.kog.bean.hand.gun.gotoAndStop(2);
}
this.aimdown = true;
}
_root.main.doCrouch();
} else {
if (this.aimdown) {
this.aimdown = false;
this.frametrack = this.kog.bean.hand.gun.weapon._currentframe;
this.frametrack2 = _root.main.kog.bean.otherhand.gun.weapon._currentframe;
this.kog.bean.hand.gun.gotoAndStop(1);
}
this.CROUCH = false;
this.crouchtimer = 0;
this.crouched = false;
if (this.State == "Crouch") {
if ((this.kog.bean.hand.gun._currentframe != 3) and (this.kog.bean.hand.gun._currentframe != 4)) {
this.frametrack = this.kog.bean.hand.gun.weapon._currentframe;
this.frametrack2 = _root.main.kog.bean.otherhand.gun.weapon._currentframe;
}
this.State = "Stand";
}
}
if ((Right and (this.State != "Crouch")) and (!Left)) {
this.dir = "right";
if ((this.kog.bean.hand.gun._currentframe != 3) and (this.kog.bean.hand.gun._currentframe != 4)) {
this.frametrack = this.kog.bean.hand.gun.weapon._currentframe;
this.frametrack2 = this.kog.bean.otherhand.gun.weapon._currentframe;
}
this.bodytrack = this.kog.bean.body._currentframe;
if ((this.State != "JumpUp") and (this.State != "JumpForward")) {
this.State = "Walk";
this.kog.gotoAndStop("Walk");
if (this.canmoveright) {
this.xSpeed = this.wSpeed;
}
} else if (this.xSpeed < this.airSpeed) {
this.xSpeed = this.xSpeed + 3;
}
} else if ((Left and (!Right)) and (this.State != "Crouch")) {
this.dir = "left";
if ((this.kog.bean.hand.gun._currentframe != 3) and (this.kog.bean.hand.gun._currentframe != 4)) {
this.frametrack = this.kog.bean.hand.gun.weapon._currentframe;
this.frametrack2 = this.kog.bean.otherhand.gun.weapon._currentframe;
}
this.bodytrack = this.kog.bean.body._currentframe;
if ((this.State != "JumpUp") and (this.State != "JumpForward")) {
this.State = "Walk";
this.kog.gotoAndStop("Walk");
if (this.canmoveleft) {
this.xSpeed = -this.wSpeed;
}
} else if (this.xSpeed > (-this.airSpeed)) {
this.xSpeed = this.xSpeed - 3;
}
} else {
this.switched = false;
}
if (Up) {
if ((this.State != "JumpUp") and (this.State != "JumpForward")) {
if ((this.kog.bean.hand.gun._currentframe != 3) and (this.kog.bean.hand.gun._currentframe != 4)) {
this.frametrack = this.kog.bean.hand.gun.weapon._currentframe;
this.frametrack2 = this.kog.bean.otherhand.gun.weapon._currentframe;
}
this.ySpeed = -this.jumpHeight;
if ((!Left) and (!Right)) {
this.State = "JumpUp";
this.kog.gotoAndStop("JumpUp");
}
if (Left or Right) {
this.State = "JumpForward";
this.kog.gotoAndStop("JumpForward");
}
}
}
if (this.ySpeed > 25) {
if ((this.State != "JumpUp") and (this.State != "JumpForward")) {
this.State = "JumpForward";
this.bouncing = true;
this.kog.gotoAndStop("JumpForward");
this.kog.bean.gotoAndPlay(10);
}
}
}
if ((this.State != "JumpUp") and (this.State != "JumpForward")) {
if (((((_root.shotguncontrol == 0) or ((!Left) and (!Right))) or (Left and Right)) or (this.State == "SwordAttack")) or (this.State == "Crouch")) {
this.xSpeed = this.xSpeed / 1.4;
if (((this.kog.bean.hand.gun._currentframe != 3) and (!this.trackerized)) and (this.kog.bean.hand.gun._currentframe != 4)) {
this.trackerized = true;
this.frametrack = this.kog.bean.hand.gun.weapon._currentframe;
this.frametrack2 = this.kog.bean.otherhand.gun.weapon._currentframe;
}
this.bodytrack = this.kog.bean.body._currentframe;
if ((((_root.control and _root.shotguncontrol) and (this.State != "Crouch")) and (this.State != "SwordAttack")) and (_root.swordcontrol == 1)) {
this.State = "Stand";
this.swordcombo == "0";
this.kog.gotoAndStop("Stand");
}
if ((this.xSpeed < 0.1) && (this.xSpeed > -0.1)) {
this.xSpeed = 0;
}
}
} else {
this.trackerized = false;
}
if ((this.State == "JumpUp") or (this.State == "JumpForward")) {
if ((this.ySpeed > 40) or (this.ySpeed < -40)) {
this.bouncing = true;
}
this.landed = false;
this.xSpeed = this.xSpeed / 1.05;
}
if (this.ySpeed < 50) {
if ((this.State == "JumpUp") or (this.State == "JumpForward")) {
this.ySpeed = this.ySpeed + 3;
} else {
this.ySpeed = this.ySpeed + 3;
}
}
if (this.ySpeed < 0) {
while (_root.ground.g.hitTest(this._x, this._y - 50, true)) {
this._y++;
this.ySpeed = 0;
}
}
this._y = this._y + this.ySpeed;
if (this.ySpeed >= 0) {
while (_root.ground.g.hitTest(this._x, this._y + 70, true)) {
this._y--;
this.ySpeed = 0;
this.aimdown = false;
if (!this.landed) {
if (this.nading) {
_root.hitgroundsound.start(0, 1);
this.Gun = this.goBack;
this.nading = false;
}
if (!Down) {
this.State = "Landing";
this.landed = true;
_root.shotguncontrol = 0;
this.bouncing = false;
this.kog.gotoAndStop("Land");
} else {
this.State = "Landing";
_root.main.doCrouch(true);
this.landed = true;
_root.shotguncontrol = 0;
this.bouncing = false;
}
}
}
}
if (this.xSpeed > 0) {
if (_root.ground.g.hitTest(this._x + 30, this._y, true) or _root.rightoffscreen.hitTest(this._x + 30, this._y - 10, true)) {
this._x--;
this.xSpeed = 0;
}
} else if (this.xSpeed < 0) {
if (_root.ground.g.hitTest(this._x - 30, this._y, true) or _root.leftoffscreen.hitTest(this._x - 30, this._y - 10, true)) {
this._x++;
this.xSpeed = 0;
}
}
for (v in _root.enemyOnScreen) {
if (_root.enemyOnScreen[v].ref.kog.hittest.hitTest(this._x + 30, this._y - 30, true)) {
_root.main._x = _root.main._x - 5;
this.canmoveright = false;
this.xSpeed = 0;
_root.enemyOnScreen[v].ref.xSpeed = 0;
} else if (_root.enemyOnScreen[v].ref.kog.hittest.hitTest(this._x + 40, this._y - 30, true)) {
this.canmoveright = false;
} else {
this.canmoveright = true;
}
if (_root.enemyOnScreen[v].ref.kog.hittest.hitTest(this._x - 30, this._y - 30, true)) {
_root.main._x = _root.main._x + 5;
this.canmoveleft = false;
this.xSpeed = 0;
_root.enemyOnScreen[v].ref.xSpeed = 0;
} else if (_root.enemyOnScreen[v].ref.kog.hittest.hitTest(this._x - 40, this._y - 30, true)) {
this.canmoveleft = false;
} else {
this.canmoveleft = true;
}
}
this._x = this._x + (this.xSpeed * this.speedmult);
}
}
};
};
Frame 15
stop();
Frame 16
stop();
Instance of Symbol 3089 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (!thisspacepressed) {
thisspacepressed = true;
_root.play();
}
} else {
thisspacepressed = false;
}
}
Frame 17
stopAllSounds();
_root.olschool.start(0, 999);
Frame 21
stop();
Frame 22
_root.powerUpsSmall = ["health", "health", "health", "cash", "cash", "cash", "ammo", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_root.powerUpsMedium = ["health", "health", "health", "health", "cash", "cash", "cash", "cash", "ammo", "ammobig", "nades", "armor", "damage", "speed", 0, 0, 0, 0, 0];
_root.powerUpsLarge = ["health", "health", "cash", "cash", "ammobig", "nades", "armor", "armor", "damage", "speed", "health", "health", "ammobig", "nades", "nades", "nades", "armor", "armor", "damage", "speed", "1up"];
_root.attachMovie("main", "main", 1000, {_x:245.3, _y:344.9});
_root.attachMovie("cam", "cam", 10000, {_x:554.2, _y:177.2, _xscale:130, _yscale:130});
_root.attachMovie("sky", "sky", -4000, {_x:554.2, _y:177.2, _xscale:130, _yscale:130});
_root.attachMovie("bound", "leftoffscreen", 20000, {_x:-303.9, _y:-133.7, _xscale:268, _yscale:130});
_root.attachMovie("bound", "rightoffscreen", 20001, {_x:1084.1, _y:-133.7, _xscale:268, _yscale:130});
if (!_root.checkpoint) {
_root.groundx = 7247.1;
_root.groundy = -527.1;
} else if (_root.checkpoint == 1) {
_root.groundx = -8144.9;
_root.groundy = -360;
} else if (_root.checkpoint == 2) {
_root.groundx = -9447;
_root.groundy = -414.9;
}
_root.attachMovie("ground", "ground", 0, {_x:_root.groundx, _y:_root.groundy});
_root.attachMovie("trash", "trash", 9500, {_x:-3232 + _root.groundx, _y:754.8 + _root.groundy});
_root.trash._rotation = -61.91357421875;
_root.trash.onEnterFrame = function () {
if (this.hittestin.hitTest(_root.main.kog.bean.hittest)) {
this.swapDepths(_root.main.getDepth() - 100);
} else if (this.hittestout.hitTest(_root.main.kog.bean.hittest)) {
this.swapDepths(_root.main.getDepth() + 100);
}
};
_root.CleanUp = function () {
stopAllSounds();
delete eval (_root.main.onEnterFrame());
_root.main.removeMovieClip();
_root.cam.removeMovieClip();
_root.bossin = false;
_root.leftoffscreen.removeMovieClip();
_root.rightoffscreen.removeMovieClip();
_root.ground.removeMovieClip();
_root.trash.removeMovieClip();
_root.sky.swapDepths(2000);
_root.sky.removeMovieClip();
_root.didntdoit = false;
if (_root.checkpoint == 1) {
_root.boss1finished = false;
_root.boss1started = false;
} else if (_root.checkpoint == 2) {
_root.boss1finished = true;
_root.boss1started = true;
_root.cam.canMoveRight = true;
_root.cam.canMoveLeft = true;
_root.cam.OVERRIDE = false;
_root.cam.bossbar._visible = false;
_root.main.CROUCHable = true;
}
for (v in _root.enemyOnScreen) {
delete eval (enemyOnScreen[v].ref.onEnterFrame());
_root.enemyOnScreen[v].ref.removeMovieClip();
}
for (b in _root.ShitToDelete) {
delete eval (_root.ShitToDelete[b].ref.onEnterFrame());
_root.ShitToDelete[b].ref.removeMovieClip();
}
};
_root.Reset = function (changelevel) {
_root.CleanUp();
if (changelevel == 2) {
_root.checkpoint = 0;
_root.gotoAndStop("level1end");
} else if (changelevel == "menu") {
_root.gotoAndStop("mainmenu");
_root.cashcollected = 0;
} else {
if (!_root.checkpoint) {
_root.cashcollected = 0;
}
_root.lives--;
if (_root.lives == 0) {
if (_root.continues > 0) {
_root.sky.removeMovieClip();
_root.gotoAndStop("continue");
} else {
_root.gotoAndPlay("gameover");
}
} else {
gotoAndStop ("reset");
}
}
};
_root.FP = Object();
_root.FP.walkspeed = 8;
_root.FP.acceleration = 2;
_root.FP.range = 150;
_root.FP.health = 80 + (20 * _root.difficulty);
_root.FP.damage = 5 + (3 * _root.difficulty);
_root.FP.cooldown = 35 - (5 * _root.difficulty);
_root.FP.landdiff = 50;
_root.FP.special = 5;
_root.FP.cashreward = 10 * _root.difficulty;
_root.CC = Object();
_root.CC.walkspeed = 6;
_root.CC.acceleration = 2;
_root.CC.health = 70 + (30 * _root.difficulty);
_root.CC.range = 400;
_root.CC.damage = 7 + (4 * _root.difficulty);
_root.CC.xdiff = 90;
_root.CC.ydiff = -10;
_root.CC.landdiff = 40;
_root.CC.cooldown = 55 - (3 * _root.difficulty);
_root.CC.special = 10;
_root.CC.cashreward = 15 * _root.difficulty;
_root.PIZZA = Object();
_root.PIZZA.walkspeed = 5;
_root.PIZZA.acceleration = 2;
_root.PIZZA.health = 135 + (15 * _root.difficulty);
_root.PIZZA.range = 500;
_root.PIZZA.damage = 2 + (3 * _root.difficulty);
_root.PIZZA.xdiff = 125;
_root.PIZZA.ydiff = -50;
_root.PIZZA.landdiff = 30;
_root.PIZZA.cooldown = 75 - (5 * _root.difficulty);
_root.PIZZA.special = 20;
_root.PIZZA.cashreward = 50 * _root.difficulty;
_root.NN = Object();
_root.NN.walkspeed = 8;
_root.NN.damage = 3 + (3 * _root.difficulty);
_root.NN.acceleration = 2;
_root.NN.health = 45 + (5 * _root.difficulty);
_root.NN.range = 50;
_root.NN.cooldown = 20;
_root.NN.landdiff = 30;
_root.NN.special = 2;
_root.NN.cashreward = 5;
_root.main.Knife = "knife";
_root.main.Gun = _root.main.Knife;
if (_root.hasmac10) {
_root.main.Primary = "mac10";
_root.main.Gun = "mac10";
} else {
_root.main.Primary = 0;
}
if (_root.hasglock) {
_root.main.Secondary = "glock";
} else {
_root.main.Secondary = 0;
}
_root.main.switchGun();
_root.main.health = 100;
_root.main.ammo = 50;
_root.main.nades = 0;
_root.DOLEVEL(1);
if (_root.hasglock) {
_root.main.Secondary = "glock";
_root.switchGun();
} else {
_root.main.Secondary = 0;
}
_root.main.Knife = "knife";
_root.main.Gun = _root.main.Knife;
if (_root.hasmac10) {
_root.main.Primary = "mac10";
_root.main.Gun = "mac10";
_root.switchGun();
} else {
_root.main.Primary = 0;
}
stopAllSounds();
_root.gangsta.start(0, 999);
stop();
Instance of Symbol 1570 MovieClip "cashdisplay" in Frame 25
onClipEvent (enterFrame) {
this.cashtext.text = _root.cashcollected;
}
Instance of Symbol 1533 MovieClip in Frame 25
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (51);
}
onClipEvent (enterFrame) {
if (_root.main.armor == 0) {
_root.showarmor = false;
}
bar_d = Math.round(((50 - _root.main.armor) / (50 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
this.bar.gotoAndPlay("flash");
this.armoricon.gotoAndPlay("flash");
}
}
Instance of Symbol 1534 MovieClip in Frame 25
onClipEvent (load) {
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 1) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Frame 25
onClipEvent (load) {
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 2) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Frame 25
onClipEvent (load) {
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 3) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 27
stop();
Instance of Symbol 1570 MovieClip "cashdisplay" in Frame 27
onClipEvent (enterFrame) {
this.cashtext.text = _root.cashcollected;
}
Instance of Symbol 1533 MovieClip in Frame 27
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (51);
}
onClipEvent (enterFrame) {
if (_root.main.armor == 0) {
_root.showarmor = false;
}
bar_d = Math.round(((50 - _root.main.armor) / (50 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
this.bar.gotoAndPlay("flash");
this.armoricon.gotoAndPlay("flash");
}
}
Instance of Symbol 1534 MovieClip in Frame 27
onClipEvent (load) {
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 1) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Frame 27
onClipEvent (load) {
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 2) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Frame 27
onClipEvent (load) {
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 3) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 28
stop();
Frame 29
_root.gotoAndStop("mainmenu");
Frame 30
stop();
_root.earned.text = 0;
_root.displayedNUM = 0;
_root.totalcash.text = _root.cash;
_root.cash = _root.cash + _root.cashcollected;
_root.MAX = _root.cashcollected;
_root.onEnterFrame = function () {
_root.MAX = _root.cashcollected;
if (_root.displayedNUM < _root.MAX) {
_root.displayedNUM = _root.displayedNUM + 10;
_root.earned.text = _root.displayedNUM;
} else if (_root.displayedNUM > _root.MAX) {
_root.displayedNUM = _root.MAX;
_root.earned.text = _root.displayedNUM + "!!!!";
}
_root.totalcash.text = _root.cash + _root.displayedNUM;
if (_root.displayedNUM == _root.MAX) {
_root.totalcash.text = _root.cash;
_root.cashcollected = 0;
_root.onEnterFrame = function () {
};
}
};
Frame 38
stop();
Frame 41
_root.powerUpsSmall = ["health", "cash", "ammo", "ammo", "ammo", "ammo", 0, 0, 0, 0, 0, 0];
_root.powerUpsMedium = ["health", "health", "health", "health", "cash", "cash", "cash", "cash", "ammo", "ammo", "ammobig", "ammo", "damage", "speed", 0, 0];
_root.powerUpsLarge = ["health", "health", "cash", "cash", "ammobig", "nades", "health", "health", "cash", "cash", "ammobig", "nades", "health", "health", "cash", "cash", "ammobig", "nades", "health", "health", "cash", "cash", "ammo", "nades", "armor", "damage", "speed", "speed", "health", "health", "ammobig", "nades", "damage", "speed", "1up"];
_root.attachMovie("main", "main", 1000, {_x:245.3, _y:344.9});
_root.attachMovie("cam", "cam", 10000, {_x:554.2, _y:177.2, _xscale:130, _yscale:130});
_root.attachMovie("sky2", "sky", -4000, {_x:554.2, _y:177.2, _xscale:130, _yscale:130});
_root.attachMovie("bound", "leftoffscreen", 20000, {_x:-303.9, _y:-133.7, _xscale:268, _yscale:130});
_root.attachMovie("bound", "rightoffscreen", 20001, {_x:1084.1, _y:-133.7, _xscale:268, _yscale:130});
if (!_root.checkpoint) {
_root.groundx = 10763;
_root.groundy = 632.6;
} else if (_root.checkpoint == 1) {
_root.groundx = -8729.9;
_root.groundy = -1146.8;
} else if (_root.checkpoint == 2) {
_root.groundx = -11269;
_root.groundy = -1167.2;
}
_root.attachMovie("ground2", "ground", 0, {_x:_root.groundx, _y:_root.groundy});
_root.CleanUp = function () {
stopAllSounds();
_root.night.start(0, 999);
delete eval (_root.main.onEnterFrame());
_root.bossin = false;
_root.main.removeMovieClip();
_root.cam.removeMovieClip();
_root.leftoffscreen.removeMovieClip();
_root.rightoffscreen.removeMovieClip();
_root.ground.removeMovieClip();
_root.sky.swapDepths(3042);
_root.sky.removeMovieClip();
_root.didntdoit = false;
for (v in _root.enemyOnScreen) {
delete eval (enemyOnScreen[v].ref.onEnterFrame());
_root.enemyOnScreen[v].ref.removeMovieClip();
}
for (b in _root.ShitToDelete) {
delete eval (_root.ShitToDelete[b].ref.onEnterFrame());
_root.ShitToDelete[b].ref.removeMovieClip();
}
};
_root.Reset = function (changelevel) {
_root.CleanUp();
_root.bossin = false;
if (_root.checkpoint == 1) {
_root.boss3finished = false;
_root.boss3started = false;
} else if (_root.checkpoint == 2) {
_root.boss3finished = true;
_root.boss3started = true;
_root.cam.canMoveRight = true;
_root.cam.canMoveLeft = true;
_root.cam.OVERRIDE = false;
_root.cam.bossbar._visible = false;
_root.main.CROUCHable = true;
}
if (changelevel == 2) {
_root.gotoAndStop("level2end");
} else if (changelevel == "menu") {
_root.gotoAndStop("mainmenu");
_root.cashcollected = 0;
} else {
if (!_root.checkpoint) {
_root.cashcollected = 0;
}
_root.lives--;
if (_root.lives == 0) {
if (_root.continues > 0) {
_root.gotoAndStop("continue");
} else {
_root.gotoAndPlay("gameover");
}
} else {
gotoAndStop ("reset");
}
}
};
_root.BF = Object();
_root.BF.walkspeed = 3;
_root.BF.acceleration = 2;
_root.BF.health = 180 + (20 * _root.difficulty);
_root.BF.range = 400;
_root.BF.damage = 4 + (3 * _root.difficulty);
_root.BF.xdiff = 90;
_root.BF.ydiff = -10;
_root.BF.landdiff = 40;
_root.BF.cooldown = 55 - (5 * _root.difficulty);
_root.BF.special = 20;
_root.BF.cashreward = 75 * _root.difficulty;
_root.NUGGET = Object();
_root.NUGGET.walkspeed = 6;
_root.NUGGET.acceleration = 2;
_root.NUGGET.health = 120 + (30 * _root.difficulty);
_root.NUGGET.range = 400;
_root.NUGGET.damage = 2 + (3 * _root.difficulty);
_root.NUGGET.xdiff = 90;
_root.NUGGET.ydiff = -10;
_root.NUGGET.landdiff = 40;
_root.NUGGET.cooldown = 45 - (5 * _root.difficulty);
_root.NUGGET.special = 10;
_root.NUGGET.cashreward = 50 * _root.difficulty;
_root.BURROBO = Object();
_root.BURROBO.walkspeed = 3;
_root.BURROBO.acceleration = 2;
_root.BURROBO.health = 275 + (25 * _root.difficulty);
_root.BURROBO.range = 500;
_root.BURROBO.damage = 3 + (3 * _root.difficulty);
_root.BURROBO.xdiff = 125;
_root.BURROBO.ydiff = -50;
_root.BURROBO.landdiff = 30;
_root.BURROBO.cooldown = 70 - (10 * _root.difficulty);
_root.BURROBO.special = 20;
_root.BURROBO.cashreward = 100 * _root.difficulty;
_root.FF = Object();
_root.FF.walkspeed = 3.5;
_root.FF.acceleration = 2;
_root.FF.health = 80 + (20 * _root.difficulty);
_root.FF.range = 400;
_root.FF.damage = 3 + (3 * _root.difficulty);
_root.FF.xdiff = 90;
_root.FF.ydiff = -10;
_root.FF.landdiff = 40;
_root.FF.cooldown = 38 - (3 * _root.difficulty);
_root.FF.special = 10;
_root.FF.cashreward = 15 * _root.difficulty;
_root.HO = Object();
_root.HO.walkspeed = 4;
_root.HO.damage = 3 + (3 * _root.difficulty);
_root.HO.acceleration = 2;
_root.HO.health = 100;
_root.HO.range = 250;
_root.HO.xdiff = 90;
_root.HO.ydiff = -10;
_root.HO.cooldown = 45 - (5 * _root.difficulty);
_root.HO.landdiff = 30;
_root.HO.special = 5;
_root.HO.cashreward = 20 * _root.difficulty;
_root.DOLEVEL(2);
_root.main.Secondary = "glock";
_root.swordtype = "katana";
_root.main.Knife = "knife";
_root.main.Primary = "mac10";
_root.main.Gun = "mac10";
_root.switchGun();
if (_root.checkpoint) {
if (_root.hasak47) {
_root.main.Primary = "ak47";
_root.main.Gun = "ak47";
} else if (_root.hasshotgun) {
_root.main.Primary = "shotgun";
_root.main.Gun = "shotgun";
}
} else {
_root.sworded = false;
_root.main.hasmac10 = true;
_root.main.Gun = "mac10";
_root.hasak47 = false;
_root.hasshotgun = false;
}
_root.main.switchGun();
_root.main.health = 100;
_root.main.ammo = 50;
_root.main.nades = 2;
stop();
Frame 46
_root.powerUpsSmall = ["health", "health", "health", "cash", "cash", "cash", "ammo", "nades", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_root.powerUpsMedium = ["health", "health", "health", "health", "cash", "cash", "cash", "cash", "ammo", "ammobig", "nades", "armor", "damage", "speed", 0, 0, 0, 0, 0];
_root.powerUpsLarge = ["health", "health", "cash", "cash", "ammobig", "nades", "nades", "nades", "armor", "armor", "damage", "speed", "health", "health", "ammobig", "nades", "nades", "nades", "armor", "armor", "damage", "speed", "1up"];
_root.attachMovie("main", "main", 1000, {_x:245.3, _y:374.4});
_root.attachMovie("lighto", "lighto", 5000, {_x:420, _y:227});
_root.attachMovie("cam2", "cam", 10000, {_x:422.9, _y:245.4});
_root.CleanUp = function () {
delete eval (_root.main.onEnterFrame());
_root.main.removeMovieClip();
_root.cam.removeMovieClip();
_root.lighto.removeMovieClip();
_root.leftoffscreen.removeMovieClip();
_root.rightoffscreen.removeMovieClip();
_root.ground.removeMovieClip();
_root.trash.removeMovieClip();
_root.sky.removeMovieClip();
_root.didntdoit = false;
for (v in _root.enemyOnScreen) {
delete eval (enemyOnScreen[v].ref.onEnterFrame());
_root.enemyOnScreen[v].ref.removeMovieClip();
}
for (b in _root.ShitToDelete) {
delete eval (_root.ShitToDelete[b].ref.onEnterFrame());
_root.ShitToDelete[b].ref.removeMovieClip();
}
};
_root.Reset = function (changelevel) {
_root.CleanUp();
if (changelevel == 2) {
_root.gotoAndStop("end");
} else if (changelevel == "menu") {
_root.gotoAndStop("mainmenu");
_root.cashcollected = 0;
} else {
if (!_root.checkpoint) {
_root.cashcollected = 0;
}
_root.lives--;
if (_root.lives == 0) {
if (_root.continues > 0) {
_root.gotoAndStop("continue");
} else {
_root.gotoAndStop("gameover");
}
} else {
gotoAndStop ("reset");
}
}
};
_root.main.Primary = "ak47";
_root.main.Secondary = "glock";
_root.main.Knife = "knife";
_root.main.Gun = _root.main.Knife;
_root.main.switchGun();
_root.main.health = 100;
_root.swordtype = "katana";
if (_root.saveammo) {
_root.main.ammo = _root.saveammo;
_root.saveammo = 0;
} else {
_root.main.ammo = 200;
}
if (_root.savenades) {
_root.main.nades = _root.savenades;
_root.savenades = 0;
} else {
_root.main.nades = 3;
}
_root.DOLEVEL("snicker");
_root.control = 1;
_root.swordtype = "katana";
_root.cam.cutscenin = false;
_root.cam.OVERRIDE = false;
_root.cam.bossbar._visible = true;
_root.bossin = true;
_root.UNPAUSE();
stopAllSounds();
_root.snicker.start(0, 999);
_root.boss.gotoAndStop(1);
stop();
Instance of Symbol 3322 MovieClip "boss" in Frame 46
onClipEvent (load) {
this.health = 2000;
this.countdown = 0;
this.boss = true;
this.snicker = true;
this.DOIT = true;
this.unpause = false;
this.DIR = -1;
_root.enemyOnScreen.push({ref:_root.boss});
}
onClipEvent (enterFrame) {
if (this.health <= 0) {
if (!this.DEAd) {
this.gotoAndPlay("Die");
this.DEAd = true;
}
}
if (_root.bossflashing == true) {
_root.bossFlash();
}
if (_root.Paused) {
this.kog.stop();
this.unpause = true;
} else if (this.unpause) {
this.unpause = false;
this.kog.play();
}
}
Frame 50
stop();
Frame 56
stop();
Frame 61
_root.customize = true;
_root.maxhats = 10;
_root.maxshades = 3;
if (_root.user_so.data.hat) {
_root.hat = _root.user_so.data.hat;
} else {
_root.hat = 2;
}
if (_root.user_so.data.shades) {
_root.shades = _root.user_so.data.shades;
} else {
_root.shades = 1;
}
_root.onEnterFrame = function () {
_root.hatprice = _root.user_so.data["hat" + _root.hat].price;
_root.shadesprice = _root.user_so.data["shades" + _root.shades].price;
dollars.text = _root.cash;
totaltext.text = _root.shadesprice + _root.hatprice;
_root.totalprice = _root.shadesprice + _root.hatprice;
if (_root.hatprice == 0) {
hattext.text = "you own it";
} else {
hattext.text = _root.hatprice;
}
if (_root.shadesprice == 0) {
shadestext.text = "you own it";
} else {
shadestext.text = _root.shadesprice;
}
if (_root.totalprice > _root.cash) {
_root.notenough._visible = true;
} else {
root.notenough._visible = false;
}
};
Instance of Symbol 3491 MovieClip "notenough" in Frame 61
onClipEvent (load) {
this._visible = false;
}
Frame 64
_root.gotoAndStop("level" + _root.LEVEL);
Frame 67
stop();
_root.level2button._visible = false;
_root.earned.text = 0;
_root.displayedNUM = 0;
_root.MAX = _root.cashcollected;
_root.onEnterFrame = function () {
_root.MAX = _root.cashcollected;
if (_root.displayedNUM < _root.MAX) {
_root.displayedNUM = _root.displayedNUM + 10;
_root.earned.text = _root.displayedNUM;
} else if (_root.displayedNUM > _root.MAX) {
_root.displayedNUM = _root.MAX;
_root.earned.text = _root.displayedNUM + "!!!!";
}
_root.totalcash.text = _root.cash + _root.displayedNUM;
if (_root.displayedNUM == _root.MAX) {
_root.cash = _root.cash + _root.cashcollected;
_root.cashcollected = 0;
_root.totalcash.text = _root.cash;
_root.level2button._visible = true;
_root.onEnterFrame = function () {
};
}
};
Frame 70
_root.sky.removeMovieClip();
continuesleft.text = _root.continues;
Symbol 31 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 64
gotoAndPlay ("repeat");
Symbol 45 MovieClip [lettuce] Frame 12
stop();
Symbol 50 MovieClip [bigpatty] Frame 22
gotoAndPlay ("fall");
Symbol 50 MovieClip [bigpatty] Frame 44
this._visible = false;
stop();
Symbol 50 MovieClip [bigpatty] Frame 66
this._visible = false;
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 30
stop();
Symbol 61 MovieClip Frame 1
this._visible = false;
Symbol 63 MovieClip Frame 1
this._visible = false;
Symbol 77 MovieClip [health] Frame 1
stop();
Symbol 77 MovieClip [health] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 102 MovieClip [nades] Frame 1
stop();
Instance of Symbol 63 MovieClip in Symbol 102 MovieClip [nades] Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 102 MovieClip [nades] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 108 MovieClip [ammo] Frame 1
stop();
Instance of Symbol 63 MovieClip in Symbol 108 MovieClip [ammo] Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 108 MovieClip [ammo] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 130 MovieClip Frame 1
gotoAndStop(Math.floor((Math.random() * 13) + 2));
Symbol 131 MovieClip [cash] Frame 1
stop();
Symbol 131 MovieClip [cash] Frame 39
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 139 MovieClip [+ammobig] Frame 1
stop();
Instance of Symbol 63 MovieClip in Symbol 139 MovieClip [+ammobig] Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 139 MovieClip [+ammobig] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 141 MovieClip Frame 1
this._visible = false;
Symbol 174 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.main.kog.bean.hittest) and (!this.done)) {
this.done = true;
_root.main._y = _root.main._y - 10;
_root.main.ySpeed = JumpHeight;
_root.main.State = "JumpUp";
_root.main.bouncing = true;
_root.main.kog.gotoAndStop("JumpUp");
} else {
this.done = false;
}
};
Symbol 176 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("BF", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 178 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("FF", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 180 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("NUGGET", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 197 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!this.DONE)) {
this.DONE = true;
_root.hasak47 = true;
_root.main.Primary = "ak47";
_root.main.Gun = "ak47";
_root.main.switchGun();
this.play();
delete eval (this.onEnterFrame());
}
};
Instance of Symbol 63 MovieClip in Symbol 197 MovieClip Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 197 MovieClip Frame 37
stop();
Symbol 213 MovieClip [1up] Frame 1
stop();
Symbol 213 MovieClip [1up] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 214 MovieClip [LIGHT] Frame 1
_root.ShitToDelete.push({ref:this});
Symbol 216 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.main.kog.bean.hittest) and (!this.done)) {
this.done = true;
_root.main._y = _root.main._y - 10;
_root.main.ySpeed = JumpHeight;
if (JumpPush) {
_root.main.xSpeed = _root.main.xSpeed + JumpPush;
}
_root.main.State = "JumpUp";
_root.main.bouncing = true;
_root.main.kog.gotoAndStop("JumpUp");
} else {
this.done = false;
}
};
Instance of Symbol 216 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 30
stop();
Symbol 231 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!this.DONE)) {
this.DONE = true;
_root.sworded = true;
_root.main.Gun = "knife";
_root.swordtype = "katana";
_root.main.switchGun();
_root.cam.cutscenes.gotoAndPlay("katana");
_root.control = 0;
this.play();
delete eval (this.onEnterFrame());
}
};
Instance of Symbol 63 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 231 MovieClip Frame 37
stop();
Instance of Symbol 216 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
JumpPush = -50;
}
Instance of Symbol 216 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Instance of Symbol 225 MovieClip "table" in Symbol 233 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!THISDONE)) {
THISDONE = true;
this.play();
_root.ground.g.table.play();
}
}
Instance of Symbol 216 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
JumpPush = 30;
}
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "shroom";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 216 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Instance of Symbol 216 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Symbol 254 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!this.DONE)) {
this.DONE = true;
_root.hasshotgun = true;
_root.main.Primary = "shotgun";
_root.main.Gun = "shotgun";
_root.main.switchGun();
this.play();
delete eval (this.onEnterFrame());
}
};
Instance of Symbol 63 MovieClip in Symbol 254 MovieClip Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 254 MovieClip Frame 37
stop();
Symbol 293 MovieClip Frame 2
if (_parent.DOIT) {
_root.enemyOnScreen.push({ref:_root.ground.boss});
_parent.DOIT = false;
_parent.onEnterFrame = function () {
if (this.health <= 0) {
if (!this.DEAd) {
this.kog.bean.gotoAndPlay("Die");
this.DEAd = true;
}
}
if (_root.bossflashing == true) {
_root.bossFlash();
}
if (!this.DEAd) {
if (!this.TURNOFF) {
this.countdown--;
if (this.countdown <= 0) {
this.countdown = 400;
spee = _root.createEnemy("HO", (_root.cam._x + (_root.cam._width / 2)) + 100, _root.cam._y);
}
if (this.countdown == 200) {
spee = _root.createEnemy("HO", _root.cam._x - 500, _root.cam._y);
}
}
if (this.DIR == 1) {
this.center = ((this._x - this.kog.bean._x) + _root.groundx) - 9700;
_root.main.center = _root.main._x;
this.diff = this.center - _root.main.center;
} else if (this.DIR == -1) {
this.center = ((this._x + this.kog.bean._x) + _root.groundx) + 300;
_root.main.center = _root.main._x;
this.diff = this.center - _root.main.center;
}
if ((this.diff >= 0) and (this.DIR == -1)) {
this.kog.bean.toppart.gotoAndStop("Front");
this.kog.bean.bottompart.gotoAndStop("Front");
} else if ((this.diff < 0) and (this.DIR == -1)) {
this.kog.bean.toppart.gotoAndStop("Back");
this.kog.bean.bottompart.gotoAndStop("Back");
} else if ((this.diff <= 0) and (this.DIR == 1)) {
this.kog.bean.toppart.gotoAndStop("Front");
this.kog.bean.bottompart.gotoAndStop("Front");
} else if ((this.diff > 0) and (this.DIR == 1)) {
this.kog.bean.toppart.gotoAndStop("Back");
this.kog.bean.bottompart.gotoAndStop("Back");
}
}
};
}
Symbol 293 MovieClip Frame 17
_parent.play();
Symbol 313 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.Paused) {
if (!unpause) {
unpause = true;
stop();
}
} else if (unpause) {
play();
unpause = false;
}
};
Symbol 313 MovieClip Frame 7
if (((((((_root.main.kog.bean.hittest.hitTest(this.hittest1) or _root.main.kog.bean.hittest.hitTest(this.hittest2)) or _root.main.kog.bean.hittest.hitTest(this.hittest3)) or _root.main.kog.bean.hittest.hitTest(this.hittest4)) or _root.main.kog.bean.hittest.hitTest(this.hittest5)) or _root.main.kog.bean.hittest.hitTest(this.hittest6)) or _root.main.kog.bean.hittest.hitTest(this.hittest7)) or _root.main.kog.bean.hittest.hitTest(this.hittest8)) {
_root.main.getHurt(3, "bullet");
}
Symbol 318 MovieClip Frame 36
if (_parent.health >= 1500) {
_parent.gotoAndPlay("standoncar");
} else {
_parent.play();
}
Symbol 342 MovieClip Frame 95
_parent.play();
Instance of Symbol 63 MovieClip "hittest" in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
this.hitYET = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.kog.bean.hittest) and (!this.hitYET)) {
_root.main.getHurt(10, "crush");
this.hitYET = true;
}
}
Symbol 358 MovieClip Frame 31
_parent.play();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 388 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.Paused) {
if (!unpause) {
unpause = true;
stop();
}
} else if (unpause) {
play();
unpause = false;
}
};
Symbol 388 MovieClip Frame 36
gotoAndPlay (1);
Symbol 388 MovieClip Frame 37
_parent.hittest._name = "foot";
Symbol 388 MovieClip Frame 94
gotoAndPlay ("repeat");
Symbol 389 MovieClip Frame 203
if (_parent.DEAd) {
if (_parent.DIR == 1) {
_parent.gotoAndStop("Die1");
}
if (_parent.DIR == -1) {
_parent.gotoAndStop("Die2");
}
}
Symbol 389 MovieClip Frame 214
_parent.play();
Symbol 393 MovieClip Frame 46
stop();
Symbol 394 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.Paused) {
if (!unpause) {
unpause = true;
stop();
}
} else if (unpause) {
play();
unpause = false;
}
};
Symbol 394 MovieClip Frame 36
gotoAndPlay (1);
Symbol 394 MovieClip Frame 37
_parent.hittest._name = "foot";
Symbol 394 MovieClip Frame 94
gotoAndPlay ("repeat");
Symbol 395 MovieClip Frame 203
if (_parent.DEAd) {
if (_parent.DIR == 1) {
_parent.gotoAndStop("Die1");
}
if (_parent.DIR == -1) {
_parent.gotoAndStop("Die2");
}
}
Symbol 395 MovieClip Frame 238
_parent.play();
Instance of Symbol 63 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 436 MovieClip Frame 58
stop();
_root.boss3finished = true;
_parent.DEAD = true;
stopAllSounds();
_root.night.start();
Symbol 437 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 3
stop();
Symbol 437 MovieClip Frame 4
stop();
Symbol 437 MovieClip Frame 5
stop();
Symbol 437 MovieClip Frame 6
stop();
this.DIR = -1;
Symbol 437 MovieClip Frame 7
stop();
this.DIR = 1;
Symbol 437 MovieClip Frame 8
gotoAndStop ("right2leftdriveby");
Symbol 437 MovieClip Frame 9
stop();
Symbol 437 MovieClip Frame 10
stop();
Symbol 439 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("BURROBO", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 441 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("HO", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Instance of Symbol 77 MovieClip [health] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 102 MovieClip [nades] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "nades";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 139 MovieClip [+ammobig] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammobig";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 139 MovieClip [+ammobig] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammobig";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 139 MovieClip [+ammobig] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammobig";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 145 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 154 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 166 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 170 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 172 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 172 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 174 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
JumpHeight = -60;
}
Instance of Symbol 63 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.kog.bean.hittest)) {
_root.main.getHurt(500, "crush");
}
}
Instance of Symbol 63 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.kog.bean.hittest)) {
_root.Reset(2);
}
}
Instance of Symbol 191 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 63 MovieClip "boss3rightblocker" in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.hasntdoneit = true;
}
onClipEvent (enterFrame) {
if (_root.checkpoint != 2) {
if ((!_root.boss3finished) and _root.boss3started) {
if (this.hitTest(_root.cam)) {
_root.cam.canMoveRight = false;
}
}
if (this.hasntdoneit) {
if (_root.boss3finished) {
this.hasntdoneit = false;
_root.cam.canMoveRight = true;
_root.cam.canMoveLeft = true;
_root.cam.OVERRIDE = false;
_root.cam.bossbar._visible = false;
_root.main.CROUCHable = true;
_root.checkpoint = 2;
_root.bossin = false;
}
}
}
}
Instance of Symbol 63 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.hasntdoneit = true;
}
onClipEvent (enterFrame) {
if (_root.checkpoint != 2) {
if ((this.hitTest(_root.cam) and (!_root.boss1finished)) and this.hasntdoneit) {
this.hasntdoneit = false;
_root.checkpoint = 1;
_root.cam.canMoveLeft = false;
}
}
}
Instance of Symbol 63 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
didntdoit = true;
}
onClipEvent (enterFrame) {
if (_root.checkpoint != 2) {
if (_root.main.kog.bean.hittest.hitTest(this)) {
if (didntdoit) {
didntdoit = false;
_root.cam.crouchadjusted = false;
_root.cam.crouchtopadjusted = true;
_root.cam.topbound._xscale = 200;
_root.cam.cutscenes.gotoAndPlay("bigmac");
_root.control = 0;
_root.cam.xspeed = 40;
_root.main.CROUCHable = false;
_root.cam.OVERRIDE = true;
}
}
}
}
Instance of Symbol 213 MovieClip [1up] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 213 MovieClip [1up] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 213 MovieClip [1up] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 213 MovieClip [1up] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 213 MovieClip [1up] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 213 MovieClip [1up] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 214 MovieClip [LIGHT] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT8", 6508, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Instance of Symbol 214 MovieClip [LIGHT] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT9", 6509, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Instance of Symbol 221 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 233 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 238 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 249 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 214 MovieClip [LIGHT] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT2", 6502, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Instance of Symbol 214 MovieClip [LIGHT] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT3", 6503, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Instance of Symbol 214 MovieClip [LIGHT] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT4", 6504, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Instance of Symbol 214 MovieClip [LIGHT] in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT1", 6501, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Instance of Symbol 174 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Instance of Symbol 174 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Instance of Symbol 174 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Instance of Symbol 437 MovieClip "boss" in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
this.health = 2000;
this.TURNOFF = 0;
this.countdown = 0;
this.boss = true;
this.kog.stop();
this._visible = false;
this.DOIT = true;
this.DIR = -1;
}
Instance of Symbol 174 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Instance of Symbol 174 MovieClip in Symbol 442 MovieClip [ground2] Frame 1
onClipEvent (load) {
JumpHeight = -110;
}
Symbol 448 MovieClip [downblood] Frame 10
this.removeMovieClip();
_root.bloodcount--;
Symbol 454 MovieClip [blood] Frame 10
this.removeMovieClip();
_root.bloodcount--;
Symbol 460 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 1
stop();
Instance of Symbol 460 MovieClip in Symbol 475 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 475 MovieClip Frame 8
gotoAndStop (1);
Instance of Symbol 474 MovieClip in Symbol 475 MovieClip Frame 11
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 475 MovieClip Frame 21
gotoAndStop (1);
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 2
_root.main.body.gotoAndPlay("shoot");
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 511 MovieClip Frame 8
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 511 MovieClip Frame 14
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 511 MovieClip Frame 20
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 512 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 30
_parent.DO = false;
Symbol 524 MovieClip Frame 1
_root.killStart(_parent);
this.FACE = _parent.FACE;
Instance of Symbol 460 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.FACE);
}
Symbol 524 MovieClip Frame 20
_root.dropPowerup(_parent);
Symbol 524 MovieClip Frame 59
_parent.DEAD = true;
Symbol 525 MovieClip [BURROBO] Frame 1
stop();
Symbol 536 MovieClip Frame 1
stop();
Symbol 536 MovieClip Frame 8
gotoAndStop (1);
Symbol 536 MovieClip Frame 21
gotoAndStop (1);
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 3
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 546 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 20
_parent.DO = false;
Symbol 558 MovieClip Frame 20
_parent.DO = false;
Symbol 576 MovieClip Frame 1
_root.killStart(_parent);
Symbol 576 MovieClip Frame 21
_root.dropPowerup(_parent);
Symbol 576 MovieClip Frame 45
_parent.DEAD = true;
Symbol 578 MovieClip Frame 1
_root.killStart(_parent);
Symbol 578 MovieClip Frame 57
_parent.DEAD = true;
Symbol 579 MovieClip [FF] Frame 1
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 3
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 598 MovieClip Frame 7
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 598 MovieClip Frame 11
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 598 MovieClip Frame 15
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 599 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent.FACE);
Symbol 611 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 8
gotoAndStop (1);
Symbol 611 MovieClip Frame 20
gotoAndStop (1);
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 3
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 630 MovieClip Frame 7
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 630 MovieClip Frame 11
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 630 MovieClip Frame 15
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 631 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 21
_parent.DO = false;
Symbol 633 MovieClip Frame 20
_parent.DO = false;
Symbol 636 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 657 MovieClip Frame 1
_root.killStart(_parent);
Symbol 657 MovieClip Frame 19
_root.dropPowerup(_parent);
Symbol 657 MovieClip Frame 60
_parent.DEAD = true;
Symbol 674 MovieClip Frame 1
_root.killStart(_parent);
Symbol 674 MovieClip Frame 60
_parent.DEAD = true;
Symbol 675 MovieClip [BF] Frame 1
stop();
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 691 MovieClip Frame 6
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 691 MovieClip Frame 10
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 691 MovieClip Frame 14
_root.enemyShoot(_parent._parent._parent, "mac10");
Symbol 692 MovieClip Frame 1
stop();
Symbol 698 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent.FACE);
Symbol 707 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 7
gotoAndStop (1);
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 34
_root.main.throwNade(1, this._parent._parent);
Symbol 722 MovieClip Frame 20
_parent.DO = false;
Symbol 732 MovieClip Frame 25
_parent.DO = false;
Symbol 743 MovieClip Frame 1
_root.killStart(_parent);
Symbol 743 MovieClip Frame 9
_root.dropPowerup(_parent);
Symbol 743 MovieClip Frame 38
_parent.DEAD = true;
Symbol 744 MovieClip [PIZZA] Frame 1
stop();
Symbol 749 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent.FACE);
Symbol 755 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 8
gotoAndStop (1);
Symbol 755 MovieClip Frame 20
gotoAndStop (1);
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 3
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 769 MovieClip Frame 9
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 769 MovieClip Frame 15
_root.enemyShoot(_parent._parent._parent, "ak47");
Symbol 770 MovieClip Frame 1
stop();
Instance of Symbol 63 MovieClip "hittest" in Symbol 771 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 771 MovieClip Frame 29
_parent.DO = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 772 MovieClip Frame 20
_parent.DO = false;
Symbol 777 MovieClip Frame 1
_root.killStart(_parent);
Symbol 777 MovieClip Frame 14
_root.dropPowerup(_parent);
Symbol 777 MovieClip Frame 50
this._parent.DEAD = true;
this.DEAD = true;
Symbol 778 MovieClip [HO] Frame 1
stop();
Symbol 785 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent.FACE);
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 7
gotoAndStop (1);
Symbol 809 MovieClip Frame 1
stop();
Symbol 809 MovieClip Frame 2
_root.enemyShoot(_parent._parent._parent, "shotgun");
_root.enemyShoot(_parent._parent._parent, "shotgun");
_root.enemyShoot(_parent._parent._parent, "shotgun");
_root.enemyShoot(_parent._parent._parent, "shotgun");
Symbol 810 MovieClip Frame 1
stop();
Instance of Symbol 63 MovieClip "hittest" in Symbol 813 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 813 MovieClip Frame 20
_parent.DO = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 841 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 841 MovieClip Frame 28
_parent.DO = false;
Symbol 874 MovieClip Frame 1
_root.killStart(_parent);
Symbol 874 MovieClip Frame 20
_root.dropPowerup(_parent);
Symbol 874 MovieClip Frame 52
this._parent.DEAD = true;
this.DEAD = true;
Symbol 875 MovieClip [NUGGET] Frame 1
stop();
Symbol 887 MovieClip Frame 1
stop();
Symbol 887 MovieClip Frame 2
_root.enemyShoot(_parent._parent._parent, "glock");
Symbol 888 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent.FACE);
Symbol 903 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 7
gotoAndStop (1);
Symbol 903 MovieClip Frame 8
_parent._parent.DO = true;
Symbol 903 MovieClip Frame 16
_parent._parent.DO = false;
gotoAndStop (1);
Instance of Symbol 63 MovieClip "hittest" in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 904 MovieClip Frame 20
_parent.DO = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 915 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 915 MovieClip Frame 20
_parent.DO = false;
Symbol 934 MovieClip Frame 1
_root.killStart(_parent);
Symbol 934 MovieClip Frame 19
_root.dropPowerup(_parent);
Symbol 934 MovieClip Frame 46
this._parent.DEAD = true;
this.DEAD = true;
Symbol 943 MovieClip Frame 1
_root.killStart(_parent);
Symbol 943 MovieClip Frame 3
oneortwo = Math.round(Math.random());
if (oneortwo == 1) {
_parent._xscale = 100;
} else if (oneortwo == 0) {
_parent._xscale = -100;
}
Symbol 943 MovieClip Frame 84
_parent.DEAD = true;
Symbol 944 MovieClip [CC] Frame 1
stop();
Symbol 952 MovieClip Frame 1
stop();
Symbol 952 MovieClip Frame 2
_parent._parent.stop();
Symbol 952 MovieClip Frame 14
_parent._parent.play();
Symbol 953 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 1
stop();
gotoAndStop(_parent._parent._parent.FACE);
Symbol 965 MovieClip Frame 1
stop();
Instance of Symbol 959 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 965 MovieClip Frame 2
_parent._parent.DO = true;
Symbol 965 MovieClip Frame 10
_parent._parent.DO = false;
Symbol 972 MovieClip Frame 1
stop();
Symbol 972 MovieClip Frame 2
_parent._parent.stop();
Symbol 972 MovieClip Frame 12
_parent._parent.play();
Symbol 973 MovieClip Frame 1
stop();
Instance of Symbol 63 MovieClip "hittest" in Symbol 974 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 974 MovieClip Frame 20
_parent.DO = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 985 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 959 MovieClip in Symbol 985 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 985 MovieClip Frame 22
_parent.DO = false;
Symbol 1008 MovieClip Frame 1
_root.killStart(_parent);
Symbol 1008 MovieClip Frame 17
_root.dropPowerup(_parent);
Symbol 1008 MovieClip Frame 53
this._parent.DEAD = true;
this.DEAD = true;
Symbol 1025 MovieClip Frame 1
_root.killStart(_parent);
Symbol 1025 MovieClip Frame 65
this._parent.DEAD = true;
this.DEAD = true;
Symbol 1026 MovieClip [FP] Frame 1
stop();
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1059 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 1059 MovieClip Frame 2
_parent.stop();
Instance of Symbol 1039 MovieClip in Symbol 1059 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1045 MovieClip in Symbol 1059 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1051 MovieClip in Symbol 1059 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1057 MovieClip in Symbol 1059 MovieClip Frame 11
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1033 MovieClip in Symbol 1059 MovieClip Frame 18
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 1059 MovieClip Frame 19
_parent.play();
Instance of Symbol 63 MovieClip "hittest" in Symbol 1060 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 1060 MovieClip Frame 24
_parent.DO = false;
Symbol 1065 MovieClip Frame 8
stop();
Symbol 1091 MovieClip Frame 1
_root.killStart(_parent);
Symbol 1091 MovieClip Frame 3
_root.dropPowerup(_parent);
Instance of Symbol 1072 MovieClip in Symbol 1091 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1078 MovieClip in Symbol 1091 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1084 MovieClip in Symbol 1091 MovieClip Frame 7
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Instance of Symbol 1090 MovieClip in Symbol 1091 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop(_parent._parent._parent.FACE);
}
Symbol 1091 MovieClip Frame 29
this._parent.DEAD = true;
this.DEAD = true;
Symbol 1092 MovieClip [NN] Frame 1
stop();
Symbol 1093 MovieClip [bloodslice] Frame 14
this.removeMovieClip();
_root.bloodcount--;
Symbol 1096 MovieClip Frame 1
this._visible = false;
Symbol 1105 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("FP", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 1106 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("CC", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 1113 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.main.kog.bean.hittest) and (!this.done)) {
this.done = true;
_root.main._y = _root.main._y - 10;
_root.main.ySpeed = JumpHeight;
_root.main.State = "JumpUp";
_root.main.bouncing = true;
_root.main.kog.gotoAndStop("JumpUp");
} else {
this.done = false;
}
};
Instance of Symbol 1113 MovieClip in Symbol 1114 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -80;
}
Symbol 1123 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!this.DONE)) {
this.DONE = true;
_root.hasmac10 = true;
_root.main.Primary = "mac10";
_root.main.Gun = "mac10";
_root.main.switchGun();
this.play();
delete eval (this.onEnterFrame());
}
};
Symbol 1123 MovieClip Frame 2
Instance of Symbol 63 MovieClip in Symbol 1123 MovieClip Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1123 MovieClip Frame 37
stop();
Instance of Symbol 1113 MovieClip in Symbol 1139 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -135;
}
Symbol 1160 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!this.DONE)) {
this.DONE = true;
_root.main.Secondary = "glock";
_root.main.Gun = "glock";
_root.hasglock = true;
_root.main.switchGun();
this.play();
delete eval (this.onEnterFrame());
}
};
Instance of Symbol 63 MovieClip in Symbol 1160 MovieClip Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1160 MovieClip Frame 38
stop();
Instance of Symbol 1113 MovieClip "gum" in Symbol 1161 MovieClip Frame 1
onClipEvent (load) {
JumpHeight = -70;
}
Symbol 1168 MovieClip Frame 1
stop();
Symbol 1169 MovieClip Frame 1
stop();
Symbol 1174 MovieClip Frame 1
delete _parent.onEnterFrame;
_parent.TURNOFF = true;
Instance of Symbol 63 MovieClip in Symbol 1174 MovieClip Frame 1
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1174 MovieClip Frame 10
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1174 MovieClip Frame 19
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1174 MovieClip Frame 30
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1174 MovieClip Frame 65
stop();
for (f in _root.enemyOnScreen) {
if (_root.enemyOnScreen[f].ref.NAN) {
_root.enemyOnScreen.splice(v, 1);
}
}
Symbol 1175 MovieClip Frame 1
stop();
Instance of Symbol 1175 MovieClip "nnbag1" in Symbol 1176 MovieClip Frame 1
onClipEvent (load) {
this.health = 200;
this.dead = false;
this.countdown = 1;
this.Active = false;
this.NAN = true;
this.TURNOFF = false;
}
onClipEvent (enterFrame) {
if (!this.Active) {
if (_parent.camhittest.hitTest(_root.cam)) {
_root.enemyOnScreen.push({ref:_root.ground.nnsection.nnbag1});
this.Active = true;
}
} else if (this.Active and (!this.TURNOFF)) {
this.countdown--;
if (this.countdown <= 0) {
this.countdown = 100;
spee = _root.createEnemy("NN", (_parent._x + 7247) + 1088, _parent._y - 559);
spee.ySpeed = -30;
spee.jumping = true;
}
}
}
Symbol 1181 MovieClip Frame 1
alreadydidit = false;
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest)) {
if (!alreadydidit) {
alreadydidit = true;
_root.main.getHurt(20, "crush");
}
}
};
Symbol 1183 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("NN", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 1184 MovieClip Frame 1
this.onLoad = function () {
this.DONE = false;
};
this.onEnterFrame = function () {
if (this.hitTest(_root.sky) and (!this.DONE)) {
_root.createEnemy("PIZZA", this._x + _root.groundx, this._y + _root.groundy);
this._visible = false;
this.DONE = true;
delete this.onEnterFrame;
}
};
Symbol 1214 MovieClip Frame 1
stop();
Symbol 1217 MovieClip Frame 1
stop();
Instance of Symbol 1234 MovieClip "test" in Symbol 1244 MovieClip Frame 24
/* no clip actions */
Symbol 1244 MovieClip Frame 29
_root.camShake(40, 10);
Symbol 1244 MovieClip Frame 31
Test = false;
Symbol 1244 MovieClip Frame 80
Test = true;
Symbol 1244 MovieClip Frame 91
_root.camShake(60, 5);
Symbol 1244 MovieClip Frame 93
Test = false;
Symbol 1244 MovieClip Frame 142
Test = true;
Symbol 1244 MovieClip Frame 245
_parent.play();
Symbol 1258 MovieClip Frame 1
Test = false;
Symbol 1258 MovieClip Frame 32
Test = true;
Symbol 1258 MovieClip Frame 36
_root.camShake(60, 10);
Symbol 1258 MovieClip Frame 44
Test = false;
Symbol 1258 MovieClip Frame 63
Test = true;
Symbol 1258 MovieClip Frame 91
Test = false;
Symbol 1258 MovieClip Frame 104
Test = true;
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 3
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 6
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 9
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 12
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 16
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 21
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 24
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 26
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 37
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 40
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 43
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 46
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 50
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 55
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 58
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 60
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 71
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 71
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1280 MovieClip Frame 74
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1280 MovieClip Frame 139
this._name = "NO";
_root.boss1finished = true;
stopAllSounds();
_root.gangsta.start(0, 999);
stop();
Symbol 1281 MovieClip [CB] Frame 1
stop();
Symbol 1281 MovieClip [CB] Frame 2
_root.enemyOnScreen.push({ref:_root.ground.boss});
this.onEnterFrame = function () {
if (_root.bossflashing == true) {
_root.bossFlash();
}
if (_root.Paused) {
this.stop();
this.kog.stop();
this.unpause = true;
} else if (this.unpause == true) {
this.unpause = false;
this.kog.play();
if (((((this._currentframe != 137) and (this._currentframe != 138)) and (this._currentframe != 139)) and (this._currentframe != 140)) and (!this.DEAD)) {
this.play();
}
}
};
Symbol 1281 MovieClip [CB] Frame 137
stop();
this.DIRECTION = "RIGHT";
Instance of Symbol 1244 MovieClip "kog" in Symbol 1281 MovieClip [CB] Frame 137
onClipEvent (enterFrame) {
if (Test) {
if (NotHit) {
if (this.hitTest(_root.main.kog.bean.hittest)) {
NotHit = false;
_root.main.getHurt(10, "punch");
}
}
} else {
NotHit = true;
}
}
Symbol 1281 MovieClip [CB] Frame 138
if (this.health >= 1500) {
play();
} else {
gotoAndPlay ("jumpfromleft");
}
Symbol 1281 MovieClip [CB] Frame 139
stop();
this.DIRECTION = "LEFT";
Instance of Symbol 1244 MovieClip "kog" in Symbol 1281 MovieClip [CB] Frame 139
onClipEvent (enterFrame) {
if (Test) {
if (NotHit) {
if (this.hitTest(_root.main.kog.bean.hittest)) {
NotHit = false;
_root.main.getHurt(10, "punch");
}
}
} else {
NotHit = true;
}
}
Symbol 1281 MovieClip [CB] Frame 140
if (this.health >= 1500) {
gotoAndPlay ("repeatone");
} else {
gotoAndPlay ("jumpfromright");
}
Symbol 1281 MovieClip [CB] Frame 165
this._x = (_root.main._x - _root.groundx) + 150;
this.DIRECTION = "LEFT";
Instance of Symbol 1258 MovieClip "kog" in Symbol 1281 MovieClip [CB] Frame 165
onClipEvent (enterFrame) {
if (Test) {
if (NotHit) {
if (this.hitTest(_root.main.kog.bean.hittest)) {
NotHit = false;
_root.main.getHurt(10, "crush");
}
}
} else {
NotHit = true;
}
}
Symbol 1281 MovieClip [CB] Frame 335
gotoAndPlay ("jumpfromleft");
Symbol 1281 MovieClip [CB] Frame 360
gotoAndPlay ("fall");
Instance of Symbol 1280 MovieClip in Symbol 1281 MovieClip [CB] Frame 361
onClipEvent (load) {
if (_parent.DIRECTION == "RIGHT") {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.DIRECTION == "RIGHT") {
_parent._visible = false;
}
}
Instance of Symbol 1280 MovieClip in Symbol 1281 MovieClip [CB] Frame 361
onClipEvent (load) {
if (_parent.DIRECTION == "LEFT") {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_parent.DIRECTION == "LEFT") {
this._visible = false;
}
}
Symbol 1289 MovieClip Frame 1
stop();
Symbol 1289 MovieClip Frame 2
_parent.stop();
Symbol 1289 MovieClip Frame 9
if (_root.main.kog.bean.hittest.hitTest(this.hittest)) {
_root.main.getHurt(20, "punch");
}
Symbol 1289 MovieClip Frame 17
this.hityet = false;
Symbol 1310 MovieClip Frame 1
this.onEnterFrame = function () {
if ((!this.hit) and (!_root.Paused)) {
if (this.hittest.hitTest(_root.main.kog.bean.hittest)) {
this.hit = true;
_root.main.health = _root.main.health - 10;
_root.main.kog.bean.body.gotoAndPlay("hit");
this.gotoAndPlay("hit");
} else {
gotoAndStop (1);
this._x = this._x - 30;
}
}
};
Symbol 1310 MovieClip Frame 16
_parent.gotoAndPlay("end");
stop();
Symbol 1317 MovieClip Frame 8
_parent.shooting = true;
Symbol 1317 MovieClip Frame 49
_parent.shooting = false;
_parent._parent._parent._parent.shootcount++;
Symbol 1318 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent._parent._parent.DOIT) {
this.nozzle.stop();
} else {
this.nozzle.play();
}
if ((!this.shooting) or _parent._parent._parent.DOIT) {
if (_parent._parent._parent.shootcount >= 3) {
_parent._parent._parent.gotoAndStop("shootup");
_parent._parent._parent.shootcount = 0;
}
xDistance = _root.main._x - ((this._parent._parent._parent._x + _root.groundx) + 200);
yDistance = _root.main._y - ((this._parent._parent._parent._y + _root.groundy) + 100);
normalise = Math.abs(xDistance) + Math.abs(yDistance);
if ((xDistance >= 0) & (yDistance >= 0)) {
aim = 90 * (yDistance / normalise);
} else if ((xDistance <= 0) && (yDistance >= 0)) {
aim = (-90 * (xDistance / normalise)) + 90;
} else if ((xDistance <= 0) && (yDistance <= 0)) {
aim = (-90 * (yDistance / normalise)) + 180;
} else {
aim = (90 * (xDistance / normalise)) + 270;
}
this._rotation = aim;
}
};
Symbol 1328 MovieClip Frame 5
_parent._parent._parent._parent.shootcount++;
if (_parent._parent._parent._parent.shootcount >= 20) {
_parent._parent._parent._parent.shootcount = 0;
_parent._parent._parent._parent.shootingup = false;
_parent._parent._parent._parent.gotoAndStop(2);
}
_root.createICE();
Symbol 1328 MovieClip Frame 11
_parent._parent._parent._parent.shootcount++;
if (_parent._parent._parent._parent.shootcount >= 20) {
_parent._parent._parent._parent.shootcount = 0;
_parent._parent._parent._parent.shootingup = false;
_parent._parent._parent._parent.gotoAndStop(2);
}
_root.createICE();
Symbol 1328 MovieClip Frame 17
_parent._parent._parent._parent.shootcount++;
if (_parent._parent._parent._parent.shootcount >= 20) {
_parent._parent._parent._parent.shootcount = 0;
_parent._parent._parent._parent.shootingup = false;
_parent._parent._parent._parent.gotoAndStop(2);
}
_root.createICE();
Symbol 1328 MovieClip Frame 22
GO = true;
Symbol 1329 MovieClip Frame 1
stop();
Symbol 1329 MovieClip Frame 2
stop();
Symbol 1329 MovieClip Frame 3
stop();
Symbol 1331 MovieClip Frame 1
this.body.straw.gotoAndStop(2);
Symbol 1331 MovieClip Frame 18
body.straw.gotoAndStop(3);
Symbol 1331 MovieClip Frame 23
gotoAndPlay ("tremble");
Instance of Symbol 63 MovieClip in Symbol 1368 MovieClip Frame 97
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1368 MovieClip Frame 167
stop();
_root.boss2finished = true;
_root.cam.OVERRIDE = true;
_root.cam.cutscenin = true;
_root.Control = 0;
_root.PAUSE(1);
_root.cam.cutscenes.gotoAndPlay("level1end");
stopAllSounds();
Symbol 1369 MovieClip Frame 1
stop();
Symbol 1369 MovieClip Frame 2
if (this.DOIT) {
stop();
this.boss = true;
_root.enemyOnScreen.push({ref:_root.ground.boss});
this.DOIT = false;
this.onEnterFrame = function () {
if (_root.bossflashing == true) {
_root.bossFlash();
}
if (_root.main.kog.bean.hittest.hitTest(this.puncharea)) {
this.arms.lefthand.play();
}
if (_root.Paused) {
this.unpause = true;
if (this._currentframe == 3) {
this.kog.stop();
this.kog.body.straw.nozzle.stop();
} else {
this.kog.straw.nozzle.nozzle.stop();
}
} else if (this.unpause == true) {
this.unpause = false;
if (this._currentframe == 3) {
this.kog.body.straw.nozzle.play();
this.kog.play();
} else {
this.kog.straw.nozzle.nozzle.play();
}
}
};
}
Symbol 1369 MovieClip Frame 3
stop();
Symbol 1369 MovieClip Frame 4
stop();
Instance of Symbol 1104 MovieClip "para" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1108 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1104 MovieClip "para2" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1114 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1116 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1124 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1126 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1129 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1131 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1133 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1135 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1139 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1142 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1145 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1152 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1161 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1176 MovieClip "nnsection" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1182 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 63 MovieClip "boss1rightblocker" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.hasntdoneit = true;
}
onClipEvent (enterFrame) {
if (_root.checkpoint != 2) {
if ((!_root.boss1finished) and _root.boss1started) {
if (this.hitTest(_root.cam)) {
_root.cam.canMoveRight = false;
}
}
if (this.hasntdoneit) {
if (_root.boss1finished) {
this.hasntdoneit = false;
_root.cam.canMoveRight = true;
_root.cam.canMoveLeft = true;
_root.cam.OVERRIDE = false;
_root.cam.bossbar._visible = false;
_root.main.CROUCHable = true;
_root.checkpoint = 2;
_root.bossin = false;
}
}
}
}
Instance of Symbol 63 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.hasntdoneit = true;
}
onClipEvent (enterFrame) {
if (_root.checkpoint != 2) {
if ((this.hitTest(_root.cam) and (!_root.boss1finished)) and this.hasntdoneit) {
this.hasntdoneit = false;
_root.checkpoint = 1;
_root.cam.canMoveLeft = false;
}
}
}
Instance of Symbol 63 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
didntdoit = true;
}
onClipEvent (enterFrame) {
if (_root.checkpoint != 2) {
if (_root.main.kog.bean.hittest.hitTest(this)) {
if (didntdoit) {
didntdoit = false;
_root.cam.crouchadjusted = false;
_root.cam.crouchtopadjusted = true;
_root.cam.topbound._xscale = 200;
_root.cam.cutscenes.gotoAndPlay("chocolatebar");
_root.control = 0;
_root.cam.xspeed = 40;
_root.main.CROUCHable = false;
_root.cam.OVERRIDE = true;
}
}
}
}
Instance of Symbol 1188 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1190 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (enterFrame) {
_root.doSection(this);
}
Instance of Symbol 1281 MovieClip [CB] "boss3" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.health = 3000;
this.boss = true;
this._visible = false;
}
Instance of Symbol 77 MovieClip [health] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 102 MovieClip [nades] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "nades";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 139 MovieClip [+ammobig] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammobig";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 102 MovieClip [nades] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "nades";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 108 MovieClip [ammo] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammo";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 213 MovieClip [1up] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "1up";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 131 MovieClip [cash] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "cash";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 63 MovieClip "boss2rightblocker" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
didntdoit = true;
}
onClipEvent (enterFrame) {
if ((!_root.boss2finished) and _root.boss2started) {
_root.cam.canMoveRight = false;
}
if (_root.boss2finished) {
}
}
Instance of Symbol 63 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.hasntdoneit = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.cam) and (!_root.boss2finished)) and this.hasntdoneit) {
this.hasntdoneit = false;
_root.cam.canMoveLeft = false;
}
}
Instance of Symbol 63 MovieClip in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
didntdoit = true;
}
onClipEvent (enterFrame) {
if (_root.main.kog.bean.hittest.hitTest(this)) {
if (didntdoit) {
didntdoit = false;
_root.cam.crouchadjusted = false;
_root.cam.crouchtopadjusted = true;
_root.cam.topbound._xscale = 200;
_root.cam.cutscenes.gotoAndPlay("icee");
_root.control = 0;
_root.cam.xspeed = 40;
_root.main.CROUCHable = false;
_root.cam.OVERRIDE = true;
}
}
}
Instance of Symbol 1369 MovieClip "boss2" in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.shootcount = 0;
this.health = 3000;
this.boss = true;
this.stop();
this._visible = false;
this.DOIT = true;
}
Instance of Symbol 139 MovieClip [+ammobig] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammobig";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 139 MovieClip [+ammobig] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "ammobig";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 77 MovieClip [health] in Symbol 1370 MovieClip [ground] Frame 1
onClipEvent (load) {
this.placed = true;
this.whichone = "health";
}
onClipEvent (enterFrame) {
_root.POWERUP(this);
}
Instance of Symbol 63 MovieClip in Symbol 1372 MovieClip [trash] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.cam)) {
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 1419 MovieClip [C4] Frame 1
stop();
Symbol 1419 MovieClip [C4] Frame 30
_root.main.throwNade(1, this, 0.75, 1, true);
_root.main.throwNade(1, this, 0.5, 1, true);
_root.main.throwNade(1, this, 0.25, 1, true);
_root.main.throwNade(1, this, 0.75, -1, true);
_root.main.throwNade(1, this, 0.5, -1, true);
_root.main.throwNade(1, this, 0.25, -1, true);
Symbol 1419 MovieClip [C4] Frame 63
_root.endAssist(this);
Symbol 1444 MovieClip [C3] Frame 1
stop();
Symbol 1444 MovieClip [C3] Frame 30
_root.main.shoot("AWP", true, true);
Symbol 1444 MovieClip [C3] Frame 62
_root.endAssist(this);
Symbol 1487 MovieClip [C2] Frame 1
stop();
Symbol 1487 MovieClip [C2] Frame 131
_root.endAssist(this);
Symbol 1506 MovieClip [C1] Frame 1
stop();
Symbol 1506 MovieClip [C1] Frame 24
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 27
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 30
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 33
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 36
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 39
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 42
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 45
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 48
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 51
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 54
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 57
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 60
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 63
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 66
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 69
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 72
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 75
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 78
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 81
_root.main.shoot("mac10", true, false, 1);
_root.main.shoot("mac10", true, false, -1);
Symbol 1506 MovieClip [C1] Frame 122
_root.endAssist(this);
Symbol 1509 MovieClip Frame 1
this._visible = false;
Symbol 1512 MovieClip [bound] Frame 1
this._visible = false;
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1522 MovieClip Frame 2
_root.cam._y = _root.cam._y - intensity;
Symbol 1522 MovieClip Frame 4
_root.cam._y = _root.cam._y + intensity;
Symbol 1529 MovieClip Frame 1
stop();
Symbol 1532 MovieClip Frame 1
stop();
Symbol 1534 MovieClip Frame 1
stop();
Symbol 1534 MovieClip Frame 30
stop();
Symbol 1545 MovieClip Frame 1
stop();
Symbol 1545 MovieClip Frame 13
stop();
Symbol 1545 MovieClip Frame 25
stop();
Symbol 1563 MovieClip Frame 1
stop();
Symbol 1564 MovieClip Frame 1
stop();
Symbol 1571 MovieClip Frame 1
stop();
Symbol 1572 MovieClip Frame 1
stop();
Instance of Symbol 1570 MovieClip "cashdisplay" in Symbol 1573 MovieClip Frame 1
onClipEvent (enterFrame) {
this.cashtext.text = _root.cashcollected;
}
Symbol 1575 MovieClip Frame 1
stop();
Symbol 1586 MovieClip Frame 1
stop();
Symbol 1591 MovieClip Frame 1
stop();
Symbol 1595 MovieClip Frame 20
stop();
Symbol 1597 MovieClip Frame 20
stop();
Symbol 1599 MovieClip Frame 20
stop();
Symbol 1602 MovieClip Frame 20
stop();
Symbol 1603 MovieClip Frame 1
stop();
Symbol 1603 MovieClip Frame 2
_root.main.specialbar = _root.main.specialbar + 5;
Symbol 1603 MovieClip Frame 3
_root.main.specialbar = _root.main.specialbar + 10;
Symbol 1603 MovieClip Frame 4
_root.main.specialbar = _root.main.specialbar + 15;
Symbol 1603 MovieClip Frame 5
_root.main.specialbar = _root.main.specialbar + 40;
Symbol 1607 Button
on (press) {
_root.Reset("menu");
}
Symbol 1611 Button
on (press) {
_root._quality = "LOW";
}
Symbol 1613 Button
on (press) {
_root._quality = "MEDIUM";
}
Symbol 1615 Button
on (press) {
_root._quality = "HIGH";
}
Symbol 1618 Button
on (press) {
gotoAndStop (2);
}
Symbol 1620 Button
on (press) {
_root.Reset();
}
Symbol 1630 MovieClip Frame 1
if (_root.main.Gun == "glock") {
this._visible = true;
} else {
this._visible = false;
}
Symbol 1641 MovieClip Frame 1
stop();
gotoAndStop(_root.hat);
if (_root.customize == true) {
this.onEnterFrame = function () {
gotoAndStop(_root.hat);
};
}
Symbol 1643 MovieClip Frame 1
if (_root.showarmor == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 1649 MovieClip Frame 1
gotoAndStop(_root.shades);
if (_root.customize) {
this.onEnterFrame = function () {
gotoAndStop(_root.shades);
};
}
Symbol 1651 MovieClip Frame 1
stop();
Symbol 1654 MovieClip Frame 1
_root.doFoot(this);
Symbol 1656 MovieClip Frame 1
_root.doFoot(this);
Symbol 1658 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 1660 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 1666 MovieClip Frame 1
stop();
_root.main.gunStart("ak47");
Symbol 1666 MovieClip Frame 3
_root.main.shoot("ak47");
Symbol 1666 MovieClip Frame 8
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1666 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1671 MovieClip Frame 1
stop();
_root.main.gunStart("ak47");
Symbol 1671 MovieClip Frame 3
_root.main.shootdown("ak47");
Symbol 1671 MovieClip Frame 8
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1671 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1678 MovieClip Frame 7
_root.main.switchGun();
Symbol 1682 MovieClip Frame 1
_root.main.frametrack = 1;
Symbol 1682 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 1683 MovieClip Frame 1
stop();
Symbol 1683 MovieClip Frame 2
stop();
Symbol 1683 MovieClip Frame 3
stop();
Symbol 1683 MovieClip Frame 4
stop();
Symbol 1698 MovieClip Frame 1
stop();
_root.main.gunStart("glock");
Symbol 1698 MovieClip Frame 7
_root.main.shoot("glock");
Symbol 1698 MovieClip Frame 20
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1698 MovieClip Frame 22
gotoAndStop (1);
Symbol 1708 MovieClip Frame 1
stop();
_root.main.gunStart("glock");
Symbol 1708 MovieClip Frame 7
_root.main.shootdown("glock");
Symbol 1708 MovieClip Frame 20
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1708 MovieClip Frame 22
gotoAndStop (1);
Symbol 1712 MovieClip Frame 1
_root.main.frametrack = 1;
Symbol 1712 MovieClip Frame 6
_root.main.switchGun();
Symbol 1717 MovieClip Frame 1
_root.main.frametrack = 1;
Symbol 1717 MovieClip Frame 18
stop();
_parent.gotoAndPlay(1);
Symbol 1722 MovieClip [nade] Frame 21
this.timerr = this.timerr + 1;
if (this.timerr >= 5) {
this.gotoAndPlay("explode");
}
if (!this.exploding) {
gotoAndPlay (1);
}
Symbol 1722 MovieClip [nade] Frame 25
this.onEnterFrame = function () {
if (!_root.Paused) {
for (r in _root.enemyOnScreen) {
if (this.hittest.hitTest(_root.enemyOnScreen[r].ref.kog.hittest)) {
if (!lowdamage) {
_root.enemyOnScreen[r].ref.health = _root.enemyOnScreen[r].ref.health - 50;
} else {
_root.enemyOnScreen[r].ref.health = _root.enemyOnScreen[r].ref.health - 20;
}
if (_root.enemyOnScreen[r].ref.health <= 0) {
_root.enemyOnScreen[r].ref.gotoAndStop("DieExplosion");
} else {
_root.enemyOnScreen[r].ref.kog.body.gotoAndPlay("hit");
}
}
}
if (this.hittest.hitTest(_root.main.kog.bean.hittest)) {
if (!this.Assist) {
_root.main.alreadynadehit = this;
if (!this.lowdamage) {
_root.main.getHurt(25, "explode");
} else {
_root.main.getHurt(5, "explode");
}
}
}
}
};
Instance of Symbol 63 MovieClip in Symbol 1722 MovieClip [nade] Frame 25
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1722 MovieClip [nade] Frame 52
this.removeMovieClip();
Symbol 1725 MovieClip Frame 16
_parent.gotoAndStop(4);
Symbol 1726 MovieClip Frame 1
stop();
Symbol 1726 MovieClip Frame 2
stop();
Symbol 1726 MovieClip Frame 3
stop();
Symbol 1726 MovieClip Frame 4
stop();
Symbol 1726 MovieClip Frame 5
stop();
Symbol 1728 MovieClip Frame 1
this._visible = false;
Symbol 1738 MovieClip Frame 1
stop();
_root.main.gunStart("mac10");
Symbol 1738 MovieClip Frame 3
_root.main.shoot("mac10");
Symbol 1738 MovieClip Frame 7
if (_root.main.shootKey) {
_root.main.Spray++;
gotoAndPlay ("repeat");
} else {
gotoAndStop (1);
}
Symbol 1738 MovieClip Frame 9
gotoAndStop (1);
Symbol 1744 MovieClip Frame 1
stop();
Symbol 1744 MovieClip Frame 3
_root.main.shootdown("mac10");
Symbol 1744 MovieClip Frame 8
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1744 MovieClip Frame 9
gotoAndStop (1);
Symbol 1751 MovieClip Frame 1
_root.main.frametrack = 1;
Symbol 1751 MovieClip Frame 7
_root.main.switchGun();
Symbol 1758 MovieClip Frame 1
_root.main.frametrack = 1;
Symbol 1758 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 1759 MovieClip Frame 1
stop();
Symbol 1759 MovieClip Frame 2
stop();
Symbol 1759 MovieClip Frame 3
stop();
Symbol 1759 MovieClip Frame 4
stop();
Symbol 1800 MovieClip Frame 1
stop();
if (!_root.main.shooting) {
_root.main.gunStart("shotgun");
} else {
gotoAndPlay ("actualshoot");
}
Symbol 1800 MovieClip Frame 2
_root.main.shoot("shotgun");
_root.main.shoot("shotgun");
_root.main.shoot("shotgun");
Symbol 1800 MovieClip Frame 5
if (_root.main.dir == "right") {
_root.main.xSpeed = -15;
if (_root.main.State == "JumpForward") {
_root.main.xSpeed = -30;
}
}
if (_root.main.dir == "left") {
_root.main.xSpeed = 15;
_root.main.State == "JumpForward";
_root.main.xSpeed = 30;
}
Symbol 1800 MovieClip Frame 23
_root.turncontrol = 1;
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1800 MovieClip Frame 27
_root.main.shooting = false;
Symbol 1801 MovieClip Frame 1
stop();
Symbol 1801 MovieClip Frame 3
_root.main.shootdown("shotgun");
_root.main.shootdown("shotgun");
_root.main.shootdown("shotgun");
Symbol 1801 MovieClip Frame 8
if (_root.main.shootKey) {
gotoAndPlay ("repeat");
}
Symbol 1801 MovieClip Frame 9
gotoAndStop (1);
Symbol 1806 MovieClip Frame 8
_root.main.switchGun();
Symbol 1818 MovieClip Frame 13
_parent.gotoAndStop(1);
Symbol 1819 MovieClip Frame 1
stop();
Symbol 1819 MovieClip Frame 2
stop();
Symbol 1819 MovieClip Frame 3
stop();
Symbol 1819 MovieClip Frame 4
stop();
Symbol 1824 MovieClip Frame 1
_root.main.gunStart("nade");
Symbol 1824 MovieClip Frame 7
_root.main.throwNade(1, _root.main);
Symbol 1824 MovieClip Frame 12
_root.main.nading = false;
_root.main.Gun = _root.main.goBack;
_root.main.switchGun();
Symbol 1825 MovieClip Frame 1
stop();
Symbol 1826 MovieClip Frame 1
gotoAndStop(_root.main.Gun);
if (_root.main.Gun == "knife") {
_root.main.gotoAndStop("knife");
}
stop();
Symbol 1870 MovieClip [damage] Frame 1
stop();
Instance of Symbol 63 MovieClip in Symbol 1870 MovieClip [damage] Frame 2
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1870 MovieClip [damage] Frame 6
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Instance of Symbol 63 MovieClip in Symbol 1870 MovieClip [damage] Frame 14
onClipEvent (load) {
if (this.hitTest(_root.cam)) {
_root.nadesound.start(0, 1);
}
}
Symbol 1870 MovieClip [damage] Frame 50
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 1877 MovieClip [armor] Frame 1
stop();
Symbol 1877 MovieClip [armor] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Symbol 1890 MovieClip [speed] Frame 1
stop();
Symbol 1890 MovieClip [speed] Frame 38
if (!this.placed) {
this.removeMovieClip();
_root.bonuscount--;
} else {
stop();
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 1899 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1630 MovieClip in Symbol 1899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.Gun == "glock") {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1902 Button
on (press) {
gotoAndStop (1);
}
Symbol 1905 Button
on (press) {
gotoAndStop (3);
}
Symbol 1908 Button
on (press) {
gotoAndStop (2);
}
Symbol 1916 MovieClip Frame 1
stop();
Symbol 1917 MovieClip [cam2] Frame 1
function camControl() {
if (!_root.Paused) {
if ((!_root.main.dead) and (!_root.bossin)) {
if (_root.main.kog.bean.hittest.hitTest(this.rightbound)) {
this.xspeed = this.xspeed + 2;
} else if (_root.main.kog.bean.hittest.hitTest(this.leftbound)) {
this.xspeed = this.xspeed - 2;
} else if (xspeed > 0) {
this.xspeed = this.xspeed - 1;
if (canMoveRight == false) {
this.xspeed = 0;
}
} else if (xspeed < 0) {
this.xspeed = this.xspeed + 1;
if (canMoveLeft == false) {
this.xspeed = 0;
}
}
if ((xspeed > 0) and (canMoveRight == false)) {
this.xspeed = 0;
}
if ((xspeed < 0) and (canMoveLeft == false)) {
this.xspeed = 0;
}
if (((this.xspeed > 10) and ((_root.main.xSpeed * _root.main.speedmult) <= 10)) and (!OVERRIDE)) {
this.xspeed = 10;
}
if ((this.xspeed < -10) and ((_root.main.xSpeed * _root.main.speedmult) >= -10)) {
this.xspeed = -10;
}
if (((this.xspeed > 10) and ((_root.main.xSpeed * _root.main.speedmult) > 10)) and (!OVERRIDE)) {
this.xspeed = _root.main.xSpeed * _root.main.speedmult;
}
if ((this.xspeed < -10) and (_root.main.xSpeed < -10)) {
this.xspeed = _root.main.xSpeed * _root.main.speedmult;
}
if (!this.hitTest(_root.main.kog.bean.hittest)) {
if (_root.main._x > this._x) {
this.xspeed = 20;
}
if (_root.main._x < this._x) {
this.xspeed = -20;
}
if (_root.main._y > this._y) {
this.yspeed = 20;
}
if (_root.main._y < this._y) {
this.yspeed = -20;
}
}
if (_root.main.kog.bean.hittest.hitTest(this.bottombound)) {
if (_root.main.bouncing) {
this.yspeed = _root.main.ySpeed;
} else {
this.yspeed = this.yspeed + 2;
}
} else if (_root.main.kog.bean.hittest.hitTest(this.topbound)) {
if (_root.main.bouncing) {
this.yspeed = _root.main.ySpeed;
} else {
this.yspeed = this.yspeed - 2;
}
} else if (yspeed > 0) {
if (yspeed > 20) {
this.yspeed = this.yspeed - 5;
} else {
this.yspeed = this.yspeed - 1;
}
} else if (yspeed < 0) {
this.yspeed = this.yspeed + 1;
}
if ((this.yspeed > 10) and (_root.main.ySpeed <= 10)) {
this.yspeed = 10;
}
if ((this.yspeed < -10) and (_root.main.ySpeed >= -10)) {
this.yspeed = -10;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
_root.ground.para._x = _root.ground.para._x + (this.xspeed / 4);
_root.ground.para._y = _root.ground.para._y + (this.yspeed / 4);
_root.ground.para2._x = _root.ground.para2._x + (this.xspeed / 4);
_root.ground.para2._y = _root.ground.para2._y + (this.yspeed / 4);
_root.sky._x = this._x;
_root.sky._y = this._y;
_root.rightoffscreen._x = _root.rightoffscreen._x + this.xspeed;
_root.leftoffscreen._x = _root.leftoffscreen._x + this.xspeed;
_root.rightoffscreen._y = _root.rightoffscreen._y + this.yspeed;
_root.leftoffscreen._y = _root.leftoffscreen._y + this.yspeed;
if (_root.main.CROUCH and _root.main.CROUCHable) {
if (!crouchadjusted) {
this.bottombound._xscale = 150;
crouchadjusted = true;
}
} else {
this.bottombound._xscale = 45;
}
if ((crouchadjusted == true) and (!_root.main.CROUCH)) {
crouchadjusted = false;
crouchtopadjusted = true;
this.topbound._xscale = 150;
}
if ((!_root.main.kog.bean.hittest.hitTest(this.topbound)) and crouchtopadjusted) {
this.topbound._xscale = 40;
crouchtopadjusted = false;
crouchadjusted = false;
}
while (this.hitTest(_root.ground.boss1rightblocker) and (!_root.boss1finished)) {
if (!this.started1) {
this.started1 = true;
_root.boss1started = true;
}
_root.cam._x--;
_root.ground.para._x--;
_root.ground.para2._x--;
_root.leftoffscreen._x--;
_root.rightoffscreen._x--;
sky._x--;
}
while (this.hitTest(_root.ground.boss2rightblocker) and (!_root.boss2finished)) {
_root.boss2started = true;
_root.cam._x--;
_root.ground.para._x--;
_root.ground.para2._x--;
_root.leftoffscreen._x--;
_root.rightoffscreen._x--;
sky._x--;
}
}
while (this.hitTest(_root.ground.boss3rightblocker) and (!_root.boss3finished)) {
_root.boss3started = true;
_root.cam._x--;
_root.ground.para._x--;
_root.ground.para2._x--;
_root.leftoffscreen._x--;
_root.rightoffscreen._x--;
sky._x--;
}
if (!cutscenin) {
parentColor.setTransform(camColor.getTransform());
var _local5 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local5);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local5;
_parent._yscale = 100 * _local4;
}
}
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
this.swapDepths(6000);
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
var xspeed = 0;
var yspeed = 0;
this.swapDepths(10000);
var canMoveRight = true;
var canMoveLeft = true;
var crouchadjusted = false;
var crouchtopadjusted = false;
var OVERRIDE = false;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 1512 MovieClip [bound] "rightbound" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (enterFrame) {
if (_root.main.DIR == 1) {
this._xscale = 385;
} else {
this._xscale = 20;
}
}
Instance of Symbol 1522 MovieClip "shakemanager" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
shaketimer = 0;
intensity = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (shaketimer > 0) {
this.play();
if (intensity > 0) {
intensity = intensity - (intensity / shaketimer);
} else {
intensity = 0;
}
shaketimer--;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1512 MovieClip [bound] "leftbound" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (enterFrame) {
if (_root.main.DIR == -1) {
this._xscale = 385;
} else {
this._xscale = 20;
}
}
Instance of Symbol 1533 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (51);
}
onClipEvent (enterFrame) {
if (_root.main.armor == 0) {
_root.showarmor = false;
}
bar_d = Math.round(((50 - _root.main.armor) / (50 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
this.bar.gotoAndPlay("flash");
this.armoricon.gotoAndPlay("flash");
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 1) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 2) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 3) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 4) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 5) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 6) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 7) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 8) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 9) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
if (_root.lives >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 10) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1556 MovieClip "specialbar" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
tot_frames = this._totalFrames;
_root.main.specialbar = 0;
_root.main.speciallevel = 0;
stop();
}
onClipEvent (enterFrame) {
if (_root.main.assisted) {
_root.main.specialbar = 0;
}
if (_root.main.specialbar >= 100) {
_root.main.specialbar = 100;
_root.main.speciallevel = 1;
}
bar_d = Math.round(_root.main.specialbar / (100 / tot_frames));
if (bar_d != this._currentFrame) {
if (bar_d > this._currentFrame) {
this.gotoAndStop(bar_d);
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 1573 MovieClip "player1healthbar" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
tot_frames = this._totalframes;
_root.main.health = 100;
_root.main.armor = 0;
}
onClipEvent (enterFrame) {
bar_d = Math.round(((100 - _root.main.health) / (100 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
if (bar_d > this._currentframe) {
this.gotoAndStop(this._currentframe + 1);
this.redbar.gotoAndStop(bar_d);
this.redshine.gotoAndStop(bar_d);
} else if (bar_d < this._currentframe) {
this.redbar.gotoAndStop(bar_d);
this.redbar.redbar.gotoAndPlay("flash");
this.redshine.gotoAndStop(bar_d);
this.redshine.redshine.gotoAndPlay("flash");
this.gotoAndStop(bar_d);
} else {
stop();
}
}
}
Instance of Symbol 1592 MovieClip "bossbar" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
tot_frames = this._totalframes;
this.bossface.gotoAndStop("snicker");
this.bossname.text = "Mr. Snicker";
}
onClipEvent (enterFrame) {
bar_d = Math.round(((2000 - _root.boss.health) / (2000 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
if (bar_d > this._currentframe) {
this.gotoAndStop(this._currentframe + 1);
this.redbar.gotoAndStop(bar_d);
this.redshine.gotoAndStop(bar_d);
} else if (bar_d < this._currentframe) {
this.redbar.gotoAndStop(bar_d);
this.redshine.gotoAndStop(bar_d);
this.gotoAndStop(this._currentframe - 1);
} else {
stop();
}
}
}
Instance of Symbol 1916 MovieClip "showpause" in Symbol 1917 MovieClip [cam2] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1923 Button
on (press) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 1927 MovieClip Frame 1
stop();
Symbol 1927 MovieClip Frame 30
stop();
Symbol 1969 MovieClip Frame 268
_parent.play();
stop();
Symbol 1972 MovieClip Frame 30
stop();
Symbol 2000 MovieClip Frame 478
_parent.play();
stop();
Symbol 2027 MovieClip Frame 198
_parent.play();
stop();
Symbol 2028 MovieClip Frame 1
this._visible = true;
_parent.cutscenin = true;
_parent.xspeed = 0;
_root.PAUSE(true);
Symbol 2028 MovieClip Frame 29
_root.control = 1;
_parent.cutscenin = false;
_root.cam.OVERRIDE = false;
_root.UNPAUSE();
if (_root.checkpoint == 0) {
_root.main.Secondary = "glock";
_root.main.Gun = "glock";
_root.main.switchGun();
}
Symbol 2028 MovieClip Frame 31
if (_root.checkpoint == 0) {
_root.main.Primary = 0;
_root.main.Secondary = 0;
_root.main.Gun = "knife";
_root.main.switchGun();
}
Symbol 2028 MovieClip Frame 40
gotoAndStop ("clear");
Symbol 2028 MovieClip Frame 41
this._visible = true;
stopAllSounds();
Symbol 2028 MovieClip Frame 42
this.black.play();
Symbol 2028 MovieClip Frame 84
_parent.cutscenin = true;
_parent.xspeed = 0;
_root.PAUSE(true);
_root.swamp.start(0, 999);
Symbol 2028 MovieClip Frame 101
stop();
Instance of Symbol 1972 MovieClip in Symbol 2028 MovieClip Frame 101
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (!thisspacepressed) {
_parent.play();
}
} else {
thisspacepressed = false;
}
}
Symbol 2028 MovieClip Frame 112
this.black.play();
_root.ground.boss._name = "NO";
_root.ground.boss3._name = "boss";
_root.ground.boss._visible = true;
_root.cam.bossbar._visible = true;
_root.cam.bossbar.maxhealth = _root.ground.boss.health;
_root.bossin = true;
_root.cam.bossbar.bossname.text = "BIG BROWN BAR";
_root.cam.bossbar.bossface.gotoAndStop("CB");
Symbol 2028 MovieClip Frame 154
_root.control = 1;
_root.ground.boss.play();
_parent.cutscenin = false;
_root.UNPAUSE();
gotoAndStop ("clear");
Symbol 2028 MovieClip Frame 155
this._visible = true;
stopAllSounds();
Symbol 2028 MovieClip Frame 156
this.black.play();
Symbol 2028 MovieClip Frame 198
_parent.cutscenin = true;
_parent.xspeed = 0;
_root.PAUSE(true);
_root.smitty.start(0, 999);
Symbol 2028 MovieClip Frame 212
stop();
Instance of Symbol 1972 MovieClip in Symbol 2028 MovieClip Frame 212
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (!thisspacepressed) {
_parent.play();
}
} else {
thisspacepressed = false;
}
}
Symbol 2028 MovieClip Frame 223
this.black.play();
_root.ground.boss._name = "NO";
_root.ground.boss2._name = "boss";
_root.ground.boss._visible = true;
_root.cam.bossbar._visible = true;
_root.cam.bossbar.maxhealth = _root.ground.boss.health;
_root.bossin = true;
_root.cam.bossbar.bossname.text = "ICE-E";
_root.cam.bossbar.bossface.gotoAndStop("ICEE");
Symbol 2028 MovieClip Frame 264
_root.control = 1;
_root.ground.boss.play();
_parent.cutscenin = false;
_root.UNPAUSE();
gotoAndStop ("clear");
Symbol 2028 MovieClip Frame 265
stop();
this._visible = false;
Symbol 2028 MovieClip Frame 266
this._visible = true;
Symbol 2028 MovieClip Frame 269
_root.Reset(2);
Symbol 2042 MovieClip Frame 1
this._visible = true;
_parent.cutscenin = true;
_parent.xspeed = 0;
_root.PAUSE(true);
Symbol 2042 MovieClip Frame 29
_root.control = 1;
_parent.cutscenin = false;
_root.cam.OVERRIDE = false;
_root.UNPAUSE();
Symbol 2042 MovieClip Frame 40
gotoAndStop ("clear");
Symbol 2042 MovieClip Frame 41
stop();
this._visible = false;
Symbol 2042 MovieClip Frame 46
this._visible = true;
Symbol 2042 MovieClip Frame 47
this.black.play();
Symbol 2042 MovieClip Frame 89
_parent.cutscenin = true;
_parent.xspeed = 0;
_root.PAUSE(true);
stopAllSounds();
_root.swamp.start(0, 999);
Symbol 2042 MovieClip Frame 106
stop();
Instance of Symbol 1972 MovieClip in Symbol 2042 MovieClip Frame 106
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (!thisspacepressed) {
_parent.play();
}
} else {
thisspacepressed = false;
}
}
Symbol 2042 MovieClip Frame 117
this.black.play();
_root.ground.boss._visible = true;
_root.cam.bossbar._visible = true;
_root.cam.bossbar.bossname.text = "BIG MAC";
_root.cam.bossbar.bossface.gotoAndStop("BM");
_root.bossin = true;
_root.cam.bossbar.maxhealth = _root.ground.boss.health;
Symbol 2042 MovieClip Frame 159
_root.control = 1;
_root.ground.boss.kog.play();
_parent.cutscenin = false;
_root.UNPAUSE();
gotoAndStop ("clear");
Symbol 2042 MovieClip Frame 194
_root.CleanUp();
_root.gotoAndStop("level1end");
Symbol 2042 MovieClip Frame 195
this._visible = true;
_parent.cutscenin = true;
_parent.xspeed = 0;
_root.PAUSE(true);
Symbol 2042 MovieClip Frame 278
_root.control = 1;
_parent.cutscenin = false;
_root.cam.OVERRIDE = false;
_root.UNPAUSE();
gotoAndStop ("clear");
Symbol 2043 MovieClip [cam] Frame 1
function camControl() {
if (!_root.Paused) {
if ((!_root.main.dead) and (!_root.bossin)) {
if (_root.main.kog.bean.hittest.hitTest(this.rightbound)) {
this.xspeed = this.xspeed + 2;
} else if (_root.main.kog.bean.hittest.hitTest(this.leftbound)) {
this.xspeed = this.xspeed - 2;
} else if (xspeed > 0) {
this.xspeed = this.xspeed - 1;
if (canMoveRight == false) {
this.xspeed = 0;
}
} else if (xspeed < 0) {
this.xspeed = this.xspeed + 1;
if (canMoveLeft == false) {
this.xspeed = 0;
}
}
if ((xspeed > 0) and (canMoveRight == false)) {
this.xspeed = 0;
}
if ((xspeed < 0) and (canMoveLeft == false)) {
this.xspeed = 0;
}
if (((this.xspeed > 10) and ((_root.main.xSpeed * _root.main.speedmult) <= 10)) and (!OVERRIDE)) {
this.xspeed = 10;
}
if ((this.xspeed < -10) and ((_root.main.xSpeed * _root.main.speedmult) >= -10)) {
this.xspeed = -10;
}
if (((this.xspeed > 10) and ((_root.main.xSpeed * _root.main.speedmult) > 10)) and (!OVERRIDE)) {
this.xspeed = _root.main.xSpeed * _root.main.speedmult;
}
if ((this.xspeed < -10) and (_root.main.xSpeed < -10)) {
this.xspeed = _root.main.xSpeed * _root.main.speedmult;
}
if (!this.hitTest(_root.main.kog.bean.hittest)) {
if (_root.main._x > (this._x + 840)) {
this.xspeed = this.xspeed + 5;
}
if (_root.main._x < this._x) {
this.xspeed = this.xspeed - 5;
}
if (_root.main._y > this._y) {
this.yspeed = this.yspeed + 5;
}
if (_root.main._y < this._y) {
this.yspeed = this.yspeed - 5;
}
} else if (_root.main.bouncing) {
this.yspeed = _root.main.ySpeed;
}
if (_root.main.kog.bean.hittest.hitTest(this.bottombound) or _root.main.kog.bean.hittest.hitTest(_root.sky.bottomoffscreen)) {
this.yspeed = this.yspeed + 2;
} else if (_root.main.kog.bean.hittest.hitTest(this.topbound) or _root.main.kog.bean.hittest.hitTest(_root.sky.topoffscreen)) {
this.yspeed = this.yspeed - 2;
} else if (_root.main.bouncing) {
} else if (yspeed > 0) {
if (yspeed > 20) {
this.yspeed = this.yspeed - 2;
} else {
this.yspeed = this.yspeed - 1;
}
} else if (yspeed < 0) {
if (yspeed < 20) {
this.yspeed = this.yspeed + 2;
} else {
this.yspeed = this.yspeed + 1;
}
}
if ((this.yspeed > 10) and (_root.main.ySpeed <= 10)) {
this.yspeed = 10;
}
if ((this.yspeed < -10) and (_root.main.ySpeed >= -10)) {
this.yspeed = -10;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
_root.ground.para._x = _root.ground.para._x + (this.xspeed / 4);
_root.ground.para._y = _root.ground.para._y + (this.yspeed / 4);
_root.ground.para2._x = _root.ground.para2._x + (this.xspeed / 4);
_root.ground.para2._y = _root.ground.para2._y + (this.yspeed / 4);
_root.sky._x = this._x;
_root.sky._y = this._y;
_root.rightoffscreen._x = _root.rightoffscreen._x + this.xspeed;
_root.leftoffscreen._x = _root.leftoffscreen._x + this.xspeed;
_root.rightoffscreen._y = _root.rightoffscreen._y + this.yspeed;
_root.leftoffscreen._y = _root.leftoffscreen._y + this.yspeed;
if (_root.main.CROUCH and _root.main.CROUCHable) {
if (!crouchadjusted) {
this.bottombound._xscale = 150;
crouchadjusted = true;
}
} else {
this.bottombound._xscale = 45;
}
if ((crouchadjusted == true) and (!_root.main.CROUCH)) {
crouchadjusted = false;
crouchtopadjusted = true;
this.topbound._xscale = 150;
}
if ((!_root.main.kog.bean.hittest.hitTest(this.topbound)) and crouchtopadjusted) {
this.topbound._xscale = 40;
crouchtopadjusted = false;
crouchadjusted = false;
}
while (this.hitTest(_root.ground.boss1rightblocker) and (!_root.boss1finished)) {
if (!this.started1) {
this.started1 = true;
_root.boss1started = true;
}
_root.cam._x--;
_root.ground.para._x--;
_root.ground.para2._x--;
_root.leftoffscreen._x--;
_root.rightoffscreen._x--;
sky._x--;
}
while (this.hitTest(_root.ground.boss2rightblocker) and (!_root.boss2finished)) {
_root.boss2started = true;
_root.cam._x--;
_root.ground.para._x--;
_root.ground.para2._x--;
_root.leftoffscreen._x--;
_root.rightoffscreen._x--;
sky._x--;
}
}
while (this.hitTest(_root.ground.boss3rightblocker) and (!_root.boss3finished)) {
_root.boss3started = true;
_root.cam._x--;
_root.ground.para._x--;
_root.ground.para2._x--;
_root.leftoffscreen._x--;
_root.rightoffscreen._x--;
sky._x--;
}
if (!cutscenin) {
parentColor.setTransform(camColor.getTransform());
var _local5 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local5);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local5;
_parent._yscale = 100 * _local4;
}
}
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
var xspeed = 0;
var yspeed = 0;
this.swapDepths(10000);
var canMoveRight = true;
var canMoveLeft = true;
var crouchadjusted = false;
var crouchtopadjusted = false;
var OVERRIDE = false;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 1512 MovieClip [bound] "rightbound" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (enterFrame) {
if (_root.main.DIR == 1) {
this._xscale = 385;
} else {
this._xscale = 20;
}
}
Instance of Symbol 1522 MovieClip "shakemanager" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
shaketimer = 0;
intensity = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (shaketimer > 0) {
this.play();
if (intensity > 0) {
intensity = intensity - (intensity / shaketimer);
} else {
intensity = 0;
}
shaketimer--;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1512 MovieClip [bound] "leftbound" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (enterFrame) {
if (_root.main.DIR == -1) {
this._xscale = 385;
} else {
this._xscale = 20;
}
}
Instance of Symbol 1920 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1533 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (51);
}
onClipEvent (enterFrame) {
if (_root.main.armor == 0) {
_root.showarmor = false;
}
bar_d = Math.round(((50 - _root.main.armor) / (50 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
this.bar.gotoAndPlay("flash");
this.armoricon.gotoAndPlay("flash");
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 1) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 2) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 3) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 4) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 5) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 6) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 7) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 8) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 9) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1534 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.lives >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 10) {
if (_root.main.dead and (!done)) {
done = true;
this.gotoAndPlay("die");
}
}
if (_root.lives >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1556 MovieClip "specialbar" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
tot_frames = this._totalFrames;
_root.main.specialbar = 0;
_root.main.speciallevel = 0;
stop();
}
onClipEvent (enterFrame) {
if (_root.main.assisted) {
_root.main.specialbar = 0;
}
if (_root.main.specialbar >= 100) {
_root.main.specialbar = 100;
_root.main.speciallevel = 1;
}
bar_d = Math.round(_root.main.specialbar / (100 / tot_frames));
if (bar_d != this._currentFrame) {
if (bar_d > this._currentFrame) {
this.gotoAndStop(bar_d);
} else {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 1573 MovieClip "player1healthbar" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
tot_frames = this._totalframes;
_root.main.health = 100;
_root.main.armor = 0;
}
onClipEvent (enterFrame) {
bar_d = Math.round(((100 - _root.main.health) / (100 / tot_frames)) + 1);
if (bar_d != this._currentframe) {
if (bar_d > this._currentframe) {
this.gotoAndStop(this._currentframe + 1);
this.redbar.gotoAndStop(bar_d);
this.redshine.gotoAndStop(bar_d);
} else if (bar_d < this._currentframe) {
this.redbar.gotoAndStop(bar_d);
this.redbar.redbar.gotoAndPlay("flash");
this.redshine.gotoAndStop(bar_d);
this.redshine.redshine.gotoAndPlay("flash");
this.gotoAndStop(bar_d);
} else {
stop();
}
}
}
Instance of Symbol 1592 MovieClip "bossbar" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
tot_frames = this._totalframes;
this._visible = false;
this.maxhealth = 0;
stop();
}
onClipEvent (enterFrame) {
if (this._visible == true) {
_parent.ad1._visible = false;
_parent.ad2._visible = true;
} else {
_parent.ad1._visible = true;
_parent.ad2._visible = false;
}
bar_d = Math.round(((this.maxhealth - _root.ground.boss.health) / (this.maxhealth / tot_frames)) + 1);
if (bar_d != this._currentframe) {
if (bar_d > this._currentframe) {
this.gotoAndStop(this._currentframe + 1);
this.redbar.gotoAndStop(bar_d);
this.redshine.gotoAndStop(bar_d);
} else if (bar_d < this._currentframe) {
this.redbar.gotoAndStop(bar_d);
this.redshine.gotoAndStop(bar_d);
this.gotoAndStop(this._currentframe - 1);
} else {
stop();
}
}
}
Instance of Symbol 2028 MovieClip "cutscenes" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.LEVEL == 2) {
this._visible = false;
this._name = "noooo";
this.gotoAndStop("clear");
} else if (_root.LEVEL == 1) {
this._name = "cutscenes";
}
}
Instance of Symbol 2042 MovieClip in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
if (_root.LEVEL == 1) {
this._visible = false;
this.gotoAndStop("clear");
} else if (_root.LEVEL == 2) {
_parent.cutscenes._name = "NO";
this._name = "cutscenes";
}
}
Instance of Symbol 1916 MovieClip "showpause" in Symbol 2043 MovieClip [cam] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2044 MovieClip [AWPbullet] Frame 1
stop();
this._visible = false;
Symbol 2044 MovieClip [AWPbullet] Frame 2
this._visible = true;
Symbol 2044 MovieClip [AWPbullet] Frame 9
delete this.onEnterFrame;
removeMovieClip(this);
Symbol 2047 MovieClip [mac10bullet] Frame 1
stop();
this._visible = false;
Symbol 2047 MovieClip [mac10bullet] Frame 2
delete this.onEnterFrame;
removeMovieClip(this);
Symbol 2048 MovieClip [dbullet] Frame 1
stop();
this._visible = false;
Symbol 2048 MovieClip [dbullet] Frame 2
delete this.onEnterFrame;
removeMovieClip(this);
Symbol 2056 MovieClip Frame 1
this.onEnterFrame = function () {
if (!this.loadr) {
this.loadr = true;
this.ySpeed = 5;
}
if ((!this.hit) and (!_root.Paused)) {
if (this.hittest.hitTest(_root.main.kog.bean.hittest)) {
this.hit = true;
_root.main.health = _root.main.health - 10;
_root.main.kog.bean.body.gotoAndPlay("hit");
this.gotoAndPlay("hit");
} else if (this.hittest.hitTest(_root.ground.bossground)) {
this.hit = true;
this.gotoAndPlay("hit");
} else {
gotoAndStop (1);
this.ySpeed = this.ySpeed + 3;
this._y = this._y + this.ySpeed;
}
}
};
Symbol 2056 MovieClip Frame 23
stop();
_parent.removeMovieClip();
Symbol 2057 MovieClip [ICE] Frame 1
stop();
Symbol 2064 MovieClip Frame 1
_root.doFoot(this);
Symbol 2073 MovieClip Frame 1
gotoAndStop(_root.shades);
if (_root.customize) {
this.onEnterFrame = function () {
gotoAndStop(_root.shades);
};
}
Symbol 2076 MovieClip Frame 1
if (_root.showarmor == false) {
this._visible = false;
} else {
this._visible = true;
}
stop();
Symbol 2093 MovieClip Frame 1
if (_root.hat != 1) {
this._visible = false;
}
Symbol 2095 MovieClip Frame 1
stop();
if (_root.main.bodytrack != 1) {
gotoAndPlay(_root.main.bodytrack);
}
Symbol 2095 MovieClip Frame 15
gotoAndStop (1);
Symbol 2095 MovieClip Frame 26
gotoAndStop (1);
Instance of Symbol 63 MovieClip "hittest" in Symbol 2096 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 2100 MovieClip Frame 1
_root.doFoot(this);
Symbol 2104 MovieClip Frame 1
_root.doFoot(this);
Symbol 2106 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2110 MovieClip Frame 1
_root.doFoot(this);
Symbol 2112 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2116 MovieClip Frame 1
_root.doFoot(this);
Symbol 2118 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2121 MovieClip Frame 1
_root.doFoot(this);
Symbol 2123 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2127 MovieClip Frame 1
_root.doFoot(this);
Symbol 2129 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2132 MovieClip Frame 1
_root.doFoot(this);
Symbol 2134 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2137 MovieClip Frame 1
_root.doFoot(this);
Symbol 2141 MovieClip Frame 1
_root.doFoot(this);
Symbol 2147 MovieClip Frame 1
_root.doFoot(this);
Instance of Symbol 63 MovieClip "hittest" in Symbol 2151 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 2155 MovieClip Frame 1
if (_root.hat != 1) {
this._visible = false;
}
Symbol 2157 MovieClip Frame 1
if (_root.showarmor == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2160 MovieClip Frame 1
stop();
Symbol 2160 MovieClip Frame 6
gotoAndStop (1);
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2165 MovieClip Frame 1
_root.doFoot(this);
Symbol 2168 MovieClip Frame 1
_root.doFoot(this);
Symbol 2171 MovieClip Frame 1
_root.doFoot(this);
Symbol 2174 MovieClip Frame 1
_root.doFoot(this);
Symbol 2176 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2177 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 2177 MovieClip Frame 26
gotoAndPlay ("repeat");
Symbol 2180 MovieClip Frame 1
_root.doFoot(this);
Symbol 2184 MovieClip Frame 1
if (_root.showarmor == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2187 MovieClip Frame 1
stop();
Symbol 2187 MovieClip Frame 6
gotoAndStop (1);
Symbol 2190 MovieClip Frame 1
stop();
Symbol 2193 MovieClip Frame 1
_root.doFoot(this);
Symbol 2196 MovieClip Frame 1
_root.doFoot(this);
Symbol 2199 MovieClip Frame 1
_root.doFoot(this);
Symbol 2204 MovieClip Frame 1
_root.doFoot(this);
Instance of Symbol 63 MovieClip "hittest" in Symbol 2205 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 2205 MovieClip Frame 21
gotoAndPlay ("repeat");
Symbol 2208 MovieClip Frame 1
if (_root.showarmor == false) {
this._visible = false;
} else {
this._visible = true;
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2214 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 2214 MovieClip Frame 6
_root.control = 1;
_root.main.State = "Stand";
_root.main.kog.gotoAndStop("Stand");
Symbol 2216 MovieClip Frame 1
if (_root.main.Gun == "glock") {
this._visible = true;
} else {
this._visible = false;
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2229 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 2216 MovieClip "weapon" in Symbol 2229 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.Gun == "glock") {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1630 MovieClip in Symbol 2229 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.main.Gun == "glock") {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 2229 MovieClip Frame 13
if ((_root.main.kog.bean.hand.gun._currentframe != 3) and (_root.main.kog.bean.hand.gun._currentframe != 4)) {
_root.main.frametrack = _root.main.kog.bean.hand.gun.weapon._currentframe;
}
_root.main.kog.gotoAndStop("Crouch");
Instance of Symbol 63 MovieClip "hittest" in Symbol 2230 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1630 MovieClip in Symbol 2230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.Gun == "glock") {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 2234 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2256 MovieClip Frame 1
if (_root.showjordans == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 2290 MovieClip Frame 134
_root.Reset();
Symbol 2324 MovieClip Frame 70
_root.Reset();
Instance of Symbol 2326 MovieClip "blood" in Symbol 2328 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 2326 MovieClip "blood" in Symbol 2330 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 2326 MovieClip "blood" in Symbol 2334 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 2326 MovieClip "blood" in Symbol 2336 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 2326 MovieClip "blood" in Symbol 2337 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 2328 MovieClip in Symbol 2338 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = -95;
this.thislanded = false;
}
onClipEvent (enterFrame) {
if (!this.thislanded) {
this.yspeed = this.yspeed + 8;
this._y = this._y + this.yspeed;
if (_root.ground.g.hitTest(this._x, this._y, 1)) {
this.thislanded = true;
this.gotoAndStop(1);
this.blood._visible = true;
while (_root.ground.g.hitTest(this._x, this._y, 1)) {
this._y--;
}
}
}
}
Instance of Symbol 2330 MovieClip in Symbol 2338 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = -95;
this.thislanded = false;
}
onClipEvent (enterFrame) {
if (!this.thislanded) {
this.yspeed = this.yspeed + 8;
this._y = this._y + this.yspeed;
if (_root.ground.g.hitTest(this._x, this._y, 1)) {
this.thislanded = true;
this.gotoAndStop(1);
this.blood._visible = true;
while (_root.ground.g.hitTest(this._x, this._y, 1)) {
this._y--;
}
}
}
}
Instance of Symbol 2332 MovieClip in Symbol 2338 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = -95;
this.thislanded = false;
}
onClipEvent (enterFrame) {
if (!this.thislanded) {
this.yspeed = this.yspeed + 8;
this._y = this._y + this.yspeed;
if (_root.ground.g.hitTest(this._x, this._y, 1)) {
this.thislanded = true;
this.gotoAndStop(1);
this.blood._visible = true;
while (_root.ground.g.hitTest(this._x, this._y, 1)) {
this._y--;
}
}
}
}
Instance of Symbol 2334 MovieClip in Symbol 2338 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = -95;
this.thislanded = false;
}
onClipEvent (enterFrame) {
if (!this.thislanded) {
this.yspeed = this.yspeed + 8;
this._y = this._y + this.yspeed;
if (_root.ground.g.hitTest(this._x, this._y, 1)) {
this.thislanded = true;
this.gotoAndStop(1);
this.blood._visible = true;
while (_root.ground.g.hitTest(this._x, this._y, 1)) {
this._y--;
}
}
}
}
Instance of Symbol 2336 MovieClip in Symbol 2338 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = -95;
this.thislanded = false;
}
onClipEvent (enterFrame) {
if (!this.thislanded) {
this.yspeed = this.yspeed + 8;
this._y = this._y + this.yspeed;
if (_root.ground.g.hitTest(this._x, this._y, 1)) {
this.thislanded = true;
this.gotoAndStop(1);
this.blood._visible = true;
while (_root.ground.g.hitTest(this._x, this._y, 1)) {
this._y--;
}
}
}
}
Instance of Symbol 2337 MovieClip in Symbol 2338 MovieClip Frame 1
onClipEvent (load) {
this.xspeed = 0;
this.yspeed = -95;
this.thislanded = false;
}
onClipEvent (enterFrame) {
if (!this.thislanded) {
this.yspeed = this.yspeed + 8;
this._y = this._y + this.yspeed;
if (_root.ground.g.hitTest(this._x, this._y, 1)) {
this.thislanded = true;
this.gotoAndStop(1);
this.blood._visible = true;
while (_root.ground.g.hitTest(this._x, this._y, 1)) {
this._y--;
}
}
}
}
Symbol 2338 MovieClip Frame 70
_root.Reset();
Symbol 2339 MovieClip Frame 1
stop();
Symbol 2354 MovieClip Frame 1
stop();
_root.main.gunStart("knife");
Instance of Symbol 63 MovieClip "hittest" in Symbol 2354 MovieClip Frame 4
onClipEvent (load) {
this.bonus = 0;
}
Symbol 2354 MovieClip Frame 11
if (!_root.main.shootKey) {
gotoAndPlay ("relax");
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2354 MovieClip Frame 14
onClipEvent (load) {
this.bonus = 10;
}
Symbol 2354 MovieClip Frame 21
if (!_root.main.shootKey) {
gotoAndPlay ("relax");
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2354 MovieClip Frame 23
onClipEvent (load) {
this.bonus = 40;
}
Symbol 2354 MovieClip Frame 40
gotoAndStop (1);
Symbol 2358 MovieClip Frame 7
_root.main.switchGun();
Symbol 2362 MovieClip Frame 1
_root.main.frametrack = 1;
Symbol 2362 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 2363 MovieClip Frame 1
stop();
Symbol 2363 MovieClip Frame 3
stop();
Symbol 2363 MovieClip Frame 4
stop();
Symbol 2364 MovieClip Frame 1
stop();
Symbol 2371 MovieClip Frame 1
if (_root.hat != 1) {
this._visible = false;
}
Symbol 2378 MovieClip Frame 1
_parent.ear._visible = true;
stop();
Symbol 2378 MovieClip Frame 46
gotoAndStop (1);
Symbol 2378 MovieClip Frame 47
_parent.ear._visible = false;
Symbol 2378 MovieClip Frame 57
gotoAndStop (1);
Symbol 2381 MovieClip Frame 1
_root.doFoot(this);
Symbol 2395 MovieClip Frame 1
gotoAndStop(_root.swordtype);
Symbol 2402 MovieClip Frame 1
_root.main.nadeStart();
Symbol 2402 MovieClip Frame 7
_root.main.throwNade(1, _root.main);
Symbol 2402 MovieClip Frame 12
_root.main.nading = false;
_parent._parent.gotoAndStop(1);
Symbol 2407 MovieClip Frame 12
_parent.gotoAndStop(4);
Symbol 2408 MovieClip Frame 1
stop();
Symbol 2409 MovieClip Frame 1
stop();
Symbol 2411 MovieClip Frame 1
stop();
if (_root.main.nading) {
this.gotoAndStop("nade");
}
Instance of Symbol 2364 MovieClip "hand" in Symbol 2414 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2414 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2409 MovieClip "swordhand" in Symbol 2414 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2414 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip "swordhand" in Symbol 2414 MovieClip Frame 7
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2423 MovieClip Frame 1
gotoAndStop(_root.swordtype);
Symbol 2432 MovieClip Frame 1
_root.doFoot(this);
Symbol 2438 MovieClip Frame 1
_root.doFoot(this);
Symbol 2444 MovieClip Frame 1
_root.doFoot(this);
Symbol 2448 MovieClip Frame 1
_root.doFoot(this);
Symbol 2451 MovieClip Frame 1
_root.doFoot(this);
Symbol 2454 MovieClip Frame 1
_root.doFoot(this);
Symbol 2457 MovieClip Frame 1
_root.doFoot(this);
Symbol 2464 MovieClip Frame 1
_root.doFoot(this);
Instance of Symbol 2364 MovieClip "hand" in Symbol 2465 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2425 MovieClip "swordhand" in Symbol 2465 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2465 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2808 MovieClip Frame 3
onClipEvent (load) {
this.bonus = 0;
}
Instance of Symbol 2473 MovieClip in Symbol 2808 MovieClip Frame 3
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2478 MovieClip in Symbol 2808 MovieClip Frame 3
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2480 MovieClip in Symbol 2808 MovieClip Frame 3
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2482 MovieClip in Symbol 2808 MovieClip Frame 3
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2484 MovieClip in Symbol 2808 MovieClip Frame 5
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2486 MovieClip in Symbol 2808 MovieClip Frame 5
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2489 MovieClip in Symbol 2808 MovieClip Frame 5
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 6
_root.main.swordcombo = "b";
Symbol 2808 MovieClip Frame 13
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 14
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 14
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 63 MovieClip "swordhittest" in Symbol 2808 MovieClip Frame 16
onClipEvent (load) {
this.bonus = 0;
}
Instance of Symbol 2493 MovieClip in Symbol 2808 MovieClip Frame 16
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2497 MovieClip in Symbol 2808 MovieClip Frame 16
onClipEvent (load) {
_root.doSwordHit("katana", this, 0.75);
}
Instance of Symbol 2500 MovieClip in Symbol 2808 MovieClip Frame 16
onClipEvent (load) {
_root.doSwordHit("sok", this, 0.75);
}
Instance of Symbol 2502 MovieClip in Symbol 2808 MovieClip Frame 16
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0.75);
}
Instance of Symbol 2504 MovieClip in Symbol 2808 MovieClip Frame 18
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2506 MovieClip in Symbol 2808 MovieClip Frame 18
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2508 MovieClip in Symbol 2808 MovieClip Frame 18
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2512 MovieClip in Symbol 2808 MovieClip Frame 19
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2514 MovieClip in Symbol 2808 MovieClip Frame 21
onClipEvent (load) {
_root.doSwordHit("katana", this, 0.75);
}
Instance of Symbol 2516 MovieClip in Symbol 2808 MovieClip Frame 21
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0.75);
}
Instance of Symbol 2518 MovieClip in Symbol 2808 MovieClip Frame 21
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2520 MovieClip in Symbol 2808 MovieClip Frame 21
onClipEvent (load) {
_root.doSwordHit("sok", this, 0.75);
}
Instance of Symbol 2524 MovieClip in Symbol 2808 MovieClip Frame 21
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2526 MovieClip in Symbol 2808 MovieClip Frame 21
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2529 MovieClip in Symbol 2808 MovieClip Frame 23
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2532 MovieClip in Symbol 2808 MovieClip Frame 23
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2535 MovieClip in Symbol 2808 MovieClip Frame 23
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2539 MovieClip in Symbol 2808 MovieClip Frame 24
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 26
_root.main.swordcombo = "f";
Symbol 2808 MovieClip Frame 33
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 34
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 34
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2541 MovieClip in Symbol 2808 MovieClip Frame 36
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2543 MovieClip in Symbol 2808 MovieClip Frame 36
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2545 MovieClip in Symbol 2808 MovieClip Frame 36
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2548 MovieClip in Symbol 2808 MovieClip Frame 36
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2551 MovieClip in Symbol 2808 MovieClip Frame 36
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2553 MovieClip in Symbol 2808 MovieClip Frame 36
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2555 MovieClip in Symbol 2808 MovieClip Frame 38
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2557 MovieClip in Symbol 2808 MovieClip Frame 38
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2559 MovieClip in Symbol 2808 MovieClip Frame 38
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2561 MovieClip in Symbol 2808 MovieClip Frame 38
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2563 MovieClip in Symbol 2808 MovieClip Frame 39
onClipEvent (load) {
_root.doSwordHit("katana", this, 0.5);
}
Instance of Symbol 2565 MovieClip in Symbol 2808 MovieClip Frame 39
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0.5);
}
Instance of Symbol 2568 MovieClip in Symbol 2808 MovieClip Frame 39
onClipEvent (load) {
_root.doSwordHit("sok", this, 0.5);
}
Instance of Symbol 2570 MovieClip in Symbol 2808 MovieClip Frame 40
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2573 MovieClip in Symbol 2808 MovieClip Frame 40
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2575 MovieClip in Symbol 2808 MovieClip Frame 40
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2577 MovieClip in Symbol 2808 MovieClip Frame 41
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2579 MovieClip in Symbol 2808 MovieClip Frame 41
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2581 MovieClip in Symbol 2808 MovieClip Frame 41
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2583 MovieClip in Symbol 2808 MovieClip Frame 42
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2585 MovieClip in Symbol 2808 MovieClip Frame 42
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2587 MovieClip in Symbol 2808 MovieClip Frame 42
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2592 MovieClip in Symbol 2808 MovieClip Frame 46
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2594 MovieClip in Symbol 2808 MovieClip Frame 46
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2539 MovieClip in Symbol 2808 MovieClip Frame 46
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2597 MovieClip in Symbol 2808 MovieClip Frame 46
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2600 MovieClip in Symbol 2808 MovieClip Frame 47
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2602 MovieClip in Symbol 2808 MovieClip Frame 48
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2604 MovieClip in Symbol 2808 MovieClip Frame 48
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2606 MovieClip in Symbol 2808 MovieClip Frame 48
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2610 MovieClip in Symbol 2808 MovieClip Frame 61
onClipEvent (load) {
_root.doSwordHit("katana", this, 1.25);
}
Instance of Symbol 2612 MovieClip in Symbol 2808 MovieClip Frame 61
onClipEvent (load) {
_root.doSwordHit("sok", this, 1.25);
}
Instance of Symbol 2614 MovieClip in Symbol 2808 MovieClip Frame 61
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1.25);
}
Instance of Symbol 2616 MovieClip in Symbol 2808 MovieClip Frame 63
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2618 MovieClip in Symbol 2808 MovieClip Frame 63
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 64
_root.main.swordcombo = "f";
Symbol 2808 MovieClip Frame 72
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 73
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 73
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2620 MovieClip in Symbol 2808 MovieClip Frame 75
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2624 MovieClip in Symbol 2808 MovieClip Frame 75
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2626 MovieClip in Symbol 2808 MovieClip Frame 75
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2628 MovieClip in Symbol 2808 MovieClip Frame 75
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Symbol 2808 MovieClip Frame 77
_root.main.swordcombo = "d";
Instance of Symbol 2630 MovieClip in Symbol 2808 MovieClip Frame 77
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2632 MovieClip in Symbol 2808 MovieClip Frame 77
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 85
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2634 MovieClip in Symbol 2808 MovieClip Frame 88
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2636 MovieClip in Symbol 2808 MovieClip Frame 88
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2638 MovieClip in Symbol 2808 MovieClip Frame 88
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2640 MovieClip in Symbol 2808 MovieClip Frame 88
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2642 MovieClip in Symbol 2808 MovieClip Frame 88
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2645 MovieClip in Symbol 2808 MovieClip Frame 88
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2648 MovieClip in Symbol 2808 MovieClip Frame 90
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2650 MovieClip in Symbol 2808 MovieClip Frame 90
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 91
_root.main.swordcombo = "c";
Symbol 2808 MovieClip Frame 99
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2652 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2654 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2656 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2658 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2660 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2662 MovieClip in Symbol 2808 MovieClip Frame 102
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2664 MovieClip in Symbol 2808 MovieClip Frame 104
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2666 MovieClip in Symbol 2808 MovieClip Frame 104
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 105
_root.main.swordcombo = "a";
Symbol 2808 MovieClip Frame 113
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2668 MovieClip in Symbol 2808 MovieClip Frame 116
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2670 MovieClip in Symbol 2808 MovieClip Frame 116
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2672 MovieClip in Symbol 2808 MovieClip Frame 116
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2674 MovieClip in Symbol 2808 MovieClip Frame 116
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2676 MovieClip in Symbol 2808 MovieClip Frame 116
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2678 MovieClip in Symbol 2808 MovieClip Frame 116
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2539 MovieClip in Symbol 2808 MovieClip Frame 118
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2680 MovieClip in Symbol 2808 MovieClip Frame 118
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2682 MovieClip in Symbol 2808 MovieClip Frame 118
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 119
_root.main.swordcombo = "f";
Symbol 2808 MovieClip Frame 127
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2684 MovieClip in Symbol 2808 MovieClip Frame 130
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2686 MovieClip in Symbol 2808 MovieClip Frame 130
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2688 MovieClip in Symbol 2808 MovieClip Frame 130
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2690 MovieClip in Symbol 2808 MovieClip Frame 130
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2692 MovieClip in Symbol 2808 MovieClip Frame 130
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2694 MovieClip in Symbol 2808 MovieClip Frame 130
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2696 MovieClip in Symbol 2808 MovieClip Frame 132
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2698 MovieClip in Symbol 2808 MovieClip Frame 132
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 133
_root.main.swordcombo = "f";
Symbol 2808 MovieClip Frame 140
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 143
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 143
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2700 MovieClip in Symbol 2808 MovieClip Frame 143
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2702 MovieClip in Symbol 2808 MovieClip Frame 143
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2704 MovieClip in Symbol 2808 MovieClip Frame 143
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2706 MovieClip in Symbol 2808 MovieClip Frame 145
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2708 MovieClip in Symbol 2808 MovieClip Frame 145
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 146
_root.main.swordcombo = "a";
Symbol 2808 MovieClip Frame 153
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2710 MovieClip in Symbol 2808 MovieClip Frame 156
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2712 MovieClip in Symbol 2808 MovieClip Frame 156
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2714 MovieClip in Symbol 2808 MovieClip Frame 156
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2716 MovieClip in Symbol 2808 MovieClip Frame 156
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2718 MovieClip in Symbol 2808 MovieClip Frame 156
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2720 MovieClip in Symbol 2808 MovieClip Frame 156
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2722 MovieClip in Symbol 2808 MovieClip Frame 158
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2724 MovieClip in Symbol 2808 MovieClip Frame 158
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 159
_root.main.swordcombo = "c";
Symbol 2808 MovieClip Frame 165
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2726 MovieClip in Symbol 2808 MovieClip Frame 168
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2728 MovieClip in Symbol 2808 MovieClip Frame 168
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2731 MovieClip in Symbol 2808 MovieClip Frame 168
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2733 MovieClip in Symbol 2808 MovieClip Frame 168
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2735 MovieClip in Symbol 2808 MovieClip Frame 170
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2737 MovieClip in Symbol 2808 MovieClip Frame 170
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 171
_root.main.swordcombo = "b";
Symbol 2808 MovieClip Frame 178
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2739 MovieClip in Symbol 2808 MovieClip Frame 181
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2741 MovieClip in Symbol 2808 MovieClip Frame 181
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2745 MovieClip in Symbol 2808 MovieClip Frame 181
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2747 MovieClip in Symbol 2808 MovieClip Frame 181
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2749 MovieClip in Symbol 2808 MovieClip Frame 181
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2751 MovieClip in Symbol 2808 MovieClip Frame 183
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2753 MovieClip in Symbol 2808 MovieClip Frame 183
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 185
_root.main.swordcombo = "d";
Symbol 2808 MovieClip Frame 192
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2539 MovieClip in Symbol 2808 MovieClip Frame 193
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2757 MovieClip in Symbol 2808 MovieClip Frame 193
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2759 MovieClip in Symbol 2808 MovieClip Frame 193
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2761 MovieClip in Symbol 2808 MovieClip Frame 193
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Symbol 2808 MovieClip Frame 195
_root.main.swordcombo = "u";
Symbol 2808 MovieClip Frame 204
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2757 MovieClip in Symbol 2808 MovieClip Frame 205
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2761 MovieClip in Symbol 2808 MovieClip Frame 205
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2539 MovieClip in Symbol 2808 MovieClip Frame 205
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2759 MovieClip in Symbol 2808 MovieClip Frame 205
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Symbol 2808 MovieClip Frame 208
_root.main.swordcombo = "u";
Symbol 2808 MovieClip Frame 218
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2769 MovieClip in Symbol 2808 MovieClip Frame 221
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2772 MovieClip in Symbol 2808 MovieClip Frame 221
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2774 MovieClip in Symbol 2808 MovieClip Frame 221
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2777 MovieClip in Symbol 2808 MovieClip Frame 222
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2779 MovieClip in Symbol 2808 MovieClip Frame 222
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2782 MovieClip in Symbol 2808 MovieClip Frame 222
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Symbol 2808 MovieClip Frame 224
_root.main.swordcombo = "d";
Symbol 2808 MovieClip Frame 231
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2784 MovieClip in Symbol 2808 MovieClip Frame 234
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2786 MovieClip in Symbol 2808 MovieClip Frame 234
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2788 MovieClip in Symbol 2808 MovieClip Frame 234
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2790 MovieClip in Symbol 2808 MovieClip Frame 235
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2792 MovieClip in Symbol 2808 MovieClip Frame 235
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2794 MovieClip in Symbol 2808 MovieClip Frame 235
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Symbol 2808 MovieClip Frame 238
_root.main.swordcombo = "b";
Symbol 2808 MovieClip Frame 244
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2784 MovieClip in Symbol 2808 MovieClip Frame 247
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2786 MovieClip in Symbol 2808 MovieClip Frame 247
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2788 MovieClip in Symbol 2808 MovieClip Frame 247
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 248
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 248
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2796 MovieClip in Symbol 2808 MovieClip Frame 248
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2798 MovieClip in Symbol 2808 MovieClip Frame 248
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2800 MovieClip in Symbol 2808 MovieClip Frame 248
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Symbol 2808 MovieClip Frame 251
_root.main.swordcombo = "a";
Symbol 2808 MovieClip Frame 256
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Instance of Symbol 2784 MovieClip in Symbol 2808 MovieClip Frame 259
onClipEvent (load) {
_root.doSwordHit("katana", this, 0);
}
Instance of Symbol 2786 MovieClip in Symbol 2808 MovieClip Frame 259
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Instance of Symbol 2788 MovieClip in Symbol 2808 MovieClip Frame 259
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 0);
}
Instance of Symbol 2802 MovieClip in Symbol 2808 MovieClip Frame 260
onClipEvent (load) {
_root.doSwordHit("katana", this, 1);
}
Instance of Symbol 2805 MovieClip in Symbol 2808 MovieClip Frame 260
onClipEvent (load) {
_root.doSwordHit("sok", this, 1);
}
Instance of Symbol 2807 MovieClip in Symbol 2808 MovieClip Frame 260
onClipEvent (load) {
_root.doSwordHit("lightsaber", this, 1);
}
Instance of Symbol 2539 MovieClip in Symbol 2808 MovieClip Frame 261
onClipEvent (load) {
_root.doSwordHit("sok", this, 0);
}
Symbol 2808 MovieClip Frame 263
_root.main.swordcombo = "f";
Symbol 2808 MovieClip Frame 268
gotoAndPlay ("end");
_root.main.swordcombo = "0";
Symbol 2808 MovieClip Frame 269
_root.main.swordcombo = "0";
Instance of Symbol 2368 MovieClip in Symbol 2808 MovieClip Frame 269
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2413 MovieClip in Symbol 2808 MovieClip Frame 269
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2808 MovieClip Frame 270
_root.main.State = "Stand";
_root.swordcontrol = 1;
_root.main.swordcombo = "0";
_root.main.kog.gotoAndStop("Stand");
Instance of Symbol 2364 MovieClip "hand" in Symbol 2811 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2811 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2425 MovieClip in Symbol 2811 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2811 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2811 MovieClip Frame 30
gotoAndPlay ("repeat");
Instance of Symbol 2364 MovieClip "hand" in Symbol 2815 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2815 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2815 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2425 MovieClip in Symbol 2815 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2815 MovieClip Frame 21
gotoAndPlay ("repeat");
Symbol 2821 MovieClip Frame 1
_root.main.nadeStart();
Symbol 2821 MovieClip Frame 11
_root.main.throwNade(1, _root.main, 1);
Symbol 2821 MovieClip Frame 16
_root.main.nading = false;
_parent._parent.gotoAndStop(1);
Symbol 2827 MovieClip Frame 16
_parent.gotoAndStop(1);
Symbol 2832 MovieClip Frame 1
_root.nadeStart();
Symbol 2832 MovieClip Frame 7
_root.main.throwNade(1, _root.main);
Symbol 2832 MovieClip Frame 12
_root.main.nading = false;
_parent._parent.gotoAndStop(1);
Symbol 2834 MovieClip Frame 1
stop();
if (_root.main.nading) {
this.gotoAndStop("nade");
}
Symbol 2836 MovieClip Frame 1
stop();
Instance of Symbol 2354 MovieClip in Symbol 2841 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2841 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2834 MovieClip in Symbol 2841 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2409 MovieClip "swordhand" in Symbol 2841 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2836 MovieClip in Symbol 2841 MovieClip Frame 2
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2841 MovieClip Frame 7
_root.control = 1;
_root.main.State = "Stand";
_root.main.kog.gotoAndStop("Stand");
Instance of Symbol 2364 MovieClip "hand" in Symbol 2841 MovieClip Frame 7
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2841 MovieClip Frame 7
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2841 MovieClip Frame 7
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 63 MovieClip "hittest" in Symbol 2853 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 2364 MovieClip "hand" in Symbol 2853 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2853 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2853 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2409 MovieClip "swordhand" in Symbol 2853 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2853 MovieClip Frame 13
if ((_root.main.kog.bean.hand.gun._currentframe != 3) and (_root.main.kog.bean.hand.gun._currentframe != 4)) {
_root.main.frametrack = _root.main.kog.bean.hand.gun.weapon._currentframe;
}
_root.main.kog.gotoAndStop("Crouch");
Symbol 2856 MovieClip Frame 1
stop();
Instance of Symbol 63 MovieClip "hittest" in Symbol 2856 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 2364 MovieClip "hand" in Symbol 2856 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2368 MovieClip in Symbol 2856 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2411 MovieClip "otherhand" in Symbol 2856 MovieClip Frame 1
onClipEvent (load) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 2409 MovieClip "swordhand" in Symbol 2856 MovieClip Frame 1
onClipEvent (load) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (!_root.sworded) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 2891 MovieClip Frame 135
_root.Reset();
Symbol 2892 MovieClip Frame 1
stop();
Symbol 2893 MovieClip [main] Frame 1
stop();
Symbol 2896 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.play();
}
Symbol 2896 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2899 Button
on (press) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 2903 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 2906 MovieClip Frame 60
stop();
Symbol 2920 MovieClip Frame 14
stop();
Symbol 2922 MovieClip Frame 240
_root.play();
Symbol 3088 MovieClip Frame 524
_root.clip.music.gotoAndPlay("end");
Symbol 3088 MovieClip Frame 678
_root.play();
Symbol 3089 MovieClip Frame 78
stop();
Symbol 3121 Button
on (release) {
gotoAndStop ("customize");
}
Symbol 3125 Button
on (press) {
_root.gotoAndStop("help");
}
Symbol 3129 Button
on (release) {
_root.gotoAndStop("level1start");
}
Symbol 3134 Button
on (press) {
getURL ("http://www.maxgames.com", _blank);
}
Symbol 3138 Button
on (press) {
_root.gotoAndStop("mainmenu");
}
Symbol 3140 Button
on (press) {
_root.gotoAndStop("tips");
}
Symbol 3142 Button
on (press) {
_root.gotoAndStop("help");
}
Symbol 3144 Button
on (press) {
_root.play();
}
Symbol 3149 Button
on (press) {
_root.lives = 5;
_root.difficulty = 0.1;
_root.cashcollected = 0;
_root.continues = 3;
_root.sworded = false;
_root.hasmac10 = false;
_root.hasglock = false;
_root.hasak47 = false;
_root.hasshotgun = false;
_root.bossflashtime = 0;
_root.bossin = false;
_root.checkpoint = 0;
_root.hasmac10 = true;
_root.hasglock = true;
_root.bossflashing = false;
_root.boss1started = false;
_root.boss1finished = false;
_root.boss2started = false;
_root.boss2finished = false;
_root.gotoAndStop("level1");
}
Symbol 3151 Button
on (press) {
_root.lives = 3;
_root.difficulty = 1;
_root.cashcollected = 0;
_root.continues = 2;
_root.sworded = false;
_root.hasmac10 = false;
_root.hasglock = false;
_root.hasak47 = false;
_root.hasshotgun = false;
_root.bossflashtime = 0;
_root.bossin = false;
_root.checkpoint = 0;
_root.hasmac10 = true;
_root.hasglock = true;
_root.bossflashing = false;
_root.boss1started = false;
_root.boss1finished = false;
_root.boss2started = false;
_root.boss2finished = false;
_root.gotoAndStop("level1");
}
Symbol 3153 Button
on (press) {
_root.lives = 2;
_root.difficulty = 2;
_root.cashcollected = 0;
_root.continues = 1;
_root.sworded = false;
_root.hasmac10 = false;
_root.hasglock = false;
_root.hasak47 = false;
_root.hasshotgun = false;
_root.bossflashtime = 0;
_root.bossin = false;
_root.checkpoint = 0;
_root.hasmac10 = true;
_root.hasglock = true;
_root.bossflashing = false;
_root.boss1started = false;
_root.boss1finished = false;
_root.boss2started = false;
_root.boss2finished = false;
_root.gotoAndStop("level1");
}
Symbol 3160 Button
on (release) {
_root.gotoAndStop("level2start");
_root.checkpoint = 0;
}
Symbol 3238 MovieClip Frame 1
stopAllSounds();
_root.night.start(0, 999);
Symbol 3238 MovieClip Frame 169
_root.gotoAndStop("level2");
Symbol 3240 MovieClip Frame 1
this._visible = false;
Symbol 3310 MovieClip Frame 1
_parent.stop();
this.hit = false;
Symbol 3310 MovieClip Frame 38
Instance of Symbol 3306 MovieClip "hitter" in Symbol 3310 MovieClip Frame 39
onClipEvent (load) {
if (this.hitTest(_root.main.kog.bean.hittest)) {
_root.swordhit.start(0, 1);
_root.main.getHurt(10, "crush");
_root.bloodcount++;
_root.lighto.light.gotoAndPlay("flash");
roof = _root.attachMovie("bloodslice", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:_root.main._x, _y:_root.main._y - 100});
roof._xscale = -100 * _root.main.DIR;
} else {
_root.whip.start(0, 1);
}
}
Symbol 3310 MovieClip Frame 75
_parent.play();
Symbol 3316 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hittest.hitTest(_root.main.kog.bean.hittest) and (!_parent.hit)) {
_parent.hit = true;
_root.swordhit.start(0, 1);
_root.main.getHurt(10, "bullet");
_root.lighto.light.gotoAndPlay("flash");
_root.bloodcount++;
roof = _root.attachMovie("bloodslice", "blood" + _root.bloodcount, 6000 + _root.bloodcount, {_x:_root.main._x, _y:_root.main._y - 100});
roof._xscale = -100 * _root.main.DIR;
}
};
Symbol 3317 MovieClip Frame 1
_parent.stop();
this.hit = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 3317 MovieClip Frame 37
onClipEvent (load) {
this.hitArea = _parent.bean.hittest;
}
Symbol 3317 MovieClip Frame 93
_parent.play();
Symbol 3319 MovieClip Frame 1
_parent.stop();
_root.hit = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 3319 MovieClip Frame 1
onClipEvent (load) {
this.hitArea = _parent.bean.hittest;
}
Symbol 3319 MovieClip Frame 22
_parent.play();
Symbol 3321 MovieClip Frame 1
_parent.stop();
this.hit = false;
Instance of Symbol 63 MovieClip "hittest" in Symbol 3321 MovieClip Frame 1
onClipEvent (load) {
this.hitArea = _parent.bean.hittest;
}
Symbol 3321 MovieClip Frame 46
_parent.play();
Symbol 3322 MovieClip Frame 1
stop();
Instance of Symbol 3310 MovieClip "kog" in Symbol 3322 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay("go");
}
Symbol 3322 MovieClip Frame 15
gotoAndStop (1);
Symbol 3322 MovieClip Frame 17
_root.Reset(2);
Symbol 3322 MovieClip Frame 23
stop();
Symbol 3344 MovieClip Frame 251
_root.gotoAndStop("levelsnicker");
Symbol 3375 MovieClip Frame 1
_root.ShitToDelete.push({ref:this});
Symbol 3470 MovieClip Frame 114
gotoAndPlay ("done");
Instance of Symbol 3375 MovieClip in Symbol 3470 MovieClip Frame 129
onClipEvent (load) {
this.DONE = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.sky) and (!this.DONE)) {
this.DONE = true;
kweh = _root.attachMovie("LIGHT", "LIGHT9", 6509, {_x:this._x + 10763, _y:this._y + 632.6, _xscale:this._xscale, _yscale:this._yscale});
kweh.onEnterFrame = function () {
_root.doSection(this);
};
delete this.onEnterFrame;
}
}
Symbol 3470 MovieClip Frame 517
_root.gotoAndStop("level2ended");
Symbol 3480 Button
on (release) {
_root.hat++;
if (_root.hat > _root.maxhats) {
_root.hat = 1;
}
}
Symbol 3481 Button
on (release) {
_root.hat--;
if (_root.hat <= 0) {
_root.hat = _root.maxhats;
}
}
Symbol 3482 Button
on (release) {
_root.shades++;
if (_root.shades > _root.maxshades) {
_root.shades = 1;
}
}
Symbol 3483 Button
on (release) {
_root.shades--;
if (_root.shades <= 0) {
_root.shades = _root.maxshades;
}
}
Symbol 3486 Button
on (press) {
if (_root.totalprice == 0) {
_root.gotoAndStop("mainmenu");
_root.user_so.data.hat = _root.hat;
_root.user_so.data.shades = _root.shades;
} else {
_root.hat = _root.user_so.data.hat;
_root.shades = _root.user_so.data.shades;
}
}
Symbol 3488 Button
on (release) {
if (_root.cash >= _root.totalprice) {
_root.cash = _root.cash - _root.totalprice;
_root.user_so.data["hat" + _root.hat].price = 0;
_root.user_so.data["shades" + _root.shades].price = 0;
}
}
Symbol 3495 Button
on (release) {
_root.gotoAndPlay("mainmenu");
}
Symbol 3501 Button
on (release) {
_root.continues--;
_root.lives = 3;
_root.gotoAndStop("reset");
}
Symbol 3503 Button
on (release) {
_root.gotoAndStop("gameover");
}
Symbol 3507 Button
on (press) {
getURL ("http://www.maxgames.com", _blank);
}