Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
sc.number = 0;
he.health = 100;
he.energy = 100;
he.money = 0;
he.kills = 0;
_root.sc.score.text = score;
stop();
text1.event1.text = "";
_root.text1._alpha = 0;
Instance of Symbol 91 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 136 MovieClip "player" in Frame 4
onClipEvent (load) {
speed = 5;
speed2 = 3;
scale = _xscale;
firespeed = 80;
firing = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - speed2;
this.gotoAndStop(2);
}
if (Key.isDown(40)) {
this._y = this._y + speed2;
this.gotoAndStop(2);
}
if (Key.isDown(37)) {
this._x = this._x - speed;
this.gotoAndStop(2);
_xscale = (-scale);
}
if (Key.isDown(68)) {
_root.player.gotoAndStop(3);
}
if (Key.isDown(68) and (Key.isDown(37) and Key.isDown(39))) {
_root.player.gotoAndPlay(3);
}
if (Key.isDown(39)) {
this._x = this._x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
if (Key.isDown(83)) {
speed = 10;
_root.he.energy = _root.he.energy - 1;
} else {
speed = 5;
_root.he.energy = _root.he.energy + 0;
}
if (_root.he.energy <= 99) {
if (Key.isDown(83)) {
_root.he.energy = _root.he.energy + 0;
speed = 10;
} else {
_root.he.energy = _root.he.energy + 1;
}
}
if (_root.he.energy <= -1) {
speed = 5;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
if (this.hitTest(_root.zombie)) {
_root.he.health = _root.he.health - 5;
}
if (this.hitTest(_root.zombie2)) {
_root.he.health = _root.he.health - 5;
}
if (this.hitTest(_root.zombie3)) {
_root.he.health = _root.he.health - 5;
}
if (this.hitTest(_root.zombie4)) {
_root.he.health = _root.he.health - 5;
}
if (this.hitTest(_root.zombie5)) {
_root.he.health = _root.he.health - 5;
}
}
onClipEvent (enterFrame) {
if (_root.player.bull.hitTest(_root.zombie.zombie1) && (_root.zombie.zombie1._currentframe != 2)) {
_root.zombie.zombie1.gotoAndPlay(2);
_root.zombie.stop();
}
}
onClipEvent (enterFrame) {
if (_root.player.bull.hitTest(_root.zombie2.zombie1) && (_root.zombie2.zombie1._currentframe != 2)) {
_root.zombie2.zombie1.gotoAndPlay(2);
_root.zombie2.stop();
}
}
onClipEvent (enterFrame) {
if (_root.player.bull.hitTest(_root.zombie3.zombie1) && (_root.zombie3.zombie1._currentframe != 2)) {
_root.zombie3.zombie1.gotoAndPlay(2);
_root.zombie3.stop();
}
}
onClipEvent (enterFrame) {
if (_root.player.bull.hitTest(_root.zombie4.zombie1) && (_root.zombie4.zombie1._currentframe != 2)) {
_root.zombie4.zombie1.gotoAndPlay(2);
_root.zombie4.stop();
}
}
onClipEvent (enterFrame) {
if (_root.player.bull.hitTest(_root.zombie5.zombie1) && (_root.zombie5.zombie1._currentframe != 2)) {
_root.zombie5.zombie1.gotoAndPlay(2);
_root.zombie5.stop();
}
}
onClipEvent (enterFrame) {
if (_root.he.health <= 0) {
_root.gotoAndPlay("die");
}
}
Instance of Symbol 138 MovieClip "camera" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.player._x;
}
Instance of Symbol 140 MovieClip "screen" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.player._x;
}
Instance of Symbol 151 MovieClip "car1" in Frame 4
onClipEvent (enterFrame) {
if ((_root.player.hitTest(_root.car1) && (_root.car1._currentframe != 2)) && (Key.isDown(32))) {
_root.car1.gotoAndPlay(2);
}
}
Instance of Symbol 151 MovieClip "car2" in Frame 4
onClipEvent (enterFrame) {
if ((bombs = true)) {
if ((_root.player.hitTest(_root.car2) && (_root.car2._currentframe != 2)) && (Key.isDown(32))) {
_root.car2.gotoAndPlay(2);
}
}
}
Instance of Symbol 159 MovieClip "car3" in Frame 4
onClipEvent (enterFrame) {
if ((_root.player.hitTest(_root.car3) && (_root.car3._currentframe != 2)) && (Key.isDown(32))) {
_root.car3.gotoAndPlay(2);
}
}
Instance of Symbol 91 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - 5;
}
}
Instance of Symbol 171 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 175 MovieClip "sc" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.player._x;
}
Instance of Symbol 186 MovieClip "he" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.player._x;
if (Key.isDown(79)) {
this._alpha = 0;
}
if (Key.isDown(80)) {
this._alpha = 100;
}
}
Instance of Symbol 191 MovieClip "text1" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.screen._x;
}
Frame 5
stopAllSounds();
Frame 70
stop();
Symbol 13 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 18 Button
on (release) {
_root.play();
}
Symbol 19 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 19 MovieClip Frame 2
gotoAndPlay (1);
Symbol 35 Button
on (release) {
gotoAndStop (4);
}
Symbol 37 Button
on (release) {
gotoAndStop (3);
}
Symbol 43 Button
on (release) {
getURL ("http://newgrounds.com/collection/halloween2006.html", "_blank");
}
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 7
stop();
Symbol 57 Button
on (release) {
gotoAndStop (2);
}
Symbol 62 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip "wall" in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 64 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 66 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 70 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 71 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 73 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 73 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 74 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - 2.999999;
}
}
Instance of Symbol 76 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 10;
}
}
Instance of Symbol 78 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 78 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 71 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 71 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 2.99999;
}
}
Instance of Symbol 79 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 80 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 80 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 80 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 81 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 82 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 10;
}
}
Instance of Symbol 83 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 84 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 84 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 84 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 84 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 85 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 86 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 11
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 39
_root.he.kills = _root.he.kills + 1;
_root.sc.number = _root.sc.number + 100;
Instance of Symbol 105 MovieClip "coin" in Symbol 106 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndPlay(2);
_root.he.money = _root.he.money + 10;
_root.sc.number = _root.sc.number + 10;
}
}
Symbol 106 MovieClip Frame 121
_root.zombie.gotoAndPlay(1);
_root.zombie.zombie1.gotoAndStop(1);
_root.zombie._x = random(2000);
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 39
_root.he.kills = _root.he.kills + 1;
_root.sc.number = _root.sc.number + 100;
Instance of Symbol 105 MovieClip "coin" in Symbol 108 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndPlay(2);
_root.he.money = _root.he.money + 10;
_root.sc.number = _root.sc.number + 10;
}
}
Symbol 108 MovieClip Frame 113
_root.zombie2.gotoAndPlay(1);
_root.zombie2.zombie1.gotoAndStop(1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 39
_root.he.kills = _root.he.kills + 1;
_root.sc.number = _root.sc.number + 100;
Instance of Symbol 105 MovieClip "coin" in Symbol 110 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndPlay(2);
_root.he.money = _root.he.money + 10;
_root.sc.number = _root.sc.number + 10;
}
}
Symbol 110 MovieClip Frame 113
_root.zombie3.gotoAndPlay(1);
_root.zombie3.zombie1.gotoAndStop(1);
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 39
_root.he.kills = _root.he.kills + 1;
_root.sc.number = _root.sc.number + 100;
Instance of Symbol 105 MovieClip "coin" in Symbol 112 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndPlay(2);
_root.he.money = _root.he.money + 10;
_root.sc.number = _root.sc.number + 10;
}
}
Symbol 112 MovieClip Frame 111
_root.zombie4.gotoAndPlay(1);
_root.zombie4.zombie1.gotoAndStop(1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 39
_root.he.kills = _root.he.kills + 1;
_root.sc.number = _root.sc.number + 100;
Instance of Symbol 105 MovieClip "coin" in Symbol 114 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndPlay(2);
_root.he.money = _root.he.money + 10;
_root.sc.number = _root.sc.number + 10;
}
}
Symbol 114 MovieClip Frame 113
_root.zombie5.gotoAndPlay(1);
_root.zombie5.zombie1.gotoAndStop(1);
Symbol 128 MovieClip Frame 12
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
stop();
Instance of Symbol 128 MovieClip "bull" in Symbol 136 MovieClip Frame 3
onClipEvent (load) {
if (this.hitTest(_root.zombie) && (_root.zombie._currentframe != 2)) {
_root.zombie.z1.z2.z3.gotoAndPlay(2);
_root.zombie.stop();
}
}
Symbol 136 MovieClip Frame 4
stop();
Symbol 138 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 147 MovieClip in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Symbol 151 MovieClip Frame 14
stop();
Symbol 159 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 156 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 157 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Symbol 159 MovieClip Frame 14
stop();
Instance of Symbol 147 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x + 5;
}
}
Instance of Symbol 147 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = _root.player._x - 5;
}
}
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - 5;
}
}
Instance of Symbol 91 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - 5;
}
}
Instance of Symbol 91 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Instance of Symbol 91 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 5;
}
}
Symbol 189 MovieClip Frame 15
stop();