Frame 1
fscommand ("showmenu", false);
fscommand ("allowscale", false);
total_bytes = Math.ceil(_root.getBytesTotal() / 1000);
loaded_bytes = Math.ceil(_root.getBytesLoaded() / 1000);
percent_done = int((loaded_bytes / total_bytes) * 100);
bar.gotoAndStop(percent_done);
ifFrameLoaded (7) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
stopAllSounds();
gotoAndPlay (3);
stop();
Frame 5
stop();
Instance of Symbol 1546 MovieClip in Frame 5
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.run = false;
_root.walk = false;
_root.right = false;
_root.left = false;
_root.unholster = false;
_root.holster = false;
_root.crouch = false;
_root.shoot = false;
_root.standUp = false;
_root.reload = false;
_root.crouched = false;
_root.unhol = false;
_root.cave = false;
_root.caveout = false;
_parent.tutorial.keyboard.gotoAndStop(1);
_parent.tutorial.player._x = -400;
_parent.tutorial.player._y = 164;
_root.gotoAndStop("cover");
}
Frame 6
stopAllSounds();
gotoAndPlay (5);
stop();
Frame 7
function changeScreen(currentScreen, whereIs) {
currentScreenNum = currentScreen.substr(1, 2);
makeInvisible = eval (currentScreen);
makeInvisible._x = -1500;
makeInvisible._visible = 0;
if (whereIs == "right") {
newScreen = Number(currentScreenNum) + 1;
}
if (whereIs == "left") {
newScreen = Number(currentScreenNum) - 1;
}
if (newScreen < 10) {
makeVisible = eval ("s0" + newScreen);
_root.screen = "s0" + newScreen;
} else {
makeVisible = eval ("s" + newScreen);
_root.screen = "s" + newScreen;
}
makeVisible._x = 325;
makeVisible._visible = 1;
}
function caver() {
if ((inHere % 2) != 0) {
comeOut = caves[Number(inHere) - 1];
gotoCaveNumber = Number(inHere) - 1;
} else {
comeOut = caves[Number(inHere) + 1];
gotoCaveNumber = Number(inHere) + 1;
}
screenMakeInvisible = caves[inHere].substr(-3, 3);
makeInvisible = eval (screenMakeInvisible);
makeInvisible._x = -1500;
makeInvisible._visible = 0;
screenMakeVisible = comeOut.substr(-3, 3);
makeVisible = eval (screenMakeVisible);
makeVisible._x = 325;
makeVisible._visible = 1;
fS = eval (comeout.substr(2, 3));
finalCave = (fS + ".c") + gotoCaveNumber;
fCav = finalCave;
player._x = fS["c" + gotoCaveNumber]._x + 325;
player._y = fS["c" + gotoCaveNumber]._y + 195;
_root.screen = fS._name;
}
function enShot() {
enHit = Math.round(random(enAim) + 1);
if (enHit == enAim) {
_root.player.isHit();
}
}
function profShot() {
profHit = Math.round(random(profAim) + 1);
if (profHit == profAim) {
_root.player.isHit();
}
}
stop();
_root.screen = "s01";
caves = new Array();
caves = ["l1s03", "l2s02", "l2s04", "l3s07", "l3s05", "l4s05", "l4s08", "l5s12", "l5s10", "l6s09", "l6s11", "l7s13"];
inHere = 0;
enAim = 2;
profAim = 2;
Instance of Symbol 1561 MovieClip "s02" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 1933 MovieClip "s03" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2321 MovieClip "s04" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2625 MovieClip "s05" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2628 MovieClip "s06" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2631 MovieClip "s07" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2636 MovieClip "s08" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2639 MovieClip "s09" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2649 MovieClip "s10" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2652 MovieClip "s11" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2655 MovieClip "s12" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2658 MovieClip "s13" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2678 MovieClip "s14" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2681 MovieClip "s15" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2688 MovieClip "s16" in Frame 7
onClipEvent (load) {
this._visible = 0;
this._x = -1500;
}
Instance of Symbol 2692 MovieClip in Frame 7
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.s01._visible == 1) {
this._xscale = 65;
this._x = 333;
this._y = 110;
this._visible = 1;
this.play();
} else if (_root.s05._visible == 1) {
this._xscale = 65;
this._x = 117;
this._y = 263;
this._visible = 1;
this.play();
} else if (_root.s07._visible == 1) {
this._xscale = 65;
this._x = 131;
this._y = 113;
this._visible = 1;
this.play();
} else if (_root.s11._visible == 1) {
this._xscale = 65;
this._x = 209.2;
this._y = 417.1;
this._visible = 1;
this.play();
} else if (_root.s12._visible == 1) {
this._xscale = -65;
this._x = 523;
this._y = 113;
this._visible = 1;
this.play();
} else if (_root.s16._visible == 1) {
this._xscale = -65;
this._x = 454;
this._y = 266;
this._visible = 1;
this.play();
} else {
this.gotoAndStop(1);
this._visible = 0;
}
}
Instance of Symbol 1537 MovieClip "player" in Frame 7
onClipEvent (load) {
function isHit() {
if (_root.life && (!_root.blue)) {
_root.wait = 1;
_root.gotShot = 1;
if (_root.drawn) {
if (_root.crouch) {
_root.lifline.gotoAndStop(7);
this.gotoAndStop("cgdie");
} else {
_root.dead++;
_root.lifline.gotoAndStop(_root.dead + 1);
this.gotoAndStop("ghurt");
}
}
if (!_root.drawn) {
if (_root.crouch) {
_root.lifline.gotoAndStop(7);
this.gotoAndStop("cdie");
} else {
_root.dead++;
_root.lifline.gotoAndStop(_root.dead + 1);
this.gotoAndStop("hurt");
}
}
}
}
_root.runspeed = 7.7;
_root.doing = false;
_root.unholstering = false;
_root.bullets = 12;
_root.drawn = 0;
_root.crouch = 0;
_root.wait = 0;
_root.speed = 2.93;
_root.playerShooting = false;
_root.dir = 0;
_root.alreadyShot = 0;
_root.gotShot = 0;
_root.dead = 0;
}
onClipEvent (enterFrame) {
if (((_root.screen == "s01") && (this._y < 220)) && (_root.dir == 1)) {
if (_root.recochet == true) {
_root.s01.sparks._visible = 1;
_root.s01.sparks.gotoAndStop(random(5) + 2);
} else {
_root.s01.sparks._visible = 0;
}
}
if (((_root.screen == "s04") && (this._y > 220)) && (_root.dir == 0)) {
if (_root.recochet == true) {
_root.s04.sparks._visible = 1;
_root.s04.sparks.gotoAndStop(random(5) + 2);
} else {
_root.s04.sparks._visible = 0;
}
}
if (((_root.screen == "s08") && (this._y > 220)) && (_root.dir == 0)) {
if (_root.recochet == true) {
_root.s08.sparks._visible = 1;
_root.s08.sparks.gotoAndStop(random(5) + 2);
} else {
_root.s08.sparks._visible = 0;
}
}
if (((_root.screen == "s12") && (this._y < 220)) && (_root.dir == 0)) {
if (_root.recochet == true) {
_root.s12.sparks._visible = 1;
_root.s12.sparks.gotoAndStop(random(5) + 2);
} else {
_root.s12.sparks._visible = 0;
}
}
if (((_root.screen == "s12") && (this._y > 220)) && (_root.dir == 0)) {
if ((_root.recochet == true) && (_root.crouch)) {
_root.s12.gbgBtm._visible = 1;
_root.s12.gbgBtm.gotoAndStop(random(4) + 2);
} else if ((_root.recochet == true) && (!_root.crouch)) {
_root.s12.gbgTop._visible = 1;
_root.s12.gbgTop.gotoAndStop(random(5) + 2);
} else {
_root.s12.gbgTop._visible = 0;
_root.s12.gbgBtm._visible = 0;
}
}
if (((_root.screen == "s10") && (this._y > 220)) && (_root.dir == 1)) {
if ((_root.recochet == true) && (_root.crouch)) {
_root.s10.gbgBtm._visible = 1;
_root.s10.gbgBtm.gotoAndStop(random(4) + 2);
} else if ((_root.recochet == true) && (!_root.crouch)) {
_root.s10.gbgTop._visible = 1;
_root.s10.gbgTop.gotoAndStop(random(5) + 2);
} else {
_root.s10.gbgTop._visible = 0;
_root.s10.gbgBtm._visible = 0;
}
}
if (((_root.screen == "s01") && (this._y < 220)) && (this._x <= 240)) {
this._x = 239;
}
if (((_root.screen == "s04") && (this._y > 220)) && (this._x >= 315)) {
this._x = 314;
}
if ((((_root.screen == "s08") && (this._y > 220)) && (this._x >= 275)) && (_root.nextWave == false)) {
this._x = 274;
}
if (((_root.screen == "s12") && (this._y > 220)) && (this._x >= 535)) {
this._x = 534;
}
if (((_root.screen == "s12") && (this._y < 220)) && (this._x >= 580)) {
this._x = 579;
}
if (((_root.screen == "s10") && (this._y > 220)) && (this._x <= 150)) {
this._x = 149;
}
if (((_root.screen == "s16") && (this._y > 220)) && (this._x >= 580)) {
this._x = 579;
}
if (_root.life) {
if (_root.dead >= 6) {
if (_root.drawn) {
_root.lifline.gotoAndStop(7);
this.gotoAndStop("gdie");
}
if (!_root.drawn) {
_root.lifline.gotoAndStop(7);
this.gotoAndStop("sdie");
}
}
if ((Key.isDown(39) && (!_root.crouch)) && (_root.wait == 0)) {
this._xscale = 65;
_root.dir = 0;
if (Key.isDown(83)) {
this.gotoAndStop("run");
this._x = this._x + _root.runspeed;
} else {
this._x = this._x + _root.speed;
if (_root.drawn) {
this.gotoAndStop("gwalk");
} else {
this.gotoAndStop("walk");
}
}
} else if ((Key.isDown(37) && (!_root.crouch)) && (_root.wait == 0)) {
this._xscale = -65;
_root.dir = 1;
if (Key.isDown(83)) {
this.gotoAndStop("run");
this._x = this._x - _root.runspeed;
} else {
this._x = this._x - _root.speed;
if (_root.drawn) {
this.gotoAndStop("gwalk");
} else {
this.gotoAndStop("walk");
}
}
} else if ((!_root.crouch) && (!_root.wait)) {
if (_root.drawn && (!_root.gotShot)) {
this.gotoAndStop("gstand");
} else if (!_root.gotShot) {
this.gotoAndStop("stand");
}
}
if (Key.isDown(40) && (_root.doing == false)) {
if (!_root.crouch) {
if (_root.drawn) {
this.gotoAndStop("gdown");
_root.crouch = 1;
} else {
this.gotoAndStop("down");
_root.crouch = 1;
}
}
} else if (_root.crouch) {
if (_root.drawn) {
this.gotoAndStop("gup");
} else {
this.gotoAndStop("up");
}
}
if (((Key.isDown(69) && (!_root.drawn)) && (_root.wait == 0)) && (!_root.gotShot)) {
_root.drawn = 1;
_root.wait = 1;
if (_root.crouch) {
this.gotoAndStop("cdraw");
} else {
this.gotoAndStop("draw");
}
}
if (((Key.isDown(68) && (_root.drawn)) && (_root.wait == 0)) && (!_root.gotShot)) {
_root.drawn = 0;
_root.wait = 1;
if (_root.crouch) {
this.gotoAndStop("chol");
} else {
this.gotoAndStop("hol");
}
}
if ((((((Key.isDown(65) && (_root.drawn == 1)) && (_root.unholstering == false)) && (_root.bullets >= 1)) && (!_root.alreadyShot)) && (!_root.gotShot)) && (_root.spacebar == 0)) {
_root.wait = 1;
if (_root.crouch) {
this.gotoAndStop("cshot");
} else {
this.gotoAndStop("shot");
}
}
if (((Key.isDown(82) && (_root.drawn == 1)) && (_root.crouch == 0)) && (_root.wait == 0)) {
_root.wait = 1;
this.gotoAndStop("reload");
}
if (Key.isDown(49)) {
_root._quality = "HIGH";
}
if (Key.isDown(50)) {
_root._quality = "MEDIUM";
}
if (Key.isDown(51)) {
_root._quality = "LOW";
}
if (this._x > 650) {
if ((((_root.screen == "s04") || (_root.screen == "s08")) || (_root.screen == "s12")) || (_root.screen == "s16")) {
this._x = 649;
} else {
_root.changeScreen(_root.screen, "right");
this._x = 1;
}
}
if (this._x < 0) {
if ((((_root.screen == "s01") || (_root.screen == "s05")) || (_root.screen == "s09")) || (_root.screen == "s13")) {
this._x = 1;
} else {
_root.changeScreen(_root.screen, "left");
this._x = 649;
}
}
}
}
Instance of Symbol 2706 MovieClip "lifline" in Frame 7
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 2708 MovieClip "profdead" in Frame 7
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.s03.p1.die._currentframe >= 62) && (_root.s03._visible == 1)) {
if (_root.s03.p1._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s03.p1._visible = 0;
this._x = _root.s03.p1._x + 325;
this._y = _root.s03.p1._y + 194;
this._visible = 1;
} else if ((_root.s07.p1.die._currentframe >= 62) && (_root.s07._visible == 1)) {
if (_root.s07.p1._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s07.p1._visible = 0;
this._x = _root.s07.p1._x + 325;
this._y = _root.s07.p1._y + 194;
this._visible = 1;
} else if ((_root.s08.p1.die._currentframe >= 62) && (_root.s08._visible == 1)) {
if (_root.s08.p1._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s08.p1._visible = 0;
this._x = _root.s08.p1._x + 325;
this._y = _root.s08.p1._y + 194;
this._visible = 1;
} else if ((_root.s10.p1.die._currentframe >= 62) && (_root.s10._visible == 1)) {
if (_root.s10.p1._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s10.p1._visible = 0;
this._x = _root.s10.p1._x + 325;
this._y = _root.s10.p1._y + 194;
this._visible = 1;
} else if ((_root.s14.p1.die._currentframe >= 62) && (_root.s14._visible == 1)) {
if (_root.s14.p1._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s14.p1._visible = 0;
this._x = _root.s14.p1._x + 325;
this._y = _root.s14.p1._y + 194;
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 2708 MovieClip "profdead" in Frame 7
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.s10.p2.die._currentframe >= 62) && (_root.s10._visible == 1)) {
if (_root.s10.p2._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s10.p1._visible = 0;
this._x = _root.s10.p2._x + 325;
this._y = _root.s10.p2._y + 194;
this._visible = 1;
} else if ((_root.s14.p2.die._currentframe >= 62) && (_root.s14._visible == 1)) {
if (_root.s14.p2._xscale == 34) {
this._xscale = 28;
} else {
this._xscale = -28;
}
_root.s14.p2._visible = 0;
this._x = _root.s14.p2._x + 325;
this._y = _root.s14.p2._y + 194;
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 2711 MovieClip in Frame 7
onClipEvent (load) {
this.stop();
this._visible = 0;
_root.thisxtop = random(500) + 100;
}
onClipEvent (enterFrame) {
this._x = _root.thisxtop;
this._y = 38.1;
this._visible = 1;
this.play();
}
Instance of Symbol 2713 MovieClip in Frame 7
onClipEvent (load) {
this.stop();
this._visible = 0;
_root.thisxbtm1 = random(500) + 100;
}
onClipEvent (enterFrame) {
this._x = _root.thisxbtm1;
this._y = 215.5;
this._visible = 1;
this.play();
}
Instance of Symbol 2713 MovieClip in Frame 7
onClipEvent (load) {
this.stop();
this._visible = 0;
this.gotoAndStop(35);
_root.thisxbtm2 = random(500) + 100;
}
onClipEvent (enterFrame) {
this._x = _root.thisxbtm2;
this._y = 214.2;
this._visible = 1;
this.play();
}
Instance of Symbol 2715 MovieClip in Frame 7
onClipEvent (load) {
this.stop();
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.s01._visible == 1) {
this.play();
this._visible = 1;
this._x = 311;
this._y = 269;
} else if (_root.s04._visible == 1) {
this.play();
this._visible = 1;
this._x = 534;
this._y = 269;
} else if (_root.s07._visible == 1) {
this.play();
this._visible = 1;
this._x = 146;
this._y = 100;
} else if (_root.s09._visible == 1) {
this.play();
this._visible = 1;
this._x = 494;
this._y = 266;
} else if (_root.s11._visible == 1) {
this.play();
this._visible = 1;
this._x = 260;
this._y = 413;
} else if (_root.s12._visible == 1) {
this.play();
this._visible = 1;
this._x = 900;
this._y = 413;
} else if (_root.s13._visible == 1) {
this.play();
this._visible = 1;
this._x = 507;
this._y = 108;
} else if (_root.s15._visible == 1) {
this.play();
this._visible = 1;
this._x = 507;
this._y = 108;
} else if (_root.s16._visible == 1) {
this.play();
this._visible = 1;
this._x = 474;
this._y = 267;
} else {
this._visible = 0;
this.stop();
}
}
Instance of Symbol 2715 MovieClip in Frame 7
onClipEvent (load) {
this._visible = 0;
this.gotoAndStop(25);
}
onClipEvent (enterFrame) {
if (_root.s09._visible == 1) {
this._visible = 1;
this.play();
this._x = 226;
this._y = 267;
} else if (_root.s13._visible == 1) {
this._visible = 1;
this.play();
this._x = 212;
this._y = 107;
} else if (_root.s15._visible == 1) {
this._visible = 1;
this.play();
this._x = 212;
this._y = 107;
} else if (_root.s16._visible == 1) {
this._visible = 1;
this.play();
this._x = 126;
this._y = 107;
} else {
this.stop();
this._visible = 0;
}
}
Instance of Symbol 2719 MovieClip in Frame 7
onClipEvent (load) {
this._visible = 0;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.s01._visible == 1) {
this._visible = 1;
this.play();
this._x = 340.6;
this._y = 10;
} else if (_root.s05._visible == 1) {
this._visible = 1;
this.play();
this._x = 340.6;
this._y = 10;
} else if (_root.s13._visible == 1) {
this._visible = 1;
this.play();
this._x = 340.6;
this._y = 10;
} else if (_root.s15._visible == 1) {
this._visible = 1;
this.play();
this._x = 340.6;
this._y = 10;
} else {
this.stop();
this._visible = 0;
}
}
Instance of Symbol 2721 MovieClip in Frame 7
onClipEvent (load) {
this._visible = 0;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.s03._visible == 1) {
this._visible = 1;
this.play();
this._x = 354.6;
this._y = 265.1;
} else if (_root.s16._visible == 1) {
this._visible = 1;
this.play();
this._x = 424.6;
this._y = 264.3;
} else if (_root.s08._visible == 1) {
this._visible = 1;
this.play();
this._x = 424.6;
this._y = 264.3;
} else if (_root.s09._visible == 1) {
this._visible = 1;
this.play();
this._x = 424.6;
this._y = 265.1;
} else {
this.stop();
this._visible = 0;
}
}
Instance of Symbol 2719 MovieClip in Frame 7
onClipEvent (load) {
this.gotoAndStop(160);
this._visible = 0;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.s13._visible == 1) {
this._visible = 1;
this.play();
this._x = 11.3;
this._y = 10;
} else if (_root.s15._visible == 1) {
this._visible = 1;
this.play();
this._x = 170;
this._y = 10;
} else {
this.stop();
this._visible = 0;
}
}
Instance of Symbol 2721 MovieClip in Frame 7
onClipEvent (load) {
this.gotoAndStop(169);
this._visible = 0;
this.stop();
}
onClipEvent (enterFrame) {
if (_root.s09._visible == 1) {
this._visible = 1;
this.play();
this._x = 150.9;
this._y = 265.1;
} else {
this.stop();
this._visible = 0;
}
}
Instance of Symbol 2723 MovieClip in Frame 7
onClipEvent (load) {
this._visible = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.bullets == 0) && (_root.drawn)) {
this._visible = 1;
this.play();
} else {
this._visible = 0;
this.gotoAndStop(1);
}
}
Instance of Symbol 2751 MovieClip "storyline" in Frame 7
onClipEvent (load) {
_root.nextWave = false;
_root.spacebar = 0;
_root.story1 = 0;
_root.story2 = 0;
_root.story3 = 0;
_root.story4 = 0;
_root.story5 = 0;
this.two._x = -1500;
this.three._x = -1500;
this.four._x = -1500;
this.five._x = -1500;
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((_root.s01._visible == 1) && (_root.player._y > 220)) && (_root.player._x >= 250)) && (_root.story2 == 0)) {
_root.runspeed = 0;
_root.speed = 0;
_root.spacebar = 1;
this.two._x = 0;
this._visible = 1;
this.gotoAndStop("st02");
} else if ((((_root.s10._visible == 1) && (_root.player._y > 220)) && (_root.story3 == 0)) && (_root.player._x <= 645)) {
_root.runspeed = 0;
_root.speed = 0;
_root.spacebar = 1;
this.three._x = 0;
this._visible = 1;
this.gotoAndStop("st03");
} else if ((((_root.s16._visible == 1) && (_root.player._y > 220)) && (_root.player._x >= 400)) && (_root.story4 == 0)) {
_root.speed = 0;
_root.runspeed = 0;
_root.nextWave = true;
_root.spacebar = 1;
this.four._x = 0;
this._visible = 1;
this.gotoAndStop("st04");
} else if ((((_root.s08._visible == 1) && (_root.player._y > 220)) && (_root.player._x >= 560)) && (_root.story5 == 0)) {
_root.speed = 0;
_root.runspeed = 0;
_root.spacebar = 1;
this.five._x = 0;
this._visible = 1;
this.gotoAndStop("st05");
} else if (this._visible == 0) {
this.gotoAndStop(1);
_root.spacebar = 0;
_root.speed = 2.93;
_root.runspeed = 7.7;
this.one._x = -1500;
this.two._x = -1500;
this.three._x = -1500;
this.four._x = -1500;
this._five._x = -1500;
} else {
this._visible = 0;
}
}
Instance of Symbol 2764 MovieClip in Frame 7
onClipEvent (load) {
this._visible = 0;
this.count.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (!_root.life) {
this._visible = 1;
this.count.play();
}
if ((!_root.life) && (_root.lives == 0)) {
this._visible = 0;
this.count.stop();
}
if (this._visible == 1) {
if (Key.isDown(32) && (_root.lives != 0)) {
_root.lifline.gotoAndStop(1);
_root.bullets = 12;
_root.life = true;
_root.dead = 0;
_root.player.gotoAndPlay("stand");
_root.lives = _root.lives - 1;
this._visible = 0;
this.count.gotoAndStop(1);
}
if (this.count._currentframe == 217) {
_root.gameOver._visible = 1;
_root.gameOver.gotoAndPlay(2);
this.count.stop();
this._visible = 0;
}
}
}
Instance of Symbol 2773 MovieClip "gameOver" in Frame 7
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((!_root.life) && (_root.lives == 0)) {
this._visible = 1;
this.play();
}
if (_currentframe == 700) {
this.stop();
}
}
Frame 8
stopAllSounds();
gotoAndPlay (7);
stop();
Symbol 6 MovieClip Frame 1
bar.stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
stop();
Instance of Symbol 64 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
_root.lifline.gotoAndStop(1);
_root.life = true;
_root.lives = 6;
_root.dead = 0;
_root.prof110ded = false;
_root.prof210ded = false;
stopAllSounds();
_root.Mouse.hide();
_parent._visible = 0;
_root.gotoAndStop("play");
}
Instance of Symbol 74 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("tutorial");
Mouse.hide();
}
Instance of Symbol 86 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.life = false;
_root.lives = 0;
_root.gotoAndStop("play");
Mouse.hide();
}
Symbol 361 MovieClip Frame 40
gotoAndPlay (17);
Symbol 418 MovieClip Frame 56
_parent.gotoAndStop("crouch");
Symbol 436 MovieClip Frame 21
_root.crouch = 0;
_parent.gotoAndStop("stand");
Symbol 495 MovieClip Frame 1
_root.doing = true;
_root.unholstering = true;
Symbol 495 MovieClip Frame 39
_root.doing = false;
_root.unholstering = false;
_parent.gotoAndStop("gstand");
Symbol 495 MovieClip Frame 43
_root.doing = false;
_root.unholstering = false;
_parent.gotoAndStop("gstand");
Symbol 495 MovieClip Frame 57
_root.unholstering = false;
_parent.gotoAndStop("gstand");
Symbol 554 MovieClip Frame 1
_root.life = false;
this.gotoAndPlay(5);
Symbol 554 MovieClip Frame 56
stop();
Symbol 588 MovieClip Frame 1
this.gotoAndPlay(6);
Symbol 588 MovieClip Frame 17
_parent.gotoAndStop("stand");
_root.gotShot = 0;
Symbol 643 MovieClip Frame 1
this.gotoAndPlay(6);
_root.life = false;
Symbol 643 MovieClip Frame 52
stop();
Symbol 688 MovieClip Frame 45
this.gotoAndPlay(20);
Symbol 747 MovieClip Frame 1
_root.life = false;
this.gotoAndPlay(8);
Symbol 747 MovieClip Frame 58
_root.life = false;
stop();
Symbol 766 MovieClip Frame 1
this.gotoAndPlay(4);
Symbol 766 MovieClip Frame 18
_parent.gotoAndStop("gstand");
_root.gotShot = 0;
Symbol 824 MovieClip Frame 1
this.gotoAndPlay(7);
_root.life = false;
Symbol 824 MovieClip Frame 56
_root.life = false;
stop();
Symbol 909 MovieClip Frame 1
_root.unholstering = true;
_root.doing = true;
Symbol 909 MovieClip Frame 81
_root.unholstering = false;
_root.doing = false;
_root.bullets = 12;
_parent.gotoAndStop("gstand");
Symbol 944 MovieClip Frame 34
_parent.gotoAndStop("crouch");
Symbol 979 MovieClip Frame 1
_root.unholstering = true;
Symbol 979 MovieClip Frame 34
_root.unholstering = false;
_parent.gotoAndStop("gcrouch");
Symbol 1006 MovieClip Frame 1
_root.blue = true;
_root.doing = true;
Symbol 1006 MovieClip Frame 6
_root.shellRNDM = random(3) + 1;
Symbol 1006 MovieClip Frame 7
_root.playerShooting = true;
_root.recochet = true;
Symbol 1006 MovieClip Frame 8
_root.playerShooting = false;
_root.recochet = false;
Symbol 1006 MovieClip Frame 10
_root.blue = false;
Symbol 1006 MovieClip Frame 24
_root.shellRNDM = 0;
_root.doing = false;
_root.bullets = _root.bullets - 1;
_parent.gotoAndStop("gstand");
Symbol 1015 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 2
stop();
Symbol 1015 MovieClip Frame 8
stop();
Symbol 1015 MovieClip Frame 14
stop();
Symbol 1043 MovieClip Frame 1
_root.blue = true;
Symbol 1043 MovieClip Frame 17
_root.crShellRNDM = random(2) + 1;
Symbol 1043 MovieClip Frame 18
_root.playerShooting1 = true;
_root.recochet = true;
Symbol 1043 MovieClip Frame 19
_root.playerShooting1 = false;
_root.recochet = false;
Symbol 1043 MovieClip Frame 27
_root.blue = false;
_root.bullets = _root.bullets - 1;
_parent.gotoAndStop("gcrouch");
Symbol 1047 MovieClip Frame 1
_root.crShellRNDM = 0;
stop();
Symbol 1047 MovieClip Frame 2
stop();
Symbol 1047 MovieClip Frame 8
stop();
Symbol 1106 MovieClip Frame 1
_root.doing = true;
gotoAndPlay (19);
Symbol 1106 MovieClip Frame 57
_root.doing = false;
_parent.gotoAndStop("stand");
Symbol 1333 MovieClip Frame 1
_root.unholstering = true;
Symbol 1333 MovieClip Frame 13
_root.unholstering = false;
_parent.gotoAndStop("gcrouch");
Symbol 1347 MovieClip Frame 1
_root.unholstering = true;
Symbol 1347 MovieClip Frame 13
_root.unholstering = false;
_root.crouch = 0;
_parent.gotoAndStop("gstand");
Symbol 1475 MovieClip Frame 1
_root.blue = true;
_root.doing = true;
Symbol 1475 MovieClip Frame 30
_root.blue = false;
_root.doing = false;
_root.caver();
_parent.gotoAndStop("caveout");
Symbol 1509 MovieClip Frame 1
_root.doing = true;
Symbol 1509 MovieClip Frame 33
_root.doing = false;
if (_root.drawn) {
_parent.gotoAndStop("gstand");
} else {
_parent.gotoAndStop("stand");
}
Symbol 1536 MovieClip Frame 26
gotoAndPlay (10);
Symbol 1537 MovieClip Frame 1
_root.unholstering = false;
_root.alreadyShot = 0;
_root.gotShot = 0;
_root.wait = 0;
stop();
Symbol 1537 MovieClip Frame 7
stop();
Symbol 1537 MovieClip Frame 12
_root.wait = 1;
stop();
Symbol 1537 MovieClip Frame 17
_root.wait = 1;
stop();
Symbol 1537 MovieClip Frame 21
stop();
Symbol 1537 MovieClip Frame 26
stop();
Symbol 1537 MovieClip Frame 31
_root.wait = 0;
stop();
Symbol 1537 MovieClip Frame 37
stop();
Symbol 1537 MovieClip Frame 42
stop();
Symbol 1537 MovieClip Frame 48
stop();
Symbol 1537 MovieClip Frame 54
_root.playerShooting1 = false;
_root.playerShooting = false;
_root.recochet = false;
stop();
Symbol 1537 MovieClip Frame 59
stop();
Symbol 1537 MovieClip Frame 64
_root.recochet = false;
stop();
Symbol 1537 MovieClip Frame 70
stop();
Symbol 1537 MovieClip Frame 76
stop();
Symbol 1537 MovieClip Frame 81
stop();
Symbol 1537 MovieClip Frame 87
_root.alreadyShot = 1;
stop();
Instance of Symbol 1015 MovieClip "shell" in Symbol 1537 MovieClip Frame 87
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.shellRNDM == 1) {
this._visible = 1;
this.gotoAndStop("shell1");
} else if (_root.shellRNDM == 2) {
this._visible = 1;
this.gotoAndStop("shell2");
} else if (_root.shellRNDM == 3) {
this._visible = 1;
this.gotoAndStop("shell3");
} else {
this.gotoAndStop(1);
this._visible = 0;
}
}
Symbol 1537 MovieClip Frame 92
_root.alreadyShot = 1;
stop();
Instance of Symbol 1047 MovieClip in Symbol 1537 MovieClip Frame 92
onClipEvent (load) {
this._visible = 0;
_root.crShellRNDM = 0;
}
onClipEvent (enterFrame) {
if (_root.crShellRNDM == 1) {
this._visible = 1;
this.gotoAndStop("shell1");
} else if (_root.crShellRNDM == 2) {
this._visible = 1;
this.gotoAndStop("shell2");
} else {
this._visible = 0;
this.gotoAndStop(1);
}
}
Symbol 1537 MovieClip Frame 97
stop();
Symbol 1537 MovieClip Frame 101
_root.playerShooting1 = false;
_root.playerShooting = false;
_root.recochet = false;
_root.unholstering = false;
_root.alreadyShot = 0;
_root.gotShot = 0;
_root.doing = false;
_root.wait = 0;
stop();
Symbol 1537 MovieClip Frame 107
stop();
Symbol 1537 MovieClip Frame 113
_root.playerShooting1 = false;
_root.playerShooting = false;
_root.recochet = false;
stop();
Symbol 1537 MovieClip Frame 118
_root.alreadyShot = 0;
_root.wait = 0;
stop();
Symbol 1537 MovieClip Frame 126
_root.alreadyShot = 1;
_root.unholstering = true;
_root.wait = 1;
stop();
Symbol 1537 MovieClip Frame 132
_root.unholstering = true;
_root.alreadyShot = 1;
_root.wait = 1;
stop();
Symbol 1537 MovieClip Frame 140
stop();
Symbol 1540 MovieClip Frame 80
_root.walk = true;
_root.right = true;
Symbol 1540 MovieClip Frame 161
_root.walk = false;
_root.right = false;
Symbol 1540 MovieClip Frame 204
_root.walk = true;
_root.left = true;
Symbol 1540 MovieClip Frame 276
_root.walk = false;
_root.left = false;
Symbol 1540 MovieClip Frame 294
_root.walk = true;
_root.right = true;
Symbol 1540 MovieClip Frame 301
_root.walk = false;
_root.right = false;
Symbol 1540 MovieClip Frame 303
_root.run = true;
_root.right = true;
Symbol 1540 MovieClip Frame 349
_root.run = false;
_root.right = false;
Symbol 1540 MovieClip Frame 370
_root.run = true;
_root.left = true;
Symbol 1540 MovieClip Frame 417
_root.run = false;
_root.left = false;
Symbol 1540 MovieClip Frame 470
_root.walk = true;
_root.right = true;
Symbol 1540 MovieClip Frame 479
_root.walk = false;
_root.right = false;
Symbol 1540 MovieClip Frame 499
_root.unholster = true;
Symbol 1540 MovieClip Frame 534
_root.unholster = false;
Symbol 1540 MovieClip Frame 569
_root.shoot = true;
Symbol 1540 MovieClip Frame 635
_root.shoot = false;
Symbol 1540 MovieClip Frame 692
_root.reload = true;
Symbol 1540 MovieClip Frame 768
_root.reload = false;
Symbol 1540 MovieClip Frame 814
_root.crouch = true;
_root.unhol = true;
Symbol 1540 MovieClip Frame 825
_root.crouch = false;
_root.crouched = true;
Symbol 1540 MovieClip Frame 876
_root.shoot = true;
Symbol 1540 MovieClip Frame 899
_root.shoot = false;
Symbol 1540 MovieClip Frame 930
_root.crouched = false;
_root.standUp = true;
Symbol 1540 MovieClip Frame 939
_root.standUp = false;
Symbol 1540 MovieClip Frame 963
_root.holster = true;
Symbol 1540 MovieClip Frame 1001
_root.holster = false;
Symbol 1540 MovieClip Frame 1032
_root.walk = true;
_root.right = true;
Symbol 1540 MovieClip Frame 1159
_root.walk = false;
_root.right = false;
Symbol 1540 MovieClip Frame 1193
_root.cave = true;
Symbol 1540 MovieClip Frame 1221
_root.cave = false;
_parent.player._x = -300;
_parent.player._y = -70;
_root.caveout = true;
Symbol 1540 MovieClip Frame 1250
_root.caveout = false;
Symbol 1540 MovieClip Frame 1265
_root.walk = true;
_root.right = true;
Symbol 1540 MovieClip Frame 1296
_root.walk = false;
_root.right = false;
Symbol 1540 MovieClip Frame 1315
_root.walk = true;
_root.left = true;
Symbol 1540 MovieClip Frame 1346
_root.walk = false;
_root.left = false;
Symbol 1540 MovieClip Frame 1362
_root.cave = true;
Symbol 1540 MovieClip Frame 1389
_root.cave = false;
_parent.player._x = 300;
_parent.player._y = 164;
_root.caveout = true;
Symbol 1540 MovieClip Frame 1418
_root.caveout = false;
Symbol 1540 MovieClip Frame 1437
_root.run = true;
_root.left = true;
Symbol 1540 MovieClip Frame 1497
_root.run = false;
_root.left = false;
Instance of Symbol 1537 MovieClip "player" in Symbol 1543 MovieClip Frame 1
onClipEvent (load) {
speed = 4.5;
runspeed = 12;
this._xscale = 100;
this.gotoAndStop("stand");
}
onClipEvent (enterFrame) {
if (_root.walk == true) {
this.gotoAndStop("walk");
if (_root.left == true) {
this._xscale = -100;
this._x = this._x - speed;
}
if (_root.right == true) {
this._xscale = 100;
this._x = this._x + speed;
}
} else if (_root.run == true) {
this.gotoAndStop("run");
if (_root.left == true) {
this._xscale = -100;
this._x = this._x - runspeed;
}
if (_root.right == true) {
this._xscale = 100;
this._x = this._x + runspeed;
}
} else if (_root.unholster == true) {
unhol = true;
this.gotoAndStop("draw");
} else if (_root.holster == true) {
unhol = false;
this.gotoAndStop("hol");
} else if (_root.crouch == true) {
if (_root.unhol == true) {
this.gotoAndStop("gdown");
} else {
this.gotoAndStop("down");
}
} else if (_root.crouched == true) {
if (_root.shoot == true) {
this.gotoAndStop("cshot");
} else {
this.gotoAndStop("gcrouch");
}
} else if (_root.standUp == true) {
this.gotoAndStop("gup");
} else if (_root.shoot == true) {
if (_root.crouch == true) {
this.gotoAndStop("cshot");
} else {
this.gotoAndStop("shot");
}
} else if (_root.reload == true) {
this.gotoAndStop("reload");
} else if (_root.cave == true) {
this.gotoAndStop("cavein");
} else if (_root.caveout == true) {
this.gotoAndStop("caveout");
} else if (unhol == true) {
this.gotoAndStop("gstand");
} else {
this.gotoAndStop("stand");
}
}
Symbol 1546 MovieClip Frame 1
stop();
Symbol 1546 MovieClip Frame 2
stop();
Symbol 1553 MovieClip Frame 1
stop();
Symbol 1553 MovieClip Frame 2
stop();
Symbol 1553 MovieClip Frame 3
stop();
Symbol 1553 MovieClip Frame 4
stop();
Symbol 1553 MovieClip Frame 5
stop();
Symbol 1553 MovieClip Frame 6
stop();
Instance of Symbol 1553 MovieClip "sparks" in Symbol 1558 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.crouch) {
this._y = -45;
} else {
this._y = -100;
}
}
Instance of Symbol 47 MovieClip "c1" in Symbol 1561 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "1";
}
}
Symbol 1593 MovieClip Frame 27
this.gotoAndPlay(10);
Symbol 1645 MovieClip Frame 50
_parent.Hostage = true;
Symbol 1685 MovieClip Frame 1
this.gotoAndPlay(10);
Symbol 1685 MovieClip Frame 39
_parent.Unhol = true;
stop();
Symbol 1748 MovieClip Frame 62
stop();
Symbol 1798 MovieClip Frame 49
parent.gotoAndStop("stand");
Symbol 1855 MovieClip Frame 56
this.gotoAndPlay(9);
Symbol 1894 MovieClip Frame 1
gotoAndPlay (24);
Symbol 1894 MovieClip Frame 29
_root.profShot();
Symbol 1931 MovieClip Frame 39
_parent.Unhol = false;
stop();
Symbol 1932 MovieClip Frame 1
stop();
Symbol 1932 MovieClip Frame 6
stop();
Symbol 1932 MovieClip Frame 13
stop();
Symbol 1932 MovieClip Frame 21
stop();
Symbol 1932 MovieClip Frame 27
stop();
Symbol 1932 MovieClip Frame 32
stop();
Symbol 1932 MovieClip Frame 38
stop();
Symbol 1932 MovieClip Frame 44
stop();
Instance of Symbol 47 MovieClip "c0" in Symbol 1933 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "0";
}
}
Instance of Symbol 1932 MovieClip "p1" in Symbol 1933 MovieClip Frame 1
onClipEvent (load) {
delay = 2;
leftRange = 150;
rightRange = 150;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 34;
Speed = 2.3;
Death = false;
Unhol = false;
Hostage = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (_y < 20)) || ((_root.player._y < 220) && (_y > 20)))) {
Speed = 2.3;
if (action == "stand") {
Hostage = false;
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == 34) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = 34;
this._x = this._x - 30;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = -34;
this._x = this._x + 30;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (_y < 20)) || ((_root.player._y > 220) && (_y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = -34;
} else {
_xscale = 34;
}
if (((!Hostage) && (Unhol == false)) && (counter == (delay * 25))) {
actionsStarted = true;
Speed = 1;
action = "hostage";
this.gotoAndStop("hostage");
} else if (Hostage && (Unhol == false)) {
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
actionsStarted = false;
counter = 0;
Unhol = false;
Hostage = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (!Unhol) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Symbol 2170 MovieClip Frame 1
gotoAndPlay (8);
Symbol 2170 MovieClip Frame 33
gotoAndPlay (10);
Symbol 2214 MovieClip Frame 1
gotoAndPlay (7);
Symbol 2214 MovieClip Frame 43
_parent.Unhol = true;
stop();
Symbol 2258 MovieClip Frame 43
_parent.Unhol = false;
stop();
Symbol 2283 MovieClip Frame 12
_root.enShot();
Symbol 2283 MovieClip Frame 23
gotoAndPlay (3);
Symbol 2319 MovieClip Frame 1
this.gotoAndPlay(4);
Symbol 2319 MovieClip Frame 35
stop();
Symbol 2320 MovieClip Frame 1
stop();
Symbol 2320 MovieClip Frame 6
stop();
Symbol 2320 MovieClip Frame 12
stop();
Symbol 2320 MovieClip Frame 20
stop();
Symbol 2320 MovieClip Frame 26
stop();
Symbol 2320 MovieClip Frame 32
stop();
Instance of Symbol 47 MovieClip "c2" in Symbol 2321 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "2";
}
}
Instance of Symbol 1553 MovieClip "sparks" in Symbol 2321 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.crouch) {
this._y = 118;
} else {
this._y = 69;
}
}
Instance of Symbol 2320 MovieClip "e1" in Symbol 2321 MovieClip Frame 1
onClipEvent (load) {
delay = 2;
leftRange = 200;
rightRange = 200;
_xscale = -100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Symbol 2483 MovieClip Frame 41
gotoAndPlay (12);
Symbol 2512 MovieClip Frame 28
_parent.Unhol = true;
stop();
Symbol 2536 MovieClip Frame 1
gotoAndPlay (4);
Symbol 2536 MovieClip Frame 8
_root.enShot();
Symbol 2594 MovieClip Frame 57
stop();
Symbol 2623 MovieClip Frame 28
_parent.Unhol = false;
Symbol 2624 MovieClip Frame 1
stop();
Symbol 2624 MovieClip Frame 7
stop();
Instance of Symbol 2483 MovieClip in Symbol 2624 MovieClip Frame 7
/* no clip actions */
Symbol 2624 MovieClip Frame 12
stop();
stop();
Symbol 2624 MovieClip Frame 20
stop();
Symbol 2624 MovieClip Frame 26
stop();
Symbol 2624 MovieClip Frame 30
stop();
Instance of Symbol 47 MovieClip "c4" in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "4";
}
}
Instance of Symbol 47 MovieClip "c5" in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "5";
}
}
Instance of Symbol 2624 MovieClip "e2" in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 200;
rightRange = 200;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if ((action == "stand") || (action == "shoot")) {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 40;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 40;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2320 MovieClip "e1" in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if ((action == "stand") || (action == "shoot")) {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if ((action == "stand") || (action == "shoot")) {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 40;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 40;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 40;
rightRange = 40;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if ((action == "stand") || (action == "shoot")) {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 40;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 40;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if ((action == "stand") || (action == "shoot")) {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 40;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 40;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2625 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if ((action == "stand") || (action == "shoot")) {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 40;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 40;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip "e2" in Symbol 2628 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip "e1" in Symbol 2628 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 200;
rightRange = 200;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2628 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2628 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip in Symbol 2628 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 47 MovieClip "c3" in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "3";
}
}
Instance of Symbol 2320 MovieClip "e1" in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 1932 MovieClip "p1" in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 200;
rightRange = 200;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 34;
Speed = 2.3;
Death = false;
Unhol = false;
Hostage = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (_y < 20)) || ((_root.player._y < 220) && (_y > 20)))) {
Speed = 2.3;
if (action == "stand") {
Hostage = false;
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == 34) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = 34;
this._x = this._x - 30;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = -34;
this._x = this._x + 30;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (_y < 20)) || ((_root.player._y > 220) && (_y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = -34;
} else {
_xscale = 34;
}
if (((!Hostage) && (Unhol == false)) && (counter == (delay * 25))) {
actionsStarted = true;
Speed = 1;
action = "hostage";
this.gotoAndStop("hostage");
} else if (Hostage && (Unhol == false)) {
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
actionsStarted = false;
counter = 0;
Unhol = false;
Hostage = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (!Unhol) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 200;
rightRange = 200;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2631 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 200;
rightRange = 200;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Symbol 2636 MovieClip Frame 1
stop();
Instance of Symbol 47 MovieClip "c6" in Symbol 2636 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "6";
}
}
Instance of Symbol 1553 MovieClip "sparks" in Symbol 2636 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.crouch) {
this._y = 118;
} else {
this._y = 69;
}
}
Instance of Symbol 1932 MovieClip "p1" in Symbol 2636 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 34;
Speed = 2.3;
Death = false;
Unhol = false;
Hostage = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (_y < 20)) || ((_root.player._y < 220) && (_y > 20)))) {
Speed = 2.3;
if (action == "stand") {
Hostage = false;
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == 34) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = 34;
this._x = this._x - 30;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = -34;
this._x = this._x + 30;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (_y < 20)) || ((_root.player._y > 220) && (_y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = -34;
} else {
_xscale = 34;
}
if (((!Hostage) && (Unhol == false)) && (counter == (delay * 25))) {
actionsStarted = true;
Speed = 1;
action = "hostage";
this.gotoAndStop("hostage");
} else if (Hostage && (Unhol == false)) {
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
actionsStarted = false;
counter = 0;
Unhol = false;
Hostage = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (!Unhol) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Symbol 2636 MovieClip Frame 2
stop();
Instance of Symbol 2624 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 0;
leftRange = 30;
rightRange = 30;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 0;
leftRange = 120;
rightRange = 120;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 0;
leftRange = 250;
rightRange = 250;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip in Symbol 2636 MovieClip Frame 2
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 47 MovieClip "c9" in Symbol 2639 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "9";
}
}
Instance of Symbol 2320 MovieClip "e2" in Symbol 2639 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2320 MovieClip "e1" in Symbol 2639 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2639 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2639 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Symbol 2645 MovieClip Frame 1
stop();
Symbol 2645 MovieClip Frame 2
stop();
Symbol 2645 MovieClip Frame 3
stop();
Symbol 2645 MovieClip Frame 4
stop();
Symbol 2645 MovieClip Frame 5
stop();
Symbol 2645 MovieClip Frame 6
stop();
Symbol 2648 MovieClip Frame 1
stop();
Symbol 2648 MovieClip Frame 2
stop();
Symbol 2648 MovieClip Frame 3
stop();
Symbol 2648 MovieClip Frame 4
stop();
Symbol 2648 MovieClip Frame 5
stop();
Instance of Symbol 47 MovieClip "c8" in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "8";
}
}
Instance of Symbol 2645 MovieClip "gbgTop" in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
Instance of Symbol 2648 MovieClip "gbgBtm" in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
Instance of Symbol 2624 MovieClip "e1" in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 200;
rightRange = 200;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 1932 MovieClip "p1" in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
_xscale = -34;
}
onClipEvent (enterFrame) {
if (_root.prof110ded == true) {
this.gotoAndStop("die");
} else {
this.gotoAndStop("stand");
}
}
Instance of Symbol 1932 MovieClip "p2" in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
_xscale = 34;
}
onClipEvent (enterFrame) {
if (_root.prof210ded == true) {
this.gotoAndStop("die");
} else {
this.gotoAndStop("stand");
}
}
Instance of Symbol 2320 MovieClip in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2649 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 47 MovieClip "c10" in Symbol 2652 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "10";
}
}
Instance of Symbol 2320 MovieClip "e1" in Symbol 2652 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 250;
rightRange = 250;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2652 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2652 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 200;
rightRange = 200;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2652 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip in Symbol 2652 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 47 MovieClip "c7" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "7";
}
}
Instance of Symbol 1553 MovieClip "sparks" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.crouch) {
this._y = -45;
} else {
this._y = -100;
}
}
Instance of Symbol 2645 MovieClip "gbgTop" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
Instance of Symbol 2648 MovieClip "gbgBtm" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
_root.recochet = false;
this._visible = 0;
}
Instance of Symbol 2624 MovieClip "e1" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip "e2" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2320 MovieClip "e3" in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 200;
rightRange = 200;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 150;
rightRange = 150;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2320 MovieClip in Symbol 2655 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 40;
rightRange = 40;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 47 MovieClip "c11" in Symbol 2658 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) && (Key.isDown(38))) && ((_root.crouch == 0) & (_root.wait == 0))) {
_root.player.gotoAndStop("cavein");
_root.inHere = "11";
}
}
Instance of Symbol 2320 MovieClip "e3" in Symbol 2658 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip "e2" in Symbol 2658 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip "e1" in Symbol 2658 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip in Symbol 2658 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2658 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2677 MovieClip in Symbol 2678 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_parent._visible == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1932 MovieClip "p2" in Symbol 2678 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 34;
Speed = 2.3;
Death = false;
Unhol = false;
Hostage = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (_y < 20)) || ((_root.player._y < 220) && (_y > 20)))) {
Speed = 2.3;
if (action == "stand") {
Hostage = false;
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == 34) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = 34;
this._x = this._x - 30;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = -34;
this._x = this._x + 30;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (_y < 20)) || ((_root.player._y > 220) && (_y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = -34;
} else {
_xscale = 34;
}
if (((!Hostage) && (Unhol == false)) && (counter == (delay * 25))) {
actionsStarted = true;
Speed = 1;
action = "hostage";
this.gotoAndStop("hostage");
} else if (Hostage && (Unhol == false)) {
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
actionsStarted = false;
counter = 0;
Unhol = false;
Hostage = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (!Unhol) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 1932 MovieClip "p1" in Symbol 2678 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 34;
Speed = 2.3;
Death = false;
Unhol = false;
Hostage = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (_y < 20)) || ((_root.player._y < 220) && (_y > 20)))) {
Speed = 2.3;
if (action == "stand") {
Hostage = false;
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == 34) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = 34;
this._x = this._x - 30;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = -34;
this._x = this._x + 30;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (_y < 20)) || ((_root.player._y > 220) && (_y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = -34;
} else {
_xscale = 34;
}
if (((!Hostage) && (Unhol == false)) && (counter == (delay * 25))) {
actionsStarted = true;
Speed = 1;
action = "hostage";
this.gotoAndStop("hostage");
} else if (Hostage && (Unhol == false)) {
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
actionsStarted = false;
counter = 0;
Unhol = false;
Hostage = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (!Unhol) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2320 MovieClip in Symbol 2678 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2681 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Instance of Symbol 2624 MovieClip in Symbol 2681 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 70;
rightRange = 70;
counter = 0;
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if (_root.nextWave == true) {
this._visible = 1;
this.st.play();
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
} else {
this._visible = 0;
this.st.gotoAndStop(1);
}
}
Symbol 2685 MovieClip Frame 84
_root.keyboard = true;
_root.s08.gotoAndStop(2);
Instance of Symbol 2320 MovieClip "e3" in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip "e2" in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
delay = 1;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2624 MovieClip "e1" in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 100;
rightRange = 100;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 65;
Speed = 2.6;
Death = false;
Unhol = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (this._y < 20)) || ((_root.player._y < 220) && (this._y > 20)))) {
Speed = 2.6;
if (action == "stand") {
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == -65) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = -65;
this._x = this._x - 20;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = 65;
this._x = this._x + 20;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (this._y < 20)) || ((_root.player._y > 220) && (this._y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = 65;
} else {
_xscale = -65;
}
if ((Unhol == false) && (counter == (delay * 25))) {
actionsStarted = true;
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
_root.playerShooting = false;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
counter = 0;
actionsStarted = false;
Unhol = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (Unhol == false) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 1932 MovieClip "p1" in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
delay = 0;
leftRange = 200;
rightRange = 200;
Set("\u00D4\u00AA\u00F8counter", 0);
actionsStarted = false;
action = "stand";
_xscale = 34;
Speed = 2.3;
Death = false;
Unhol = false;
Hostage = false;
initX = _x;
}
onClipEvent (enterFrame) {
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y > 220) && (_y < 20)) || ((_root.player._y < 220) && (_y > 20)))) {
Speed = 2.3;
if (action == "stand") {
Hostage = false;
if (Unhol == true) {
this.gotoAndStop("holster");
} else {
this.gotoAndStop("stand");
randomize = random(200);
}
}
if ((randomize == 25) && (action == "stand")) {
action = "walk";
}
if (action == "walk") {
this.gotoAndStop("walk");
if (_xscale == 34) {
this._x = this._x - Speed;
} else {
this._x = this._x + Speed;
}
}
if (_x > (initX + rightRange)) {
action = "stand";
_xscale = 34;
this._x = this._x - 30;
}
if (_x < (initX - leftRange)) {
action = "stand";
_xscale = -34;
this._x = this._x + 30;
}
}
if ((((_parent._visible == 1) && (!Death)) && (_root.life)) && (((_root.player._y < 220) && (_y < 20)) || ((_root.player._y > 220) && (_y > 20)))) {
if ((actionsStarted == false) && (delay != 0)) {
counter++;
}
if (_root.player._x > (_x + 325)) {
_xscale = -34;
} else {
_xscale = 34;
}
if (((!Hostage) && (Unhol == false)) && (counter == (delay * 25))) {
actionsStarted = true;
Speed = 1;
action = "hostage";
this.gotoAndStop("hostage");
} else if (Hostage && (Unhol == false)) {
action = "unholster";
this.gotoAndStop("unholster");
} else if (Unhol == true) {
action = "shoot";
this.gotoAndStop("shoot");
}
if (_root.playerShooting == true) {
if (((_root.player._xscale > 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale < 0) && (_root.player._x < (_x + 325)))) {
_root.playerShooting = false;
} else if (random(2) == 1) {
this.gotoAndStop("die");
Death = true;
}
}
if (_root.playerShooting1 == true) {
if (((_root.player._xscale < 0) && (_root.player._x > (_x + 325))) || ((_root.player._xscale > 0) && (_root.player._x < (_x + 325)))) {
this.gotoAndStop("die");
Death = true;
}
}
}
if (Death) {
this.gotoAndStop("die");
}
if (!_parent._visible) {
actionsStarted = false;
counter = 0;
Unhol = false;
Hostage = false;
if (Death) {
this.gotoAndStop("die");
} else {
action = "stand";
this.gotoAndStop("stand");
}
}
if ((!Death) && (!_root.life)) {
if (!Unhol) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("holster");
}
}
}
Instance of Symbol 2685 MovieClip in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((_parent._visible == 1) && (this.hitTest(_root.player))) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2687 MovieClip in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.keyboard == true) {
this._visible = 1;
this.play();
}
if (this._currentframe == 75) {
this.stop();
this._visible = 0;
_root.keyboard = false;
}
}
Symbol 2698 MovieClip Frame 1
stop();
Symbol 2706 MovieClip Frame 1
stop();
Symbol 2706 MovieClip Frame 2
stop();
Symbol 2706 MovieClip Frame 3
stop();
Symbol 2706 MovieClip Frame 4
stop();
Symbol 2706 MovieClip Frame 5
stop();
Symbol 2706 MovieClip Frame 6
stop();
Symbol 2706 MovieClip Frame 7
stop();
Symbol 2711 MovieClip Frame 95
_root.thisxtop = random(800) + 100;
Symbol 2713 MovieClip Frame 84
_root.thisxbtm2 = random(800) + 100;
Symbol 2723 MovieClip Frame 1
stop();
Symbol 2723 MovieClip Frame 2
play();
Symbol 2723 MovieClip Frame 10
this.gotoAndPlay(2);
Symbol 2729 MovieClip Frame 82
stop();
Symbol 2731 MovieClip Frame 59
stop();
Instance of Symbol 47 MovieClip in Symbol 2731 MovieClip Frame 59
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic01");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic01");
}
}
Symbol 2731 MovieClip Frame 91
stop();
Instance of Symbol 47 MovieClip in Symbol 2731 MovieClip Frame 91
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic02");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic02");
}
}
Symbol 2731 MovieClip Frame 123
stop();
Instance of Symbol 47 MovieClip in Symbol 2731 MovieClip Frame 123
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic03");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic03");
}
}
Symbol 2731 MovieClip Frame 155
stop();
Instance of Symbol 47 MovieClip in Symbol 2731 MovieClip Frame 155
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_root.story2 = 1;
_parent._parent._visible = 0;
_root.player._x = 350;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_root.story2 = 1;
_parent._parent._visible = 0;
_root.player._x = 350;
}
}
Symbol 2739 MovieClip Frame 59
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 59
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic01");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic01");
}
}
Symbol 2739 MovieClip Frame 91
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 91
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic02");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic02");
}
}
Symbol 2739 MovieClip Frame 123
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 123
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic03");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic03");
}
}
Symbol 2739 MovieClip Frame 125
_root.prof110ded = true;
Symbol 2739 MovieClip Frame 155
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 155
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic04");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic04");
}
}
Symbol 2739 MovieClip Frame 187
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 187
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic05");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic05");
}
}
Symbol 2739 MovieClip Frame 219
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 219
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic06");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic06");
}
}
Symbol 2739 MovieClip Frame 251
stop();
Instance of Symbol 47 MovieClip in Symbol 2739 MovieClip Frame 251
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_root.player.shoot.gotoAndPlay(1);
_root.prof210ded = true;
_root.story3 = 1;
_parent._parent._visible = 0;
_root.player._x = 325;
_root.player._xscale = 65;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_root.player.shoot.gotoAndPlay(1);
_root.prof210ded = true;
_root.story3 = 1;
_parent._parent._visible = 0;
_root.player._x = 325;
_root.player._xscale = 65;
}
}
Symbol 2743 MovieClip Frame 29
_root.speed = 0;
Symbol 2743 MovieClip Frame 59
stop();
Instance of Symbol 47 MovieClip in Symbol 2743 MovieClip Frame 59
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic01");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic01");
}
}
Symbol 2743 MovieClip Frame 91
stop();
Instance of Symbol 47 MovieClip in Symbol 2743 MovieClip Frame 91
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic02");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic02");
}
}
Symbol 2743 MovieClip Frame 123
stop();
Instance of Symbol 47 MovieClip in Symbol 2743 MovieClip Frame 123
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic03");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic03");
}
}
Symbol 2743 MovieClip Frame 155
stop();
Instance of Symbol 47 MovieClip in Symbol 2743 MovieClip Frame 155
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_root.story4 = 1;
_parent._parent._visible = 0;
_root.player._x = 560;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_root.story4 = 1;
_parent._parent._visible = 0;
_root.player._x = 560;
}
}
Symbol 2750 MovieClip Frame 61
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 61
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic01");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic01");
}
}
Symbol 2750 MovieClip Frame 93
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 93
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic02");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic02");
}
}
Symbol 2750 MovieClip Frame 125
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 125
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic03");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic03");
}
}
Symbol 2750 MovieClip Frame 157
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 157
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic04");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic04");
}
}
Symbol 2750 MovieClip Frame 189
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 189
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic05");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic05");
}
}
Symbol 2750 MovieClip Frame 221
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 221
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_parent.gotoAndPlay("comic06");
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_parent.gotoAndPlay("comic06");
}
}
Symbol 2750 MovieClip Frame 253
stop();
Instance of Symbol 47 MovieClip in Symbol 2750 MovieClip Frame 253
onClipEvent (load) {
this._alpha = 0;
}
on (release) {
_root.story5 = 1;
_parent._parent._visible = 0;
_root.life = false;
_root.lives = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.spacebar == 1)) {
_root.story5 = 1;
_parent._parent._visible = 0;
_root.life = false;
_root.lives = 0;
}
}
Symbol 2751 MovieClip Frame 1
stop();
Symbol 2751 MovieClip Frame 2
stop();
Symbol 2751 MovieClip Frame 7
stop();
Symbol 2751 MovieClip Frame 12
stop();
Instance of Symbol 2739 MovieClip "three" in Symbol 2751 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.nonshoot = true;
}
Symbol 2751 MovieClip Frame 17
stop();
Symbol 2751 MovieClip Frame 22
stop();
Symbol 2763 MovieClip Frame 217
stopAllSounds();
_root.life = false;
_root.lives = 0;
stop();
Symbol 2773 MovieClip Frame 700
Mouse.show();
stop();
Instance of Symbol 1546 MovieClip in Symbol 2773 MovieClip Frame 700
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
_root.menu._visible = 1;
_root.gotoAndStop("cover");
_parent._visible = 0;
_parent.gotoAndStop(1);
this._visible = 0;
}