Frame 1
Menu.show(false);
Instance of Symbol 123 MovieClip in Frame 2
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root._ymouse - this._y);
_root.xChange = Math.round(_root._xmouse - this._x);
_root.yMove = Math.round(_root.yChange / 10);
_root.xMove = Math.round(_root.xChange / 10);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
}
Frame 50
stop();
Frame 51
stop();
Frame 52
stop();
Instance of Symbol 211 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_y = (_y - 5);
_rotation = 0;
}
play();
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_y = (_y - -5);
_rotation = 180;
}
play();
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - 5);
_rotation = 270;
}
play();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x - -5);
_rotation = 90;
}
if (Key.isDown(38)) {
if (Key.isDown(39)) {
_rotation = 45;
}
}
if (Key.isDown(40)) {
if (Key.isDown(39)) {
_rotation = 135;
}
}
if (Key.isDown(37)) {
if (Key.isDown(40)) {
_rotation = 225;
}
}
if (Key.isDown(38)) {
if (Key.isDown(37)) {
_rotation = 315;
}
}
}
Frame 53
stop();
Frame 54
stopAllSounds();
Frame 55
score = 0;
stop();
Instance of Symbol 224 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.score = _root.score + 5;
}
}
Instance of Symbol 227 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.score = _root.score + 5;
}
}
Instance of Symbol 211 MovieClip "player" in Frame 55
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_y = (_y - 8);
_rotation = 0;
}
play();
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_y = (_y - -8);
_rotation = 180;
}
play();
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - 8);
_rotation = 270;
}
play();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x - -8);
_rotation = 90;
}
if (Key.isDown(38)) {
if (Key.isDown(39)) {
_rotation = 45;
}
}
if (Key.isDown(40)) {
if (Key.isDown(39)) {
_rotation = 135;
}
}
if (Key.isDown(37)) {
if (Key.isDown(40)) {
_rotation = 225;
}
}
if (Key.isDown(38)) {
if (Key.isDown(37)) {
_rotation = 315;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie1)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie2)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie3)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie4)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie5)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie6)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie7)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie8)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie9)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie10)) {
_root.gotoAndPlay(56);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zombie11)) {
_root.gotoAndPlay(56);
}
}
Instance of Symbol 123 MovieClip "zombie" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
Instance of Symbol 123 MovieClip "zombie1" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie2" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie3" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie4" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie5" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie6" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie8" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie9" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie10" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Instance of Symbol 123 MovieClip "zombie11" in Frame 55
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.player._y - _y, _root.player._x - _x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.xChange = Math.round(_root.myRadians._x);
_root.yChange = Math.round(_root.myRadians._y);
_root.yMove = Math.round(_root.yChange / 30);
_root.xMove = Math.round(_root.xChange / 30);
this._y = yMove;
this._x = xMove;
this._rotation = myDegrees + 90;
}
onClipEvent (enterFrame) {
if (_root.player._x > _x) {
_x = (_x + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < _x) {
_x = (_x - 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y > _y) {
_y = (_y + 4);
}
}
onClipEvent (enterFrame) {
if (_root.player._y < _y) {
_y = (_y - 4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndPlay (56);
}
}
Frame 56
stop();
Symbol 28 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 30 MovieClip Frame 40
stop();
Symbol 42 Button
on (release) {
_root.play();
}
Symbol 43 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 43 MovieClip Frame 51
Symbol 69 MovieClip Frame 61
stop();
stop();
stop();
Symbol 70 MovieClip Frame 16
stop();
Symbol 127 Button
on (release) {
gotoAndPlay (54);
}
Symbol 131 Button
on (release) {
gotoAndPlay (52);
}
Symbol 135 Button
on (release) {
gotoAndPlay (51);
}
Symbol 158 Button
on (release) {
gotoAndPlay (50);
}
Symbol 211 MovieClip Frame 1
stop();
stop();
Symbol 213 Button
on (release) {
nextFrame();
}
Symbol 217 Button
on (release) {
prevFrame();
}
Symbol 221 Button
on (release) {
gotoAndPlay (50);
}
Symbol 236 Button
on (release) {
gotoAndPlay (55);
}