Frame 1
stop();
attachMovie("Crosshair", "Crosshair", 1);
Stage.showMenu = false;
Instance of Symbol 230 MovieClip in Frame 1
onClipEvent (load) {
_root.stop();
}
Frame 2
stop();
EnemyLimit = 0;
zc = 100;
bc = 1;
var PBulletArray = new Array(10);
var DBulletArray = new Array(10);
var SBulletArray = new Array(10);
var SmgBulletArray = new Array(10);
var ARBulletArray = new Array(10);
var GuassBulletArray = new Array(10);
var ZombieArray = new Array(10);
var CrowArray = new Array(10);
var FatZombieArray = new Array(10);
var WraithArray = new Array(10);
var DemonArray = new Array(10);
Health = 100;
PAmmo = 12;
DAmmo = 7;
SAmmo = 8;
SmgAmmo = 30;
ARAmmo = 30;
GuassAmmo = 5;
PClip = 8;
DClip = 0;
SClip = 0;
SmgClip = 0;
ARClip = 0;
GuassClip = 0;
PistolRate = 100;
DeagleRate = 100;
SRate = 100;
SmgRate = 100;
ARRate = 100;
DeagleItem = "No";
ShotgunItem = "No";
SmgItem = "No";
ARItem = "No";
GuassItem = "No";
Type = "Nothing";
Score = 0;
ZombieRate = 0;
CrowRate = 0;
FatZombieRate = 0;
WraithRate = 0;
DemonRate = 0;
ZombieLimit = 100000 /* 0x0186A0 */;
CrowLimit = 100000 /* 0x0186A0 */;
FatZombieLimit = 100000 /* 0x0186A0 */;
WraithLimit = 100000 /* 0x0186A0 */;
DemonLimit = 100000 /* 0x0186A0 */;
CurrentStage = 1;
CurrentStager = "Stage " + CurrentStage;
CurrentTime = 0;
TimeRequired = 60;
TimeCount = TimeRequired - CurrentTime;
var Beep = new Sound();
Beep.attachSound("Beep");
var Buy = new Sound();
Buy.attachSound("Buy");
var Thunder = new Sound();
Thunder.attachSound("Thunder");
var Forest = new Sound();
Forest.attachSound("Forest");
var PFire = new Sound();
PFire.attachSound("PFire");
var DFire = new Sound();
DFire.attachSound("DFire");
var SFire = new Sound();
SFire.attachSound("SFire");
var Reload = new Sound();
Reload.attachSound("Reload");
var SmgFire = new Sound();
SmgFire.attachSound("SmgFire");
var ARFire = new Sound();
ARFire.attachSound("ARFire");
var GuassFire = new Sound();
GuassFire.attachSound("GuassFire");
var GuassReload = new Sound();
GuassReload.attachSound("GuassReload");
var Shot = new Sound();
Shot.attachSound("Shot");
var SReload = new Sound();
SReload.attachSound("SReload");
var Switch = new Sound();
Switch.attachSound("Switch");
var BloodSplat = new Sound();
BloodSplat.attachSound("BloodSplat");
var ZombieAttack = new Sound();
ZombieAttack.attachSound("ZombieAttack");
var ZombieDeath = new Sound();
ZombieDeath.attachSound("ZombieDeath");
var FatZombieAttack = new Sound();
FatZombieAttack.attachSound("FatZombieAttack");
var FatZombieDeath = new Sound();
FatZombieDeath.attachSound("FatZombieDeath");
var WraithAttack = new Sound();
WraithAttack.attachSound("WraithAttack");
var WraithDeath = new Sound();
WraithDeath.attachSound("WraithDeath");
var DemonAttack = new Sound();
DemonAttack.attachSound("DemonAttack");
var DemonDeath = new Sound();
DemonDeath.attachSound("DemonDeath");
var Caw = new Sound();
Caw.attachSound("Caw");
_global.Look = function () {
Mouse.hide();
_root.Crosshair._x = _root._xmouse;
_root.Crosshair._y = _root._ymouse;
};
_global.HP = function () {
_root.Healthbar._xscale = _root.Health;
};
_global.KeyPad = function () {
if (Key.isDown(48)) {
_root.Player.gotoAndStop("Nothing");
}
if (Key.isDown(49)) {
_root.Player.gotoAndStop("Pistol");
SwitchRate = 0;
}
if (Key.isDown(50) && (_root.DeagleItem == "Yes")) {
_root.Player.gotoAndStop("Deagle");
SwitchRate = 0;
}
if (Key.isDown(51) && (_root.ShotgunItem == "Yes")) {
_root.Player.gotoAndStop("Shotgun");
SwitchRate = 0;
}
if (Key.isDown(52) && (_root.SmgItem == "Yes")) {
_root.Player.gotoAndStop("Smg");
SwitchRate = 0;
}
if ((((Key.isDown(70) && (_root.Type == "Smg")) && (_root.SmgAmmo >= 1)) && (SmgRate >= 100)) && (SwitchRate >= 100)) {
_root.SmgAmmo = _root.SmgAmmo - 1;
SmgFire.start();
_root.Crosshair.play();
_root.Player.Smg.play();
bc++;
duplicateMovieClip ("SmgBullet", "Smg" + bc, bc);
SmgBulletArray[bc] = _root["Smg" + bc];
SmgRate = 0;
}
if ((((Key.isDown(70) && (_root.Type == "AR")) && (_root.ARAmmo >= 1)) && (ARRate >= 100)) && (SwitchRate >= 100)) {
_root.ARAmmo = _root.ARAmmo - 1;
ARFire.start();
_root.Crosshair.play();
_root.Player.AR.play();
bc++;
duplicateMovieClip ("ARBullet", "AR" + bc, bc);
ARBulletArray[bc] = _root["AR" + bc];
ARRate = 0;
}
if (Key.isDown(53) && (_root.ARItem == "Yes")) {
_root.Player.gotoAndStop("AR");
SwitchRate = 0;
}
if (Key.isDown(54) && (_root.GuassItem == "Yes")) {
_root.Player.gotoAndStop("Guass");
SwitchRate = 0;
}
if (Key.isDown(82) && (_root.Type == "Pistol")) {
Reload.start();
_root.Player.Pistol.gotoAndPlay(6);
}
if (Key.isDown(82) && (_root.Type == "Deagle")) {
Reload.start();
_root.Player.Deagle.gotoAndPlay(9);
}
if (Key.isDown(82) && (_root.Type == "Shotgun")) {
_root.Player.Shotgun.gotoAndPlay(12);
}
if (Key.isDown(82) && (_root.Type == "Smg")) {
Reload.start();
_root.Player.Smg.gotoAndPlay(7);
}
if (Key.isDown(82) && (_root.Type == "AR")) {
Reload.start();
_root.Player.AR.gotoAndPlay(10);
}
if (Key.isDown(82) && (_root.Type == "Guass")) {
GuassReload.start();
_root.Player.Guass.gotoAndPlay(8);
}
_global.Weapon = function () {
if (bc > 50) {
bc = 1;
}
_root.onMouseDown = function () {
if ((((_root.Type == "Pistol") && (_root.PAmmo >= 1)) && (PistolRate >= 100)) && (SwitchRate >= 100)) {
_root.PAmmo = _root.PAmmo - 1;
PFire.start();
_root.Crosshair.play();
_root.Player.Pistol.play();
bc++;
duplicateMovieClip ("PistolBullet", "P" + bc, bc);
PBulletArray[bc] = _root["P" + bc];
PistolRate = 0;
}
if ((((_root.Type == "Deagle") && (_root.DAmmo >= 1)) && (DeagleRate >= 100)) && (SwitchRate >= 100)) {
_root.DAmmo = _root.DAmmo - 1;
DFire.start();
_root.Crosshair.play();
_root.Player.Pistol.play();
bc++;
duplicateMovieClip ("DeagleBullet", "D" + bc, bc);
DBulletArray[bc] = _root["D" + bc];
DeagleRate = 0;
}
if ((((_root.Type == "Shotgun") && (_root.SAmmo >= 1)) && (SRate >= 100)) && (SwitchRate >= 100)) {
_root.SAmmo = _root.SAmmo - 1;
SFire.start();
_root.Crosshair.play();
_root.Player.Shotgun.play();
bc++;
duplicateMovieClip ("ShotgunBullet", "S" + bc, bc);
SBulletArray[bc] = _root["S" + bc];
bc++;
duplicateMovieClip ("ShotgunBullet", "S" + bc, bc);
SBulletArray[bc] = _root["S" + bc];
bc++;
duplicateMovieClip ("ShotgunBullet", "S" + bc, bc);
SBulletArray[bc] = _root["S" + bc];
bc++;
duplicateMovieClip ("ShotgunBullet", "S" + bc, bc);
SBulletArray[bc] = _root["S" + bc];
bc++;
duplicateMovieClip ("ShotgunBullet", "S" + bc, bc);
SBulletArray[bc] = _root["S" + bc];
SRate = 0;
}
if ((((_root.Type == "Smg") && (_root.SmgAmmo >= 1)) && (SmgRate >= 100)) && (SwitchRate >= 100)) {
_root.SmgAmmo = _root.SmgAmmo - 1;
SmgFire.start();
_root.Crosshair.play();
_root.Player.Smg.play();
bc++;
duplicateMovieClip ("SmgBullet", "Smg" + bc, bc);
SmgBulletArray[bc] = _root["Smg" + bc];
SmgRate = 0;
}
if ((((_root.Type == "AR") && (_root.ARAmmo >= 1)) && (ARRate >= 100)) && (SwitchRate >= 100)) {
_root.ARAmmo = _root.ARAmmo - 1;
ARFire.start();
_root.Crosshair.play();
_root.Player.AR.play();
bc++;
duplicateMovieClip ("ARBullet", "AR" + bc, bc);
ARBulletArray[bc] = _root["AR" + bc];
ARRate = 0;
}
if ((((_root.Type == "Guass") && (_root.GuassAmmo >= 1)) && (GuassRate >= 100)) && (SwitchRate >= 100)) {
_root.GuassAmmo = _root.GuassAmmo - 1;
GuassFire.start();
_root.Crosshair.play();
_root.Player.Guass.play();
bc++;
duplicateMovieClip ("GuassBullet", "Guass" + bc, 600);
GuassBulletArray[bc] = _root["Guass" + bc];
GuassRate = 0;
}
};
};
_global.Rates = function () {
if (PistolRate <= 100) {
PistolRate = PistolRate + 15;
}
if (DeagleRate <= 100) {
DeagleRate = DeagleRate + 5;
}
if (SRate <= 100) {
SRate = SRate + 4;
}
if (SmgRate <= 100) {
SmgRate = SmgRate + 40;
}
if (ARRate <= 100) {
ARRate = ARRate + 20;
}
if (GuassRate <= 100) {
GuassRate = GuassRate + 2;
}
if (SwitchRate <= 100) {
SwitchRate = SwitchRate + 5;
}
};
_global.Depther = function () {
_root.Crosshair.swapDepths(_root.getNextHighestDepth());
};
_global.VisibleBars = function () {
if (_root.Type == "Nothing") {
_root.Stats.Pistol._visible = false;
_root.Stats.Deagle._visible = false;
_root.Stats.Shotgun._visible = false;
_root.Stats.Smg._visible = false;
_root.Stats.AR._visible = false;
_root.Stats.Guass._visible = false;
_root.Stats.PistolAmmoBar._visible = false;
_root.Stats.DeagleAmmoBar._visible = false;
_root.Stats.SAmmoBar._visible = false;
_root.Stats.SmgAmmoBar._visible = false;
_root.Stats.ARAmmoBar._visible = false;
_root.Stats.GuassAmmoBar._visible = false;
}
if (_root.Type == "Pistol") {
_root.Stats.Pistol._visible = true;
_root.Stats.Deagle._visible = false;
_root.Stats.Shotgun._visible = false;
_root.Stats.Smg._visible = false;
_root.Stats.AR._visible = false;
_root.Stats.Guass._visible = false;
_root.Stats.PistolAmmoBar._visible = true;
_root.Stats.DeagleAmmoBar._visible = false;
_root.Stats.SAmmoBar._visible = false;
_root.Stats.SmgAmmoBar._visible = false;
_root.Stats.ARAmmoBar._visible = false;
_root.Stats.GuassAmmoBar._visible = false;
}
if (_root.Type == "Deagle") {
_root.Stats.Pistol._visible = false;
_root.Stats.Deagle._visible = true;
_root.Stats.Shotgun._visible = false;
_root.Stats.Smg._visible = false;
_root.Stats.AR._visible = false;
_root.Stats.Guass._visible = false;
_root.Stats.PistolAmmoBar._visible = false;
_root.Stats.DeagleAmmoBar._visible = true;
_root.Stats.SAmmoBar._visible = false;
_root.Stats.SmgAmmoBar._visible = false;
_root.Stats.ARAmmoBar._visible = false;
_root.Stats.GuassAmmoBar._visible = false;
}
if (_root.Type == "Shotgun") {
_root.Stats.Pistol._visible = false;
_root.Stats.Deagle._visible = false;
_root.Stats.Shotgun._visible = true;
_root.Stats.Smg._visible = false;
_root.Stats.AR._visible = false;
_root.Stats.Guass._visible = false;
_root.Stats.PistolAmmoBar._visible = false;
_root.Stats.DeagleAmmoBar._visible = false;
_root.Stats.SAmmoBar._visible = true;
_root.Stats.SmgAmmoBar._visible = false;
_root.Stats.ARAmmoBar._visible = false;
_root.Stats.GuassAmmoBar._visible = false;
}
if (_root.Type == "Smg") {
_root.Stats.Pistol._visible = false;
_root.Stats.Deagle._visible = false;
_root.Stats.Shotgun._visible = false;
_root.Stats.Smg._visible = true;
_root.Stats.AR._visible = false;
_root.Stats.Guass._visible = false;
_root.Stats.PistolAmmoBar._visible = false;
_root.Stats.DeagleAmmoBar._visible = false;
_root.Stats.SAmmoBar._visible = false;
_root.Stats.SmgAmmoBar._visible = true;
_root.Stats.ARAmmoBar._visible = false;
_root.Stats.GuassAmmoBar._visible = false;
}
if (_root.Type == "AR") {
_root.Stats.Pistol._visible = false;
_root.Stats.Deagle._visible = false;
_root.Stats.Shotgun._visible = false;
_root.Stats.Smg._visible = false;
_root.Stats.AR._visible = true;
_root.Stats.Guass._visible = false;
_root.Stats.PistolAmmoBar._visible = false;
_root.Stats.DeagleAmmoBar._visible = false;
_root.Stats.SAmmoBar._visible = false;
_root.Stats.SmgAmmoBar._visible = false;
_root.Stats.ARAmmoBar._visible = true;
_root.Stats.GuassAmmoBar._visible = false;
}
if (_root.Type == "Guass") {
_root.Stats.Pistol._visible = false;
_root.Stats.Deagle._visible = false;
_root.Stats.Shotgun._visible = false;
_root.Stats.Smg._visible = false;
_root.Stats.AR._visible = false;
_root.Stats.Guass._visible = true;
_root.Stats.PistolAmmoBar._visible = false;
_root.Stats.DeagleAmmoBar._visible = false;
_root.Stats.SAmmoBar._visible = false;
_root.Stats.SmgAmmoBar._visible = false;
_root.Stats.ARAmmoBar._visible = false;
_root.Stats.GuassAmmoBar._visible = true;
}
};
_global.SpawnZombies = function () {
if (EnemyLimit < 16) {
if (zc > 130) {
zc = 100;
}
if (_root.ZombieRate >= _root.ZombieLimit) {
zc++;
EnemyLimit++;
duplicateMovieClip ("Zombie", "Z" + zc, zc);
ZombieArray[zc] = _root["Z" + zc];
ZombieRate = 0;
}
if (_root.CrowRate >= _root.CrowLimit) {
zc++;
EnemyLimit++;
duplicateMovieClip ("Crow", "C" + zc, zc);
CrowArray[zc] = _root["C" + zc];
CrowRate = 0;
}
if (_root.FatZombieRate >= _root.FatZombieLimit) {
zc++;
EnemyLimit++;
duplicateMovieClip ("FatZombie", "FatZombie" + zc, zc);
FatZombieArray[zc] = _root["FatZombie" + zc];
FatZombieRate = 0;
}
if (_root.WraithRate >= _root.WraithLimit) {
zc++;
EnemyLimit++;
duplicateMovieClip ("Wraith", "Wraith" + zc, zc);
WraithArray[zc] = _root["Wraith" + zc];
WraithRate = 0;
}
if (_root.DemonRate >= _root.DemonLimit) {
zc++;
EnemyLimit++;
duplicateMovieClip ("Demon", "Demon" + zc, zc);
DemonArray[zc] = _root["Demon" + zc];
DemonRate = 0;
}
if ((_root.ZombieLimit != 100000) && (_root.ZombieRate <= _root.ZombieLimit)) {
ZombieRate++;
}
if ((_root.CrowLimit != 100000) && (_root.CrowRate <= _root.CrowLimit)) {
CrowRate++;
}
if ((_root.FatZombieLimit != 100000) && (_root.FatZombieRate <= _root.FatZombieLimit)) {
FatZombieRate++;
}
if ((_root.WraithLimit != 100000) && (_root.WraithRate <= _root.WraithLimit)) {
WraithRate++;
}
if ((_root.DemonLimit != 100000) && (_root.DemonRate <= _root.DemonLimit)) {
DemonRate++;
}
}
};
_global.StageComplete = function () {
if (_root.CurrentTime >= _root.TimeRequired) {
gotoAndStop (4);
_root.CurrentTime = 0;
_root.Healthbar._visible = "false";
_root.Player._visible = "false";
_root.CurrentStage++;
} else {
_root.TimeCount = _root.TimeRequired - _root.CurrentTime;
}
};
_global.GameOver = function () {
if (_root.Health < 0) {
clearInterval(TimeInterval);
_root.Health = 0;
stopAllSounds();
var _local2 = 0;
while (_local2 < _root.ZombieArray.length) {
_root.ZombieArray[_local2].unloadMovie();
_local2++;
}
_local2 = 0;
while (_local2 < _root.CrowArray.length) {
_root.CrowArray[_local2].unloadMovie();
_local2++;
}
_local2 = 0;
while (_local2 < _root.FatZombieArray.length) {
_root.FatZombieArray[_local2].unloadMovie();
_local2++;
}
_local2 = 0;
while (_local2 < _root.WraithArray.length) {
_root.WraithArray[_local2].unloadMovie();
_local2++;
}
_local2 = 0;
while (_local2 < _root.DemonArray.length) {
_root.DemonArray[_local2].unloadMovie();
_local2++;
}
_root.Stats._visible = false;
gotoAndStop (5);
}
};
};
Instance of Symbol 236 MovieClip in Frame 2
onClipEvent (load) {
this._alpha = 0;
_root.Start._alpha = 0;
_root.Controls._alpha = 0;
_root.Credits._alpha = 0;
_root.Story._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 1;
if (this._alpha >= 100) {
_root.Start._alpha = _root.Start._alpha + 1;
_root.Controls._alpha = _root.Controls._alpha + 1;
_root.Credits._alpha = _root.Credits._alpha + 1;
_root.Story._alpha = _root.Story._alpha + 1;
}
}
Frame 3
CurrentStager = "Stage " + CurrentStage;
stop();
Frame 4
var i = 0;
while (i < _root.ZombieArray.length) {
_root.ZombieArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.CrowArray.length) {
_root.CrowArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.FatZombieArray.length) {
_root.FatZombieArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.WraithArray.length) {
_root.WraithArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.DemonArray.length) {
_root.DemonArray[i].unloadMovie();
i++;
}
clearInterval(TimeInterval);
stopAllSounds();
onEnterFrame = function () {
_root.Stats._visible = false;
Look();
};
Frame 5
clearInterval(TimeInterval);
var i = 0;
while (i < _root.ZombieArray.length) {
_root.ZombieArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.CrowArray.length) {
_root.CrowArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.FatZombieArray.length) {
_root.FatZombieArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.WraithArray.length) {
_root.WraithArray[i].unloadMovie();
i++;
}
var i = 0;
while (i < _root.DemonArray.length) {
_root.DemonArray[i].unloadMovie();
i++;
}
_root.Stats._visible = false;
Frame 6
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
_root.Stats.swapDepths(_root.getNextHighestDepth());
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Instance of Symbol 449 MovieClip "Advice" in Frame 6
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 1;
if (this._alpha >= 200) {
this.unloadMovie();
}
}
Instance of Symbol 105 MovieClip [Player] "Player" in Frame 6
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
Instance of Symbol 452 MovieClip "PistolBullet" in Frame 6
onClipEvent (load) {
spd = 30;
_x = _root.Player._x;
_y = _root.Player._y;
_rotation = _root.Player._rotation;
}
Instance of Symbol 454 MovieClip "DeagleBullet" in Frame 6
onClipEvent (load) {
spd = 30;
_x = _root.Player._x;
_y = _root.Player._y;
_rotation = _root.Player._rotation;
}
Instance of Symbol 456 MovieClip "ShotgunBullet" in Frame 6
onClipEvent (load) {
spd = 20;
_x = _root.Player._x;
_y = _root.Player._y;
Deviation = random(5);
Randomer = random(2);
if (Randomer == 1) {
Deviation = -Deviation;
} else {
Deviation = Deviation;
}
_rotation = (_root.Player._rotation + Deviation);
}
Instance of Symbol 457 MovieClip "SmgBullet" in Frame 6
onClipEvent (load) {
spd = 30;
_x = _root.Player._x;
_y = _root.Player._y;
Deviation = random(4);
Randomer = random(2);
if (Randomer == 1) {
Deviation = -Deviation;
} else {
Deviation = Deviation;
}
_rotation = (_root.Player._rotation + Deviation);
}
Instance of Symbol 459 MovieClip "ARBullet" in Frame 6
onClipEvent (load) {
spd = 30;
_x = _root.Player._x;
_y = _root.Player._y;
Deviation = random(4);
Randomer = random(2);
if (Randomer == 1) {
Deviation = -Deviation;
} else {
Deviation = Deviation;
}
_rotation = (_root.Player._rotation + Deviation);
}
Instance of Symbol 461 MovieClip "GuassBullet" in Frame 6
onClipEvent (load) {
spd = 30;
_x = _root.Player._x;
_y = _root.Player._y;
_rotation = _root.Player._rotation;
}
Instance of Symbol 486 MovieClip "Zombie" in Frame 6
onClipEvent (load) {
i = 1;
spd = 0.5;
rate = 100;
Health = 100;
XY = random(2);
Xside = random(2);
Yside = random(2);
if (XY == 1) {
if (Xside == 1) {
this._x = 750;
this._y = random(600);
}
if (Xside == 0) {
this._x = -50;
this._y = random(600);
}
}
if (XY == 0) {
if (Yside == 1) {
this._y = -50;
this._x = random(700);
}
if (Yside == 0) {
this._y = 650;
this._x = random(700);
}
}
}
Instance of Symbol 504 MovieClip "Crow" in Frame 6
onClipEvent (load) {
i = 1;
spd = 5;
rate = 100;
Health = 100;
XY = random(2);
Xside = random(2);
Yside = random(2);
if (XY == 1) {
if (Xside == 1) {
this._x = 750;
this._y = random(600);
}
if (Xside == 0) {
this._x = -50;
this._y = random(600);
}
}
if (XY == 0) {
if (Yside == 1) {
this._y = -50;
this._x = random(700);
}
if (Yside == 0) {
this._y = 650;
this._x = random(700);
}
}
}
Instance of Symbol 530 MovieClip "FatZombie" in Frame 6
onClipEvent (load) {
i = 1;
spd = 0.5;
rate = 100;
Health = 100;
XY = random(2);
Xside = random(2);
Yside = random(2);
if (XY == 1) {
if (Xside == 1) {
this._x = 750;
this._y = random(600);
}
if (Xside == 0) {
this._x = -50;
this._y = random(600);
}
}
if (XY == 0) {
if (Yside == 1) {
this._y = -50;
this._x = random(700);
}
if (Yside == 0) {
this._y = 650;
this._x = random(700);
}
}
}
Instance of Symbol 549 MovieClip "Wraith" in Frame 6
onClipEvent (load) {
i = 1;
spd = 1;
rate = 100;
Health = 100;
XY = random(2);
Xside = random(2);
Yside = random(2);
if (XY == 1) {
if (Xside == 1) {
this._x = 750;
this._y = random(600);
}
if (Xside == 0) {
this._x = -50;
this._y = random(600);
}
}
if (XY == 0) {
if (Yside == 1) {
this._y = -50;
this._x = random(700);
}
if (Yside == 0) {
this._y = 650;
this._x = random(700);
}
}
}
Instance of Symbol 567 MovieClip "Demon" in Frame 6
onClipEvent (load) {
i = 1;
spd = 0.5;
rate = 100;
Health = 100;
XY = random(2);
Xside = random(2);
Yside = random(2);
if (XY == 1) {
if (Xside == 1) {
this._x = 750;
this._y = random(600);
}
if (Xside == 0) {
this._x = -50;
this._y = random(600);
}
}
if (XY == 0) {
if (Yside == 1) {
this._y = -50;
this._x = random(700);
}
if (Yside == 0) {
this._y = 650;
this._x = random(700);
}
}
}
Frame 7
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 8
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 200;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 9
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 100;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 10
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 400;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 11
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 200;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 12
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 200;
_root.FatZombieLimit = 200;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 13
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 200;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 14
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 200;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 200;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 15
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 400;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 16
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 800;
_root.WraithLimit = 100;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 17
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 200;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 18
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 400;
_root.CrowLimit = 600;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 19
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 200;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 20
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 200;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 200;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 21
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 200;
_root.DemonLimit = 200;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 22
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 23
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100;
_root.CrowLimit = 50;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100000 /* 0x0186A0 */;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 24
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 200;
_root.DemonLimit = 100000 /* 0x0186A0 */;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Frame 25
function AddTime() {
_root.CurrentTime = _root.CurrentTime + 1;
}
stop();
_root.TimeRequired = 60;
_root.EnemyLimit = 0;
_root.ZombieLimit = 100000 /* 0x0186A0 */;
_root.CrowLimit = 100000 /* 0x0186A0 */;
_root.FatZombieLimit = 100000 /* 0x0186A0 */;
_root.WraithLimit = 100;
_root.DemonLimit = 200;
TimeInterval = setInterval(AddTime, 1000);
_root.Stats._visible = true;
_root.onEnterFrame = function () {
Look();
Hp();
KeyPad();
Rates();
Weapon();
VisibleBars();
Depther();
SpawnZombies();
StageComplete();
GameOver();
};
Instance of Symbol 549 MovieClip "Wraith" in Frame 25
onClipEvent (load) {
i = 1;
spd = 2;
rate = 100;
Health = 100;
XY = random(2);
Xside = random(2);
Yside = random(2);
if (XY == 1) {
if (Xside == 1) {
this._x = 750;
this._y = random(600);
}
if (Xside == 0) {
this._x = -50;
this._y = random(600);
}
}
if (XY == 0) {
if (Yside == 1) {
this._y = -50;
this._x = random(700);
}
if (Yside == 0) {
this._y = 650;
this._x = random(700);
}
}
}
Instance of Symbol 588 MovieClip in Frame 26
onClipEvent (load) {
this._alpha = 0;
BackToStart._visible = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 1;
if (this._alpha >= 100) {
BackToStart._visible = true;
}
}
Instance of Symbol 592 MovieClip in Frame 27
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 1;
}
Symbol 31 MovieClip [Blood] Frame 16
this.unloadMovie();
Symbol 34 MovieClip [Crosshair] Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 5
gotoAndStop (1);
Symbol 44 MovieClip Frame 6
_root.Type = "Reloading";
Symbol 44 MovieClip Frame 67
gotoAndStop (1);
if (_root.PClip > 0) {
_root.PAmmo = 12;
_root.PClip = _root.PClip - 1;
}
_root.Type = "Pistol";
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 8
gotoAndStop (1);
Symbol 56 MovieClip Frame 9
_root.Type = "Reloading";
Symbol 56 MovieClip Frame 60
gotoAndStop (1);
if (_root.DClip > 0) {
_root.DAmmo = 7;
_root.DClip = _root.DClip - 1;
}
_root.Type = "Deagle";
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 11
gotoAndStop (1);
Symbol 71 MovieClip Frame 12
_root.Type = "Reloading";
_root.Shot.start();
Symbol 71 MovieClip Frame 30
_root.Shot.start();
Symbol 71 MovieClip Frame 49
_root.Shot.start();
Symbol 71 MovieClip Frame 63
_root.Shot.start();
Symbol 71 MovieClip Frame 82
_root.Shot.start();
Symbol 71 MovieClip Frame 100
_root.Shot.start();
Symbol 71 MovieClip Frame 116
_root.Shot.start();
Symbol 71 MovieClip Frame 131
_root.Shot.start();
_root.SReload.start();
Symbol 71 MovieClip Frame 143
gotoAndStop (1);
if (_root.SClip > 0) {
_root.SAmmo = 8;
_root.SClip = _root.SClip - 1;
}
_root.Type = "Shotgun";
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 6
gotoAndStop (1);
Symbol 81 MovieClip Frame 7
_root.Type = "Reloading";
Symbol 81 MovieClip Frame 60
gotoAndStop (1);
if (_root.SmgClip > 0) {
_root.SmgAmmo = 30;
_root.SmgClip = _root.SmgClip - 1;
}
_root.Type = "Smg";
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 9
gotoAndStop (1);
Symbol 93 MovieClip Frame 10
_root.Type = "Reloading";
Symbol 93 MovieClip Frame 65
gotoAndStop (1);
if (_root.ARClip > 0) {
_root.ARAmmo = 30;
_root.ARClip = _root.ARClip - 1;
}
_root.Type = "AR";
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 7
gotoAndStop (1);
Symbol 104 MovieClip Frame 8
_root.Type = "Reloading";
Symbol 104 MovieClip Frame 60
gotoAndStop (1);
if ((_root.GuassClip > 0) && (_root.GuassAmmo < 5)) {
_root.GuassAmmo = _root.GuassAmmo + 1;
_root.GuassClip = _root.GuassClip - 1;
}
_root.Type = "Guass";
Symbol 105 MovieClip [Player] Frame 1
stop();
_root.Type = "Nothing";
Symbol 105 MovieClip [Player] Frame 2
stop();
_root.Type = "Pistol";
_root.Switch.start();
Symbol 105 MovieClip [Player] Frame 3
stop();
_root.Type = "Deagle";
_root.Switch.start();
Symbol 105 MovieClip [Player] Frame 4
stop();
_root.Type = "Shotgun";
_root.Switch.start();
Symbol 105 MovieClip [Player] Frame 5
stop();
_root.Type = "Smg";
_root.Switch.start();
Symbol 105 MovieClip [Player] Frame 6
stop();
_root.Type = "AR";
_root.Switch.start();
Symbol 105 MovieClip [Player] Frame 7
stop();
_root.Type = "Guass";
_root.Switch.start();
Symbol 109 MovieClip [Gameover] Frame 175
_root.gotoAndStop(2);
Symbol 120 MovieClip Frame 1
var Flash = new Sound();
Flash.attachSound("Flash");
stop();
Symbol 120 MovieClip Frame 70
Flash.start();
Symbol 120 MovieClip Frame 136
Flash.start();
Symbol 120 MovieClip Frame 202
Flash.start();
Symbol 120 MovieClip Frame 380
_root.gotoAndStop(2);
Symbol 146 Button
on (release) {
getURL ("http://www.turbogames.com", _blank);
}
Symbol 167 Button
on (release) {
_parent.play();
}
Instance of Symbol 153 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
bar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (bar._xscale == 100) {
_parent.gotoAndStop(113);
}
}
Symbol 168 MovieClip Frame 112
gotoAndPlay (1);
Symbol 211 MovieClip Frame 40
stop();
Instance of Symbol 213 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (load) {
_rotation = -45;
speed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Symbol 224 MovieClip Frame 1
stop();
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 223 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
_xscale = 10;
_yscale = 10;
x = 0;
y = 0;
speed = 1;
i = 0;
}
onClipEvent (enterFrame) {
if (_xscale < 120) {
_xscale = (_xscale + 1);
_yscale = (_yscale + 1);
speed = speed + 0.5;
}
}
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 170 MovieClip in Symbol 230 MovieClip Frame 120
onClipEvent (load) {
stop();
}
Symbol 230 MovieClip Frame 145
_root.Kwok.play();
stop();
Symbol 234 Button
on (release) {
getURL ("http://www.turbogames.com/", "_blank");
}
Symbol 238 Button
on (release) {
gotoAndStop (3);
}
on (rollOver) {
Beep.start();
}
Symbol 242 Button
on (rollOver) {
Beep.start();
}
Symbol 246 Button
on (rollOver) {
Beep.start();
}
Symbol 248 Button
on (release) {
gotoAndStop (27);
}
on (rollOver) {
Beep.start();
}
Symbol 252 MovieClip Frame 1
_root.Thunder.start();
Symbol 252 MovieClip Frame 178
if (_root.CurrentStage < 21) {
_root.gotoAndStop(_root.CurrentStage + 5);
} else {
_root.gotoAndStop(26);
}
Symbol 259 Button
on (release) {
if ((_root.Score >= 1000) && (_root.DeagleItem == "No")) {
_root.Score = _root.Score - 1000;
_root.DeagleItem = "Yes";
Buy.start();
}
}
Symbol 263 Button
on (release) {
if (_root.Score >= 50) {
_root.Score = _root.Score - 50;
_root.DClip = _root.DClip + 1;
Buy.start();
}
}
Symbol 267 Button
on (release) {
if (_root.Score >= 25) {
_root.Score = _root.Score - 25;
_root.PClip = _root.PClip + 1;
Buy.start();
}
}
Symbol 270 Button
on (release) {
gotoAndStop (3);
}
Symbol 274 Button
on (release) {
if ((_root.Score >= 2000) && (_root.ShotgunItem == "No")) {
_root.Score = _root.Score - 2000;
_root.ShotgunItem = "Yes";
Buy.start();
}
}
Symbol 277 Button
on (release) {
if (_root.Score >= 50) {
_root.Score = _root.Score - 50;
_root.SClip = _root.SClip + 1;
Buy.start();
}
}
Symbol 281 Button
on (release) {
if ((_root.Score >= 2000) && (_root.SmgItem == "No")) {
_root.Score = _root.Score - 2000;
_root.SmgItem = "Yes";
Buy.start();
}
}
Symbol 285 Button
on (release) {
if (_root.Score >= 50) {
_root.Score = _root.Score - 50;
_root.SmgClip = _root.SmgClip + 1;
Buy.start();
}
}
Symbol 300 Button
on (release) {
if ((_root.Score >= 6000) && (_root.ARItem == "No")) {
_root.Score = _root.Score - 6000;
_root.ARItem = "Yes";
Buy.start();
}
}
Symbol 304 Button
on (release) {
if (_root.Score >= 100) {
_root.Score = _root.Score - 100;
_root.ARClip = _root.ARClip + 1;
Buy.start();
}
}
Symbol 310 Button
on (release) {
if ((_root.Score >= 20000) && (_root.GuassItem == "No")) {
_root.Score = _root.Score - 20000;
_root.GuassItem = "Yes";
Buy.start();
}
}
Symbol 314 Button
on (release) {
if (_root.Score >= 100) {
_root.Score = _root.Score - 100;
_root.GuassClip = _root.GuassClip + 1;
Buy.start();
}
}
Symbol 321 Button
on (release) {
if ((_root.Score >= 200) && (_root.Health < 100)) {
_root.Score = _root.Score - 200;
_root.Health = _root.Health + 20;
Buy.start();
}
}
Symbol 446 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 447 MovieClip Frame 1
onEnterFrame = function () {
_root.Stats.swapDepths(_root.getNextHighestDepth());
};
Instance of Symbol 329 MovieClip "Healthbar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.Health;
}
Instance of Symbol 356 MovieClip "PistolAmmoBar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.PAmmo + 1);
}
Instance of Symbol 364 MovieClip "DeagleAmmoBar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.DAmmo + 1);
}
Instance of Symbol 373 MovieClip "SAmmoBar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.SAmmo + 1);
}
Instance of Symbol 405 MovieClip "SmgAmmoBar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.SmgAmmo + 1);
}
Instance of Symbol 437 MovieClip "ARAmmoBar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ARAmmo + 1);
}
Instance of Symbol 444 MovieClip "GuassAmmoBar" in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.GuassAmmo + 1);
}
Symbol 452 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "PistolBullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((this._x > 700) || (this._x < 0)) || (this._y < 0)) || (this._y > 600)) {
this.removeMovieClip();
}
};
Symbol 454 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "DeagleBullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((this._x > 700) || (this._x < 0)) || (this._y < 0)) || (this._y > 600)) {
this.removeMovieClip();
}
};
Symbol 456 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "ShotgunBullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((this._x > 700) || (this._x < 0)) || (this._y < 0)) || (this._y > 600)) {
this.removeMovieClip();
}
};
Symbol 457 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "SmgBullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((this._x > 700) || (this._x < 0)) || (this._y < 0)) || (this._y > 600)) {
this.removeMovieClip();
}
};
Symbol 459 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "ARBullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((this._x > 700) || (this._x < 0)) || (this._y < 0)) || (this._y > 600)) {
this.removeMovieClip();
}
};
Symbol 461 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "GuassBullet") {
_x = -1000;
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if ((((this._x > 700) || (this._x < 0)) || (this._y < 0)) || (this._y > 600)) {
this.removeMovieClip();
}
};
Symbol 486 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "Zombie") {
this._x = -1000;
}
if (this.Health < 1) {
delete this.onEnterFrame;
this.gotoAndPlay("Death");
_root.Score = _root.Score + 50;
_root.ZombieDeath.start();
_root.EnemyLimit--;
}
var _local3 = 0;
while (_local3 < _root.PBulletArray.length) {
if (this.hitTest(_root.PBulletArray[_local3])) {
this.Health = this.Health - 20;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.PBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.DBulletArray.length) {
if (this.hitTest(_root.DBulletArray[_local3])) {
this.Health = this.Health - 50;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.DBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SBulletArray.length) {
if (this.hitTest(_root.SBulletArray[_local3])) {
this.Health = this.Health - 35;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SmgBulletArray.length) {
if (this.hitTest(_root.SmgBulletArray[_local3])) {
this.Health = this.Health - 20;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SmgBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.ARBulletArray.length) {
if (this.hitTest(_root.ARBulletArray[_local3])) {
this.Health = this.Health - 50;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.ARBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.GuassBulletArray.length) {
if (this.hitTest(_root.GuassBulletArray[_local3])) {
this.Health = this.Health - 100;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_local3++;
}
_local3++;
}
if (this.rate < 100) {
this.rate = this.rate + 1;
}
Xdiff = 350 - _x;
Ydiff = 300 - _y;
radAngle = Math.atan2(Ydiff, Xdiff);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
if (this.hitTest(_root.Player) && (this.Health > 0)) {
if (this.rate >= 100) {
this.gotoAndPlay("Attack");
this.rate = 0;
}
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
};
Symbol 486 MovieClip Frame 75
gotoAndPlay (1);
Symbol 486 MovieClip Frame 76
_root.ZombieAttack.start();
Symbol 486 MovieClip Frame 115
gotoAndPlay ("Attack");
_root.Health = _root.Health - 5;
_root.Player.attachMovie("Blood", "Blood1", 1);
Symbol 486 MovieClip Frame 130
this.unloadMovie();
Symbol 504 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "Crow") {
this._x = -1000;
}
if (this.Health < 1) {
_root.Score = _root.Score + 25;
this.gotoAndPlay("Death");
_root.Caw.start();
_root.EnemyLimit--;
delete this.onEnterFrame;
}
var _local3 = 0;
while (_local3 < _root.PBulletArray.length) {
if (this.hitTest(_root.PBulletArray[_local3])) {
this.Health = this.Health - 50;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.PBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.DBulletArray.length) {
if (this.hitTest(_root.DBulletArray[_local3])) {
this.Health = this.Health - 100;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.DBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SBulletArray.length) {
if (this.hitTest(_root.SBulletArray[_local3])) {
this.Health = this.Health - 50;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SmgBulletArray.length) {
if (this.hitTest(_root.SmgBulletArray[_local3])) {
this.Health = this.Health - 50;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SmgBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.ARBulletArray.length) {
if (this.hitTest(_root.ARBulletArray[_local3])) {
this.Health = this.Health - 100;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.ARBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.GuassBulletArray.length) {
if (this.hitTest(_root.GuassBulletArray[_local3])) {
this.Health = this.Health - 100;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_local3++;
}
_local3++;
}
if (this.rate < 100) {
this.rate = this.rate + 1;
}
Xdiff = 350 - _x;
Ydiff = 300 - _y;
radAngle = Math.atan2(Ydiff, Xdiff);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
if (this.hitTest(_root.Player) && (this.Health > 0)) {
if (this.rate >= 100) {
this.gotoAndPlay("Attack");
this.rate = 0;
}
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
};
Symbol 504 MovieClip Frame 33
gotoAndPlay (1);
Symbol 504 MovieClip Frame 70
gotoAndPlay ("Attack");
_root.Health = _root.Health - 5;
_root.Player.attachMovie("Blood", "Blood1", 1);
Symbol 504 MovieClip Frame 85
this.unloadMovie();
Symbol 530 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "FatZombie") {
this._x = -1000;
}
if (this.Health < 1) {
_root.Score = _root.Score + 100;
this.gotoAndPlay("Death");
_root.FatZombieDeath.start();
delete this.onEnterFrame;
_root.EnemyLimit--;
}
var _local3 = 0;
while (_local3 < _root.PBulletArray.length) {
if (this.hitTest(_root.PBulletArray[_local3])) {
this.Health = this.Health - 10;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.PBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.DBulletArray.length) {
if (this.hitTest(_root.DBulletArray[_local3])) {
this.Health = this.Health - 20;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.DBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SBulletArray.length) {
if (this.hitTest(_root.SBulletArray[_local3])) {
this.Health = this.Health - 10;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SmgBulletArray.length) {
if (this.hitTest(_root.SmgBulletArray[_local3])) {
this.Health = this.Health - 10;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SmgBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.ARBulletArray.length) {
if (this.hitTest(_root.ARBulletArray[_local3])) {
this.Health = this.Health - 10;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.ARBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.GuassBulletArray.length) {
if (this.hitTest(_root.GuassBulletArray[_local3])) {
this.Health = this.Health - 100;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_local3++;
}
_local3++;
}
if (this.rate < 100) {
this.rate = this.rate + 1;
}
Xdiff = 350 - _x;
Ydiff = 300 - _y;
radAngle = Math.atan2(Ydiff, Xdiff);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
if (this.hitTest(_root.Player) && (this.Health > 0)) {
if (this.rate >= 100) {
this.gotoAndPlay("Attack");
this.rate = 0;
}
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
};
Symbol 530 MovieClip Frame 60
gotoAndPlay (1);
Symbol 530 MovieClip Frame 115
gotoAndPlay ("Attack");
_root.Health = _root.Health - 20;
_root.Player.attachMovie("Blood", "Blood1", 1);
_root.FatZombieAttack.start();
Symbol 530 MovieClip Frame 141
this.unloadMovie();
Symbol 549 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "Wraith") {
this._x = -1000;
}
if (this.Health < 1) {
_root.Score = _root.Score + 200;
this.gotoAndPlay("Death");
_root.WraithDeath.start();
delete this.onEnterFrame;
_root.EnemyLimit--;
}
var _local3 = 0;
while (_local3 < _root.PBulletArray.length) {
if (this.hitTest(_root.PBulletArray[_local3])) {
this.Health = this.Health - 5;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.PBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.DBulletArray.length) {
if (this.hitTest(_root.DBulletArray[_local3])) {
this.Health = this.Health - 20;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.DBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SBulletArray.length) {
if (this.hitTest(_root.SBulletArray[_local3])) {
this.Health = this.Health - 7;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SmgBulletArray.length) {
if (this.hitTest(_root.SmgBulletArray[_local3])) {
this.Health = this.Health - 5;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SmgBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.ARBulletArray.length) {
if (this.hitTest(_root.ARBulletArray[_local3])) {
this.Health = this.Health - 20;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.ARBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.GuassBulletArray.length) {
if (this.hitTest(_root.GuassBulletArray[_local3])) {
this.Health = this.Health - 100;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_local3++;
}
_local3++;
}
if (this.rate < 100) {
this.rate = this.rate + 1;
}
Xdiff = 350 - _x;
Ydiff = 300 - _y;
radAngle = Math.atan2(Ydiff, Xdiff);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
if (this.hitTest(_root.Player) && (this.Health > 0)) {
if (this.rate >= 100) {
this.gotoAndPlay("Attack");
this.rate = 0;
}
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
};
Symbol 549 MovieClip Frame 35
gotoAndPlay (1);
Symbol 549 MovieClip Frame 75
gotoAndPlay (36);
_root.Health = _root.Health - 15;
_root.Player.attachMovie("Blood", "Blood1", 1);
_root.WraithDeath.start();
Symbol 549 MovieClip Frame 90
this.unloadMovie();
Symbol 567 MovieClip Frame 1
onEnterFrame = function () {
if (_name == "Demon") {
this._x = -1000;
}
if (this.Health < 1) {
_root.Score = _root.Score + 200;
this.gotoAndPlay("Death");
_root.DemonDeath.start();
delete this.onEnterFrame;
_root.EnemyLimit--;
}
var _local3 = 0;
while (_local3 < _root.PBulletArray.length) {
if (this.hitTest(_root.PBulletArray[_local3])) {
this.Health = this.Health - 5;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.PBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.DBulletArray.length) {
if (this.hitTest(_root.DBulletArray[_local3])) {
this.Health = this.Health - 5;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.DBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SBulletArray.length) {
if (this.hitTest(_root.SBulletArray[_local3])) {
this.Health = this.Health - 3;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.SmgBulletArray.length) {
if (this.hitTest(_root.SmgBulletArray[_local3])) {
this.Health = this.Health - 1;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.SmgBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.ARBulletArray.length) {
if (this.hitTest(_root.ARBulletArray[_local3])) {
this.Health = this.Health - 5;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_root.ARBulletArray[_local3].unloadMovie();
_local3++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _root.GuassBulletArray.length) {
if (this.hitTest(_root.GuassBulletArray[_local3])) {
this.Health = this.Health - 10;
this.attachMovie("Blood", "Blood" + _local3, _local3);
_root.BloodSplat.start();
_local3++;
}
_local3++;
}
if (this.rate < 100) {
this.rate = this.rate + 1;
}
Xdiff = 350 - _x;
Ydiff = 300 - _y;
radAngle = Math.atan2(Ydiff, Xdiff);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
if (this.hitTest(_root.Player) && (this.Health > 0)) {
if (this.rate >= 100) {
this.gotoAndPlay("Attack");
this.rate = 0;
}
} else if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
};
Symbol 567 MovieClip Frame 35
gotoAndPlay (1);
Symbol 567 MovieClip Frame 75
gotoAndPlay (36);
_root.Health = _root.Health - 30;
_root.Player.attachMovie("Blood", "Blood1", 1);
_root.DemonAttack.start();
Symbol 567 MovieClip Frame 103
this.unloadMovie();
Symbol 590 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
Beep.start();
}