Frame 1
Loaded = Math.round(getBytesLoaded());
total = Math.round(getBytesTotal());
percent = Loaded / total;
trace(Loaded);
trace(total);
trace(percent);
bar._width = percent * 150;
text = Math.round(percent * 100) + "%";
if (Loaded == total) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stop();
Frame 5
stopAllSounds();
stop();
Mouse.show();
_global.lives = 4;
_global.reloading = 0;
_global.requirement = 0;
_global.zombiekill = 0;
_global.handgunbullets = 7;
_global.m16bullets = 30;
_global.shotgunbullets = 6;
_global.handgunbulletstotal = "infi";
_global.m16bulletstotal = 30;
_global.shotgunbulletstotal = 12;
_global.gunused = "hand";
_global.handgun = 1;
_global.m16 = 0;
_global.shotgun = 0;
_global.medkit = 0;
_global.herolife = 4;
_global.room = 1;
_global.smallkey1 = 0;
_global.smallkey2 = 0;
_global.smallkey3 = 0;
_global.smallkey4 = 0;
_global.smallkey5 = 0;
_global.smallkey6 = 0;
_global.smallkey7 = 0;
_global.smallkey8 = 0;
_global.pawnkey = 0;
_global.horsekey = 0;
_global.rookkey = 0;
_global.bishopkey = 0;
_global.queenkey = 0;
_global.kingkey = 0;
_global.unlockpawn = 0;
_global.unlockhorse = 0;
_global.unlockbishop = 0;
_global.unlockrook = 0;
_global.unlockqueen = 0;
_global.unlockking = 0;
_global.locker1;
_global.finallock = 0;
_global.unlockvault = 0;
_global.unlockbath = 0;
_global.appletop = 0;
_global.applebottom = 0;
_global.arrowhead = 0;
_global.arrowbody = 0;
_global.largeghost = 0;
_global.medkit1 = 0;
_global.medkit2 = 0;
_global.medkit3 = 0;
_global.medkit4 = 0;
_global.medkit5 = 0;
_global.wallbash = 0;
_global.hammer = 0;
_global.applewhole = 0;
_global.arrowwhole = 0;
_global.appleplaced = 0;
_global.arrowplaced = 0;
_global.paintingmoved = 0;
_global.ghostclick2 = 0;
_global.ghostclick = 0;
_global.ghostclicked = 0;
_global.sawpainting = 0;
_global.showchestlock = 0;
_global.showchestcontent = 0;
_global.switchsolved = 0;
_global.kit1 = 0;
_global.kit2 = 0;
_global.kit3 = 0;
_global.kit4 = 0;
_global.kit5 = 0;
_global.plank1 = 0;
_global.plank2 = 0;
_global.plank3 = 0;
_global.plank4 = 0;
_global.plank5 = 0;
_global.plank6 = 0;
_global.plank7 = 0;
_global.plank8 = 0;
_global.plank9 = 0;
_global.plank10 = 0;
_global.placeladder = 0;
_global.ropecut = 0;
_global.scissor = 0;
_global.unlockpurplechest = 0;
_global.ironbar = 0;
_global.note = 0;
_global.pianokey = 0;
_global.woodbarrier = 0;
_global.pliers = 0;
_global.chainbreak1 = 0;
_global.chainbreak2 = 0;
_global.l1 = 0;
_global.l2 = 0;
_global.l3 = 0;
_global.l4 = 0;
_global.l5 = 0;
_global.l6 = 0;
_global.l7 = 0;
_global.l8 = 0;
_global.l9 = 0;
_global.l10 = 0;
_global.l11 = 0;
_global.l12 = 0;
_global.l13 = 0;
_global.l14 = 0;
_global.l15 = 0;
_global.l16 = 0;
_global.s1 = 0;
_global.s2 = 0;
_global.s3 = 0;
_global.s4 = 0;
_global.s5 = 0;
_global.s6 = 0;
_global.s7 = 0;
_global.s8 = 0;
_global.s9 = 0;
_global.s10 = 0;
_global.s11 = 0;
_global.s12 = 0;
_global.s13 = 0;
_global.s14 = 0;
_global.s15 = 0;
_global.s16 = 0;
_global.keycombination = 0;
_global.keynumberpressed = 0;
_global.pianocomplete = 0;
_global.keycombination = "";
_global.keynumberpressed = 0;
_global.getkey3 = 0;
_global.keyfell = 0;
_global.cutme = 0;
_global.m16ammo1 = 0;
_global.m16ammo2 = 0;
_global.m16ammo3 = 0;
_global.m16ammo4 = 0;
_global.m16ammo5 = 0;
_global.m16ammo6 = 0;
_global.m16ammo7 = 0;
_global.shotgunammo1 = 0;
_global.shotgunammo2 = 0;
_global.shotgunammo3 = 0;
_global.shotgunammo4 = 0;
_global.shotgunammo5 = 0;
_global.shotgunammo5 = 0;
_global.crowbar = 0;
_global.placeladder = 0;
_global.ladder = 0;
_global.z1 = 0;
_global.z2 = 0;
_global.z3 = 0;
_global.z4 = 0;
_global.z5 = 0;
_global.z6 = 0;
_global.z7 = 0;
_global.z8 = 0;
_global.z9 = 0;
_global.bz1 = 0;
_global.bz2 = 0;
_global.bz3 = 0;
_global.bz4 = 0;
_global.bz5 = 0;
_global.bz6 = 0;
_global.bz7 = 0;
_global.bz8 = 0;
_global.bz9 = 0;
_global.cz1 = 0;
_global.cz2 = 0;
_global.cz3 = 0;
_global.cz4 = 0;
_global.cz5 = 0;
_global.cz6 = 0;
_global.cz7 = 0;
_global.cz8 = 0;
_global.cz9 = 0;
_global.gz1 = 0;
_global.gz2 = 0;
_global.gz3 = 0;
_global.gz4 = 0;
_global.gz5 = 0;
_global.gz6 = 0;
_global.gz7 = 0;
_global.gz8 = 0;
_global.gz9 = 0;
_global.fz1 = 0;
_global.fz2 = 0;
_global.fz3 = 0;
_global.fz4 = 0;
_global.fz5 = 0;
_global.fz6 = 0;
_global.fz7 = 0;
_global.fz8 = 0;
_global.fz9 = 0;
handgun = new Sound();
handgun.attachSound("handgun");
m16 = new Sound();
m16.attachSound("m16");
shotgun = new Sound();
shotgun.attachSound("shotgun");
nobullet = new Sound();
nobullet.attachSound("nobullet");
reload = new Sound();
reload.attachSound("reload");
clickitem = new Sound();
clickitem.attachSound("clickitem");
growl = new Sound();
growl.attachSound("growl");
creepy = new Sound();
creepy.attachSound("creepy");
heal = new Sound();
heal.attachSound("heal");
hurt = new Sound();
hurt.attachSound("hurt");
locked = new Sound();
locked.attachSound("locked");
squirt = new Sound();
squirt.attachSound("squirt");
step = new Sound();
step.attachSound("step");
weird = new Sound();
weird.attachSound("weird");
whoosh = new Sound();
whoosh.attachSound("whoosh");
wounded = new Sound();
wounded.attachSound("wounded");
chop = new Sound();
chop.attachSound("chop");
squish = new Sound();
squish.attachSound("squish");
zombieattack = new Sound();
zombieattack.attachSound("zombieattack");
zombiegroan1 = new Sound();
zombiegroan1.attachSound("zombiegroan1");
zombiegroan2 = new Sound();
zombiegroan2.attachSound("zombiegroan2");
poltergirl = new Sound();
poltergirl.attachSound("poltergirl");
soulwail = new Sound();
soulwail.attachSound("soulwail");
heartbeating = new Sound();
heartbeating.attachSound("heartbeating");
paper = new Sound();
paper.attachSound("paper");
zombiemoan = new Sound();
zombiemoan.attachSound("zombiemoan");
zombiebreath = new Sound();
zombiebreath.attachSound("zombiebreath");
startattack = new Sound();
startattack.attachSound("startattack");
slice = new Sound();
slice.attachSound("slice");
bite = new Sound();
bite.attachSound("bite");
dyingbaby = new Sound();
dyingbaby.attachSound("dyingbaby");
dogsnarl = new Sound();
dogsnarl.attachSound("dogsnarl");
doghurt2 = new Sound();
doghurt2.attachSound("doghurt2");
doghurt = new Sound();
doghurt.attachSound("doghurt");
doghurt2 = new Sound();
doghurt2.attachSound("doghurt2");
dogbark = new Sound();
dogbark.attachSound("dogbark");
dogattack = new Sound();
dogattack.attachSound("dogattack");
creepylaugh = new Sound();
creepylaugh.attachSound("creepylaugh");
creepygiggle = new Sound();
creepygiggle.attachSound("creepygiggle");
babygroan = new Sound();
babygroan.attachSound("babygroan");
babyattack = new Sound();
babyattack.attachSound("babyattack");
timebell = new Sound();
timebell.attachSound("timebell");
monsterhit2 = new Sound();
monsterhit2.attachSound("monsterhit2");
monsterhit = new Sound();
monsterhit.attachSound("monsterhit");
monstergrowl4 = new Sound();
monstergrowl4.attachSound("monstergrowl4");
monstergrowl3 = new Sound();
monstergrowl3.attachSound("monstergrowl3");
monstergrowl2 = new Sound();
monstergrowl2.attachSound("monstergrowl2");
monstergrowl = new Sound();
monstergrowl.attachSound("monstergrowl");
foundsomething = new Sound();
foundsomething.attachSound("foundsomething");
wreck = new Sound();
wreck.attachSound("wreck");
cryingbaby = new Sound();
cryingbaby.attachSound("cryingbaby");
doorclose = new Sound();
doorclose.attachSound("doorclose");
dooropen = new Sound();
dooropen.attachSound("dooropen");
doorunlock = new Sound();
doorunlock.attachSound("doorunlock");
breakchain = new Sound();
breakchain.attachSound("breakchain");
destroy = new Sound();
destroy.attachSound("destroy");
Frame 6
Mouse.hide();
stop();
Instance of Symbol 921 MovieClip "cursor" in Frame 6
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_y <= 14) {
_y = 14;
}
}
Frame 7
Mouse.show();
_root.crosshair._alpha = 0;
stop();
Mouse.show();
Frame 8
Mouse.show();
_root.crosshair._alpha = 0;
stop();
Mouse.show();
Frame 9
stop();
Mouse.show();
Frame 10
Mouse.show();
_root.crosshair2._alpha = 0;
_root.crosshair._alpha = 0;
_root.crosshair2.gotoAndStop(1);
stopAllSounds();
_global.reloading = 0;
_global.score = 0;
_global.timer = 0;
_global.zombiekill = 0;
_global.handgunbullets = 8;
_global.m16bullets = 30;
_global.shotgunbullets = 6;
_global.handgunbulletstotal = "infi";
_global.m16bulletstotal = 60;
_global.shotgunbulletstotal = 24;
_global.gunused = "handgun";
_global.handgun = 1;
_global.m16 = 1;
_global.shotgun = 1;
_global.medkit = 0;
_global.herolife = 4;
stop();
Frame 11
Mouse.hide();
_root.crosshair2._alpha = 100;
_root.crosshair._alpha = 0;
stop();
Instance of Symbol 1061 MovieClip "crosshair2" in Frame 11
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_y <= 85) {
_y = 85;
}
}
Symbol 23 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 32 Button
on (press) {
_root.getURL("http://www.addictinggames.com");
}
Symbol 184 MovieClip Frame 147
stop();
Symbol 185 MovieClip Frame 1
_root.stop();
Symbol 185 MovieClip Frame 335
_root.play();
Symbol 200 MovieClip Frame 5
_root.walking.start();
Symbol 200 MovieClip Frame 10
_root.walking.start();
Symbol 200 MovieClip Frame 12
Symbol 221 MovieClip Frame 137
_root.play();
Symbol 263 MovieClip Frame 1
stop();
Symbol 265 Button
on (release) {
gotoAndPlay ("game");
}
Symbol 266 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 267 Button
on (release) {
gotoAndPlay ("credits");
}
Symbol 268 Button
on (release) {
gotoAndPlay ("presurvival");
}
Symbol 278 Button
on (release) {
_root._quality = "LOW";
}
Symbol 279 Button
on (release) {
_root._quality = "MEDIUM";
}
Symbol 280 Button
on (release) {
_root._quality = "BEST";
}
Symbol 281 Button
on (release) {
getURL ("http://www.ultimateflashgame.com", "_blank");
}
Symbol 284 MovieClip Frame 12
stop();
Symbol 290 Button
on (release) {
_root.dialogue.varMsg = "Papers, unpaid bills, marketing offers and usual unwanted mails..";
_root.dialogue.gotoAndPlay(2);
}
Symbol 291 Button
on (release) {
_root.dialogue.varMsg = "A bloody hand print... what on earth happened here?";
_root.dialogue.gotoAndPlay(2);
}
Symbol 292 Button
on (release) {
_root.dialogue.varMsg = "A beautiful painting of a mermaid... on a sea of blood... nice...";
_root.dialogue.gotoAndPlay(2);
}
Symbol 299 MovieClip Frame 4
removeMovieClip(this);
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
stop();
Symbol 358 MovieClip Frame 3
stop();
Symbol 358 MovieClip Frame 4
stop();
Symbol 358 MovieClip Frame 5
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 2
_root.bite.start();
Symbol 384 Button
on (release) {
this._x = 530;
}
Symbol 387 Button
on (release) {
gameins._x = 18;
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Symbol 395 Button
on (release) {
_root.dialogue.varMsg = "Something is written here: The goddess seeks the goddess wants, give it to them and the path shall come.";
_root.dialogue.gotoAndPlay(2);
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 32
_root.creepygiggle.start();
Symbol 427 MovieClip Frame 55
stop();
_global.ghostclick = 1;
_root.dialogue.varMsg = "Ohhhkay...";
_root.dialogue.gotoAndPlay(2);
Symbol 436 MovieClip Frame 1
_root.squish.start();
Symbol 436 MovieClip Frame 4
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 464 MovieClip Frame 11
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_global.herolife = _global.herolife - 1;
}
Symbol 478 MovieClip Frame 1
_root.zombiegroan1.start();
Symbol 478 MovieClip Frame 30
stop();
varname = _parent._parent._name;
_global[varname] = 1;
Symbol 479 MovieClip Frame 1
stop();
Instance of Symbol 450 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 200;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 1;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 1;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 479 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 3
stop();
Symbol 480 MovieClip Frame 1
stop();
Instance of Symbol 479 MovieClip "zombie1" in Symbol 480 MovieClip Frame 1
onClipEvent (load) {
life = 110;
attacking = 0;
headshot = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if (_parent._xscale < 150) {
this.gotoAndStop("walk");
_parent._xscale = _parent._xscale + 0.5;
_parent._yscale = _parent._yscale + 0.5;
_parent._y = _parent._y + 1;
} else {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
if (headshot == 1) {
this.zombiedead.head.gotoAndStop("headburst");
}
this.gotoAndStop("dead");
_global.zombiekill = _global.zombiekill + 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's no freakin way Im touching those things with my hands!";
_root.dialogue.gotoAndPlay(2);
}
}
Symbol 480 MovieClip Frame 2
stop();
Symbol 490 MovieClip Frame 5
rr = random(2);
if (rr == 1) {
_root.dyingbaby.start();
}
Symbol 504 MovieClip Frame 5
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_root.slice.start();
_global.herolife = _global.herolife - 1;
}
Symbol 504 MovieClip Frame 26
_parent.attacking = 0;
Symbol 518 MovieClip Frame 1
_root.babygroan.start();
Symbol 518 MovieClip Frame 20
stop();
varname = _parent._parent._name;
_global[varname] = 1;
_global.zombiekill = _global.zombiekill + 1;
removeMovieClip(this._parent);
Symbol 519 MovieClip Frame 1
stop();
Instance of Symbol 450 MovieClip in Symbol 519 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 50;
shotgundamage = 200;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 519 MovieClip Frame 2
stop();
Symbol 519 MovieClip Frame 3
stop();
Symbol 520 MovieClip Frame 1
stop();
Instance of Symbol 519 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
life = 170;
attacking = 0;
headshot = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if (_parent._xscale < 140) {
this.gotoAndStop("walk");
_parent._xscale = _parent._xscale + 1.5;
_parent._yscale = _parent._yscale + 1.5;
_parent._y = _parent._y + 3;
if (_parent._name == "cz2") {
_parent._x = _parent._x + 2;
}
} else {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
this.gotoAndStop("dead");
_global.zombiekill = _global.zombiekill + 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's no freakin way Im touching those things with my hands!";
_root.dialogue.gotoAndPlay(2);
}
}
Symbol 520 MovieClip Frame 2
stop();
Symbol 528 MovieClip Frame 1
stop();
Instance of Symbol 396 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.scissor)) {
_root.dialogue.varMsg = "I wonder whats up that hole?";
_root.dialogue.gotoAndPlay(2);
_parent.gotoAndPlay(2);
}
}
Symbol 528 MovieClip Frame 2
_root.breakstairsound.start();
Symbol 528 MovieClip Frame 5
_root.squish.start();
Symbol 528 MovieClip Frame 6
stop();
_global.ropecut = 1;
Symbol 532 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 2
_root.paper.start();
Symbol 532 MovieClip Frame 11
stop();
Instance of Symbol 531 MovieClip in Symbol 532 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop(1);
}
}
Symbol 562 MovieClip Frame 6
_root.dialogue.varMsg = "What the!? Its the same creepy kid from below the stairs...";
_root.dialogue.gotoAndPlay(2);
Symbol 562 MovieClip Frame 17
_root.creepygiggle.start();
Symbol 562 MovieClip Frame 41
stop();
_global.ghostclick2 = 1;
Symbol 563 MovieClip Frame 1
stop();
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (_global.locker1 != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "It's locked";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.smallkey1)) {
_root.doorunlock.start();
_global.locker1 = 1;
_root.dialogue.varMsg = "You used the small key you found under the stairs.";
_root.dialogue.gotoAndPlay(2);
this._parent.gotoAndStop("open1");
}
} else if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open1");
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open2");
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open3");
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
this._parent._parent.locker._x = 643.4;
_global.showlocker = 0;
}
}
Symbol 563 MovieClip Frame 2
stop();
Instance of Symbol 310 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.scissor != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a large pair of scissors.";
_root.dialogue.gotoAndPlay(2);
_global.scissor = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.scissor == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 344 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (this._alpha != 0) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a med kit - use this item to restore your health. Press [Q] to use a medkit.";
_root.dialogue.gotoAndPlay(2);
this._alpha = 0;
_global.medkit = _global.medkit + 1;
_global.medkit2 = 1;
removeMovieClip(this);
}
}
}
onClipEvent (enterFrame) {
if (_global.medkit2 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open2");
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open3");
}
}
Symbol 563 MovieClip Frame 3
stop();
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (_global.locker1 != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "It's locked";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.smallkey1)) {
_root.doorunlock.start();
_global.locker1 = 1;
_root.dialogue.varMsg = "You used the small key you found under the stairs.";
_root.dialogue.gotoAndPlay(2);
this._parent.gotoAndStop("open1");
}
} else if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open1");
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A pair of rubber shoes.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "Some college text book, nothing interesting.";
_root.dialogue.gotoAndPlay(2);
}
}
Symbol 563 MovieClip Frame 4
stop();
Instance of Symbol 312 MovieClip "pawnkey" in Symbol 563 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (((this._alpha != 0) && (_global.pawnkey != 1)) && (_global.ghostclick2 == 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is shaped like a Chess Pawn.";
_root.dialogue.gotoAndPlay(2);
_global.pawnkey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.pawnkey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 563 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.doorunlock.start();
this._parent.gotoAndStop("open2");
}
}
Instance of Symbol 562 MovieClip in Symbol 563 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_global.ghostclick2 == 1) {
this.gotoAndStop(41);
this._alpha = 0;
this._x = -490;
}
}
Symbol 568 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 10
stop();
_global.pieceofpaper = 1;
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip Frame 10
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop(1);
}
}
Symbol 578 MovieClip Frame 1
_root.squish.start();
Symbol 578 MovieClip Frame 5
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 2
stop();
Symbol 587 MovieClip Frame 4
rr = random(2);
if (rr == 1) {
_root.zombiebreath.start();
}
Symbol 597 MovieClip Frame 4
_root.zombieattack.start();
Symbol 597 MovieClip Frame 8
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_root.slice.start();
_global.herolife = _global.herolife - 1;
}
Symbol 610 MovieClip Frame 1
_root.zombiegroan1.start();
Symbol 610 MovieClip Frame 30
stop();
varname = _parent._parent._name;
_global[varname] = 1;
Symbol 611 MovieClip Frame 1
stop();
Instance of Symbol 450 MovieClip in Symbol 611 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 200;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 1;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 1;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 611 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 611 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 611 MovieClip Frame 2
stop();
Symbol 611 MovieClip Frame 3
stop();
Symbol 612 MovieClip Frame 1
stop();
Instance of Symbol 611 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
life = 100;
attacking = 0;
headshot = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if (_parent._xscale < 140) {
this.gotoAndStop("walk");
_parent._xscale = _parent._xscale + 1;
_parent._yscale = _parent._yscale + 1;
_parent._y = _parent._y + 2;
} else {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
if (headshot == 1) {
this.zombiedead.head.gotoAndStop("headburst");
}
this.gotoAndStop("dead");
_global.zombiekill = _global.zombiekill + 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's no freakin way Im touching those things with my hands!";
_root.dialogue.gotoAndPlay(2);
}
}
Symbol 612 MovieClip Frame 2
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 2
stop();
Instance of Symbol 626 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.unlockpurplechest != 1)) {
_root.clickitem.start();
if (_parent.num1 == 0) {
_parent.num1 = 1;
} else if (_parent.num1 == 1) {
_parent.num1 = 2;
} else if (_parent.num1 == 2) {
_parent.num1 = 3;
} else if (_parent.num1 == 3) {
_parent.num1 = 4;
} else if (_parent.num1 == 4) {
_parent.num1 = 5;
} else if (_parent.num1 == 5) {
_parent.num1 = 6;
} else if (_parent.num1 == 6) {
_parent.num1 = 7;
} else if (_parent.num1 == 7) {
_parent.num1 = 8;
} else if (_parent.num1 == 8) {
_parent.num1 = 9;
} else if (_parent.num1 == 9) {
_parent.num1 = 0;
}
}
}
Instance of Symbol 626 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.unlockpurplechest != 1)) {
_root.clickitem.start();
if (_parent.num2 == 0) {
_parent.num2 = 1;
} else if (_parent.num2 == 1) {
_parent.num2 = 2;
} else if (_parent.num2 == 2) {
_parent.num2 = 3;
} else if (_parent.num2 == 3) {
_parent.num2 = 4;
} else if (_parent.num2 == 4) {
_parent.num2 = 5;
} else if (_parent.num2 == 5) {
_parent.num2 = 6;
} else if (_parent.num2 == 6) {
_parent.num2 = 7;
} else if (_parent.num2 == 7) {
_parent.num2 = 8;
} else if (_parent.num2 == 8) {
_parent.num2 = 9;
} else if (_parent.num2 == 9) {
_parent.num2 = 0;
}
}
}
Instance of Symbol 626 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.unlockpurplechest != 1)) {
_root.clickitem.start();
if (_parent.num3 == 0) {
_parent.num3 = 1;
} else if (_parent.num3 == 1) {
_parent.num3 = 2;
} else if (_parent.num3 == 2) {
_parent.num3 = 3;
} else if (_parent.num3 == 3) {
_parent.num3 = 4;
} else if (_parent.num3 == 4) {
_parent.num3 = 5;
} else if (_parent.num3 == 5) {
_parent.num3 = 6;
} else if (_parent.num3 == 6) {
_parent.num3 = 7;
} else if (_parent.num3 == 7) {
_parent.num3 = 8;
} else if (_parent.num3 == 8) {
_parent.num3 = 9;
} else if (_parent.num3 == 9) {
_parent.num3 = 0;
}
}
}
Instance of Symbol 626 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.unlockpurplechest != 1)) {
_root.clickitem.start();
if (_parent.num4 == 0) {
_parent.num4 = 1;
} else if (_parent.num4 == 1) {
_parent.num4 = 2;
} else if (_parent.num4 == 2) {
_parent.num4 = 3;
} else if (_parent.num4 == 3) {
_parent.num4 = 4;
} else if (_parent.num4 == 4) {
_parent.num4 = 5;
} else if (_parent.num4 == 5) {
_parent.num4 = 6;
} else if (_parent.num4 == 6) {
_parent.num4 = 7;
} else if (_parent.num4 == 7) {
_parent.num4 = 8;
} else if (_parent.num4 == 8) {
_parent.num4 = 9;
} else if (_parent.num4 == 9) {
_parent.num4 = 0;
}
}
}
Instance of Symbol 626 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.unlockpurplechest != 1)) {
_root.clickitem.start();
if (_parent.num5 == 0) {
_parent.num5 = 1;
} else if (_parent.num5 == 1) {
_parent.num5 = 2;
} else if (_parent.num5 == 2) {
_parent.num5 = 3;
} else if (_parent.num5 == 3) {
_parent.num5 = 4;
} else if (_parent.num5 == 4) {
_parent.num5 = 5;
} else if (_parent.num5 == 5) {
_parent.num5 = 6;
} else if (_parent.num5 == 6) {
_parent.num5 = 7;
} else if (_parent.num5 == 7) {
_parent.num5 = 8;
} else if (_parent.num5 == 8) {
_parent.num5 = 9;
} else if (_parent.num5 == 9) {
_parent.num5 = 0;
}
}
}
Instance of Symbol 294 MovieClip "exitlock" in Symbol 629 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
this._parent._x = 643.4;
_global.showchestlock = 0;
}
}
Instance of Symbol 628 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (enterFrame) {
lockcombi = (((((((_parent.num1 + "") + _parent.num2) + "") + _parent.num3) + "") + _parent.num4) + "") + _parent.num5;
if ((lockcombi == "38192") && (_global.unlockpurplechest != 1)) {
_root.doorunlock.start();
_global.unlockpurplechest = 1;
}
}
Instance of Symbol 632 MovieClip "m16rifle" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.m16 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found an M16 rifle. You can select this weapon by pressing [3]";
_root.dialogue.gotoAndPlay(2);
_global.m16 = 1;
_global.gunused = "m16";
}
}
}
onClipEvent (enterFrame) {
if (_global.m16 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 634 MovieClip "m16bullet1" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.m16ammo1 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found M16 rifle ammo.";
_root.dialogue.gotoAndPlay(2);
_global.m16bulletstotal = _global.m16bulletstotal + 30;
_global.m16ammo1 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.m16ammo1 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 634 MovieClip "m16bullet2" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.m16ammo2 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found M16 rifle ammo.";
_root.dialogue.gotoAndPlay(2);
_global.m16bulletstotal = _global.m16bulletstotal + 30;
_global.m16ammo2 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.m16ammo2 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 316 MovieClip "horsekey" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.horsekey != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is shaped like a Horse.";
_root.dialogue.gotoAndPlay(2);
_global.horsekey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.horsekey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 330 MovieClip "applebottom" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.applebottom != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found an odd shaped ceramic bowl.";
_root.dialogue.gotoAndPlay(2);
_global.applebottom = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.applebottom == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 294 MovieClip "exitlock" in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
this._parent._x = 643.4;
_global.showchestcontent = 0;
}
}
Symbol 654 MovieClip Frame 6
stop();
Symbol 655 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 2
stop();
Symbol 656 MovieClip Frame 21
_root.growl.start();
this._parent.stopping = 1;
Symbol 656 MovieClip Frame 25
this._parent.stopping = 0;
Symbol 661 MovieClip Frame 10
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_global.herolife = _global.herolife - 1;
}
Symbol 662 MovieClip Frame 1
_root.zombiegroan1.start();
Symbol 662 MovieClip Frame 46
_global.zombiekill = _global.zombiekill + 1;
stop();
varname = _parent._parent._name;
_global[varname] = 1;
Symbol 663 MovieClip Frame 1
stop();
Instance of Symbol 450 MovieClip in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 1;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 1;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 663 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 20;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 663 MovieClip Frame 2
stop();
Symbol 663 MovieClip Frame 3
stop();
Symbol 664 MovieClip Frame 1
stop();
Instance of Symbol 663 MovieClip in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
life = 120;
attacking = 0;
headshot = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if (_parent._xscale < 200) {
this.gotoAndStop("walk");
_parent._xscale = _parent._xscale + 0.5;
_parent._yscale = _parent._yscale + 0.5;
_parent._y = _parent._y + 0.8;
} else {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
if (headshot == 1) {
this.zombiedead.head.gotoAndStop("headburst");
}
this.gotoAndStop("dead");
_global.zombiekill = _global.zombiekill + 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's no freakin way Im touching those things with my hands!";
_root.dialogue.gotoAndPlay(2);
}
}
Symbol 664 MovieClip Frame 2
stop();
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 10
stop();
Instance of Symbol 675 MovieClip in Symbol 676 MovieClip Frame 10
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop(1);
}
}
Symbol 677 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 10
stop();
Instance of Symbol 667 MovieClip in Symbol 677 MovieClip Frame 10
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop(1);
}
}
Symbol 694 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 6
_root.dialogue.varMsg = "What's with this kid...";
_root.dialogue.gotoAndPlay(2);
Symbol 694 MovieClip Frame 17
_root.creepygiggle.start();
Symbol 694 MovieClip Frame 41
stop();
_global.ghostclick3 = 1;
Symbol 707 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 2
stop();
Instance of Symbol 396 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.showlocker != 1)) {
_root.dialogue.varMsg = "Looks like an empty cupboard.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 344 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (this._alpha != 0) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a med kit - use this item to restore your health. Press [Q] to use a medkit.";
_root.dialogue.gotoAndPlay(2);
this._alpha = 0;
_global.medkit = _global.medkit + 1;
_global.medkit4 = 1;
removeMovieClip(this);
}
}
}
onClipEvent (enterFrame) {
if (_global.medkit4 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Symbol 721 MovieClip Frame 15
removeMovieClip("");
Symbol 722 MovieClip Frame 1
setProperty("mcFlame", _visible , 0);
index = 0;
Symbol 722 MovieClip Frame 2
duplicateMovieClip ("mcFlame", "Flame" + index, index);
xcoord = Math.random() * 10;
xStretch = Math.random() * 50;
yStretch = Math.random() * 100;
opacity = Math.random() * 60;
setProperty("Flame" + index, _x , xcoord);
setProperty("Flame" + index, _xscale , xStretch);
setProperty("Flame" + index, _yscale , yStretch);
setProperty("Flame" + index, _alpha , opacity);
index++;
Symbol 722 MovieClip Frame 3
gotoAndPlay (2);
Symbol 763 MovieClip Frame 6
_root.monstergrowl4.start();
Symbol 763 MovieClip Frame 15
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_global.herolife = _global.herolife - 1;
}
Symbol 763 MovieClip Frame 19
_parent.attacking = 0;
Symbol 778 MovieClip Frame 4
_root.zombiegroan1.start();
Symbol 778 MovieClip Frame 36
stop();
varname = _parent._parent._name;
_global[varname] = 1;
_global.zombiekill = _global.zombiekill + 1;
removeMovieClip(this._parent);
Symbol 779 MovieClip Frame 1
stop();
Instance of Symbol 450 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 50;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 50;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crosshair)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.cursor.pistol.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.cursor.m16.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
this._parent.headshot = 0;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.cursor.shotgun.gotoAndStop("shoot");
jj = random(50000);
bloodtype = "_root.game.blood" + random(2);
duplicateMovieClip (bloodtype, "blood" + jj, jj);
_root.game["blood" + jj]._alpha = 100;
_root.game["blood" + jj]._x = _root.game._xmouse;
_root.game["blood" + jj]._y = _root.game._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
this._parent.headshot = 0;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 779 MovieClip Frame 2
stop();
Symbol 779 MovieClip Frame 3
stop();
Symbol 780 MovieClip Frame 1
stop();
Instance of Symbol 779 MovieClip in Symbol 780 MovieClip Frame 1
onClipEvent (load) {
life = 300;
attacking = 0;
headshot = 0;
}
onClipEvent (enterFrame) {
if (life > 0) {
if (_parent._y < 116) {
this.gotoAndStop("walk");
_parent._xscale = _parent._xscale + 0.8;
_parent._yscale = _parent._yscale + 0.8;
_parent._y = _parent._y + 1;
} else {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
if (headshot == 1) {
this.zombiedead.head.gotoAndStop("headburst");
}
this.gotoAndStop("dead");
_global.zombiekill = _global.zombiekill + 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's no freakin way Im touching those things with my hands!";
_root.dialogue.gotoAndPlay(2);
}
}
Symbol 780 MovieClip Frame 2
stop();
Symbol 785 MovieClip Frame 1
stop();
Symbol 785 MovieClip Frame 4
_root.dialogue.varMsg = "Holy $*@#!!!";
_root.dialogue.gotoAndPlay(2);
Symbol 785 MovieClip Frame 11
_root.creepygiggle.start();
Symbol 785 MovieClip Frame 37
_global.largeghost = 1;
Symbol 809 MovieClip Frame 1
stop();
Symbol 809 MovieClip Frame 2
stop();
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 2
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 2
stop();
Symbol 837 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 2
stop();
Instance of Symbol 840 MovieClip in Symbol 841 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.shotgun != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a shotgun. You can select this weapon by pressing [4]";
_root.dialogue.gotoAndPlay(2);
_global.shotgun = 1;
_global.gunused = "shotgun";
}
}
}
onClipEvent (enterFrame) {
if (_global.shotgun == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 344 MovieClip in Symbol 841 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (this._alpha != 0) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a med kit - use this item to restore your health. Press [Q] to use a medkit.";
_root.dialogue.gotoAndPlay(2);
this._alpha = 0;
_global.medkit = _global.medkit + 1;
_global.medkit6 = 1;
removeMovieClip(this);
}
}
}
onClipEvent (enterFrame) {
if (_global.medkit6 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 338 MovieClip "arrowhead" in Symbol 841 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.arrowhead != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a small triangular object. The edges are sharp like knives.";
_root.dialogue.gotoAndPlay(2);
_global.arrowhead = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.arrowhead == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 809 MovieClip "l1" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l1 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l2" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l2 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l4" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l4 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l7" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l7 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l9" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l9 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l12" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l12 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l14" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l14 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l15" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l15 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 809 MovieClip "l8" in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_global.l8 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s1" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l1 != 1) {
_global.l1 = 1;
} else {
_global.l1 = 0;
}
if (_global.l2 != 1) {
_global.l2 = 1;
} else {
_global.l2 = 0;
}
if (_global.l5 != 1) {
_global.l5 = 1;
} else {
_global.l5 = 0;
}
if (_global.s1 != 1) {
_global.s1 = 1;
} else {
_global.s1 = 0;
}
if (_global.s2 != 1) {
_global.s2 = 1;
} else {
_global.s2 = 0;
}
if (_global.s5 != 1) {
_global.s5 = 1;
} else {
_global.s5 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s1 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s2" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l2 != 1) {
_global.l2 = 1;
} else {
_global.l2 = 0;
}
if (_global.l1 != 1) {
_global.l1 = 1;
} else {
_global.l1 = 0;
}
if (_global.l3 != 1) {
_global.l3 = 1;
} else {
_global.l3 = 0;
}
if (_global.l6 != 1) {
_global.l6 = 1;
} else {
_global.l6 = 0;
}
if (_global.s2 != 1) {
_global.s2 = 1;
} else {
_global.s2 = 0;
}
if (_global.s1 != 1) {
_global.s1 = 1;
} else {
_global.s1 = 0;
}
if (_global.s3 != 1) {
_global.s3 = 1;
} else {
_global.s3 = 0;
}
if (_global.s6 != 1) {
_global.s6 = 1;
} else {
_global.s6 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s2 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s3" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l2 != 1) {
_global.l2 = 1;
} else {
_global.l2 = 0;
}
if (_global.l3 != 1) {
_global.l3 = 1;
} else {
_global.l3 = 0;
}
if (_global.l4 != 1) {
_global.l4 = 1;
} else {
_global.l4 = 0;
}
if (_global.l7 != 1) {
_global.l7 = 1;
} else {
_global.l7 = 0;
}
if (_global.s2 != 1) {
_global.s2 = 1;
} else {
_global.s2 = 0;
}
if (_global.s3 != 1) {
_global.s3 = 1;
} else {
_global.s3 = 0;
}
if (_global.s4 != 1) {
_global.s4 = 1;
} else {
_global.s4 = 0;
}
if (_global.s7 != 1) {
_global.s7 = 1;
} else {
_global.s7 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s3 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s4" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l3 != 1) {
_global.l3 = 1;
} else {
_global.l3 = 0;
}
if (_global.l4 != 1) {
_global.l4 = 1;
} else {
_global.l4 = 0;
}
if (_global.l8 != 1) {
_global.l8 = 1;
} else {
_global.l8 = 0;
}
if (_global.s3 != 1) {
_global.s3 = 1;
} else {
_global.s3 = 0;
}
if (_global.s4 != 1) {
_global.s4 = 1;
} else {
_global.s4 = 0;
}
if (_global.s8 != 1) {
_global.s8 = 1;
} else {
_global.s8 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s4 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s5" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l1 != 1) {
_global.l1 = 1;
} else {
_global.l1 = 0;
}
if (_global.l5 != 1) {
_global.l5 = 1;
} else {
_global.l5 = 0;
}
if (_global.l6 != 1) {
_global.l6 = 1;
} else {
_global.l6 = 0;
}
if (_global.l9 != 1) {
_global.l9 = 1;
} else {
_global.l9 = 0;
}
if (_global.s1 != 1) {
_global.s1 = 1;
} else {
_global.s1 = 0;
}
if (_global.s5 != 1) {
_global.s5 = 1;
} else {
_global.s5 = 0;
}
if (_global.s6 != 1) {
_global.s6 = 1;
} else {
_global.s6 = 0;
}
if (_global.s9 != 1) {
_global.s9 = 1;
} else {
_global.s9 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s5 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s6" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l2 != 1) {
_global.l2 = 1;
} else {
_global.l2 = 0;
}
if (_global.l5 != 1) {
_global.l5 = 1;
} else {
_global.l5 = 0;
}
if (_global.l6 != 1) {
_global.l6 = 1;
} else {
_global.l6 = 0;
}
if (_global.l7 != 1) {
_global.l7 = 1;
} else {
_global.l7 = 0;
}
if (_global.l10 != 1) {
_global.l10 = 1;
} else {
_global.l10 = 0;
}
if (_global.s2 != 1) {
_global.s2 = 1;
} else {
_global.s2 = 0;
}
if (_global.s5 != 1) {
_global.s5 = 1;
} else {
_global.s5 = 0;
}
if (_global.s6 != 1) {
_global.s6 = 1;
} else {
_global.s6 = 0;
}
if (_global.s7 != 1) {
_global.s7 = 1;
} else {
_global.s7 = 0;
}
if (_global.s10 != 1) {
_global.s10 = 1;
} else {
_global.s10 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s6 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s7" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l3 != 1) {
_global.l3 = 1;
} else {
_global.l3 = 0;
}
if (_global.l6 != 1) {
_global.l6 = 1;
} else {
_global.l6 = 0;
}
if (_global.l7 != 1) {
_global.l7 = 1;
} else {
_global.l7 = 0;
}
if (_global.l8 != 1) {
_global.l8 = 1;
} else {
_global.l8 = 0;
}
if (_global.l11 != 1) {
_global.l11 = 1;
} else {
_global.l11 = 0;
}
if (_global.s3 != 1) {
_global.s3 = 1;
} else {
_global.s3 = 0;
}
if (_global.s6 != 1) {
_global.s6 = 1;
} else {
_global.s6 = 0;
}
if (_global.s7 != 1) {
_global.s7 = 1;
} else {
_global.s7 = 0;
}
if (_global.s8 != 1) {
_global.s8 = 1;
} else {
_global.s8 = 0;
}
if (_global.s11 != 1) {
_global.s11 = 1;
} else {
_global.s11 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s6 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_global.s7 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s8" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l4 != 1) {
_global.l4 = 1;
} else {
_global.l4 = 0;
}
if (_global.l7 != 1) {
_global.l7 = 1;
} else {
_global.l7 = 0;
}
if (_global.l8 != 1) {
_global.l8 = 1;
} else {
_global.l8 = 0;
}
if (_global.l12 != 1) {
_global.l12 = 1;
} else {
_global.l12 = 0;
}
if (_global.s4 != 1) {
_global.s4 = 1;
} else {
_global.s4 = 0;
}
if (_global.s7 != 1) {
_global.s7 = 1;
} else {
_global.s7 = 0;
}
if (_global.s8 != 1) {
_global.s8 = 1;
} else {
_global.s8 = 0;
}
if (_global.s12 != 1) {
_global.s12 = 1;
} else {
_global.s12 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s8 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s9" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l5 != 1) {
_global.l5 = 1;
} else {
_global.l5 = 0;
}
if (_global.l9 != 1) {
_global.l9 = 1;
} else {
_global.l9 = 0;
}
if (_global.l10 != 1) {
_global.l10 = 1;
} else {
_global.l10 = 0;
}
if (_global.l13 != 1) {
_global.l13 = 1;
} else {
_global.l13 = 0;
}
if (_global.s5 != 1) {
_global.s5 = 1;
} else {
_global.s5 = 0;
}
if (_global.s9 != 1) {
_global.s9 = 1;
} else {
_global.s9 = 0;
}
if (_global.s10 != 1) {
_global.s10 = 1;
} else {
_global.s10 = 0;
}
if (_global.s13 != 1) {
_global.s13 = 1;
} else {
_global.s13 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s9 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s10" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l6 != 1) {
_global.l6 = 1;
} else {
_global.l6 = 0;
}
if (_global.l9 != 1) {
_global.l9 = 1;
} else {
_global.l9 = 0;
}
if (_global.l10 != 1) {
_global.l10 = 1;
} else {
_global.l10 = 0;
}
if (_global.l11 != 1) {
_global.l11 = 1;
} else {
_global.l11 = 0;
}
if (_global.l14 != 1) {
_global.l14 = 1;
} else {
_global.l14 = 0;
}
if (_global.s6 != 1) {
_global.s6 = 1;
} else {
_global.s6 = 0;
}
if (_global.s9 != 1) {
_global.s9 = 1;
} else {
_global.s9 = 0;
}
if (_global.s10 != 1) {
_global.s10 = 1;
} else {
_global.s10 = 0;
}
if (_global.s11 != 1) {
_global.s11 = 1;
} else {
_global.s11 = 0;
}
if (_global.s14 != 1) {
_global.s14 = 1;
} else {
_global.s14 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s10 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s11" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l7 != 1) {
_global.l7 = 1;
} else {
_global.l7 = 0;
}
if (_global.l10 != 1) {
_global.l10 = 1;
} else {
_global.l10 = 0;
}
if (_global.l11 != 1) {
_global.l11 = 1;
} else {
_global.l11 = 0;
}
if (_global.l12 != 1) {
_global.l12 = 1;
} else {
_global.l12 = 0;
}
if (_global.l15 != 1) {
_global.l15 = 1;
} else {
_global.l15 = 0;
}
if (_global.s7 != 1) {
_global.s7 = 1;
} else {
_global.s7 = 0;
}
if (_global.s10 != 1) {
_global.s10 = 1;
} else {
_global.s10 = 0;
}
if (_global.s11 != 1) {
_global.s11 = 1;
} else {
_global.s11 = 0;
}
if (_global.s12 != 1) {
_global.s12 = 1;
} else {
_global.s12 = 0;
}
if (_global.s15 != 1) {
_global.s15 = 1;
} else {
_global.s15 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s11 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s12" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l8 != 1) {
_global.l8 = 1;
} else {
_global.l8 = 0;
}
if (_global.l11 != 1) {
_global.l11 = 1;
} else {
_global.l11 = 0;
}
if (_global.l12 != 1) {
_global.l12 = 1;
} else {
_global.l12 = 0;
}
if (_global.l16 != 1) {
_global.l16 = 1;
} else {
_global.l16 = 0;
}
if (_global.s8 != 1) {
_global.s8 = 1;
} else {
_global.s8 = 0;
}
if (_global.s11 != 1) {
_global.s11 = 1;
} else {
_global.s11 = 0;
}
if (_global.s12 != 1) {
_global.s12 = 1;
} else {
_global.s12 = 0;
}
if (_global.s16 != 1) {
_global.s16 = 1;
} else {
_global.s16 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s12 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s13" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l9 != 1) {
_global.l9 = 1;
} else {
_global.l9 = 0;
}
if (_global.l13 != 1) {
_global.l13 = 1;
} else {
_global.l13 = 0;
}
if (_global.l14 != 1) {
_global.l14 = 1;
} else {
_global.l14 = 0;
}
if (_global.s9 != 1) {
_global.s9 = 1;
} else {
_global.s9 = 0;
}
if (_global.s13 != 1) {
_global.s13 = 1;
} else {
_global.s13 = 0;
}
if (_global.s14 != 1) {
_global.s14 = 1;
} else {
_global.s14 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s13 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s14" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l10 != 1) {
_global.l10 = 1;
} else {
_global.l10 = 0;
}
if (_global.l13 != 1) {
_global.l13 = 1;
} else {
_global.l13 = 0;
}
if (_global.l14 != 1) {
_global.l14 = 1;
} else {
_global.l14 = 0;
}
if (_global.l15 != 1) {
_global.l15 = 1;
} else {
_global.l15 = 0;
}
if (_global.s10 != 1) {
_global.s10 = 1;
} else {
_global.s10 = 0;
}
if (_global.s13 != 1) {
_global.s13 = 1;
} else {
_global.s13 = 0;
}
if (_global.s14 != 1) {
_global.s14 = 1;
} else {
_global.s14 = 0;
}
if (_global.s15 != 1) {
_global.s15 = 1;
} else {
_global.s15 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s14 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s15" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l11 != 1) {
_global.l11 = 1;
} else {
_global.l11 = 0;
}
if (_global.l14 != 1) {
_global.l14 = 1;
} else {
_global.l14 = 0;
}
if (_global.l15 != 1) {
_global.l15 = 1;
} else {
_global.l15 = 0;
}
if (_global.l16 != 1) {
_global.l16 = 1;
} else {
_global.l16 = 0;
}
if (_global.s11 != 1) {
_global.s11 = 1;
} else {
_global.s11 = 0;
}
if (_global.s14 != 1) {
_global.s14 = 1;
} else {
_global.s14 = 0;
}
if (_global.s15 != 1) {
_global.s15 = 1;
} else {
_global.s15 = 0;
}
if (_global.s16 != 1) {
_global.s16 = 1;
} else {
_global.s16 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s15 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 822 MovieClip "s16" in Symbol 843 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.switchsolved != 1) {
_root.clickitem.start();
if (_global.l12 != 1) {
_global.l12 = 1;
} else {
_global.l12 = 0;
}
if (_global.l15 != 1) {
_global.l15 = 1;
} else {
_global.l15 = 0;
}
if (_global.l16 != 1) {
_global.l16 = 1;
} else {
_global.l16 = 0;
}
if (_global.s12 != 1) {
_global.s12 = 1;
} else {
_global.s12 = 0;
}
if (_global.s15 != 1) {
_global.s15 = 1;
} else {
_global.s15 = 0;
}
if (_global.s16 != 1) {
_global.s16 = 1;
} else {
_global.s16 = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_global.s16 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l5" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l5 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l6" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l6 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l10" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l10 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l13" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l13 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l3" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l3 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l11" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l11 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 831 MovieClip "l16" in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.l16 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 833 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((((((_global.openvault != 1) && (_global.l3 == 1)) && (_global.l5 == 1)) && (_global.l6 == 1)) && (_global.l10 == 1)) && (_global.l11 == 1)) && (_global.l13 == 1)) && (_global.l16 == 1)) && (_global.l1 != 1)) && (_global.l2 != 1)) && (_global.l4 != 1)) && (_global.l7 != 1)) && (_global.l8 != 1)) && (_global.l9 != 1)) && (_global.l12 != 1)) && (_global.l14 != 1)) && (_global.l15 != 1)) {
_global.openvault = 1;
_root.doorclose.start();
_global.switchsolved = 1;
}
}
Instance of Symbol 294 MovieClip in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_global.showswitches = 0;
this._parent._parent.switches._x = 643.4;
}
}
Symbol 844 MovieClip Frame 1
stop();
Symbol 844 MovieClip Frame 2
_root.paper.start();
Symbol 844 MovieClip Frame 8
stop();
Instance of Symbol 798 MovieClip in Symbol 844 MovieClip Frame 8
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop(1);
}
}
Symbol 854 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 2
stop();
Instance of Symbol 322 MovieClip in Symbol 854 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.queenkey != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is shaped like a Queen.";
_root.dialogue.gotoAndPlay(2);
_global.queenkey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.queenkey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Symbol 873 Button
on (release) {
_root.dialogue.varMsg = "A beautiful altar.";
_root.dialogue.gotoAndPlay(2);
}
Symbol 882 Button
on (release) {
_root.gotoAndStop("presurvival");
}
Symbol 883 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 884 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 885 MovieClip Frame 1
stop();
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_global.cz4 = 1;
_parent.gotoAndStop("room2");
}
}
Instance of Symbol 302 MovieClip "flashlight" in Symbol 885 MovieClip Frame 1
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 308 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.smallkey1 == 1) {
this._alpha = 100;
}
if (_global.locker1 == 1) {
this._alpha = 0;
this._x = -335;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.smallkey1 == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A small key you found under the stairs, 177 is carved on the key head.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("smallkey1");
}
}
}
Instance of Symbol 310 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.scissor == 1) {
if (_global.ropecut != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.scissor == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A rather large scissors you found inside locker number 177.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("scissor");
}
}
}
Instance of Symbol 312 MovieClip "pawnkey" in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.pawnkey == 1) {
if (_global.unlockpawn != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.pawnkey == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking key with a Pawn Shaped head you found in locker 179.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("pawnkey");
}
}
}
Instance of Symbol 314 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.ladder == 1) {
if (_global.placeladder != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.ladder == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A ladder, you can use this to climb unreachable places.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("ladder");
}
}
}
Instance of Symbol 316 MovieClip "horsekey" in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.horsekey == 1) {
if (_global.unlockhorse != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.horsekey == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking key with a Horse Shaped head you found inside the purple chest.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("horsekey");
}
}
}
Instance of Symbol 318 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.bishopkey == 1) {
if (_global.unlockbishop != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.bishopkey == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking key with the head shaped like a chess bishop.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("bishopkey");
}
}
}
Instance of Symbol 320 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.rookkey == 1) {
if (_global.unlockrook != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.rookkey == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking key with a Tower Shaped head you found inside the room with a scary fat monster.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("rookkey");
}
}
}
Instance of Symbol 322 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.queenkey == 1) {
if (_global.unlockqueen != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.queenkey == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking key with a Crown shaped head you found inside the vault.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("queenkey");
}
}
}
Instance of Symbol 324 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.kingkey == 1) {
if (_global.unlockking != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.kingkey == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking key with a Crown shaped head..";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("kingkey");
}
}
}
Instance of Symbol 326 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.crowbar == 1) {
this._alpha = 100;
this._x = -263;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.crowbar == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A rusty crowbar you found at the attic. ";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("crowbar");
}
}
}
Instance of Symbol 328 MovieClip "smallkey2" in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.smallkey2 == 1) {
if (_global.unlockbath != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.smallkey2 == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A small key you found under the creepy painting at the study room.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("smallkey2");
}
}
}
Instance of Symbol 330 MovieClip "applebottom" in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.applebottom == 1) {
if (_global.applewhole != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.applebottom == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking object you found inside the purple chest.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("applebottom");
}
}
if (this.hitTest(_root.cursor.appletop)) {
_root.dialogue.varMsg = "The two items combined forming an apple!";
_root.dialogue.gotoAndPlay(2);
_global.applewhole = 1;
}
}
Instance of Symbol 332 MovieClip "appletop" in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.appletop == 1) {
if (_global.applewhole != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.appletop == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A strange looking object you found held by a corpse.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("appletop");
}
}
if (this.hitTest(_root.cursor.applebottom)) {
_root.dialogue.varMsg = "The two items combined forming an apple!";
_root.dialogue.gotoAndPlay(2);
_global.applewhole = 1;
}
}
Instance of Symbol 334 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.applewhole == 1) {
if (_global.appleplaced != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.applewhole == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "The combination of the two objects you found, an apple.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("applewhole");
}
}
}
Instance of Symbol 328 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.smallkey3 == 1) {
if (_global.unlockvault != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.smallkey3 == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A small key.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("smallkey3");
}
}
}
Instance of Symbol 336 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hammer == 1) {
if (_global.wallbash != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.hammer == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A huge hammer used for masonry.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("hammer");
}
}
}
Instance of Symbol 338 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.arrowhead == 1) {
if (_global.arrowwhole != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.arrowhead == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A triangular object with sharp edges.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("arrowhead");
}
}
if (this.hitTest(_root.cursor.arrowbody)) {
_root.dialogue.varMsg = "The two items combined forming an arrow!";
_root.dialogue.gotoAndPlay(2);
_global.arrowwhole = 1;
}
}
Instance of Symbol 340 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.arrowbody == 1) {
if (_global.arrowwhole != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.arrowbody == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "Looks like an arrow, the tip seems to be missing.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("arrowbody");
}
}
if (this.hitTest(_root.cursor.arrowbody)) {
_root.dialogue.varMsg = "The two items combined forming an arrow!";
_root.dialogue.gotoAndPlay(2);
_global.arrowwhole = 1;
}
}
Instance of Symbol 341 MovieClip "arrowwhole" in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.arrowwhole == 1) {
if (_global.arrowplaced != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.arrowwhole == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "An archer's arrow.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("arrowwhole");
}
}
}
Instance of Symbol 328 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.smallkey4 == 1) {
if (_global.finallock != 1) {
this._alpha = 100;
this._x = -263;
} else {
this._alpha = 0;
this._x = -337;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (_global.smallkey4 == 1) {
_root.clickitem.start();
_global.gunused = "none";
_root.dialogue.varMsg = "A small key.";
_root.dialogue.gotoAndPlay(2);
_root.cursor.gotoAndStop("smallkey4");
}
}
}
Instance of Symbol 375 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (load) {
checking = 0;
creepy = 0;
healing = 0;
_root.heartbeating.start(0, 9999);
}
onClipEvent (enterFrame) {
function reloading() {
if (_global.gunused == "handgun") {
_root.crosshair._alpha = 100;
_global.reloading = 0;
_root.game.reloading._alpha = 0;
}
if (_global.gunused == "m16") {
_root.crosshair._alpha = 100;
_global.reloading = 0;
_root.game.reloading._alpha = 0;
}
if (_global.gunused == "shotgun") {
_root.crosshair._alpha = 100;
_global.reloading = 0;
_root.game.reloading._alpha = 0;
}
}
function setCreepy() {
creepy = 0;
}
function allowHeal() {
healing = 0;
}
if (_global.herolife > 0) {
if (_global.gunused == "handgun") {
_parent.varweapon = "Handgun";
_parent.varammo = _global.handgunbullets;
_parent.varammototal = _global.handgunbulletstotal;
_parent.w_h._alpha = 100;
_parent.w_m._alpha = 0;
_parent.w_s._alpha = 0;
_root.cursor.gotoAndStop("handgun");
if (Key.isDown(32) && (_global.reloading == 0)) {
_root.game.reloading._alpha = 100;
_root.reload.start();
_root.crosshair._alpha = 0;
_global.reloading = 1;
var funcdelay = setTimeout(reloading, 3000, "3 second delay");
_global.handgunbullets = 8;
}
} else if (_global.gunused == "m16") {
_parent.varweapon = "M16 Rifle";
_parent.varammo = _global.m16bullets;
_parent.varammototal = _global.m16bulletstotal;
_parent.w_h._alpha = 0;
_parent.w_m._alpha = 100;
_parent.w_s._alpha = 0;
_root.cursor.gotoAndStop("m16");
if ((Key.isDown(32) && (_global.reloading == 0)) && (_global.m16bulletstotal != 0)) {
_root.game.reloading._alpha = 100;
_root.reload.start();
_root.crosshair._alpha = 0;
_global.reloading = 1;
var funcdelay = setTimeout(reloading, 3000, "3 second delay");
if (_global.m16bulletstotal > 30) {
_global.m16bullets = 30;
_global.m16bulletstotal = _global.m16bulletstotal - 30;
} else {
_global.m16bullets = _global.m16bulletstotal;
_global.m16bulletstotal = 0;
}
}
} else if (_global.gunused == "shotgun") {
_parent.varweapon = "Shotgun";
_parent.varammo = _global.shotgunbullets;
_parent.varammototal = _global.shotgunbulletstotal;
_parent.w_h._alpha = 0;
_parent.w_m._alpha = 0;
_parent.w_s._alpha = 100;
_root.cursor.gotoAndStop("shotgun");
if ((Key.isDown(32) && (_global.reloading == 0)) && (_global.shotgunbulletstotal != 0)) {
_root.game.reloading._alpha = 100;
_root.crosshair._alpha = 0;
_root.reload.start();
_global.reloading = 1;
var funcdelay = setTimeout(reloading, 3000, "3 second delay");
if (_global.shotgunbulletstotal > 6) {
_global.shotgunbullets = 6;
_global.shotgunbulletstotal = _global.shotgunbulletstotal - 6;
} else {
_global.shotgunbullets = _global.shotgunbulletstotal;
_global.shotgunbulletstotal = 0;
}
}
}
_parent.varmedkit = _global.medkit;
if (Key.isDown(81)) {
if (_global.medkit > 0) {
if (healing == 0) {
healing = 1;
_global.herolife = 4;
_global.medkit = _global.medkit - 1;
_parent.varmsg = "You used one medkit.";
varmedkit = _global.medkit;
_root.heal.start();
var funcdelay = setTimeout(allowHeal, 1000, "1 second delay");
}
} else {
_root.locked.start();
_parent.varmsg = "You don't have a medkit.";
}
}
if (_global.herolife == 4) {
_root.game.healthmonitor.gotoAndStop("healthy");
_root.game.healthmonitor2.gotoAndStop(1);
} else if (_global.herolife == 3) {
_root.game.healthmonitor.gotoAndStop("hurt");
_root.game.healthmonitor2.gotoAndStop(2);
} else if (_global.herolife == 2) {
_root.game.healthmonitor.gotoAndStop("wounded");
_root.game.healthmonitor2.gotoAndStop(3);
} else if (_global.herolife == 1) {
_root.game.healthmonitor.gotoAndStop("dying");
_root.game.healthmonitor2.gotoAndStop(4);
} else if (_global.herolife < 1) {
_root.game.healthmonitor.gotoAndStop("dead");
_root.game.healthmonitor2.gotoAndStop(5);
}
if (_global.reloading == 0) {
if (Key.isDown(49)) {
_global.gunused = "none";
_parent.varweapon = "None";
_parent.varammo = 0;
_parent.varammototal = 0;
_parent.w_h._alpha = 0;
_parent.w_m._alpha = 0;
_parent.w_s._alpha = 0;
_root.cursor.gotoAndStop("hand");
}
if (Key.isDown(50)) {
if (_global.handgun == 1) {
_global.gunused = "handgun";
}
} else if (Key.isDown(51)) {
if (_global.m16 == 1) {
_global.gunused = "m16";
}
} else if (Key.isDown(52)) {
if (_global.shotgun == 1) {
_global.gunused = "shotgun";
}
}
}
} else {
_root.gotoAndStop("dead");
}
scary = random(900);
if ((scary == 2) && (creepy == 0)) {
creepy = 1;
_root.creepy.start();
_root.creepy.onSoundComplete = setCreepy();
}
if ((scary == 5) && (creepy == 0)) {
creepy = 1;
_root.soulwail.start();
_root.soulwail.onSoundComplete = setCreepy();
}
if ((scary == 10) && (creepy == 0)) {
creepy = 1;
_root.zombiemoan.start();
_root.zombiemoan.onSoundComplete = setCreepy();
}
}
Symbol 885 MovieClip Frame 2
stop();
if (_global.weirdsound != 1) {
_global.weirdsound = 1;
_root.weird.start();
}
Instance of Symbol 391 MovieClip "goddess1" in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (_global.appleplaced != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "A statue of a naked girl with a snake slithering along her body";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.applewhole)) {
_root.doorunlock.start();
_global.appleplaced = 1;
_root.dialogue.varMsg = "You placed the apple at the hand of the statue.";
_root.dialogue.gotoAndPlay(2);
}
} else if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A statue of a naked girl with a snake slithering along her body. The apple now fits nicely in her hand.";
_root.dialogue.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_global.appleplaced == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 394 MovieClip "goddess2" in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (_global.arrowplaced != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "A beautiful statue of a female hunter.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.arrowwhole)) {
_root.doorunlock.start();
_global.arrowplaced = 1;
_root.dialogue.varMsg = "You placed the completed arrow at the hand of the statue.";
_root.dialogue.gotoAndPlay(2);
_global.z1 = 0;
_global.z2 = 0;
_global.z3 = 0;
_global.z4 = 0;
_global.z5 = 0;
_global.z6 = 0;
}
} else if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A beautiful statue of a female hunter. The arrow now fits nicely in her hand.";
_root.dialogue.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_global.arrowplaced == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "More blood... I wonder where it came from?";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room31");
}
if (_global.unlockmain != 1) {
if ((_global.appleplaced == 1) && (_global.arrowplaced == 1)) {
opening = 1;
_global.unlockhorse = 1;
_root.dialogue.varMsg = "The door is unlocked now";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
} else {
_root.locked.start();
_root.dialogue.varMsg = "The door is locked.";
_root.dialogue.gotoAndPlay(2);
}
} else if (this.hitTest(_root.cursor.hand)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room3");
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room1");
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 2
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room14");
}
}
Symbol 885 MovieClip Frame 3
stop();
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar) && (_global.bulletinbox != 1)) {
_root.squirt.start();
_global.bulletinbox = 1;
_global.m16bulletstotal = _global.m16bulletstotal + 30;
_root.dialogue.varMsg = "You found a box of M16 Ammo. M16 Ammo + 30!";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "Urgghh the stench! something nasty is inside one of these crates. It's nailed shut, I need to use something to open this crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
_root.squirt.start();
_root.dialogue.varMsg = "There's some kind of mutilated animal inside.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "More blood, seems coming from inside one of those wooden crates.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 294 MovieClip "dir3" in Symbol 885 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room5");
}
}
Instance of Symbol 294 MovieClip "dir1" in Symbol 885 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room4");
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 3
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room2");
}
}
Symbol 885 MovieClip Frame 4
stop();
if (_global.ghostclick != 1) {
_root.weird.start();
}
Instance of Symbol 308 MovieClip in Symbol 885 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (((this._alpha != 0) && (_global.smallkey1 != 1)) && (_global.ghostclick == 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a small key with a number 177 carved on it.";
_root.dialogue.gotoAndPlay(2);
_global.smallkey1 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.smallkey1 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 427 MovieClip in Symbol 885 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.ghostclick != 1)) && (_global.ghostclicked != 1)) {
if (this._alpha != 0) {
_global.ghostclicked = 1;
_root.dialogue.varMsg = "Hey kid, are you alright?";
_root.dialogue.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}
}
onClipEvent (enterFrame) {
if (_global.ghostclick == 1) {
this._alpha = 0;
this._x = -490;
}
}
Instance of Symbol 344 MovieClip in Symbol 885 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (this._alpha != 0) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a med kit - use this item to restore your health. Press [Q] to use a medkit.";
_root.dialogue.gotoAndPlay(2);
this._alpha = 0;
_global.medkit = _global.medkit + 1;
_global.medkit1 = 1;
removeMovieClip(this);
}
}
}
onClipEvent (enterFrame) {
if (_global.medkit1 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "So much blood! Looks like somebody got murdered in this spot.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 294 MovieClip "dir1" in Symbol 885 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room3");
}
}
Symbol 885 MovieClip Frame 5
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 5
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A wrecked painting... nothing seems interesting.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 5
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "More blood here...";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 5
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room9");
}
if (_global.unlockpawn != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "The door is locked, there's something written here 'The initial attack is for us to make. Dying for our King our honor at stake'";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.pawnkey)) {
opening = 1;
_global.unlockpawn = 1;
_root.dialogue.varMsg = "You used the 'Pawn Key' found on locker 179.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if (this.hitTest(_root.cursor.hand)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 480 MovieClip "gz2" in Symbol 885 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.gz2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 480 MovieClip "gz1" in Symbol 885 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_global.gz1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 5
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.gz1 == 1)) && (_global.gz2 == 1)) {
_parent.gotoAndStop("room6");
}
}
onClipEvent (enterFrame) {
if ((_global.gz1 != 1) && (_global.gz2 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.gz1 == 1) && (_global.gz2 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip "dir1" in Symbol 885 MovieClip Frame 5
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.gz1 == 1)) && (_global.gz2 == 1)) {
_parent.gotoAndStop("room3");
}
}
onClipEvent (enterFrame) {
if ((_global.gz1 != 1) && (_global.gz2 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.gz1 == 1) && (_global.gz2 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 6
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 6
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's a lot of rotten clothes.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 6
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "Another wrecked painting... nothing seems interesting though.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 6
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room7");
}
if (this.hitTest(_root.cursor.hand) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 520 MovieClip "cz4" in Symbol 885 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_global.cz4 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 6
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room5");
}
}
Symbol 885 MovieClip Frame 7
stop();
if (_global.sawhang != 1) {
_root.weird.start();
_global.sawhang = 1;
}
Instance of Symbol 528 MovieClip "zombiehang" in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "What a pitiful sight... those monsters probably feasted long before he turned into one of them.";
_root.dialogue.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_global.ropecut == 1) {
this.gotoAndStop(6);
}
}
Instance of Symbol 534 MovieClip "ladderplace" in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (_global.ropecut != 1) {
if (this.hitTest(_root.cursor.ladder)) {
_root.dialogue.varMsg = "The corpse is blocking the way.";
_root.dialogue.gotoAndPlay(2);
}
} else if (_global.placeladder != 1) {
if (this.hitTest(_root.cursor.ladder)) {
opening = 1;
_global.placeladder = 1;
_root.dialogue.varMsg = "You placed the ladder.";
_root.dialogue.gotoAndPlay(2);
}
} else if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room11");
}
}
onClipEvent (enterFrame) {
if (_global.placeladder == 1) {
this._alpha = 100;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room8");
}
if (this.hitTest(_root.cursor.hand) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There are some medical books here.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
this._parent.suicidenote.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "I need something to get up here.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room6");
}
}
Symbol 885 MovieClip Frame 8
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 8
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.showlocker != 1)) {
this._parent.locker._x = 11.4;
this._parent.locker.gotoAndStop(1);
_global.showlocker = 1;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 8
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.showlocker != 1)) {
_root.dialogue.varMsg = "Looks like an empty cupboard.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 8
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.showlocker != 1)) {
_root.dialogue.varMsg = "Something is covered here. A full length mirror perhaps.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 294 MovieClip "dirback" in Symbol 885 MovieClip Frame 8
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room7");
}
}
onClipEvent (enterFrame) {
if (_global.showlocker != 1) {
this._y = 160;
} else {
this._y = 250;
}
}
Symbol 885 MovieClip Frame 9
stop();
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 9
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.pieceofpaper != 1)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.hand) && (_global.pieceofpaper == 1)) {
this._parent.locknumber.gotoAndPlay(2);
_root.dialogue.varMsg = "You found a piece of paper. The numbers 3-8-1-9-2 is written, I wonder what is this for? ";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar) && (_global.pieceofpaper != 1)) {
_root.squirt.start();
this._parent.locknumber.gotoAndPlay(2);
_root.dialogue.varMsg = "You found a piece of paper. The numbers 3-8-1-9-2 is written, I wonder what is this for? ";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 9
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
_root.squirt.start();
_root.dialogue.varMsg = "There are piles of clothing inside, nothing interesting though.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 9
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room13");
}
if (_global.unlockbath != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "The door is locked.'";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.smallkey2)) {
opening = 1;
_global.unlockbath = 1;
_root.dialogue.varMsg = "You used the small key you found below the painting.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if (this.hitTest(_root.cursor.hand)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 480 MovieClip "gz4" in Symbol 885 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.gz4 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 612 MovieClip "z1" in Symbol 885 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_global.z1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 9
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.z1 == 1)) && (_global.gz4 == 1)) {
_parent.gotoAndStop("room5");
}
}
onClipEvent (enterFrame) {
if ((_global.z1 != 1) && (_global.gz4 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.z1 == 1) && (_global.gz4 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 9
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.z1 == 1)) && (_global.gz4 == 1)) {
_parent.gotoAndStop("room10");
}
}
onClipEvent (enterFrame) {
if ((_global.z1 != 1) && (_global.gz4 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.z1 == 1) && (_global.gz4 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 10
stop();
Instance of Symbol 534 MovieClip in Symbol 885 MovieClip Frame 10
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.ladder != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a ladder.";
_root.dialogue.gotoAndPlay(2);
_global.ladder = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.ladder == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 10
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room12");
}
if (_global.unlockhorse != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "There's something written here. 'Heavy steeds, sounds of thunder. Leaping over defenses asunder. Attacking despite the walls, for our King we give it all!'";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.horsekey)) {
opening = 1;
_global.unlockhorse = 1;
_root.dialogue.varMsg = "You used the 'Horse Key' you found inside the purple chest.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if (this.hitTest(_root.cursor.hand)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 480 MovieClip "gz3" in Symbol 885 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_global.gz3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 10
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.gz3 == 1)) {
_parent.gotoAndStop("room9");
}
}
onClipEvent (enterFrame) {
if (_global.gz3 != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.gz3 == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 11
stop();
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.showchestlock != 1)) && (_global.showchestcontent != 1)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if ((this.hitTest(_root.cursor.crowbar) && (_global.showchestlock != 1)) && (_global.showchestcontent != 1)) {
_root.squirt.start();
_root.dialogue.varMsg = "The crate is empty.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
_root.squirt.start();
_root.dialogue.varMsg = "The crate is empty.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 326 MovieClip in Symbol 885 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.crowbar != 1)) {
_global.z1 = 0;
_global.gz4 = 0;
_root.clickitem.start();
_root.dialogue.varMsg = "You found a rusty crowbar.";
_root.dialogue.gotoAndPlay(2);
_global.crowbar = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.crowbar == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 618 MovieClip "purplechest" in Symbol 885 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.showchestlock != 1)) && (_global.unlockpurplechest == 1)) {
_root.dialogue.varMsg = "A purple chest.";
_root.dialogue.gotoAndPlay(2);
}
if ((this.hitTest(_root.cursor.hand) && (_global.unlockpurplechest == 1)) && (_global.showchestcontent != 1)) {
this._parent.chestcontent._x = 11.4;
_global.showchestcontent = 1;
}
}
onClipEvent (enterFrame) {
if (_global.unlockpurplechest == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.showchestlock != 1)) && (_global.unlockpurplechest != 1)) {
this._parent.chestlock._x = 11.4;
_global.showchestlock = 1;
}
}
Instance of Symbol 664 MovieClip "bz1" in Symbol 885 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_global.bz1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 11
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.bz1 == 1)) {
_global.showchestlock = 0;
_global.showchestcontent = 0;
_parent.gotoAndStop("room7");
}
}
onClipEvent (enterFrame) {
if (_global.bz1 != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.bz1 == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 12
stop();
Instance of Symbol 667 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "This painting is really creepy.";
_global.sawpainting = 1;
_root.dialogue.gotoAndPlay(2);
this._parent.creepypainting.gotoAndPlay(2);
}
}
Instance of Symbol 328 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if (((this._alpha != 0) && (_global.smallkey2 != 1)) && (_global.sawpainting == 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a small key under the painting.";
_root.dialogue.gotoAndPlay(2);
_global.smallkey2 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.smallkey2 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 634 MovieClip "m16bullet3" in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.m16ammo3 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found M16 rifle ammo.";
_root.dialogue.gotoAndPlay(2);
_global.m16bulletstotal = _global.m16bulletstotal + 30;
_global.m16ammo3 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.m16ammo3 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
this._parent.paintingnote.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There are lots of reference books here.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "The fireplace looks like its never been used for years.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "The sofa is soaked in blood.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 664 MovieClip "bz3" in Symbol 885 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.bz3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 664 MovieClip "bz2" in Symbol 885 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_global.bz2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 12
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.bz2 == 1)) && (_global.bz3 == 1)) {
_parent.gotoAndStop("room10");
}
}
onClipEvent (enterFrame) {
if ((_global.bz2 != 1) && (_global.bz3 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz2 == 1) && (_global.bz3 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 13
stop();
Instance of Symbol 332 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.appletop != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a strange object.";
_root.dialogue.gotoAndPlay(2);
_global.appletop = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.appletop == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 694 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.ghostclick3 == 1) {
this.gotoAndStop(41);
this._alpha = 0;
this._x = -490;
}
if (((_global.z2 == 1) && (_global.z3 == 1)) && (_global.ghostmove != 1)) {
_global.ghostmove = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 316 MovieClip "horsekey" in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.horsekey != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is shaped like a Horse.";
_root.dialogue.gotoAndPlay(2);
_global.horsekey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.horsekey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A male urinal.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A male urinal.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A male urinal.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "Ughh, this poor guy was badly mutilated. Being confined here seems to slow down decomposition.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 612 MovieClip "z3" in Symbol 885 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.z3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 612 MovieClip "z2" in Symbol 885 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_global.z2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 13
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.z2 == 1)) && (_global.z3 == 1)) {
_parent.gotoAndStop("room9");
}
}
onClipEvent (enterFrame) {
if ((_global.z2 != 1) && (_global.z3 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.z2 == 1) && (_global.z3 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 14
stop();
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
_root.squirt.start();
_root.dialogue.varMsg = "The crate is empty.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 699 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
_root.squirt.start();
_root.dialogue.varMsg = "The crate is empty.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 699 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar) && (_global.medkit3 != 1)) {
_root.squirt.start();
_root.dialogue.varMsg = "You found a med kit - use this item to restore your health. Press [Q] to use a medkit.";
_root.dialogue.gotoAndPlay(2);
_global.medkit = _global.medkit + 1;
_global.medkit3 = 1;
}
}
onClipEvent (enterFrame) {
if (_global.medkit3 == 1) {
this.enabled = false;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room15");
}
if (this.hitTest(_root.cursor.hand)) {
if ((((((_global.plank1 == 1) && (_global.plank2 == 1)) && (_global.plank3 == 1)) && (_global.plank4 == 1)) && (_global.plank5 == 1)) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank1 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank1 != 1)) {
_root.squirt.start();
_global.plank1 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank1 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank2 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank2 != 1)) {
_root.squirt.start();
_global.plank2 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank2 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank3 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank3 != 1)) {
_root.squirt.start();
_global.plank3 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank3 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank4 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank4 != 1)) {
_root.squirt.start();
_global.plank4 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank4 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank5 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank5 != 1)) {
_root.squirt.start();
_global.plank5 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank5 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 14
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room2");
}
}
Symbol 885 MovieClip Frame 15
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 15
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room16");
}
if (((this.hitTest(_root.cursor.hand) && (_global.bz4 == 1)) && (_global.gz5 == 1)) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
onClipEvent (enterFrame) {
if ((_global.bz4 != 1) && (_global.gz5 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz4 == 1) && (_global.bz5 == 1)) {
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 15
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "The door is unlocked but something is blocking it from the inside.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 664 MovieClip "bz4" in Symbol 885 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_global.bz4 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 480 MovieClip "gz5" in Symbol 885 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_global.gz5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 15
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.bz4 == 1)) && (_global.gz5 == 1)) {
_parent.gotoAndStop("room14");
}
}
onClipEvent (enterFrame) {
if ((_global.bz4 != 1) && (_global.gz5 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz4 == 1) && (_global.gz5 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 15
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.bz4 == 1)) && (_global.gz5 == 1)) {
_parent.gotoAndStop("room17");
}
}
onClipEvent (enterFrame) {
if ((_global.bz4 != 1) && (_global.gz5 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz4 == 1) && (_global.gz5 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 16
stop();
Instance of Symbol 707 MovieClip "crashwall" in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "Looks like this wall is about to break. Something seems to be pounding it from the other side.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.hammer)) {
if (_global.movecabinet != 1) {
_root.dialogue.varMsg = "The cabinet is blocking the way.";
_root.dialogue.gotoAndPlay(2);
} else {
_root.destroy.start();
_global.wallbash = 1;
this.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (_global.wallbash == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 714 MovieClip in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((_global.hammer == 1) && (_global.movecabinet != 1)) {
this._x = -85;
_global.movecabinet = 1;
} else {
_root.dialogue.varMsg = "A wooden cabinet.";
_root.dialogue.gotoAndPlay(2);
}
}
}
onClipEvent (enterFrame) {
if (_global.movecabinet == 1) {
this._x = -85;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's a huge pile of clothes here.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "An air duct, some kind of liquid is coming out from it.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A nicely kept bed.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 664 MovieClip "bz5" in Symbol 885 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_global.bz5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.bz5 == 1)) {
_parent.gotoAndStop("room15");
}
}
onClipEvent (enterFrame) {
if (_global.bz5 != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.bz5 == 1) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 16
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.wallbash == 1)) {
_parent.gotoAndStop("room20");
}
}
onClipEvent (enterFrame) {
if (_global.wallbash != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.wallbash == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 17
stop();
Instance of Symbol 336 MovieClip in Symbol 885 MovieClip Frame 17
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.hammer != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a huge masonry hammer";
_root.dialogue.gotoAndPlay(2);
_global.hammer = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.hammer == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 612 MovieClip "z5" in Symbol 885 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_global.z5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 664 MovieClip "bz6" in Symbol 885 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_global.bz6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 612 MovieClip "z4" in Symbol 885 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_global.z4 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 17
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root.cursor.hand) && (_global.z4 == 1)) && (_global.z5 == 1)) && (_global.bz6 == 1)) {
_parent.gotoAndStop("room15");
}
}
onClipEvent (enterFrame) {
if (((_global.z4 != 1) && (_global.z5 != 1)) && (_global.bz6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if (((_global.z4 == 1) && (_global.z5 == 1)) && (_global.bz6 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 17
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root.cursor.hand) && (_global.z4 == 1)) && (_global.z5 == 1)) && (_global.bz6 == 1)) {
_parent.gotoAndStop("room18");
}
}
onClipEvent (enterFrame) {
if (((_global.z4 != 1) && (_global.z5 != 1)) && (_global.bz6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if (((_global.z4 == 1) && (_global.z5 == 1)) && (_global.bz6 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 18
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 18
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room22");
}
if (_global.unlockbishop != 1) {
if ((this.hitTest(_root.cursor.hand) && (_global.cz1 == 1)) && (_global.cz2 == 1)) {
_root.locked.start();
_root.dialogue.varMsg = "There's something written here. 'God's servant as well as our King, the valor in war our very own being.'";
_root.dialogue.gotoAndPlay(2);
}
if ((this.hitTest(_root.cursor.bishopkey) && (_global.cz1 == 1)) && (_global.cz2 == 1)) {
opening = 1;
_global.unlockbishop = 1;
_root.dialogue.varMsg = "You used the 'Bishop Key'";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if ((this.hitTest(_root.cursor.hand) && (_global.cz1 == 1)) && (_global.cz2 == 1)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 520 MovieClip "cz1" in Symbol 885 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_global.cz1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 520 MovieClip "cz2" in Symbol 885 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_global.cz2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 18
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.cz1 == 1)) && (_global.cz2 == 1)) {
_parent.gotoAndStop("room17");
}
}
onClipEvent (enterFrame) {
if ((_global.cz1 != 1) && (_global.cz2 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.cz1 == 1) && (_global.cz2 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 18
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.cz1 == 1)) && (_global.cz2 == 1)) {
if (_global.cz4 == 0) {
_global.cz4 = 1;
}
_parent.gotoAndStop("room19");
}
}
onClipEvent (enterFrame) {
if ((_global.cz1 != 1) && (_global.cz2 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.cz1 == 1) && (_global.cz2 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 19
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 19
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room21");
}
if (_global.unlockrook != 1) {
if ((this.hitTest(_root.cursor.hand) && (_global.cz3 == 1)) && (_global.z6 == 1)) {
_root.locked.start();
_root.dialogue.varMsg = "There's something written here: 'Twin towers of might. Giving our enemies the fright. Crimson water shall fill the land. Our King safe within our hand.'";
_root.dialogue.gotoAndPlay(2);
}
if ((this.hitTest(_root.cursor.rookkey) && (_global.cz3 == 1)) && (_global.z6 == 1)) {
opening = 1;
_global.unlockrook = 1;
_root.dialogue.varMsg = "You used the 'Rook Key'";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if (this.hitTest(_root.cursor.hand) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 612 MovieClip "z6" in Symbol 885 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_global.z6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 520 MovieClip "cz3" in Symbol 885 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_global.cz3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 19
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room18");
}
}
onClipEvent (enterFrame) {
if ((_global.cz3 != 1) && (_global.z6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.cz3 == 1) && (_global.z6 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 19
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.cz3 == 1)) && (_global.z6 == 1)) {
_parent.gotoAndStop("room23");
}
}
onClipEvent (enterFrame) {
if ((_global.cz3 != 1) && (_global.z6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.cz3 == 1) && (_global.z6 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 19
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.cz3 == 1)) && (_global.z6 == 1)) {
_parent.gotoAndStop("room26");
}
}
onClipEvent (enterFrame) {
if ((_global.cz3 != 1) && (_global.z6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.cz3 == 1) && (_global.z6 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 20
stop();
Instance of Symbol 320 MovieClip in Symbol 885 MovieClip Frame 20
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.rookkey != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is shaped like a guard Tower.";
_root.dialogue.gotoAndPlay(2);
_global.rookkey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.rookkey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 20
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar) && (_global.bulletinbox != 1)) {
_root.squirt.start();
_global.bulletinbox = 1;
_global.shotgunbulletstotal = _global.shotgunbulletstotal + 6;
_root.dialogue.varMsg = "You found a some Shotgun shells. Shotgun Ammo + 6!";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 399 MovieClip in Symbol 885 MovieClip Frame 20
/* no clip actions */
Instance of Symbol 780 MovieClip "fz1" in Symbol 885 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_global.fz1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 20
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.fz1 == 1)) {
_parent.gotoAndStop("room16");
}
}
onClipEvent (enterFrame) {
if (_global.fz1 != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.fz1 == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 21
stop();
Instance of Symbol 699 MovieClip in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "It's nailed shut, I need to use something to open this wooden crate.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
_root.squirt.start();
_root.dialogue.varMsg = "The crate is empty.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 699 MovieClip in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.crowbar) && (_global.bulletinbox != 1)) {
_root.squirt.start();
_global.bulletinbox = 1;
_global.shotgunbulletstotal = _global.shotgunbulletstotal + 6;
_root.dialogue.varMsg = "You found a some Shotgun shells. Shotgun Ammo + 6!";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 785 MovieClip in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
ghostshow = 0;
}
onClipEvent (enterFrame) {
if ((_global.largeghost != 1) && (ghostshow == 0)) {
ghostshow = 1;
this.gotoAndPlay(2);
}
}
Instance of Symbol 318 MovieClip "bishopkey" in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.bishopkey != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is carved like a chess Bishop.";
_root.dialogue.gotoAndPlay(2);
_global.bishopkey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.bishopkey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A drawing of a cross. It's drawn in blood.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There's alot of blood in the bed sheet.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 21
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.largeghost == 1)) {
_parent.gotoAndStop("room19");
}
}
onClipEvent (enterFrame) {
if (_global.largeghost != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.largeghost == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 22
stop();
Instance of Symbol 790 MovieClip in Symbol 885 MovieClip Frame 22
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.shotgunammo2 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found some shotgun shells.";
_root.dialogue.gotoAndPlay(2);
_global.shotgunbulletstotal = _global.shotgunbulletstotal + 6;
_global.shotgunammo2 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.shotgunammo2 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 328 MovieClip in Symbol 885 MovieClip Frame 22
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.smallkey3 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a small key.";
_root.dialogue.gotoAndPlay(2);
_global.smallkey3 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.smallkey3 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 22
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A smelly rotting bag of bones...";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 22
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "An empty cabinet.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 22
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "There are lots of books here.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 612 MovieClip "z11" in Symbol 885 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_global.z11 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 480 MovieClip "gz6" in Symbol 885 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_global.gz6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 22
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.gz6 == 1)) && (_global.z11 == 1)) {
_parent.gotoAndStop("room18");
}
}
onClipEvent (enterFrame) {
if ((_global.gz6 != 1) && (_global.z11 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.gz6 == 1) && (_global.z11 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 23
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 23
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A statue of a warrior.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 664 MovieClip "bz8" in Symbol 885 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_global.bz8 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 664 MovieClip "bz7" in Symbol 885 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_global.bz7 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 23
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.bz7 == 1)) && (_global.bz8 == 1)) {
_parent.gotoAndStop("room24");
}
}
onClipEvent (enterFrame) {
if ((_global.bz7 != 1) && (_global.bz8 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz7 == 1) && (_global.bz8 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 23
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.bz7 == 1)) && (_global.bz8 == 1)) {
_parent.gotoAndStop("room25");
}
}
onClipEvent (enterFrame) {
if ((_global.bz7 != 1) && (_global.bz8 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz7 == 1) && (_global.bz8 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 23
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.bz7 == 1)) && (_global.bz8 == 1)) {
_parent.gotoAndStop("room19");
}
}
onClipEvent (enterFrame) {
if ((_global.bz7 != 1) && (_global.bz8 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.bz7 == 1) && (_global.bz8 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 24
stop();
Instance of Symbol 798 MovieClip in Symbol 885 MovieClip Frame 24
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
this._parent.switchinstructions.gotoAndPlay(2);
}
}
Instance of Symbol 837 MovieClip in Symbol 885 MovieClip Frame 24
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (enterFrame) {
if (_global.switchsolved == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.showswitches != 1)) && (_global.switchsolved != 1)) {
_root.dialogue.varMsg = "There's alot of switches here.";
_root.dialogue.gotoAndPlay(2);
this._parent.switches._x = 11.4;
this._parent.switches.gotoAndStop(1);
_global.showswitches = 1;
}
}
Instance of Symbol 841 MovieClip in Symbol 885 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_global.switchsolved == 1) {
this._x = 137.7;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 24
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "Somebody got cooked here...";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 24
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "A brick oven.";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 780 MovieClip "fz2" in Symbol 885 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_global.fz2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 480 MovieClip "gz7" in Symbol 885 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_global.gz7 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 24
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root.cursor.hand) && (_global.fz2 == 1)) && (_global.gz7 == 1)) && (_global.showswitches != 1)) {
_parent.gotoAndStop("room23");
}
}
onClipEvent (enterFrame) {
if ((_global.fz2 != 1) && (_global.gz7 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.fz2 == 1) && (_global.gz7 == 1)) {
this._alpha = 100;
}
if (_global.showswitches == 1) {
this.enabled = false;
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 25
stop();
_root.game.flashlight._alpha = 50;
Instance of Symbol 854 MovieClip in Symbol 885 MovieClip Frame 25
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((_global.unlockvault != 1) && (_global.paintingmoved == 1)) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "It's locked.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.smallkey3)) {
_global.unlockvault = 1;
_root.dialogue.varMsg = "You used the small key.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
}
} else if ((this.hitTest(_root.cursor.hand) && (_global.bz9 == 1)) && (_global.paintingmoved == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 861 MovieClip in Symbol 885 MovieClip Frame 25
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.unlockvault != 1)) {
if (_global.paintingmoved != 1) {
_global.paintingmoved = 1;
this._x = 143.2;
}
}
}
onClipEvent (enterFrame) {
if (_global.paintingmoved != 1) {
this._x = 231.2;
} else {
this._x = 143.2;
}
}
Instance of Symbol 664 MovieClip "bz9" in Symbol 885 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_global.bz9 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 25
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.bz9 == 1)) {
_root.game.flashlight._alpha = 70;
_parent.gotoAndStop("room23");
}
}
onClipEvent (enterFrame) {
if (_global.bz9 != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.bz9 == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 26
stop();
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 26
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room27");
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 26
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room19");
}
}
Symbol 885 MovieClip Frame 27
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 27
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room30");
}
if (_global.unlockking != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "Ruler of vast lands, protected by thousands, invulnerable but beloved, cherised by all and above.'";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.kingkey)) {
opening = 1;
_global.unlockking = 1;
_root.dialogue.varMsg = "You used the crown shaped key you found.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if (this.hitTest(_root.cursor.hand)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 612 MovieClip "z8" in Symbol 885 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.z8 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 612 MovieClip "z7" in Symbol 885 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.z7 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 520 MovieClip "cz5" in Symbol 885 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_global.cz5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 27
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root.cursor.hand) && (_global.cz5 == 1)) && (_global.z7 == 1)) && (_global.z8 == 1)) {
_parent.gotoAndStop("room28");
}
}
onClipEvent (enterFrame) {
if (((_global.cz5 != 1) && (_global.z7 != 1)) && (_global.z8 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if (((_global.cz5 == 1) && (_global.z7 == 1)) && (_global.z8 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 27
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root.cursor.hand) && (_global.cz5 == 1)) && (_global.z7 == 1)) && (_global.z8 == 1)) {
_parent.gotoAndStop("room26");
}
}
onClipEvent (enterFrame) {
if (((_global.cz5 != 1) && (_global.z7 != 1)) && (_global.z8 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if (((_global.cz5 == 1) && (_global.z7 == 1)) && (_global.z8 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 28
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 28
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room29");
}
if (_global.unlockqueen != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "Gifted with beauty, blessed with strength her devotion to the throne is forever.'";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.queenkey)) {
opening = 1;
_global.unlockqueen = 1;
_root.dialogue.varMsg = "You used the queen key.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
} else if (this.hitTest(_root.cursor.hand)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 28
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room27");
}
}
Symbol 885 MovieClip Frame 29
stop();
Instance of Symbol 324 MovieClip in Symbol 885 MovieClip Frame 29
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.kingkey != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a key, the key head is shaped like a huge crown.";
_root.dialogue.gotoAndPlay(2);
_global.kingkey = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.kingkey == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 29
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_root.dialogue.varMsg = "What a pitiful sight. Talk about eternal pain...";
_root.dialogue.gotoAndPlay(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 29
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room28");
}
}
Symbol 885 MovieClip Frame 30
stop();
Instance of Symbol 634 MovieClip "m16bullet3" in Symbol 885 MovieClip Frame 30
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.m16ammo5 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found M16 rifle ammo.";
_root.dialogue.gotoAndPlay(2);
_global.m16bulletstotal = _global.m16bulletstotal + 30;
_global.m16ammo5 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.m16ammo5 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 340 MovieClip in Symbol 885 MovieClip Frame 30
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.arrowbody != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found an arrow with the tip missing.";
_root.dialogue.gotoAndPlay(2);
_global.arrowbody = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.arrowbody == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 790 MovieClip in Symbol 885 MovieClip Frame 30
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.shotgunammo4 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found some shotgun shells.";
_root.dialogue.gotoAndPlay(2);
_global.shotgunbulletstotal = _global.shotgunbulletstotal + 6;
_global.shotgunammo4 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.shotgunammo4 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 790 MovieClip in Symbol 885 MovieClip Frame 30
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.shotgunammo3 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found some shotgun shells.";
_root.dialogue.gotoAndPlay(2);
_global.shotgunbulletstotal = _global.shotgunbulletstotal + 6;
_global.shotgunammo3 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.shotgunammo3 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 780 MovieClip "fz3" in Symbol 885 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_global.fz3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 612 MovieClip "z9" in Symbol 885 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_global.z9 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 30
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room27");
}
}
onClipEvent (enterFrame) {
if ((_global.z9 != 1) && (_global.fz3 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.z9 == 1) && (_global.fz3 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 31
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room32");
}
if (this.hitTest(_root.cursor.hand) && (opening == 0)) {
if (((((_global.plank6 == 1) && (_global.plank7 == 1)) && (_global.plank8 == 1)) && (_global.plank9 == 1)) && (_global.plank10 == 1)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
}
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room33");
}
if (this.hitTest(_root.cursor.hand) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
_root.dooropen.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank6 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank6 != 1)) {
_root.squirt.start();
_global.plank6 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank6 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank7 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank7 != 1)) {
_root.squirt.start();
_global.plank7 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank7 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank8 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank8 != 1)) {
_root.squirt.start();
_global.plank8 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank8 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank9 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank9 != 1)) {
_root.squirt.start();
_global.plank9 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank9 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 701 MovieClip in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.plank10 != 1)) {
_root.dialogue.varMsg = "The plank is nailed heavily. I need something to help me remove this.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.crowbar)) {
if ((this._alpha != 0) && (_global.plank10 != 1)) {
_root.squirt.start();
_global.plank10 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.plank10 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 31
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
_parent.gotoAndStop("room2");
}
}
Symbol 885 MovieClip Frame 32
stop();
Instance of Symbol 328 MovieClip in Symbol 885 MovieClip Frame 32
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand)) {
if ((this._alpha != 0) && (_global.smallkey4 != 1)) {
_root.clickitem.start();
_root.dialogue.varMsg = "You found a small key.";
_root.dialogue.gotoAndPlay(2);
_global.smallkey4 = 1;
}
}
}
onClipEvent (enterFrame) {
if (_global.smallkey4 == 1) {
this.enabled = false;
this._alpha = 0;
}
}
Instance of Symbol 480 MovieClip "gz8" in Symbol 885 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_global.gz8 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 32
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.hand) && (_global.gz8 == 1)) {
_parent.gotoAndStop("room31");
}
}
onClipEvent (enterFrame) {
if (_global.gz8 != 1) {
this.enabled = false;
this._alpha = 0;
} else if (_global.gz8 == 1) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 33
stop();
Instance of Symbol 780 MovieClip "fz5" in Symbol 885 MovieClip Frame 33
onClipEvent (enterFrame) {
if (_global.fz5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 520 MovieClip "cz6" in Symbol 885 MovieClip Frame 33
onClipEvent (enterFrame) {
if (_global.cz6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 294 MovieClip in Symbol 885 MovieClip Frame 33
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.fz5 == 1)) && (_global.cz6 == 1)) {
_parent.gotoAndStop("room34");
}
}
onClipEvent (enterFrame) {
if ((_global.fz5 != 1) && (_global.cz6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.fz5 == 1) && (_global.cz6 == 1)) {
this._alpha = 100;
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 33
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if ((this.hitTest(_root.cursor.hand) && (_global.fz5 == 1)) && (_global.cz6 == 1)) {
_parent.gotoAndStop("room31");
}
}
onClipEvent (enterFrame) {
if ((_global.fz5 != 1) && (_global.cz6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if ((_global.fz5 == 1) && (_global.cz6 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 34
stop();
Instance of Symbol 396 MovieClip in Symbol 885 MovieClip Frame 34
onClipEvent (load) {
this.tabEnabled = false;
opening = 0;
}
onClipEvent (mouseDown) {
function changeroom() {
opening = 0;
_parent.gotoAndStop("room35");
}
if (_global.finallock != 1) {
if (this.hitTest(_root.cursor.hand)) {
_root.locked.start();
_root.dialogue.varMsg = "At last the exit! Its locked... the key must be here some where.";
_root.dialogue.gotoAndPlay(2);
}
if (this.hitTest(_root.cursor.smallkey4) && (opening == 0)) {
_global.finallock = 1;
_root.dialogue.varMsg = "You used the small key.";
_root.dialogue.gotoAndPlay(2);
_root.doorunlock.start();
}
} else if (this.hitTest(_root.cursor.hand) && (opening == 0)) {
opening = 1;
_root.doorunlock.start();
var funcdelay = setTimeout(changeroom, 2000, "2 second delay");
}
}
Instance of Symbol 294 MovieClip "dir2" in Symbol 885 MovieClip Frame 34
onClipEvent (load) {
this.tabEnabled = false;
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root.cursor.hand) && (_global.fz4 == 1)) && (_global.fz5 == 1)) && (_global.cz6 == 1)) {
_parent.gotoAndStop("room33");
}
}
onClipEvent (enterFrame) {
if (((_global.fz4 != 1) && (_global.fz5 != 1)) && (_global.cz6 != 1)) {
this.enabled = false;
this._alpha = 0;
} else if (((_global.fz4 == 1) && (_global.fz5 == 1)) && (_global.cz6 == 1)) {
this._alpha = 100;
}
}
Symbol 885 MovieClip Frame 35
stop();
_root.startattack.start(0, 1);
Symbol 889 MovieClip Frame 1
stop();
Symbol 889 MovieClip Frame 90
varMsg = "";
Symbol 894 MovieClip Frame 5
stop();
Symbol 900 MovieClip Frame 3
this._parent.gotoAndStop("aim");
Symbol 901 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 2
stop();
Symbol 901 MovieClip Frame 3
stop();
Symbol 907 MovieClip Frame 5
stop();
Symbol 911 MovieClip Frame 3
this._parent.gotoAndStop("aim");
Symbol 912 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 2
stop();
Symbol 912 MovieClip Frame 3
stop();
Symbol 915 MovieClip Frame 5
stop();
Symbol 919 MovieClip Frame 3
this._parent.gotoAndStop("aim");
Symbol 920 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 2
stop();
Symbol 920 MovieClip Frame 3
stop();
Symbol 921 MovieClip Frame 1
stop();
Symbol 921 MovieClip Frame 2
stop();
Symbol 921 MovieClip Frame 3
stop();
Symbol 921 MovieClip Frame 4
stop();
Symbol 921 MovieClip Frame 5
stop();
Symbol 921 MovieClip Frame 6
stop();
Symbol 921 MovieClip Frame 7
stop();
Symbol 921 MovieClip Frame 8
stop();
Symbol 921 MovieClip Frame 9
stop();
Symbol 921 MovieClip Frame 10
stop();
Symbol 921 MovieClip Frame 11
stop();
Symbol 921 MovieClip Frame 12
stop();
Symbol 921 MovieClip Frame 13
stop();
Symbol 921 MovieClip Frame 14
stop();
Symbol 921 MovieClip Frame 15
stop();
Symbol 921 MovieClip Frame 16
stop();
Symbol 921 MovieClip Frame 17
stop();
Symbol 921 MovieClip Frame 18
stop();
Symbol 921 MovieClip Frame 19
stop();
Symbol 921 MovieClip Frame 20
stop();
Symbol 921 MovieClip Frame 21
stop();
Symbol 921 MovieClip Frame 22
stop();
Symbol 921 MovieClip Frame 23
stop();
Symbol 921 MovieClip Frame 24
stop();
Symbol 925 Button
on (release) {
gotoAndStop ("title");
}
Symbol 931 MovieClip Frame 1
Mouse.show();
_root.crosshair._alpha = 0;
_root.crosshair.gotoAndStop(2);
Symbol 931 MovieClip Frame 9
stop();
Symbol 934 Button
on (release) {
gotoAndPlay ("survival");
_root.crosshair.gotoAndStop(1);
}
Symbol 951 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 2
stop();
Symbol 951 MovieClip Frame 9
stop();
Symbol 966 MovieClip Frame 1
stop();
if (random(10) > 5) {
gotoAndPlay (15);
} else {
gotoAndPlay (35);
}
Symbol 966 MovieClip Frame 19
_parent.appear = 1;
Symbol 966 MovieClip Frame 27
_parent.appear = 1;
stop();
Symbol 966 MovieClip Frame 49
_parent.appear = 1;
Symbol 966 MovieClip Frame 60
stop();
Symbol 967 MovieClip Frame 16
if (random(2) == 1) {
_root.growl.start();
}
Symbol 973 MovieClip Frame 5
removeMovieClip(this);
Symbol 977 MovieClip Frame 10
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_global.herolife = _global.herolife - 1;
}
Symbol 977 MovieClip Frame 11
Symbol 977 MovieClip Frame 24
_parent.attacking = 0;
Symbol 978 MovieClip Frame 1
_root.squish.start();
_root.monsterhit.start();
Symbol 978 MovieClip Frame 3
_parent.gotoAndStop("steady");
Symbol 979 MovieClip Frame 1
_root.zombiegroan1.start();
Symbol 979 MovieClip Frame 35
_global.zombiekill = _global.zombiekill + 1;
stop();
removeMovieClip(this._parent);
Symbol 980 MovieClip Frame 1
stop();
Symbol 980 MovieClip Frame 2
stop();
Instance of Symbol 450 MovieClip in Symbol 980 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 980 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 30;
shotgundamage = 80;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 980 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 980 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 980 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 980 MovieClip Frame 3
stop();
Symbol 980 MovieClip Frame 4
stop();
Symbol 980 MovieClip Frame 5
stop();
Symbol 983 MovieClip Frame 1
stop();
if (random(10) > 5) {
gotoAndPlay (5);
} else {
gotoAndPlay (20);
}
Symbol 983 MovieClip Frame 15
_parent.appear = 1;
stop();
Symbol 983 MovieClip Frame 35
_parent.appear = 1;
Symbol 983 MovieClip Frame 40
stop();
Symbol 984 MovieClip Frame 1
stop();
Symbol 984 MovieClip Frame 2
stop();
Instance of Symbol 450 MovieClip in Symbol 984 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 150;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 984 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 15;
m16damage = 35;
shotgundamage = 120;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 984 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 984 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 984 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 984 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 984 MovieClip Frame 3
stop();
Symbol 984 MovieClip Frame 4
stop();
Symbol 987 MovieClip Frame 1
stop();
if (random(10) > 5) {
gotoAndPlay (5);
} else {
gotoAndPlay (15);
}
Symbol 987 MovieClip Frame 8
stop();
_parent.appear = 1;
Symbol 987 MovieClip Frame 25
stop();
_parent.appear = 1;
Symbol 988 MovieClip Frame 1
_root.squish.start();
_root.monsterhit.start();
this._parent.hurting = 1;
Symbol 988 MovieClip Frame 8
this._parent.hurting = 0;
this._parent.gotoAndStop("walk");
Symbol 989 MovieClip Frame 1
stop();
Symbol 989 MovieClip Frame 2
stop();
Instance of Symbol 450 MovieClip in Symbol 989 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 150;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 989 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 15;
m16damage = 35;
shotgundamage = 120;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 989 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 989 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 989 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 5;
m16damage = 20;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 989 MovieClip Frame 3
stop();
Symbol 989 MovieClip Frame 4
stop();
Symbol 989 MovieClip Frame 5
stop();
Symbol 990 MovieClip Frame 10
_parent.appear = 1;
Symbol 990 MovieClip Frame 14
stop();
Symbol 991 MovieClip Frame 1
stop();
Symbol 991 MovieClip Frame 2
stop();
Instance of Symbol 450 MovieClip in Symbol 991 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 150;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 991 MovieClip Frame 3
stop();
Symbol 991 MovieClip Frame 4
stop();
Symbol 994 MovieClip Frame 1
stop();
if (random(10) > 5) {
gotoAndPlay (10);
} else {
gotoAndPlay (20);
}
Symbol 994 MovieClip Frame 15
stop();
_parent.appear = 1;
Symbol 994 MovieClip Frame 35
stop();
_parent.appear = 1;
Symbol 1011 MovieClip Frame 12
if (_global.herolife > 0) {
_root.game.attacked.gotoAndPlay(2);
_root.zombieattack.start();
_global.herolife = _global.herolife - 1;
}
Symbol 1011 MovieClip Frame 20
_parent.attacking = 0;
Symbol 1015 MovieClip Frame 1
this._parent.hurting = 1;
Symbol 1015 MovieClip Frame 3
this._parent.hurting = 0;
this._parent.gotoAndStop("walk");
Symbol 1025 MovieClip Frame 4
_root.zombiegroan2.start();
Symbol 1025 MovieClip Frame 36
_global.zombiekill = _global.zombiekill + 1;
stop();
removeMovieClip(this._parent);
Symbol 1026 MovieClip Frame 1
stop();
Symbol 1026 MovieClip Frame 2
stop();
Instance of Symbol 450 MovieClip in Symbol 1026 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 30;
m16damage = 50;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 1026 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 20;
m16damage = 40;
shotgundamage = 100;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 1026 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 30;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 1026 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 30;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Instance of Symbol 450 MovieClip in Symbol 1026 MovieClip Frame 2
onClipEvent (load) {
aftershot = 0;
handgundamage = 10;
m16damage = 30;
shotgundamage = 50;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.crosshair2.cursor)) {
if (((_global.reloading == 0) && (_global.gunused == "handgun")) && (_global.handgunbullets > 0)) {
_root.handgun.start();
_root.crosshair2.guns.pistol.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.handgunbullets = _global.handgunbullets - 1;
this._parent.life = this._parent.life - handgundamage;
} else if ((_global.gunused == "handgun") && (_global.handgunbullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "m16")) && (_global.m16bullets > 0)) {
_root.m16.start();
_root.crosshair2.guns.m16.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood2, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.m16bullets = _global.m16bullets - 1;
this._parent.life = this._parent.life - m16damage;
} else if ((_global.gunused == "m16") && (_global.m16bullets < 1)) {
_root.nobullet.start();
}
if (((_global.reloading == 0) && (_global.gunused == "shotgun")) && (_global.shotgunbullets > 0)) {
_root.shotgun.start();
_root.crosshair2.guns.shotgun.gotoAndStop("shoot");
_parent.gotoAndStop("hurt");
_parent._xscale = _parent._xscale - 0.8;
_parent._yscale = _parent._yscale - 0.8;
_parent._y = _parent._y - 0.4;
jj = random(50000);
duplicateMovieClip (this._parent.blood3, "blood" + jj, jj);
this._parent["blood" + jj]._alpha = 100;
this._parent["blood" + jj]._x = this._parent._xmouse;
this._parent["blood" + jj]._y = this._parent._ymouse;
_global.shotgunbullets = _global.shotgunbullets - 1;
this._parent.life = this._parent.life - shotgundamage;
} else if ((_global.gunused == "shotgun") && (_global.shotgunbullets < 1)) {
_root.nobullet.start();
}
}
}
Symbol 1026 MovieClip Frame 3
stop();
Symbol 1026 MovieClip Frame 4
stop();
Symbol 1026 MovieClip Frame 5
stop();
Instance of Symbol 980 MovieClip "zombie1" in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
life = 100;
attacking = 0;
appear = 0;
}
onClipEvent (enterFrame) {
if (_name != "zombie1") {
if (appear == 1) {
if (life > 0) {
if (_xscale < 300) {
this.gotoAndStop("walk");
_xscale = (_xscale + 0.5);
_yscale = (_yscale + 0.5);
_y = (_y + 0.4);
} else if ((_xscale > 300) && (attacking == 0)) {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
this.gotoAndStop("dead");
_global.score = _global.score + 5;
}
}
}
}
Instance of Symbol 984 MovieClip "zombie4" in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
life = 300;
attacking = 0;
stopping = 0;
appear = 0;
}
onClipEvent (enterFrame) {
if (_name != "zombie4") {
if (appear == 1) {
if (life > 0) {
if (_xscale < 50) {
this.gotoAndStop("walk");
_xscale = (_xscale + 0.09);
_yscale = (_yscale + 0.09);
_y = (_y + 0.2);
} else if ((_xscale > 50) && (attacking == 0)) {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
this.gotoAndStop("dead");
_global.score = _global.score + 50;
}
}
}
}
Instance of Symbol 989 MovieClip "zombie2" in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
life = 130;
attacking = 0;
stopping = 0;
appear = 0;
}
onClipEvent (enterFrame) {
if (_name != "zombie2") {
if (appear == 1) {
if (life > 0) {
if (_xscale < 70) {
if (stopping == 0) {
this.gotoAndStop("walk");
_xscale = (_xscale + 0.1);
_yscale = (_yscale + 0.1);
_y = (_y + 0.5);
}
} else if ((_xscale > 70) && (attacking == 0)) {
attacking = 1;
this.gotoAndStop("attack");
}
} else {
this.gotoAndStop("dead");
_global.score = _global.score + 18;
}
}
}
}
Instance of Symbol 991 MovieClip "zombie5" in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
life = 150;
attacking = 0;
appear = 0;
}
onClipEvent (enterFrame) {
if (_name != "zombie5") {
if (appear == 1) {
if (life > 0) {
if (_alpha == 100) {
if (_y < 164) {
this.gotoAndStop("walk");
_xscale = (_xscale + 0.7);
_yscale = (_yscale + 0.7);
_y = (_y + 2);
} else if ((_y > 160) && (attacking == 0)) {
trace(attacking);
attacking = 1;
this.gotoAndStop("attack");
}
}
} else {
this.gotoAndStop("dead");
_global.score = _global.score + 25;
}
}
}
}
Instance of Symbol 1026 MovieClip "zombie3" in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
life = 100;
attacking = 0;
appear = 0;
}
onClipEvent (enterFrame) {
if (_name != "zombie3") {
if (appear == 1) {
if (life > 0) {
if (_alpha == 100) {
if (_xscale < 267) {
this.gotoAndStop("walk");
_xscale = (_xscale + 2);
_yscale = (_yscale + 2);
_y = (_y + 1);
} else if ((_xscale > 267) && (attacking == 0)) {
attacking = 1;
this.gotoAndStop("attack");
}
}
} else {
this.gotoAndStop("dead");
_global.score = _global.score + 25;
}
}
}
}
Instance of Symbol 1035 MovieClip "actions" in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
checking = 0;
creepy = 0;
healing = 0;
_root.heartbeating.start(0, 9999);
}
onClipEvent (enterFrame) {
function reloading() {
if (_global.gunused == "handgun") {
_root.crosshair2._alpha = 100;
_global.reloading = 0;
_root.survival.reloading._alpha = 0;
_root.survival.reloading._alpha = 0;
}
if (_global.gunused == "m16") {
_root.crosshair2._alpha = 100;
_global.reloading = 0;
_root.survival.reloading._alpha = 0;
}
if (_global.gunused == "shotgun") {
_root.crosshair2._alpha = 100;
_global.reloading = 0;
_root.survival.reloading._alpha = 0;
}
}
function setCreepy() {
creepy = 0;
}
function allowHeal() {
trace("HEAL ME AGAIN");
healing = 0;
}
_parent.varscore = _global.score;
_parent.varzombies = _global.zombiekill;
if (_global.herolife > 0) {
if (_global.gunused == "handgun") {
_parent.varweapon = "Handgun";
_parent.varammo = _global.handgunbullets;
_parent.varammototal = _global.handgunbulletstotal;
_parent.w_h._alpha = 100;
_parent.w_m._alpha = 0;
_parent.w_s._alpha = 0;
_root.crosshair2.guns.gotoAndStop("handgun");
if (Key.isDown(32) && (_global.reloading == 0)) {
_root.survival.reloading._alpha = 100;
_root.reload.start();
_root.crosshair2._alpha = 0;
_global.reloading = 1;
var funcdelay = setTimeout(reloading, 3000, "3 second delay");
_global.handgunbullets = 8;
}
} else if (_global.gunused == "m16") {
_parent.varweapon = "M16 Rifle";
_parent.varammo = _global.m16bullets;
_parent.varammototal = _global.m16bulletstotal;
_parent.w_h._alpha = 0;
_parent.w_m._alpha = 100;
_parent.w_s._alpha = 0;
_root.crosshair2.guns.gotoAndStop("m16");
if ((Key.isDown(32) && (_global.reloading == 0)) && (_global.m16bulletstotal != 0)) {
_root.survival.reloading._alpha = 100;
_root.reload.start();
_root.crosshair2._alpha = 0;
_global.reloading = 1;
var funcdelay = setTimeout(reloading, 3000, "3 second delay");
if (_global.m16bulletstotal > 30) {
_global.m16bullets = 30;
_global.m16bulletstotal = _global.m16bulletstotal - 30;
} else {
_global.m16bullets = _global.m16bulletstotal;
_global.m16bulletstotal = 0;
}
}
} else if (_global.gunused == "shotgun") {
_parent.varweapon = "Shotgun";
_parent.varammo = _global.shotgunbullets;
_parent.varammototal = _global.shotgunbulletstotal;
_parent.w_h._alpha = 0;
_parent.w_m._alpha = 0;
_parent.w_s._alpha = 100;
_root.crosshair2.guns.gotoAndStop("shotgun");
if ((Key.isDown(32) && (_global.reloading == 0)) && (_global.shotgunbulletstotal != 0)) {
_root.survival.reloading._alpha = 100;
_root.crosshair2._alpha = 0;
_root.reload.start();
_global.reloading = 1;
var funcdelay = setTimeout(reloading, 3000, "3 second delay");
if (_global.shotgunbulletstotal > 6) {
_global.shotgunbullets = 6;
_global.shotgunbulletstotal = _global.shotgunbulletstotal - 6;
} else {
_global.shotgunbullets = _global.shotgunbulletstotal;
_global.shotgunbulletstotal = 0;
}
}
}
_parent.varmedkit = _global.medkit;
if (Key.isDown(81)) {
if (_global.medkit > 0) {
if (healing == 0) {
healing = 1;
_global.herolife = 4;
_global.medkit = _global.medkit - 1;
_parent.varmsg = "You used one medkit.";
varmedkit = _global.medkit;
_root.heal.start();
var funcdelay = setTimeout(allowHeal, 1000, "1 second delay");
}
} else {
_root.locked.start();
_parent.varmsg = "You don't have a medkit.";
}
}
if (_global.herolife == 4) {
_root.survival.healthmonitor2.gotoAndStop(1);
} else if (_global.herolife == 3) {
_root.survival.healthmonitor2.gotoAndStop(2);
} else if (_global.herolife == 2) {
_root.survival.healthmonitor2.gotoAndStop(3);
} else if (_global.herolife == 1) {
_root.survival.healthmonitor2.gotoAndStop(4);
} else if (_global.herolife < 1) {
_root.survival.healthmonitor2.gotoAndStop(5);
}
if (_global.reloading == 0) {
if (Key.isDown(49)) {
if (_global.handgun == 1) {
_global.gunused = "handgun";
}
} else if (Key.isDown(50)) {
if (_global.m16 == 1) {
_global.gunused = "m16";
}
} else if (Key.isDown(51)) {
if (_global.shotgun == 1) {
_global.gunused = "shotgun";
}
}
}
} else {
_root.gotoAndStop("dead");
}
scary = random(900);
if ((scary == 2) && (creepy == 0)) {
creepy = 1;
_root.creepy.start();
_root.creepy.onSoundComplete = setCreepy();
}
if ((scary == 5) && (creepy == 0)) {
creepy = 1;
_root.soulwail.start();
_root.soulwail.onSoundComplete = setCreepy();
}
if ((scary == 10) && (creepy == 0)) {
creepy = 1;
_root.zombiemoan.start();
_root.zombiemoan.onSoundComplete = setCreepy();
}
}
Instance of Symbol 1041 MovieClip in Symbol 1054 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.timer == 0) {
(a = 0);
(b = 0);
(c = 0);
(d = 0);
(e = 0);
(f = 0);
(g = 0);
(h = 0);
(i = 0);
(j = 0);
(k = 0);
(l = 0);
(m = 0);
(n = 0);
(o = 0);
(p = 0);
(q = 0);
(r = 0);
(s = 0);
(t = 0);
(u = 0);
(v = 0);
(w = 0);
nextbatch = 0;
totalenemies = 2000;
var coor = new Array();
coor[0] = -312;
coor[1] = -261;
coor[2] = -201;
coor[3] = -131;
coor[4] = -61;
coor[5] = -21;
coor[6] = 28;
coor[7] = 68;
coor[8] = 108;
coor[9] = 148;
coor[10] = 188;
var mons = new Array();
mons[0] = "zombie1";
mons[1] = "zombie2";
mons[2] = "zombie3";
mons[3] = "zombie5";
}
_global.timer = _global.timer + 1;
if (((_global.zombiekill == 0) && (a == 0)) && (_global.timer > 50)) {
a = 1;
_root.survival.bgs.gotoAndStop(1);
trace("GO");
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill >= 2) && (b == 0)) {
b = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 4) && (c == 0)) {
c = 1;
trace("Level 2");
_root.survival.bgs.gotoAndStop(2);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 6) && (_global.zombiekill < 10)) && (c == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 10) && (d == 0)) {
d = 1;
nextbatch = 0;
trace("Level 3");
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
z = 0;
while (z < 1) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 13) && (_global.zombiekill < 16)) && (d == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 16) && (e == 0)) {
e = 1;
nextbatch = 0;
trace("Level 4");
_root.survival.bgs.gotoAndStop(3);
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 20) && (_global.zombiekill < 24)) && (e == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 24) && (f == 0)) {
f = 1;
nextbatch = 0;
trace("Level 5");
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
z = 0;
while (z < 2) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 26) && (_global.zombiekill < 32)) && (f == 1)) && (nextbatch == 0)) {
nextbatch = 1;
_root.survival.bgs.gotoAndStop(4);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 32) && (g == 0)) {
g = 1;
nextbatch = 0;
trace("Level 6");
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 35) && (_global.zombiekill < 42)) && (g == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 37) && (_global.zombiekill < 42)) && (g == 1)) && (nextbatch == 1)) {
nextbatch = 2;
_root.survival.bgs.gotoAndStop(5);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 42) && (h == 0)) {
h = 1;
nextbatch = 0;
trace("Level 7");
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 43) && (_global.zombiekill < 52)) && (h == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie4, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 48) && (_global.zombiekill < 52)) && (h == 1)) && (nextbatch == 1)) {
nextbatch = 2;
_root.survival.bgs.gotoAndStop(6);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival[mons[random(3)]], "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 6;
z++;
}
}
if ((_global.zombiekill == 52) && (i == 0)) {
i = 1;
nextbatch = 0;
trace("Level 8");
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie3, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 55) && (_global.zombiekill < 62)) && (i == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie5, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 7;
z++;
}
}
if ((((_global.zombiekill > 57) && (_global.zombiekill < 62)) && (i == 1)) && (nextbatch == 1)) {
nextbatch = 2;
_root.survival.bgs.gotoAndStop(7);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie1, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 62) && (j == 0)) {
j = 1;
nextbatch = 0;
trace("Level 9");
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie4, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 7;
z++;
}
}
if ((((_global.zombiekill > 65) && (_global.zombiekill < 72)) && (j == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie3, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 67) && (_global.zombiekill < 72)) && (j == 1)) && (nextbatch == 1)) {
nextbatch = 2;
_root.survival.bgs.gotoAndStop(8);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie4, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 72) && (k == 0)) {
k = 1;
nextbatch = 0;
trace("Level 10");
z = 0;
while (z < 4) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie4, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 7;
z++;
}
}
if ((((_global.zombiekill > 74) && (_global.zombiekill < 82)) && (k == 1)) && (nextbatch == 0)) {
nextbatch = 1;
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie5, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((((_global.zombiekill > 78) && (_global.zombiekill < 82)) && (k == 1)) && (nextbatch == 1)) {
nextbatch = 2;
_root.survival.bgs.gotoAndStop(9);
z = 0;
while (z < 3) {
totalenemies = totalenemies - 1;
duplicateMovieClip (_root.survival.zombie4, "mons" + totalenemies, totalenemies);
_root.survival["mons" + totalenemies]._x = coor[random(10)];
_root.survival["mons" + totalenemies]._y = 10;
z++;
}
}
if ((_global.zombiekill == 82) && (m == 0)) {
m == 1;
_root.startattack.start();
_root.survival.congrats._x = -45;
_root.crosshair2.gotoAndStop(2);
}
}
Symbol 1055 MovieClip Frame 1
stop();
Symbol 1055 MovieClip Frame 2
stop();
Symbol 1055 MovieClip Frame 3
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 2
stop();
Symbol 1061 MovieClip Frame 5
gotoAndStop (2);
Symbol 1061 MovieClip Frame 6
stop();
Symbol 1061 MovieClip Frame 7
stop();