Frame 1
function gameMenu_top() {
}
function gameMenu_misc() {
}
function gameMenu_web() {
getURL ("http://www.armorgames.com/", _blank);
}
function gameMenu_high() {
_quality = "HIGH";
}
function gameMenu_med() {
_quality = "MEDIUM";
}
function gameMenu_low() {
_quality = "LOW";
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Zombie Survival: Special Mission", gameMenu_top);
MENU.customItems.push(Functioned);
Functioned = new ContextMenuItem("--------------------------------------", gameMenu_misc);
MENU.customItems.push(Functioned);
Functioned = new ContextMenuItem("Visit Armor Games", gameMenu_web);
MENU.customItems.push(Functioned);
Functioned = new ContextMenuItem("HIGH", gameMenu_high);
MENU.customItems.push(Functioned);
Functioned = new ContextMenuItem("MEDIUM", gameMenu_med);
MENU.customItems.push(Functioned);
Functioned = new ContextMenuItem("LOW", gameMenu_low);
MENU.customItems.push(Functioned);
_root.menu = MENU;
Frame 2
music_main = new Sound(_root.createEmptyMovieClip("bgm", 1000));
music_main.attachSound("MAIN_THEME");
music_game = new Sound(_root.createEmptyMovieClip("gbgm", 1001));
music_game.attachSound("GAME_THEME");
music_deathw = new Sound();
music_deathw.attachSound("DEATHWA");
sound_cheat = new Sound();
sound_cheat.attachSound("CHEAT_RESTRICTION");
sound_error = new Sound();
sound_error.attachSound("ERROR_SOUND");
sound_signco = new Sound();
sound_signco.attachSound("SIGN_CONT");
sound_signco.start();
easy = true;
hard = false;
music = true;
sfx = true;
Frame 3
stop();
Frame 4
stop();
Frame 5
getsc_lv = new LoadVars();
getsc_lv.bid = 247;
rec_lv = new LoadVars();
getsc_lv.sendAndLoad("http://bot.pldmstudios.com/g10.php", rec_lv, "POST");
_root.top_pl = "loading";
_root.top_sc = "loading";
rec_lv.onLoad = function (success) {
if (success) {
_root.top_pl = rec_lv.name1;
_root.top_sc = rec_lv.score1;
}
};
if (music == true) {
music_main.stop("MAIN_THEME");
music_game.stop("GAME_THEME");
music_main.start(0, 99);
_root.music_main.setVolume(100);
}
cheat = false;
stop();
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (load) {
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
this._x = cx + (Math.random() * 0.5);
this._y = cy + (Math.random() * 0.5);
}
Frame 6
_root.sound_cheat.stop("CHEAT_RESTRICTION");
stop();
Frame 7
if ((easy == true) && (hard == false)) {
_root.difficulty.gotoAndStop(1);
} else if ((hard == true) && (easy == false)) {
_root.difficulty.gotoAndStop(2);
}
stop();
Frame 8
stop();
Frame 9
if (_quality == "LOW") {
_root.grap.gotoAndStop(1);
} else if (_quality == "MEDIUM") {
_root.grap.gotoAndStop(2);
} else if (_quality == "HIGH") {
_root.grap.gotoAndStop(3);
}
if (music == false) {
_root.bgsound.gotoAndStop(2);
} else if (music == true) {
_root.bgsound.gotoAndStop(1);
}
if (_root.sfx == true) {
_root.sfxsound.gotoAndStop(1);
} else if (_root.sfx == false) {
_root.sfxsound.gotoAndStop(2);
}
stop();
Frame 10
_root.sound_cheat.start();
_root.cheatinput.restrict = "a-z";
stop();
Frame 11
stop();
Frame 12
if (_root.music_main.getVolume() >= 100) {
_root.music_main.setVolume(90);
}
Frame 14
if (_root.music_main.getVolume() == 90) {
_root.music_main.setVolume(80);
}
Frame 16
if (_root.music_main.getVolume() == 80) {
_root.music_main.setVolume(70);
}
Frame 18
if (_root.music_main.getVolume() == 70) {
_root.music_main.setVolume(60);
}
Frame 20
if (_root.music_main.getVolume() == 60) {
_root.music_main.setVolume(50);
}
Frame 22
if (_root.music_main.getVolume() == 50) {
_root.music_main.setVolume(40);
}
Frame 24
if (_root.music_main.getVolume() == 40) {
_root.music_main.setVolume(30);
}
Frame 26
if (_root.music_main.getVolume() == 30) {
_root.music_main.setVolume(20);
}
Frame 28
if (_root.music_main.getVolume() == 20) {
_root.music_main.setVolume(10);
}
Frame 30
if (_root.music_main.getVolume() == 10) {
_root.music_main.setVolume(0);
}
Frame 34
score = 0;
level = 0;
rem_mines = 3;
health = 100;
submit = false;
hs_ratio = 0;
gun_dmg = 0;
gun_pwr = 0;
knife_dmg = 0;
knife_pwr = 0;
speed_ratio = 0;
if (cheat == true) {
hs_ratio = 3;
gun_dmg = 3;
gun_pwr = 3;
knife_dmg = 6;
knife_pwr = 3;
speed_ratio = 3;
}
frags = 0;
level1 = true;
level2 = false;
level3 = false;
level4 = false;
level5 = false;
level6 = false;
level7 = false;
level8 = false;
level9 = false;
level10 = false;
level11 = false;
level12 = false;
level13 = false;
level14 = false;
level15 = false;
level16 = false;
level17 = false;
level18 = false;
level19 = false;
level20 = false;
level21 = false;
level22 = false;
level23 = false;
level24 = false;
level25 = false;
level26 = false;
level27 = false;
level28 = false;
level29 = false;
level30 = false;
level31 = false;
level32 = false;
level33 = false;
level34 = false;
level35 = false;
level36 = false;
level37 = false;
level38 = false;
level39 = false;
level40 = false;
level41 = false;
level42 = false;
level43 = false;
level44 = false;
level45 = false;
cleard = false;
maxvalue = 1;
maxzom_2 = 0;
maxzom_3 = 0;
maxzom_4 = 0;
maxzom_5 = 0;
sound_hsimpact = new Sound();
sound_hsimpact.attachSound("HEADSHOOT_IMPACT");
sound_headshoot = new Sound();
sound_headshoot.attachSound("HEADSHOOT");
sound_bladeflesh = new Sound();
sound_bladeflesh.attachSound("BLADE_FLESH");
sound_playhurt1 = new Sound();
sound_playhurt1.attachSound("PLAY_HURT_1");
sound_heartbeat = new Sound();
sound_heartbeat.attachSound("HB_FAST");
sound_buymines = new Sound();
sound_buymines.attachSound("BUY_MINES");
sound_shopclick = new Sound();
sound_shopclick.attachSound("SHOP_CLICK");
sound_shopheal = new Sound();
sound_shopheal.attachSound("SHOP_HEAL");
sound_shopupg = new Sound();
sound_shopupg.attachSound("SHOP_UPGR");
sound_zraise1 = new Sound();
sound_zraise1.attachSound("RAISE_1");
sound_zraise2 = new Sound();
sound_zraise2.attachSound("RAISE_2");
sound_zraise3 = new Sound();
sound_zraise3.attachSound("RAISE_3");
sound_zraise4 = new Sound();
sound_zraise4.attachSound("RAISE_4");
sound_zdeath1 = new Sound();
sound_zdeath1.attachSound("ZDEATH_1");
sound_zdeath2 = new Sound();
sound_zdeath2.attachSound("ZDEATH_2");
sound_zdeath3 = new Sound();
sound_zdeath3.attachSound("ZDEATH_3");
sound_zdeath4 = new Sound();
sound_zdeath4.attachSound("ZDEATH_4");
if (music == true) {
_root.music_game.stop("GAME_THEME");
_root.music_game.start(0, 99);
_root.music_game.setVolume(100);
}
Frame 35
i = 0;
n = 0;
o = 0;
m = 0;
k = 0;
this.onEnterFrame = function () {
while (i < maxvalue) {
duplicateMovieClip (_root.enemy, "enemy" + i, i);
if ((_root.easy == true) && (_root.hard == false)) {
spawn = random(2);
if (spawn == 0) {
_root["enemy" + i]._x = random(50) - 50;
} else if (spawn == 1) {
_root["enemy" + i]._x = random(50) + 500;
}
} else if ((_root.hard == true) && (_root.easy == false)) {
_root["enemy" + i]._x = random(700);
}
i++;
}
while (n < maxzom_2) {
duplicateMovieClip (_root.armyzombie, "armyzombie" + n, 10 + n);
if ((_root.easy == true) && (_root.hard == false)) {
spawn = random(2);
if (spawn == 0) {
_root["armyzombie" + n]._x = random(50) - 50;
} else if (spawn == 1) {
_root["armyzombie" + n]._x = random(50) + 500;
}
} else if ((_root.hard == true) && (_root.easy == false)) {
_root["armyzombie" + n]._x = random(700);
}
n++;
}
while (o < maxzom_3) {
duplicateMovieClip (_root.brainzombie, "brainzombie" + o, 20 + o);
if ((_root.easy == true) && (_root.hard == false)) {
spawn = random(2);
if (spawn == 0) {
_root["brainzombie" + o]._x = random(50) - 50;
} else if (spawn == 1) {
_root["brainzombie" + o]._x = random(50) + 500;
}
} else if ((_root.hard == true) && (_root.easy == false)) {
_root["brainzombie" + o]._x = random(700);
}
o++;
}
while (m < maxzom_4) {
duplicateMovieClip (_root.scizombie, "scizombie" + m, 30 + m);
if ((_root.easy == true) && (_root.hard == false)) {
spawn = random(2);
if (spawn == 0) {
_root["scizombie" + m]._x = random(50) - 50;
} else if (spawn == 1) {
_root["scizombie" + m]._x = random(50) + 500;
}
} else if ((_root.hard == true) && (_root.easy == false)) {
_root["scizombie" + m]._x = random(700);
}
m++;
}
while (k < maxzom_5) {
duplicateMovieClip (_root.mummy, "mummy" + k, 40 + k);
if ((_root.easy == true) && (_root.hard == false)) {
spawn = random(2);
if (spawn == 0) {
_root["mummy" + k]._x = random(50) - 50;
} else if (spawn == 1) {
_root["mummy" + k]._x = random(50) + 500;
}
} else if ((_root.hard == true) && (_root.easy == false)) {
_root["mummy" + k]._x = random(700);
}
k++;
}
if ((((frags >= 5) && (level1)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level1 = false;
level2 = true;
maxvalue = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 10) && (level2)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level2 = false;
level3 = true;
maxvalue = 1;
maxzom_2 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 12) && (level3)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level3 = false;
level4 = true;
maxvalue = 0;
maxzom_2 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 13) && (level4)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level4 = false;
level5 = true;
maxvalue = -1;
maxzom_2 = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 10) && (level5)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level5 = false;
level6 = true;
maxvalue = 2;
maxzom_2 = -1;
maxzom_3 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 10) && (level6)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level6 = false;
level7 = true;
maxvalue = 5;
maxzom_2 = -1;
maxzom_3 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 17) && (level7)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level7 = false;
level8 = true;
maxvalue = -1;
maxzom_2 = 0;
maxzom_3 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 10) && (level8)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level8 = false;
level9 = true;
maxvalue = 1;
maxzom_2 = 0;
maxzom_3 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 15) && (level9)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level9 = false;
level10 = true;
maxvalue = -1;
maxzom_2 = -1;
maxzom_3 = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 11) && (level10)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level10 = false;
level11 = true;
maxvalue = 2;
maxzom_2 = 0;
maxzom_3 = -1;
maxzom_4 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 12) && (level11)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level11 = false;
level12 = true;
maxvalue = 1;
maxzom_2 = 0;
maxzom_3 = 0;
maxzom_4 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 12) && (level12)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level12 = false;
level13 = true;
maxvalue = -1;
maxzom_2 = 4;
maxzom_3 = -1;
maxzom_4 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 15) && (level13)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level13 = false;
level14 = true;
maxvalue = 0;
maxzom_2 = -1;
maxzom_3 = -1;
maxzom_4 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 13) && (level14)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level14 = false;
level15 = true;
maxvalue = 4;
maxzom_2 = 1;
maxzom_3 = 1;
maxzom_4 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 17) && (level15)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level15 = false;
level16 = true;
maxvalue = 4;
maxzom_2 = 2;
maxzom_3 = 0;
maxzom_4 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level16)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level16 = false;
level17 = true;
maxvalue = 4;
maxzom_2 = 4;
maxzom_3 = -1;
maxzom_4 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 25) && (level17)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level17 = false;
level18 = true;
maxvalue = 9;
maxzom_2 = -1;
maxzom_3 = -1;
maxzom_4 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 30) && (level18)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level18 = false;
level19 = true;
maxvalue = 2;
maxzom_2 = 0;
maxzom_3 = -1;
maxzom_4 = 0;
maxzom_5 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level19)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level19 = false;
level20 = true;
maxvalue = -1;
maxzom_2 = 2;
maxzom_3 = 0;
maxzom_4 = -1;
maxzom_5 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level20)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level20 = false;
level21 = true;
maxvalue = 2;
maxzom_2 = 1;
maxzom_3 = 0;
maxzom_4 = 2;
maxzom_5 = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 25) && (level21)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level21 = false;
level22 = true;
maxvalue = -1;
maxzom_2 = -1;
maxzom_3 = -1;
maxzom_4 = -1;
maxzom_5 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level22)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level22 = false;
level23 = true;
maxvalue = 1;
maxzom_2 = 0;
maxzom_3 = 1;
maxzom_4 = 4;
maxzom_5 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level23)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level23 = false;
level24 = true;
maxvalue = 4;
maxzom_2 = 3;
maxzom_3 = 2;
maxzom_4 = 1;
maxzom_5 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 23) && (level24)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level24 = false;
level25 = true;
maxvalue = 0;
maxzom_2 = 0;
maxzom_3 = 1;
maxzom_4 = 2;
maxzom_5 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 23) && (level25)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level25 = false;
level26 = true;
maxvalue = 0;
maxzom_2 = -1;
maxzom_3 = 4;
maxzom_4 = -1;
maxzom_5 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level26)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level26 = false;
level27 = true;
maxvalue = 4;
maxzom_2 = 4;
maxzom_3 = 0;
maxzom_4 = 3;
maxzom_5 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level27)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level27 = false;
level28 = true;
maxvalue = 3;
maxzom_2 = 3;
maxzom_3 = 0;
maxzom_4 = 0;
maxzom_5 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 25) && (level28)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level28 = false;
level29 = true;
maxvalue = 2;
maxzom_2 = 2;
maxzom_3 = 2;
maxzom_4 = 2;
maxzom_5 = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 25) && (level29)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level29 = false;
level30 = true;
maxvalue = 6;
maxzom_2 = 0;
maxzom_3 = 0;
maxzom_4 = 4;
maxzom_5 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 26) && (level30)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level30 = false;
level31 = true;
maxvalue = -1;
maxzom_2 = -1;
maxzom_3 = -1;
maxzom_4 = -1;
maxzom_5 = 5;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 20) && (level31)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level31 = false;
level32 = true;
maxvalue = 2;
maxzom_2 = 0;
maxzom_3 = 3;
maxzom_4 = 5;
maxzom_5 = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 25) && (level32)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level32 = false;
level33 = true;
maxvalue = 6;
maxzom_2 = 6;
maxzom_3 = 0;
maxzom_4 = 0;
maxzom_5 = 0;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 30) && (level33)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level33 = false;
level34 = true;
maxvalue = 3;
maxzom_2 = 3;
maxzom_3 = 3;
maxzom_4 = 3;
maxzom_5 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 25) && (level34)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level34 = false;
level35 = true;
maxvalue = 0;
maxzom_2 = -1;
maxzom_3 = -1;
maxzom_4 = 4;
maxzom_5 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 30) && (level35)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level35 = false;
level36 = true;
maxvalue = 4;
maxzom_2 = 3;
maxzom_3 = 2;
maxzom_4 = 6;
maxzom_5 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 30) && (level36)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level36 = false;
level37 = true;
maxvalue = 4;
maxzom_2 = 4;
maxzom_3 = 0;
maxzom_4 = 4;
maxzom_5 = 3;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 30) && (level37)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level37 = false;
level38 = true;
maxvalue = 2;
maxzom_2 = 2;
maxzom_3 = 4;
maxzom_4 = 2;
maxzom_5 = 1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 33) && (level38)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level38 = false;
level39 = true;
maxvalue = 1;
maxzom_2 = 4;
maxzom_3 = 1;
maxzom_4 = 3;
maxzom_5 = 4;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 33) && (level39)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level39 = false;
level40 = true;
maxvalue = 9;
maxzom_2 = 9;
maxzom_3 = -1;
maxzom_4 = -1;
maxzom_5 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 40) && (level40)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level40 = false;
level41 = true;
maxvalue = 4;
maxzom_2 = 4;
maxzom_3 = 4;
maxzom_4 = 4;
maxzom_5 = 4;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 40) && (level41)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level41 = false;
level42 = true;
maxvalue = 5;
maxzom_2 = 6;
maxzom_3 = -1;
maxzom_4 = 2;
maxzom_5 = 2;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 42) && (level42)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level42 = false;
level43 = true;
maxvalue = -1;
maxzom_2 = -1;
maxzom_3 = -1;
maxzom_4 = 5;
maxzom_5 = 5;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 40) && (level43)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level43 = false;
level44 = true;
maxvalue = 1;
maxzom_2 = 7;
maxzom_3 = 5;
maxzom_4 = -1;
maxzom_5 = -1;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 40) && (level44)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level44 = false;
level45 = true;
maxvalue = -1;
maxzom_2 = 6;
maxzom_3 = -1;
maxzom_4 = -1;
maxzom_5 = 6;
_root.gotoAndPlay("SHOP");
}
if ((((frags >= 50) && (level45)) && (cleard == false)) && (_root.player.dead == false)) {
cleard = true;
level++;
frags = 0;
level45 = false;
maxvalue = 7;
maxzom_2 = 4;
maxzom_3 = 1;
maxzom_4 = 7;
maxzom_5 = 4;
_root.gotoAndPlay("SHOP");
}
};
remove = false;
stop();
Instance of Symbol 38 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.HitTest) && (_root.player.dead == false)) {
_root.player._x = _root.player._x + _root.player.speed;
}
}
Instance of Symbol 38 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.HitTest) && (_root.player.dead == false)) {
_root.player._x = _root.player._x - _root.player.speed;
}
}
Instance of Symbol 770 MovieClip "player" in Frame 35
onClipEvent (load) {
i = 100;
speed = 7;
attack = false;
immortal = false;
busy = false;
dead = false;
exploded = false;
mining = false;
facing = "FACE_RIGHT";
fallspeed = 40;
gravitation = 3;
bounce = 1;
ground = 336;
air = false;
sound_pistol = new Sound(_root.createEmptyMovieClip("gunSound", 1002));
sound_pistol.attachSound("GUN_FIRE");
sound_pistol.setVolume(60);
sound_jumpla = new Sound();
sound_jumpla.attachSound("JUMP_LAND");
sound_minarmed = new Sound();
sound_minarmed.attachSound("MINE_ARM");
sound_minactiv = new Sound();
sound_minactiv.attachSound("MINE_ACTIVATE");
sound_minexplo = new Sound();
sound_minexplo.attachSound("REM_EXPLOSION");
sound_equipkni = new Sound();
sound_equipkni.attachSound("KNIFE_EQUIP");
sound_knife = new Sound();
sound_knife.attachSound("KNIFE_ATTACK");
sound_holknife = new Sound();
sound_holknife.attachSound("KNIFE_HOLSTER");
sound_walk1 = new Sound();
sound_walk1.attachSound("WALK_1");
sound_walk2 = new Sound();
sound_walk2.attachSound("WALK_2");
sound_defdeath = new Sound();
sound_defdeath.attachSound("PLAYER_DEFDEATH");
}
onClipEvent (enterFrame) {
if (ground > this._y) {
fallspeed = fallspeed + gravitation;
}
this._y = this._y + (fallspeed / 5);
if (ground < this._y) {
air = false;
fallspeed = 40;
this._y = ground;
if ((((((Key.isDown(38) && (!Key.isDown(65))) && (air == false)) && (dead == false)) && (attack == false)) && (busy == false)) && (_root.JUMP_TIMER._currentframe == 1)) {
_root.JUMP_TIMER.play();
fallspeed = fallspeed * (-bounce);
air = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("jump_right");
}
if (facing == "FACE_LEFT") {
this.gotoAndStop("jump_left");
}
}
}
if ((Key.isDown(39) && (air == true)) && (dead == false)) {
this._x = this._x + speed;
} else if ((Key.isDown(37) && (air == true)) && (dead == false)) {
this._x = this._x - speed;
}
if ((((((Key.isDown(39) && (attack == false)) && (busy == false)) && (dead == false)) && (air == false)) && (!Key.isDown(65))) && (!Key.isDown(83))) {
if (Key.isDown(32)) {
this.gotoAndStop("run_right");
speed = 12 + _root.speed_ratio;
} else {
this.gotoAndStop("walk_right");
speed = 7 + _root.speed_ratio;
}
this._x = this._x + speed;
facing = "FACE_RIGHT";
} else if ((((((Key.isDown(37) && (attack == false)) && (busy == false)) && (dead == false)) && (air == false)) && (!Key.isDown(65))) && (!Key.isDown(83))) {
if (Key.isDown(32)) {
this.gotoAndStop("run_left");
speed = 12 + _root.speed_ratio;
} else {
this.gotoAndStop("walk_left");
speed = 7 + _root.speed_ratio;
}
this._x = this._x - speed;
facing = "FACE_LEFT";
}
if ((((Key.isDown(65) && (attack == false)) && (busy == false)) && (dead == false)) && (air == false)) {
attack = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("shoot_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("shoot_left");
}
}
if ((((Key.isDown(83) && (attack == false)) && (busy == false)) && (dead == false)) && (air == false)) {
attack = true;
busy = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("knife_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("knife_left");
}
}
if (((((Key.isDown(68) && (attack == false)) && (_root.rem_mines >= 1)) && (busy == false)) && (dead == false)) && (air == false)) {
i++;
busy = true;
attack = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("mine_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("mine_left");
}
}
if ((mining == true) && (busy == true)) {
if (facing == "FACE_RIGHT") {
_root.attachMovie("REMOTE_BOMB", "BOMB" + i, this.getNextHighestDepth() + i, {_x:this._x + 50, _y:this._y + 28});
} else if (facing == "FACE_LEFT") {
_root.attachMovie("REMOTE_BOMB", "BOMB" + i, this.getNextHighestDepth() + i, {_x:this._x - 50, _y:this._y + 28});
}
}
if (((!Key.isDown(83)) || (!Key.isDown(65))) || ((((!Key.isDown(68)) && (attack == true)) && (busy == false)) && (dead == false))) {
attack = false;
mining = false;
}
if ((dead == true) && (exploded == true)) {
_root.health = 0;
if (_root.GAME_OVER._currentframe == 1) {
_root.GAME_OVER.gotoAndStop(2);
}
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
if (facing == "FACE_RIGHT") {
this.gotoAndStop("explo_right");
this._x = this._x - 15;
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("explo_left");
this._x = this._x + 15;
}
}
if ((_root.health <= 0) && (dead == false)) {
trace("!!YOU ARE DEAD!!");
dead = true;
if (_root.GAME_OVER._currentframe == 1) {
_root.GAME_OVER.gotoAndStop(2);
}
if (facing == "FACE_RIGHT") {
this.gotoAndStop("die_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("die_left");
}
}
if ((((((((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(83))) && (attack == false)) && (busy == false)) && (dead == false)) && (air == false)) {
if (facing == "FACE_RIGHT") {
this.gotoAndStop("stand_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("stand_left");
}
}
}
Instance of Symbol 837 MovieClip "enemy" in Frame 35
onClipEvent (load) {
speed = 1;
facing = "FACE_RIGHT";
attack = false;
dead = false;
hp = 100;
alive = false;
}
onClipEvent (enterFrame) {
if (_root.cleard == true) {
removeMovieClip(this);
}
if ((((_root.player._x > this._x) && (attack == false)) && (dead == false)) && (alive == true)) {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
facing = "FACE_RIGHT";
} else if ((((_root.player._x < this._x) && (attack == false)) && (dead == false)) && (alive == true)) {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
facing = "FACE_LEFT";
}
distance = Math.ceil(_root.player._x - this._x);
if ((((distance > -30) && (distance < 30)) && (dead == false)) && (alive == true)) {
attack = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("attack_right");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 10;
trace("Player Health: " + _root.health);
}
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("attack_left");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 10;
trace("Player Health: " + _root.health);
}
}
} else {
attack = false;
}
if ((this.hitTest(_root.player.KNIFE.BLADE) && (dead == false)) && (alive == true)) {
hp = hp - (5 + _root.knife_dmg);
trace("Zombie HP: " + hp);
_root.SOUND_TIMER.play();
if (_root.SOUND_TIMER._currentframe == 1) {
if (_root.sfx == true) {
_root.sound_bladeflesh.start();
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (2.5 + _root.knife_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (2.5 + _root.knife_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 190;
} else if (_root.hard == true) {
_root.score = _root.score + 290;
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("death_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("death_left");
}
}
}
if ((this.hitTest(_root.player.GUN.BULLET) && (dead == false)) && (alive == true)) {
hp = hp - (3 + _root.gun_dmg);
trace("Zombie HP: " + hp);
headshoot = random(100) + _root.hs_ratio;
trace("Headshoot Ratio: " + headshoot);
if (headshoot >= 100) {
trace("HEADSHOOT!");
if (_root.easy == true) {
_root.score = _root.score + 160;
} else if (_root.hard == true) {
_root.score = _root.score + 260;
}
if (_root.sfx == true) {
_root.sound_headshoot.start();
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("headshoot_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("headshoot_left");
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (1.5 + _root.gun_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (1.5 + _root.gun_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 150;
} else if (_root.hard == true) {
_root.score = _root.score + 250;
}
dead = true;
deathani = random(2);
if (facing == "FACE_RIGHT") {
if (deathani == 0) {
this.gotoAndStop("death_right");
} else if (deathani == 1) {
this.gotoAndStop("death2_right");
}
} else if (facing == "FACE_LEFT") {
if (deathani == 0) {
this.gotoAndStop("death_left");
} else if (deathani == 1) {
this.gotoAndStop("death2_left");
}
}
}
}
}
Instance of Symbol 903 MovieClip "armyzombie" in Frame 35
onClipEvent (load) {
speed = 2;
facing = "FACE_RIGHT";
attack = false;
dead = false;
hp = 200;
alive = false;
}
onClipEvent (enterFrame) {
if (_root.cleard == true) {
removeMovieClip(this);
}
if (((((((((_root.level >= 2) && (_root.level != 5)) && (_root.level != 6)) && (_root.level != 9)) && (_root.level != 13)) && (_root.level != 17)) && (_root.level != 21)) && (_root.level != 25)) && (_root.level != 30)) {
if (((((_root.player._x > this._x) && (attack == false)) && (dead == false)) && (alive == true)) && (_root.player.dead == false)) {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
facing = "FACE_RIGHT";
} else if (((((_root.player._x < this._x) && (attack == false)) && (dead == false)) && (alive == true)) && (_root.player.dead == false)) {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
facing = "FACE_LEFT";
} else if (((_root.player.dead == true) && (dead == false)) && (alive == true)) {
if (facing == "FACE_RIGHT") {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
}
}
distance = Math.ceil(_root.player._x - this._x);
if ((((distance > -30) && (distance < 30)) && (dead == false)) && (alive == true)) {
attack = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("attack_right");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 15;
trace("Player Health: " + _root.health);
}
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("attack_left");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 15;
trace("Player Health: " + _root.health);
}
}
} else {
attack = false;
}
if ((this.hitTest(_root.player.KNIFE.BLADE) && (dead == false)) && (alive == true)) {
hp = hp - (5 + _root.knife_dmg);
trace("Zombie HP: " + hp);
_root.SOUND_TIMER.play();
if (_root.SOUND_TIMER._currentframe == 1) {
if (_root.sfx == true) {
_root.sound_bladeflesh.start();
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (2.5 + _root.knife_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (2.5 + _root.knife_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 300;
} else if (_root.hard == true) {
_root.score = _root.score + 500;
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("death2_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("death2_left");
}
}
}
if ((this.hitTest(_root.player.GUN.BULLET) && (dead == false)) && (alive == true)) {
hp = hp - (3 + _root.gun_dmg);
trace("Zombie HP: " + hp);
headshoot = random(100) + _root.hs_ratio;
trace("Headshoot Ratio: " + headshoot);
if (headshoot >= 100) {
trace("HEADSHOOT!");
if (_root.easy == true) {
_root.score = _root.score + 260;
} else if (_root.hard == true) {
_root.score = _root.score + 460;
}
if (_root.sfx == true) {
_root.sound_headshoot.start();
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("headshoot_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("headshoot_left");
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (1.5 + _root.gun_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (1.5 + _root.gun_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 250;
} else if (_root.hard == true) {
_root.score = _root.score + 450;
}
dead = true;
deathani = random(2);
if (facing == "FACE_RIGHT") {
if (deathani == 0) {
this.gotoAndStop("death_right");
} else if (deathani == 1) {
this.gotoAndStop("death2_right");
}
} else if (facing == "FACE_LEFT") {
if (deathani == 0) {
this.gotoAndStop("death_left");
} else if (deathani == 1) {
this.gotoAndStop("death2_left");
}
}
}
}
}
}
Instance of Symbol 957 MovieClip "brainzombie" in Frame 35
onClipEvent (load) {
speed = 4;
facing = "FACE_RIGHT";
attack = false;
dead = false;
hp = 130;
alive = false;
}
onClipEvent (enterFrame) {
if (_root.cleard == true) {
removeMovieClip(this);
}
if ((((((((((_root.level >= 5) && (_root.level != 6)) && (_root.level != 10)) && (_root.level != 12)) && (_root.level != 13)) && (_root.level != 16)) && (_root.level != 17)) && (_root.level != 18)) && (_root.level != 21)) && (_root.level != 30)) {
if ((((_root.player._x > this._x) && (attack == false)) && (dead == false)) && (alive == true)) {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
facing = "FACE_RIGHT";
} else if ((((_root.player._x < this._x) && (attack == false)) && (dead == false)) && (alive == true)) {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
facing = "FACE_LEFT";
}
distance = Math.ceil(_root.player._x - this._x);
if ((((distance > -30) && (distance < 30)) && (dead == false)) && (alive == true)) {
attack = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("attack_right");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 17;
trace("Player Health: " + _root.health);
}
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("attack_left");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 17;
trace("Player Health: " + _root.health);
}
}
} else {
attack = false;
}
if ((this.hitTest(_root.player.KNIFE.BLADE) && (dead == false)) && (alive == true)) {
hp = hp - (5 + _root.knife_dmg);
trace("Zombie HP: " + hp);
_root.SOUND_TIMER.play();
if (_root.SOUND_TIMER._currentframe == 1) {
if (_root.sfx == true) {
_root.sound_bladeflesh.start();
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (2.5 + _root.knife_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (2.5 + _root.knife_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 400;
} else if (_root.hard == true) {
_root.score = _root.score + 600;
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("death2_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("death2_left");
}
}
}
if ((this.hitTest(_root.player.GUN.BULLET) && (dead == false)) && (alive == true)) {
hp = hp - (3 + _root.gun_dmg);
trace("Zombie HP: " + hp);
headshoot = random(100) + _root.hs_ratio;
trace("Headshoot Ratio: " + headshoot);
if (headshoot >= 100) {
trace("HEADSHOOT!");
if (_root.easy == true) {
_root.score = _root.score + 310;
} else if (_root.hard == true) {
_root.score = _root.score + 510;
}
if (_root.sfx == true) {
_root.sound_headshoot.start();
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("headshoot_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("headshoot_left");
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (1.5 + _root.gun_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (1.5 + _root.gun_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 300;
} else if (_root.hard == true) {
_root.score = _root.score + 500;
}
dead = true;
deathani = random(2);
if (facing == "FACE_RIGHT") {
if (deathani == 0) {
this.gotoAndStop("death_right");
} else if (deathani == 1) {
this.gotoAndStop("death2_right");
}
} else if (facing == "FACE_LEFT") {
if (deathani == 0) {
this.gotoAndStop("death_left");
} else if (deathani == 1) {
this.gotoAndStop("death2_left");
}
}
}
}
}
}
Instance of Symbol 1042 MovieClip "scizombie" in Frame 35
onClipEvent (load) {
speed = 1;
facing = "FACE_RIGHT";
attack = false;
dead = false;
hp = 350;
alive = false;
}
onClipEvent (enterFrame) {
if (_root.cleard == true) {
removeMovieClip(this);
}
if (((((((_root.level >= 10) && (_root.level != 12)) && (_root.level != 16)) && (_root.level != 17)) && (_root.level != 21)) && (_root.level != 25)) && (_root.level != 30)) {
if (((((_root.player._x > this._x) && (attack == false)) && (dead == false)) && (alive == true)) && (_root.player.dead == false)) {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
facing = "FACE_RIGHT";
} else if (((((_root.player._x < this._x) && (attack == false)) && (dead == false)) && (alive == true)) && (_root.player.dead == false)) {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
facing = "FACE_LEFT";
} else if (((_root.player.dead == true) && (dead == false)) && (alive == true)) {
if (facing == "FACE_RIGHT") {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
}
}
distance = Math.ceil(_root.player._x - this._x);
if ((((distance > -30) && (distance < 30)) && (dead == false)) && (alive == true)) {
attack = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("attack_right");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 20;
trace("Player Health: " + _root.health);
}
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("attack_left");
if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 20;
trace("Player Health: " + _root.health);
}
}
} else {
attack = false;
}
if ((this.hitTest(_root.player.KNIFE.BLADE) && (dead == false)) && (alive == true)) {
hp = hp - (5 + _root.knife_dmg);
trace("Zombie HP: " + hp);
_root.SOUND_TIMER.play();
if (_root.SOUND_TIMER._currentframe == 1) {
if (_root.sfx == true) {
_root.sound_bladeflesh.start();
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (2.5 + _root.knife_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (2.5 + _root.knife_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 580;
} else if (_root.hard == true) {
_root.score = _root.score + 980;
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("death2_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("death2_left");
}
}
}
if ((this.hitTest(_root.player.GUN.BULLET) && (dead == false)) && (alive == true)) {
hp = hp - (3 + _root.gun_dmg);
trace("Zombie HP: " + hp);
headshoot = random(100) + _root.hs_ratio;
trace("Headshoot Ratio: " + headshoot);
if (headshoot >= 100) {
trace("HEADSHOOT!");
if (_root.easy == true) {
_root.score = _root.score + 460;
} else if (_root.hard == true) {
_root.score = _root.score + 860;
}
if (_root.sfx == true) {
_root.sound_headshoot.start();
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("headshoot_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("headshoot_left");
}
}
if (facing == "FACE_RIGHT") {
this._x = this._x - (0.5 + _root.gun_pwr);
} else if (facing == "FACE_LEFT") {
this._x = this._x + (0.5 + _root.gun_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 450;
} else if (_root.hard == true) {
_root.score = _root.score + 850;
}
dead = true;
deathani = random(2);
if (facing == "FACE_RIGHT") {
if (deathani == 0) {
this.gotoAndStop("death_right");
} else if (deathani == 1) {
this.gotoAndStop("death2_right");
}
} else if (facing == "FACE_LEFT") {
if (deathani == 0) {
this.gotoAndStop("death_left");
} else if (deathani == 1) {
this.gotoAndStop("death2_left");
}
}
}
}
}
}
Instance of Symbol 1121 MovieClip "mummy" in Frame 35
onClipEvent (load) {
speed = 2.5;
facing = "FACE_RIGHT";
busy = false;
dead = false;
hp = 400;
alive = false;
}
onClipEvent (enterFrame) {
if (_root.cleard == true) {
removeMovieClip(this);
}
if ((_root.level >= 18) && (_root.level != 25)) {
if (((((_root.player._x > this._x) && (busy == false)) && (dead == false)) && (alive == true)) && (_root.player.dead == false)) {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
facing = "FACE_RIGHT";
} else if (((((_root.player._x < this._x) && (busy == false)) && (dead == false)) && (alive == true)) && (_root.player.dead == false)) {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
facing = "FACE_LEFT";
} else if (((_root.player.dead == true) && (dead == false)) && (alive == true)) {
if (facing == "FACE_RIGHT") {
this.gotoAndStop("walk_right");
this._x = this._x + speed;
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("walk_left");
this._x = this._x - speed;
}
}
distance = Math.ceil(_root.player._x - this._x);
if ((((distance > -70) && (distance < 70)) && (dead == false)) && (alive == true)) {
if (facing == "FACE_RIGHT") {
if (busy == false) {
this.gotoAndStop("attack_right");
}
busy = true;
if ((this.ATTACK.HitTestDMG.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 20;
trace("Player Health: " + _root.health);
} else if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 20;
trace("Player Health: " + _root.health);
}
} else if (facing == "FACE_LEFT") {
if (busy == false) {
this.gotoAndStop("attack_left");
}
busy = true;
if ((this.ATTACK.HitTestDMG.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 20;
trace("Player Health: " + _root.health);
} else if ((this.HitTest.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
playerblood = random(2);
if (playerblood == 0) {
_root.player.blood1.play();
} else if (playerblood == 1) {
_root.player.blood2.play();
}
_root.sound_playhurt1.start();
_root.player.immortal = true;
_root.IMMORTAL.play();
if (_root.STATUS.MONITOR.STATUS_DAMAGE._currentframe == 1) {
_root.STATUS.MONITOR.STATUS_DAMAGE.play();
}
_root.health = _root.health - 20;
trace("Player Health: " + _root.health);
}
}
}
if ((this.HitTest.hitTest(_root.player.KNIFE.BLADE) && (dead == false)) && (alive == true)) {
hp = hp - (5 + _root.knife_dmg);
trace("Zombie HP: " + hp);
_root.SOUND_TIMER.play();
if (_root.SOUND_TIMER._currentframe == 1) {
if (_root.sfx == true) {
_root.sound_bladeflesh.start();
}
}
if ((facing == "FACE_RIGHT") && (busy == false)) {
this._x = this._x - (2.5 + _root.knife_pwr);
} else if ((facing == "FACE_LEFT") && (busy == false)) {
this._x = this._x + (2.5 + _root.knife_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 700;
} else if (_root.hard == true) {
_root.score = _root.score + 1250;
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("death2_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("death2_left");
}
}
}
if ((this.hitTest(_root.player.GUN.BULLET) && (dead == false)) && (alive == true)) {
hp = hp - (3 + _root.gun_dmg);
trace("Zombie HP: " + hp);
headshoot = random(100) + _root.hs_ratio;
trace("Headshoot Ratio: " + headshoot);
if (headshoot >= 100) {
trace("HEADSHOOT!");
if (_root.easy == true) {
_root.score = _root.score + 590;
} else if (_root.hard == true) {
_root.score = _root.score + 1000;
}
if (_root.sfx == true) {
_root.sound_headshoot.start();
}
dead = true;
if (facing == "FACE_RIGHT") {
this.gotoAndStop("headshoot_right");
} else if (facing == "FACE_LEFT") {
this.gotoAndStop("headshoot_left");
}
}
if ((facing == "FACE_RIGHT") && (busy == false)) {
this._x = this._x - (1.5 + _root.gun_pwr);
} else if ((facing == "FACE_LEFT") && (busy == false)) {
this._x = this._x + (1.5 + _root.gun_pwr);
}
bloodtype = random(2);
if (bloodtype == 0) {
this.blood1.play();
} else if (gush == 1) {
this.blood2.play();
}
if (hp <= 0) {
if (_root.easy == true) {
_root.score = _root.score + 550;
} else if (_root.hard == true) {
_root.score = _root.score + 920;
}
dead = true;
deathani = random(2);
if (facing == "FACE_RIGHT") {
if (deathani == 0) {
this.gotoAndStop("death_right");
} else if (deathani == 1) {
this.gotoAndStop("death2_right");
}
} else if (facing == "FACE_LEFT") {
if (deathani == 0) {
this.gotoAndStop("death_left");
} else if (deathani == 1) {
this.gotoAndStop("death2_left");
}
}
}
}
}
}
Instance of Symbol 1146 MovieClip "STATUS" in Frame 35
onClipEvent (enterFrame) {
if ((_root.health >= 100) && (_root.health > 70)) {
this.gotoAndStop("fine");
} else if ((_root.health <= 70) && (_root.health > 30)) {
this.gotoAndStop("caution");
} else if ((_root.health <= 30) && (_root.health >= 1)) {
this.gotoAndStop("danger");
} else if (_root.health <= 0) {
this.gotoAndStop("dead");
}
}
Frame 37
if (_root.music == true) {
_root.music_game.setVolume(90);
}
Frame 39
if (_root.music == true) {
_root.music_game.setVolume(80);
}
Frame 41
if (_root.music == true) {
_root.music_game.setVolume(70);
}
Frame 43
if (_root.music == true) {
_root.music_game.setVolume(60);
}
Frame 45
if (_root.music == true) {
_root.music_game.setVolume(50);
}
stop();
Frame 52
if (_root.music == true) {
_root.music_game.setVolume(100);
}
_root.gotoAndStop("GAME");
Frame 54
getsc_lv = new LoadVars();
getsc_lv.bid = 247;
rec_lv = new LoadVars();
getsc_lv.sendAndLoad("http://bot.pldmstudios.com/g10.php", rec_lv, "POST");
i = 1;
while (i < 6) {
_root["pl" + i] = "loading";
_root["sc" + i] = "loading";
i++;
}
rec_lv.onLoad = function (success) {
if (success) {
i = 1;
while (i < 6) {
_root["pl" + i] = rec_lv["name" + i];
_root["sc" + i] = rec_lv["score" + i];
i++;
}
}
};
_root.field_input.restrict = "a-z";
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
if (_root.sfx == true) {
_root.player.sound_minexplo.start();
}
Instance of Symbol 38 MovieClip "EXPLOSION_HIT" in Symbol 64 MovieClip Frame 2
onClipEvent (load) {
max = _root.i;
max_2 = _root.n;
max_3 = _root.o;
max_4 = _root.m;
max_5 = _root.k;
i = 0;
n = 0;
o = 0;
m = 0;
k = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player.HitTest) && (_root.player.immortal == false)) && (_root.player.dead == false)) {
_root.player.dead = true;
_root.player.exploded = true;
}
if (this.hitTest(_root.enemy.HitTest)) {
_root.enemy.dead = true;
if (_root.easy == true) {
_root.score = _root.score + 150;
} else if (_root.hard == true) {
_root.score = _root.score + 250;
}
if (_root.enemy.facing == "FACE_RIGHT") {
_root.enemy.gotoAndStop("burn_right");
} else if (_root.enemy.facing == "FACE_LEFT") {
_root.enemy.gotoAndStop("burn_left");
}
}
while (i < max) {
if (this.hitTest(_root["enemy" + i].HitTest)) {
_root["enemy" + i].dead = true;
if (_root.easy == true) {
_root.score = _root.score + 150;
} else if (_root.hard == true) {
_root.score = _root.score + 250;
}
if (_root["enemy" + i].facing == "FACE_RIGHT") {
_root["enemy" + i].gotoAndStop("burn_right");
} else if (_root["enemy" + i].facing == "FACE_LEFT") {
_root["enemy" + i].gotoAndStop("burn_left");
}
}
i++;
}
i = 0;
if (this.hitTest(_root.armyzombie.HitTest)) {
_root.armyzombie.dead = true;
if (_root.easy == true) {
_root.score = _root.score + 250;
} else if (_root.hard == true) {
_root.score = _root.score + 450;
}
if (_root.armyzombie.facing == "FACE_RIGHT") {
_root.armyzombie.gotoAndStop("burn_right");
} else if (_root.armyzombie.facing == "FACE_LEFT") {
_root.armyzombie.gotoAndStop("burn_left");
}
}
while (n < max_2) {
if (this.hitTest(_root["armyzombie" + n].HitTest)) {
_root["armyzombie" + n].dead = true;
if (_root.easy == true) {
_root.score = _root.score + 250;
} else if (_root.hard == true) {
_root.score = _root.score + 450;
}
if (_root["armyzombie" + n].facing == "FACE_RIGHT") {
_root["armyzombie" + n].gotoAndStop("burn_right");
} else if (_root["armyzombie" + n].facing == "FACE_LEFT") {
_root["armyzombie" + n].gotoAndStop("burn_left");
}
}
n++;
}
n = 0;
if (this.hitTest(_root.brainzombie.HitTest)) {
_root.brainzombie.dead = true;
if (_root.easy == true) {
_root.score = _root.score + 300;
} else if (_root.hard == true) {
_root.score = _root.score + 500;
}
if (_root.brainzombie.facing == "FACE_RIGHT") {
_root.brainzombie.gotoAndStop("burn_right");
} else if (_root.brainzombie.facing == "FACE_LEFT") {
_root.brainzombie.gotoAndStop("burn_left");
}
}
while (o < max_3) {
if (this.hitTest(_root["brainzombie" + o].HitTest)) {
_root["brainzombie" + o].dead = true;
if (_root.easy == true) {
_root.score = _root.score + 300;
} else if (_root.hard == true) {
_root.score = _root.score + 500;
}
if (_root["brainzombie" + o].facing == "FACE_RIGHT") {
_root["brainzombie" + o].gotoAndStop("burn_right");
} else if (_root["brainzombie" + o].facing == "FACE_LEFT") {
_root["brainzombie" + o].gotoAndStop("burn_left");
}
}
o++;
}
o = 0;
if (this.hitTest(_root.scizombie.HitTest)) {
_root.scizombie.dead = true;
if (_root.easy == true) {
_root.score = _root.score + 450;
} else if (_root.hard == true) {
_root.score = _root.score + 850;
}
if (_root.scizombie.facing == "FACE_RIGHT") {
_root.scizombie.gotoAndStop("burn_right");
} else if (_root.scizombie.facing == "FACE_LEFT") {
_root.scizombie.gotoAndStop("burn_left");
}
}
while (m < max_4) {
if (this.hitTest(_root["scizombie" + m].HitTest)) {
_root["scizombie" + m].dead = true;
if (_root.easy == true) {
_root.score = _root.score + 450;
} else if (_root.hard == true) {
_root.score = _root.score + 850;
}
if (_root["scizombie" + m].facing == "FACE_RIGHT") {
_root["scizombie" + m].gotoAndStop("burn_right");
} else if (_root["scizombie" + m].facing == "FACE_LEFT") {
_root["scizombie" + m].gotoAndStop("burn_left");
}
}
m++;
}
m = 0;
if (this.hitTest(_root.mummy.HitTest)) {
_root.mummy.dead = true;
if (_root.easy == true) {
_root.score = _root.score + 550;
} else if (_root.hard == true) {
_root.score = _root.score + 920;
}
if (_root.mummy.facing == "FACE_RIGHT") {
_root.mummy.gotoAndStop("burn_right");
} else if (_root.mummy.facing == "FACE_LEFT") {
_root.mummy.gotoAndStop("burn_left");
}
}
while (k < max_5) {
if (this.hitTest(_root["mummy" + k].HitTest)) {
_root["mummy" + k].dead = true;
if (_root.easy == true) {
_root.score = _root.score + 550;
} else if (_root.hard == true) {
_root.score = _root.score + 920;
}
if (_root["mummy" + k].facing == "FACE_RIGHT") {
_root["mummy" + k].gotoAndStop("burn_right");
} else if (_root["mummy" + k].facing == "FACE_LEFT") {
_root["mummy" + k].gotoAndStop("burn_left");
}
}
k++;
}
k = 0;
}
Symbol 64 MovieClip Frame 31
_parent.removeMovieClip(this);
Instance of Symbol 38 MovieClip in Symbol 65 MovieClip [REMOTE_BOMB] Frame 1
onClipEvent (load) {
i = 0;
n = 0;
o = 0;
m = 0;
k = 0;
}
onClipEvent (enterFrame) {
if ((_root.cleard == true) || (_root.remove == true)) {
_parent.removeMovieClip(this);
}
max = _root.i;
while (i < max) {
if (((((((this.hitTest(_root.player.HitTest) || (this.hitTest(_root["BOMB" + _root.player.i].EXPLOSION.EXPLOSION_HIT))) || (this.hitTest(_root["enemy" + i].HitTest))) || (this.hitTest(_root.enemy.HitTest))) || (this.hitTest(_root.armyzombie.HitTest))) || (this.hitTest(_root.brainzombie.HitTest))) || (this.hitTest(_root.scizombie.HitTest))) || (this.hitTest(_root.mummy.HitTest))) {
_parent.EXPLOSION.play();
_parent.MINE._alpha = 0;
if (_parent.EXPLOSION._currentframe == 1) {
_root.player.sound_minactiv.start();
}
}
i++;
}
i = 0;
max_2 = _root.n;
while (n < max_2) {
if (((((((this.hitTest(_root.player.HitTest) || (this.hitTest(_root["BOMB" + _root.player.i].EXPLOSION.EXPLOSION_HIT))) || (this.hitTest(_root["armyzombie" + n].HitTest))) || (this.hitTest(_root.armyzombie.HitTest))) || (this.hitTest(_root.enemy.HitTest))) || (this.hitTest(_root.brainzombie.HitTest))) || (this.hitTest(_root.scizombie.HitTest))) || (this.hitTest(_root.mummy.HitTest))) {
_parent.EXPLOSION.play();
_parent.MINE._alpha = 0;
if (_parent.EXPLOSION._currentframe == 1) {
_root.player.sound_minactiv.start();
}
}
n++;
}
n = 0;
max_3 = _root.o;
while (o < max_3) {
if (((((((this.hitTest(_root.player.HitTest) || (this.hitTest(_root["BOMB" + _root.player.i].EXPLOSION.EXPLOSION_HIT))) || (this.hitTest(_root["brainzombie" + o].HitTest))) || (this.hitTest(_root.brainzombie.HitTest))) || (this.hitTest(_root.enemy.HitTest))) || (this.hitTest(_root.armyzombie.HitTest))) || (this.hitTest(_root.scizombie.HitTest))) || (this.hitTest(_root.mummy.HitTest))) {
_parent.EXPLOSION.play();
_parent.MINE._alpha = 0;
if (_parent.EXPLOSION._currentframe == 1) {
_root.player.sound_minactiv.start();
}
}
o++;
}
o = 0;
max_4 = _root.m;
while (m < max_4) {
if (((((((this.hitTest(_root.player.HitTest) || (this.hitTest(_root["BOMB" + _root.player.i].EXPLOSION.EXPLOSION_HIT))) || (this.hitTest(_root["scizombie" + m].HitTest))) || (this.hitTest(_root.scizombie.HitTest))) || (this.hitTest(_root.brainzombie.HitTest))) || (this.hitTest(_root.enemy.HitTest))) || (this.hitTest(_root.armyzombie.HitTest))) || (this.hitTest(_root.mummy.HitTest))) {
_parent.EXPLOSION.play();
_parent.MINE._alpha = 0;
if (_parent.EXPLOSION._currentframe == 1) {
_root.player.sound_minactiv.start();
}
}
m++;
}
m = 0;
max_5 = _root.k;
while (k < max_5) {
if (((((((this.hitTest(_root.player.HitTest) || (this.hitTest(_root["BOMB" + _root.player.i].EXPLOSION.EXPLOSION_HIT))) || (this.hitTest(_root["mummy" + k].HitTest))) || (this.hitTest(_root.mummy.HitTest))) || (this.hitTest(_root.scizombie.HitTest))) || (this.hitTest(_root.brainzombie.HitTest))) || (this.hitTest(_root.enemy.HitTest))) || (this.hitTest(_root.armyzombie.HitTest))) {
_parent.EXPLOSION.play();
_parent.MINE._alpha = 0;
if (_parent.EXPLOSION._currentframe == 1) {
_root.player.sound_minactiv.start();
}
}
k++;
}
k = 0;
}
Symbol 83 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
PercentStatus = Math.round(PercentLoaded);
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.play();
}
Symbol 83 MovieClip Frame 2
gotoAndPlay (1);
Symbol 93 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 1336 MovieClip [__Packages.pldmcrypt] Frame 0
class pldmcrypt
{
function pldmcrypt () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 96 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 103 MovieClip Frame 81
_root.play();
_root.play();
Symbol 127 MovieClip Frame 17
stop();
Symbol 147 MovieClip Frame 14
stop();
Symbol 148 MovieClip Frame 72
stop();
Symbol 159 Button
on (release, keyPress "<Enter>") {
_root.music_deathw.stop("DEATHWA");
_root.play();
}
Symbol 160 MovieClip Frame 1
_root.music_deathw.start();
Symbol 160 MovieClip Frame 178
_root.play();
stop();
Symbol 166 MovieClip Frame 18
stop();
_root.play();
Symbol 178 Button
on (release) {
_root.gotoAndStop("START_GAME");
}
Symbol 184 Button
on (release) {
_root.gotoAndStop("INSTRUCTIONS");
}
Symbol 190 Button
on (release) {
_root.gotoAndStop("OPTIONS");
}
Symbol 198 Button
on (release) {
_root.gotoAndStop("CHEATS");
}
Symbol 204 Button
on (release) {
getURL ("http://bot.armorstudios.com/highscores.php?id=247", "_blank");
}
Symbol 210 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 219 Button
on (release) {
_root.gotoAndStop("MAIN");
}
Symbol 225 Button
on (release) {
_root.gotoAndStop("START");
}
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
stop();
Symbol 233 Button
on (release) {
_root.difficulty.gotoAndStop(1);
easy = true;
hard = false;
if (_root.diffInt.diff_intro == false) {
_root.diffInt.gotoAndStop(35);
}
}
Symbol 239 Button
on (release) {
_root.difficulty.gotoAndStop(2);
hard = true;
easy = false;
if (_root.diffInt.diff_intro == false) {
_root.diffInt.gotoAndStop(36);
}
}
Symbol 250 MovieClip Frame 1
diff_intro = true;
Symbol 250 MovieClip Frame 34
if (_root.easy == true) {
gotoAndStop (35);
} else if (_root.hard == true) {
gotoAndStop (36);
}
diff_intro = false;
Symbol 250 MovieClip Frame 35
stop();
Symbol 250 MovieClip Frame 36
stop();
Symbol 276 MovieClip Frame 52
gotoAndPlay (18);
Symbol 299 MovieClip Frame 3
if (_root.sfx == true) {
_parent.sound_walk1.start();
}
Symbol 299 MovieClip Frame 13
if (_root.sfx == true) {
_parent.sound_walk2.start();
}
Symbol 321 MovieClip Frame 5
if (_root.sfx == true) {
_parent.sound_walk1.start();
}
Symbol 321 MovieClip Frame 12
if (_root.sfx == true) {
_parent.sound_walk2.start();
}
Symbol 334 MovieClip Frame 27
if (_root.sfx == true) {
_parent.sound_jumpla.start();
}
Symbol 335 MovieClip Frame 9
stop();
Symbol 363 MovieClip Frame 16
gotoAndPlay (9);
Symbol 448 MovieClip Frame 31
stop();
Symbol 574 MovieClip Frame 49
stop();
Symbol 575 MovieClip Frame 605
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 2
stop();
Symbol 598 MovieClip Frame 3
stop();
Symbol 604 Button
on (release) {
_root.grap.gotoAndStop(1);
_quality = "LOW";
}
Symbol 610 Button
on (release) {
_root.grap.gotoAndStop(2);
_quality = "MEDIUM";
}
Symbol 616 Button
on (release) {
_root.grap.gotoAndStop(3);
_quality = "HIGH";
}
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 2
stop();
Symbol 627 Button
on (release) {
music = true;
_root.music_main.setVolume(100);
_root.bgsound.gotoAndStop(1);
}
Symbol 633 Button
on (release) {
music = false;
_root.music_main.setVolume(0);
_root.bgsound.gotoAndStop(2);
}
Symbol 636 Button
on (release) {
_root.sfx = true;
_root.sfxsound.gotoAndStop(1);
}
Symbol 637 Button
on (release) {
_root.sfx = false;
_root.sfxsound.gotoAndStop(2);
}
Symbol 649 Button
on (release, keyPress "<Enter>") {
if (cheatfield == "stagger") {
if (cheat == false) {
sound_signco.start();
}
cheat = true;
trace("Stagger Mode Activated");
} else if (cheatfield == "mecha") {
trace("Mech Mode Activated");
} else if (cheatfield == "commando") {
trace("Commando Mode Activated");
} else {
if (_root.cheat_erbox._currentframe == 1) {
_root.cheat_erbox.gotoAndPlay("er_cheat");
}
_root.sound_error.start();
trace("ERROR: Wrong Input!");
}
}
Symbol 655 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 35
gotoAndStop (1);
Symbol 656 MovieClip Frame 30
stop();
_root.play();
Symbol 659 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
_root.player.immortal = false;
_root.player._alpha = 100;
stop();
Symbol 669 MovieClip Frame 2
if (_root.player.dead == false) {
_root.player._alpha = 50;
}
Symbol 669 MovieClip Frame 27
if (_root.player.dead == false) {
_root.player._alpha = 20;
}
Symbol 669 MovieClip Frame 30
if (_root.player.dead == false) {
_root.player._alpha = 50;
}
Symbol 669 MovieClip Frame 33
if (_root.player.dead == false) {
_root.player._alpha = 20;
}
Symbol 669 MovieClip Frame 36
if (_root.player.dead == false) {
_root.player._alpha = 50;
}
Symbol 669 MovieClip Frame 39
if (_root.player.dead == false) {
_root.player._alpha = 20;
}
Symbol 669 MovieClip Frame 42
if (_root.player.dead == false) {
_root.player._alpha = 50;
}
Symbol 669 MovieClip Frame 45
if (_root.player.dead == false) {
_root.player._alpha = 20;
}
Symbol 671 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 2
stop();
Symbol 686 MovieClip Frame 3
stop();
Symbol 686 MovieClip Frame 4
stop();
Symbol 686 MovieClip Frame 5
stop();
Symbol 686 MovieClip Frame 6
stop();
Symbol 686 MovieClip Frame 7
stop();
Symbol 717 MovieClip Frame 1
stop();
Symbol 734 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 11
if (_root.sfx == true) {
_parent.sound_pistol.start();
}
Symbol 735 MovieClip Frame 16
gotoAndPlay (9);
Symbol 736 MovieClip Frame 2
if (_root.sfx == true) {
_parent.sound_equipkni.start();
}
Symbol 736 MovieClip Frame 13
if (_root.sfx == true) {
_parent.sound_knife.start();
}
Symbol 736 MovieClip Frame 22
if (_root.sfx == true) {
_parent.sound_holknife.start();
}
Symbol 736 MovieClip Frame 26
_parent.busy = false;
Symbol 737 MovieClip Frame 1
if (_root.rem_mines >= 1) {
play();
_root.rem_mines--;
} else {
_root.player.busy = false;
stop();
}
Symbol 737 MovieClip Frame 18
_parent.mining = true;
Symbol 737 MovieClip Frame 23
_parent.busy = false;
if (_root.sfx == true) {
_parent.sound_minarmed.start();
}
Symbol 752 MovieClip Frame 12
_parent.exploded = false;
Symbol 752 MovieClip Frame 17
stop();
Symbol 769 MovieClip Frame 1
if (_root.sfx == true) {
_parent.sound_defdeath.start();
}
Symbol 769 MovieClip Frame 25
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 2
stop();
Symbol 770 MovieClip Frame 3
stop();
Symbol 770 MovieClip Frame 4
stop();
Symbol 770 MovieClip Frame 5
stop();
Symbol 770 MovieClip Frame 6
stop();
Symbol 770 MovieClip Frame 7
stop();
Symbol 770 MovieClip Frame 8
stop();
Symbol 770 MovieClip Frame 9
stop();
Symbol 770 MovieClip Frame 11
stop();
Symbol 770 MovieClip Frame 12
stop();
Symbol 770 MovieClip Frame 13
stop();
Symbol 770 MovieClip Frame 14
stop();
Symbol 770 MovieClip Frame 15
stop();
Symbol 770 MovieClip Frame 16
stop();
Symbol 770 MovieClip Frame 17
stop();
Symbol 770 MovieClip Frame 18
stop();
Symbol 770 MovieClip Frame 19
stop();
Symbol 797 MovieClip Frame 49
_root.frags++;
_root.maxvalue++;
_parent.removeMovieClip(this);
stop();
Symbol 798 MovieClip Frame 16
stop();
Symbol 804 MovieClip Frame 12
stop();
Symbol 818 MovieClip Frame 29
if (_root.sfx == true) {
sound = random(9);
if (sound == 1) {
_root.sound_zdeath1.start();
} else if (sound == 2) {
_root.sound_zdeath2.start();
} else if (sound == 3) {
_root.sound_zdeath3.start();
} else if (sound == 4) {
_root.sound_zdeath4.start();
}
}
Symbol 818 MovieClip Frame 53
_root.frags++;
_root.maxvalue++;
_parent.removeMovieClip(this);
stop();
Symbol 823 MovieClip Frame 3
if (_root.sfx == true) {
_root.sound_hsimpact.start();
}
Symbol 823 MovieClip Frame 60
_root.frags++;
_root.maxvalue++;
_parent.removeMovieClip(this);
stop();
Symbol 836 MovieClip Frame 20
if (_root.sfx == true) {
sound = random(9);
if (sound == 1) {
_root.sound_zdeath1.start();
} else if (sound == 2) {
_root.sound_zdeath2.start();
} else if (sound == 3) {
_root.sound_zdeath3.start();
} else if (sound == 4) {
_root.sound_zdeath4.start();
}
}
Symbol 836 MovieClip Frame 48
_root.frags++;
_root.maxvalue++;
_parent.removeMovieClip(this);
stop();
Symbol 837 MovieClip Frame 1
if (_root.sfx == true) {
sound = random(10);
if (sound == 1) {
_root.sound_zraise1.start();
} else if (sound == 2) {
_root.sound_zraise2.start();
} else if (sound == 3) {
_root.sound_zraise3.start();
}
}
Symbol 837 MovieClip Frame 18
alive = true;
Symbol 837 MovieClip Frame 19
Symbol 837 MovieClip Frame 20
stop();
Symbol 837 MovieClip Frame 21
stop();
Symbol 837 MovieClip Frame 22
stop();
Symbol 837 MovieClip Frame 23
stop();
Symbol 837 MovieClip Frame 24
stop();
Symbol 837 MovieClip Frame 26
stop();
Symbol 837 MovieClip Frame 27
stop();
Symbol 837 MovieClip Frame 28
stop();
Symbol 837 MovieClip Frame 29
stop();
Symbol 837 MovieClip Frame 30
stop();
Symbol 837 MovieClip Frame 31
stop();
Symbol 871 MovieClip Frame 49
_root.frags++;
_root.maxzom_2++;
_parent.removeMovieClip(this);
stop();
Symbol 879 MovieClip Frame 49
_root.frags++;
_root.maxzom_2++;
_parent.removeMovieClip(this);
stop();
Symbol 890 MovieClip Frame 3
if (_root.sfx == true) {
_root.sound_hsimpact.start();
}
Symbol 890 MovieClip Frame 55
_root.frags++;
_root.maxzom_2++;
_parent.removeMovieClip(this);
stop();
Symbol 902 MovieClip Frame 13
if (_root.sfx == true) {
sound = random(9);
if (sound == 1) {
_root.sound_zdeath1.start();
} else if (sound == 2) {
_root.sound_zdeath2.start();
} else if (sound == 3) {
_root.sound_zdeath3.start();
} else if (sound == 4) {
_root.sound_zdeath4.start();
}
}
Symbol 902 MovieClip Frame 49
_root.frags++;
_root.maxzom_2++;
_parent.removeMovieClip(this);
stop();
Symbol 903 MovieClip Frame 1
if (_root.sfx == true) {
sound = random(10);
if (sound == 1) {
_root.sound_zraise1.start();
} else if (sound == 2) {
_root.sound_zraise2.start();
} else if (sound == 3) {
_root.sound_zraise3.start();
}
}
Symbol 903 MovieClip Frame 18
alive = true;
Symbol 903 MovieClip Frame 19
Symbol 903 MovieClip Frame 20
stop();
Symbol 903 MovieClip Frame 21
stop();
Symbol 903 MovieClip Frame 22
stop();
Symbol 903 MovieClip Frame 23
stop();
Symbol 903 MovieClip Frame 24
stop();
Symbol 903 MovieClip Frame 26
stop();
Symbol 903 MovieClip Frame 27
stop();
Symbol 903 MovieClip Frame 28
stop();
Symbol 903 MovieClip Frame 29
stop();
Symbol 903 MovieClip Frame 30
stop();
Symbol 903 MovieClip Frame 31
stop();
Symbol 937 MovieClip Frame 49
_root.frags++;
_root.maxzom_3++;
_parent.removeMovieClip(this);
stop();
Symbol 949 MovieClip Frame 14
if (_root.sfx == true) {
sound = random(9);
if (sound == 1) {
_root.sound_zdeath1.start();
} else if (sound == 2) {
_root.sound_zdeath2.start();
} else if (sound == 3) {
_root.sound_zdeath3.start();
} else if (sound == 4) {
_root.sound_zdeath4.start();
}
}
Symbol 949 MovieClip Frame 63
_root.frags++;
_root.maxzom_3++;
_parent.removeMovieClip(this);
stop();
Symbol 956 MovieClip Frame 3
if (_root.sfx == true) {
_root.sound_hsimpact.start();
}
Symbol 956 MovieClip Frame 59
_root.frags++;
_root.maxzom_3++;
_parent.removeMovieClip(this);
stop();
Symbol 957 MovieClip Frame 1
if (_root.sfx == true) {
sound = random(10);
if (sound == 1) {
_root.sound_zraise1.start();
} else if (sound == 2) {
_root.sound_zraise2.start();
} else if (sound == 3) {
_root.sound_zraise3.start();
} else if ((sound >= 4) && (sound <= 8)) {
_root.sound_zraise4.start();
}
}
Symbol 957 MovieClip Frame 18
alive = true;
Symbol 957 MovieClip Frame 19
Symbol 957 MovieClip Frame 20
stop();
Symbol 957 MovieClip Frame 21
stop();
Symbol 957 MovieClip Frame 22
stop();
Symbol 957 MovieClip Frame 23
stop();
Symbol 957 MovieClip Frame 24
stop();
Symbol 957 MovieClip Frame 26
stop();
Symbol 957 MovieClip Frame 27
stop();
Symbol 957 MovieClip Frame 28
stop();
Symbol 957 MovieClip Frame 29
stop();
Symbol 957 MovieClip Frame 30
stop();
Symbol 957 MovieClip Frame 31
stop();
Symbol 983 MovieClip Frame 49
_root.frags++;
_root.maxzom_4++;
_parent.removeMovieClip(this);
stop();
Symbol 1001 MovieClip Frame 17
stop();
Symbol 1025 MovieClip Frame 79
_root.frags++;
_root.maxzom_4++;
_parent.removeMovieClip(this);
stop();
Symbol 1033 MovieClip Frame 3
if (_root.sfx == true) {
_root.sound_hsimpact.start();
}
Symbol 1033 MovieClip Frame 59
_root.frags++;
_root.maxzom_4++;
_parent.removeMovieClip(this);
stop();
Symbol 1041 MovieClip Frame 16
if (_root.sfx == true) {
sound = random(9);
if (sound == 1) {
_root.sound_zdeath1.start();
} else if (sound == 2) {
_root.sound_zdeath2.start();
} else if (sound == 3) {
_root.sound_zdeath3.start();
} else if (sound == 4) {
_root.sound_zdeath4.start();
}
}
Symbol 1041 MovieClip Frame 51
_root.frags++;
_root.maxzom_4++;
_parent.removeMovieClip(this);
stop();
Symbol 1042 MovieClip Frame 1
if (_root.sfx == true) {
sound = random(10);
if (sound == 1) {
_root.sound_zraise1.start();
} else if (sound == 2) {
_root.sound_zraise2.start();
} else if (sound == 3) {
_root.sound_zraise3.start();
}
}
Symbol 1042 MovieClip Frame 18
alive = true;
Symbol 1042 MovieClip Frame 19
Symbol 1042 MovieClip Frame 20
stop();
Symbol 1042 MovieClip Frame 21
stop();
Symbol 1042 MovieClip Frame 22
stop();
Symbol 1042 MovieClip Frame 23
stop();
Symbol 1042 MovieClip Frame 24
stop();
Symbol 1042 MovieClip Frame 26
stop();
Symbol 1042 MovieClip Frame 27
stop();
Symbol 1042 MovieClip Frame 28
stop();
Symbol 1042 MovieClip Frame 29
stop();
Symbol 1042 MovieClip Frame 30
stop();
Symbol 1042 MovieClip Frame 31
stop();
Symbol 1102 MovieClip Frame 44
this._parent.busy = false;
Symbol 1103 MovieClip Frame 49
_root.frags++;
_root.maxzom_5++;
_parent.removeMovieClip(this);
stop();
Symbol 1113 MovieClip Frame 45
_root.frags++;
_root.maxzom_5++;
_parent.removeMovieClip(this);
stop();
Symbol 1120 MovieClip Frame 3
if (_root.sfx == true) {
_root.sound_hsimpact.start();
}
Symbol 1120 MovieClip Frame 60
_root.frags++;
_root.maxzom_5++;
_parent.removeMovieClip(this);
stop();
Symbol 1121 MovieClip Frame 1
if (_root.sfx == true) {
sound = random(10);
if (sound == 1) {
_root.sound_zraise1.start();
} else if (sound == 2) {
_root.sound_zraise2.start();
} else if (sound == 3) {
_root.sound_zraise3.start();
}
}
Symbol 1121 MovieClip Frame 18
alive = true;
Symbol 1121 MovieClip Frame 19
Symbol 1121 MovieClip Frame 20
stop();
Symbol 1121 MovieClip Frame 21
stop();
Symbol 1121 MovieClip Frame 22
stop();
Symbol 1121 MovieClip Frame 23
stop();
Symbol 1121 MovieClip Frame 24
stop();
Symbol 1121 MovieClip Frame 26
stop();
Symbol 1121 MovieClip Frame 27
stop();
Symbol 1121 MovieClip Frame 28
stop();
Symbol 1121 MovieClip Frame 29
stop();
Symbol 1121 MovieClip Frame 30
stop();
Symbol 1121 MovieClip Frame 31
stop();
Symbol 1127 MovieClip Frame 1
stop();
Symbol 1146 MovieClip Frame 1
_root.sound_heartbeat.stop("HB_FAST");
stop();
Symbol 1146 MovieClip Frame 2
_root.sound_heartbeat.stop("HB_FAST");
stop();
Symbol 1146 MovieClip Frame 3
_root.sound_heartbeat.start(0, 10);
if (_root.music == true) {
_root.music_game.setVolume(80);
}
stop();
Symbol 1146 MovieClip Frame 4
_root.sound_heartbeat.stop("HB_FAST");
stop();
Symbol 1177 Button
on (release) {
i = 0;
while (i < 100) {
removeMovieClip(_root["enemy" + i]);
removeMovieClip(_root["armyzombie" + i]);
removeMovieClip(_root["brainzombie" + i]);
removeMovieClip(_root["scizombie" + i]);
removeMovieClip(_root["mummy" + i]);
i++;
}
_root.remove = true;
_root.music_deathw.stop("DEATHWA");
_root.gotoAndPlay("GAME_setup");
}
Symbol 1178 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
_root.music_deathw.stop("DEATHWA");
}
Symbol 1184 Button
on (release) {
if (_root.cheat == false) {
i = 0;
while (i < 100) {
removeMovieClip(_root["enemy" + i]);
removeMovieClip(_root["armyzombie" + i]);
removeMovieClip(_root["brainzombie" + i]);
removeMovieClip(_root["scizombie" + i]);
removeMovieClip(_root["mummy" + i]);
i++;
}
_root.remove = true;
_root.music_deathw.stop("DEATHWA");
_root.gotoAndStop("HIGHSCORE");
} else {
_root.sound_error.start();
}
}
Symbol 1190 Button
on (release) {
i = 0;
while (i < 100) {
removeMovieClip(_root["enemy" + i]);
removeMovieClip(_root["armyzombie" + i]);
removeMovieClip(_root["brainzombie" + i]);
removeMovieClip(_root["scizombie" + i]);
removeMovieClip(_root["mummy" + i]);
i++;
}
_root.remove = true;
_root.music_deathw.stop("DEATHWA");
_root.gotoAndStop(5);
}
Symbol 1191 MovieClip Frame 1
_root.music_deathw.start();
if (_root.music == true) {
_root.music_game.setVolume(80);
}
Symbol 1191 MovieClip Frame 4
if (_root.music == true) {
_root.music_game.setVolume(60);
}
Symbol 1191 MovieClip Frame 7
if (_root.music == true) {
_root.music_game.setVolume(40);
}
Symbol 1191 MovieClip Frame 10
if (_root.music == true) {
_root.music_game.setVolume(20);
}
Symbol 1191 MovieClip Frame 13
if (_root.music == true) {
_root.music_game.setVolume(0);
}
Symbol 1191 MovieClip Frame 80
stop();
Symbol 1192 MovieClip Frame 1
stop();
Symbol 1192 MovieClip Frame 2
stop();
Symbol 1203 Button
on (release, keyPress "<Enter>") {
_root.cleard = false;
_root.sound_signco.start();
_root.BACKGROUND.gotoAndStop(random(7) + 1);
_root.play();
}
Symbol 1212 Button
on (release) {
_root.sound_shopclick.start();
gotoAndStop (2);
}
Symbol 1214 Button
on (release) {
if (_root.score >= 2000) {
_root.player.sound_minarmed.start();
_root.sound_buymines.start();
_root.score = _root.score - 2000;
_root.rem_mines++;
} else if (_root.score < 2000) {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1251 Button
on (release) {
if ((_root.score >= 1000) && (_root.health < 100)) {
_root.sound_shopheal.start();
_root.score = _root.score - 1000;
_root.health = 100;
_root.sound_heartbeat.stop("HB_FAST");
} else if ((_root.score < 1000) && (_root.health < 100)) {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1259 MovieClip Frame 1
stop();
Symbol 1259 MovieClip Frame 2
stop();
Symbol 1259 MovieClip Frame 3
stop();
Symbol 1265 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 26
gotoAndStop (1);
Symbol 1265 MovieClip Frame 58
gotoAndStop (1);
Symbol 1270 MovieClip Frame 1
stop();
Symbol 1270 MovieClip Frame 2
stop();
Symbol 1270 MovieClip Frame 3
stop();
Symbol 1270 MovieClip Frame 4
stop();
Symbol 1274 Button
on (release) {
if ((_root.score >= 10000) && (_root.hs_ratio == 0)) {
_root.hs_ratio = 1;
_root.score = _root.score - 10000;
_root.sound_shopupg.start();
hs_cost = "20.000:-";
} else if ((_root.score >= 20000) && (_root.hs_ratio == 1)) {
_root.hs_ratio = 2;
_root.score = _root.score - 20000;
_root.sound_shopupg.start();
hs_cost = "40.000:-";
} else if ((_root.score >= 40000) && (_root.hs_ratio == 2)) {
_root.hs_ratio = 3;
_root.score = _root.score - 40000;
_root.sound_shopupg.start();
hs_cost = "FULL";
} else if (_root.hs_ratio >= 3) {
trace("MAX LVL");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_max");
}
_root.sound_error.start();
} else {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1276 Button
on (release) {
if ((_root.score >= 5000) && (_root.gun_dmg == 0)) {
_root.gun_dmg = 1;
_root.score = _root.score - 5000;
_root.sound_shopupg.start();
gun_cost = "15.000:-";
} else if ((_root.score >= 15000) && (_root.gun_dmg == 1)) {
_root.gun_dmg = 2;
_root.score = _root.score - 15000;
_root.sound_shopupg.start();
gun_cost = "25.000:-";
} else if ((_root.score >= 25000) && (_root.gun_dmg == 2)) {
_root.gun_dmg = 3;
_root.score = _root.score - 25000;
_root.sound_shopupg.start();
gun_cost = "FULL";
} else if (_root.gun_dmg >= 3) {
trace("MAX LVL");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_max");
}
_root.sound_error.start();
} else {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1278 Button
on (release) {
if ((_root.score >= 3500) && (_root.gun_pwr == 0)) {
_root.gun_pwr = 1;
_root.score = _root.score - 3500;
_root.sound_shopupg.start();
gunpwr_cost = "8.000:-";
} else if ((_root.score >= 8000) && (_root.gun_pwr == 1)) {
_root.gun_pwr = 2;
_root.score = _root.score - 8000;
_root.sound_shopupg.start();
gunpwr_cost = "15.000:-";
} else if ((_root.score >= 15000) && (_root.gun_pwr == 2)) {
_root.gun_pwr = 3;
_root.score = _root.score - 15000;
_root.sound_shopupg.start();
gunpwr_cost = "FULL";
} else if (_root.gun_pwr >= 3) {
trace("MAX LVL");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_max");
}
_root.sound_error.start();
} else {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1280 Button
on (release) {
if ((_root.score >= 4000) && (_root.knife_dmg == 0)) {
_root.knife_dmg = 2;
_root.score = _root.score - 4000;
_root.sound_shopupg.start();
knife_cost = "10.000:-";
} else if ((_root.score >= 10000) && (_root.knife_dmg == 2)) {
_root.knife_dmg = 4;
_root.score = _root.score - 10000;
_root.sound_shopupg.start();
knife_cost = "18.000:-";
} else if ((_root.score >= 18000) && (_root.knife_dmg == 4)) {
_root.knife_dmg = 6;
_root.score = _root.score - 18000;
_root.sound_shopupg.start();
knife_cost = "FULL";
} else if (_root.knife_dmg >= 6) {
trace("MAX LVL");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_max");
}
_root.sound_error.start();
} else {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1282 Button
on (release) {
if ((_root.score >= 2000) && (_root.knife_pwr == 0)) {
_root.knife_pwr = 1;
_root.score = _root.score - 2000;
_root.sound_shopupg.start();
knifepwr_cost = "6.000:-";
} else if ((_root.score >= 6000) && (_root.knife_pwr == 1)) {
_root.knife_pwr = 2;
_root.score = _root.score - 6000;
_root.sound_shopupg.start();
knifepwr_cost = "12.000:-";
} else if ((_root.score >= 12000) && (_root.knife_pwr == 2)) {
_root.knife_pwr = 3;
_root.score = _root.score - 12000;
_root.sound_shopupg.start();
knifepwr_cost = "FULL";
} else if (_root.knife_pwr >= 3) {
trace("MAX LVL");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_max");
}
_root.sound_error.start();
} else {
trace("NOT ENOUGH CASH/SCORE");
if (ERRORBOX._currentframe == 1) {
ERRORBOX.gotoAndPlay("er_score");
}
_root.sound_error.start();
}
}
Symbol 1284 Button
on (release) {
_root.sound_shopclick.start();
gotoAndStop (1);
}
Symbol 1290 MovieClip Frame 1
stop();
Instance of Symbol 1259 MovieClip in Symbol 1290 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.health >= 100) && (_root.health > 70)) {
this.gotoAndStop(1);
} else if ((_root.health <= 70) && (_root.health > 30)) {
this.gotoAndStop(2);
} else if ((_root.health <= 30) && (_root.health >= 1)) {
this.gotoAndStop(3);
}
}
Symbol 1290 MovieClip Frame 2
if (_root.hs_ratio <= 0) {
hs_cost = "10.000:-";
} else if (_root.hs_ratio == 1) {
hs_cost = "20.000:-";
} else if (_root.hs_ratio == 2) {
hs_cost = "40.000:-";
} else if (_root.hs_ratio == 3) {
hs_cost = "FULL";
}
if (_root.gun_dmg <= 0) {
gun_cost = "5.000:-";
} else if (_root.gun_dmg == 1) {
gun_cost = "15.000:-";
} else if (_root.gun_dmg == 2) {
gun_cost = "25.000:-";
} else if (_root.gun_dmg == 3) {
gun_cost = "FULL";
}
if (_root.gun_pwr <= 0) {
gunpwr_cost = "3.500:-";
} else if (_root.gun_pwr == 1) {
gunpwr_cost = "8.000:-";
} else if (_root.gun_pwr == 2) {
gunpwr_cost = "15.000:-";
} else if (_root.gun_pwr == 3) {
gunpwr_cost = "FULL";
}
if (_root.knife_dmg <= 0) {
knife_cost = "4.000:-";
} else if (_root.knife_dmg == 2) {
knife_cost = "10.000:-";
} else if (_root.knife_dmg == 4) {
knife_cost = "18.000:-";
} else if (_root.knife_dmg == 6) {
knife_cost = "FULL";
}
if (_root.knife_pwr <= 0) {
knifepwr_cost = "2.000:-";
} else if (_root.knife_pwr == 1) {
knifepwr_cost = "6.000:-";
} else if (_root.knife_pwr == 2) {
knifepwr_cost = "12.000:-";
} else if (_root.knife_pwr == 3) {
knifepwr_cost = "FULL";
}
stop();
Instance of Symbol 1270 MovieClip in Symbol 1290 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hs_ratio <= 0) {
this.gotoAndStop(1);
} else if (_root.hs_ratio == 1) {
this.gotoAndStop(2);
} else if (_root.hs_ratio == 2) {
this.gotoAndStop(3);
} else if (_root.hs_ratio >= 3) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1270 MovieClip in Symbol 1290 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gun_dmg <= 0) {
this.gotoAndStop(1);
} else if (_root.gun_dmg == 1) {
this.gotoAndStop(2);
} else if (_root.gun_dmg == 2) {
this.gotoAndStop(3);
} else if (_root.gun_dmg >= 3) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1270 MovieClip in Symbol 1290 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gun_pwr <= 0) {
this.gotoAndStop(1);
} else if (_root.gun_pwr == 1) {
this.gotoAndStop(2);
} else if (_root.gun_pwr == 2) {
this.gotoAndStop(3);
} else if (_root.gun_pwr >= 3) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1270 MovieClip in Symbol 1290 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.knife_dmg <= 0) {
this.gotoAndStop(1);
} else if (_root.knife_dmg == 2) {
this.gotoAndStop(2);
} else if (_root.knife_dmg == 4) {
this.gotoAndStop(3);
} else if (_root.knife_dmg >= 6) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1270 MovieClip in Symbol 1290 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.knife_pwr <= 0) {
this.gotoAndStop(1);
} else if (_root.knife_pwr == 1) {
this.gotoAndStop(2);
} else if (_root.knife_pwr == 2) {
this.gotoAndStop(3);
} else if (_root.knife_pwr >= 3) {
this.gotoAndStop(4);
}
}
Symbol 1291 Button
on (release) {
if (((playername != "insert") && (playername != "")) && (submit == false)) {
submit = true;
_root.sound_shopupg.start();
pldm128948 = new LoadVars();
pldm128948.namevar = playername;
pldm128948.scorevar = pldmcrypt.encodeNum(score);
pldm128948.mid = 247;
pldm128948.pro = "9ee73cd3583a17fae11342beb56b0b4f";
pldm128948.sendAndLoad("http://bot.armorstudios.com/hs.php", pldm128948, "POST");
} else if (submit == true) {
if (_root.hs_error._currentframe == 1) {
_root.hs_error.gotoAndPlay("er_submit");
}
_root.sound_error.start();
} else {
if (_root.hs_error._currentframe == 1) {
_root.hs_error.gotoAndPlay("er_name");
}
_root.sound_error.start();
}
}
Symbol 1292 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 1335 MovieClip Frame 1
stop();
Symbol 1335 MovieClip Frame 30
gotoAndStop (1);
Symbol 1335 MovieClip Frame 67
gotoAndStop (1);