Frame 1
function itemHandler1(obj, item) {
getURL ("http://newgrounds.com", "_blank");
}
function itemHandler3(obj, item) {
getURL ("http://www.armorgames.com", "_blank");
}
function itemHandler2(obj, item) {
getURL ("mailto:flashburgerhelper@hotmailcom");
}
function itemHandler5(obj, item) {
_quality = "high";
}
function itemHandler6(obj, item) {
_quality = "medium";
}
function itemHandler7(obj, item) {
_quality = "low";
}
stop();
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 620;
__top10_send__.kid = "CKBSGN";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem("Visit Newgrounds", itemHandler1);
bbb_cmi = new ContextMenuItem("Visit ArmorGames", itemHandler3);
ccc_cmi = new ContextMenuItem("Email Me", itemHandler2);
eee_cmi = new ContextMenuItem("High Quality", itemHandler5);
fff_cmi = new ContextMenuItem("Mid Quality", itemHandler6);
ggg_cmi = new ContextMenuItem("Low Quality", itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, ccc_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
Instance of Symbol 120 MovieClip in Frame 1
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 141 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.mousemode == true) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 120 MovieClip in Frame 3
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 12
stop();
gamespeed = 3;
s = 0;
Instance of Symbol 174 MovieClip "we2" in Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + (_root.wheelspeed * 5));
while (_root.ground.hitTest(_x, _y + 30, 1)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 20, 1)) {
} else {
_y = (_y + 10);
}
}
Instance of Symbol 174 MovieClip "we1" in Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + (_root.wheelspeed * 5));
while (_root.ground.hitTest(_x, _y + 30, 1)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 20, 1)) {
} else {
_y = (_y + 10);
}
}
Instance of Symbol 179 MovieClip "car" in Frame 12
onClipEvent (load) {
_root.wheelspeed = 0;
i = 0;
cooldown = 0;
}
onClipEvent (enterFrame) {
cooldown--;
if (this.hitTest(_root.wall)) {
_root.wheelspeed = _root.wheelspeed * -1;
_root.wheelspeed = _root.wheelspeed + 5;
}
if (this.hitTest(_root.wall2)) {
_root.wheelspeed = _root.wheelspeed * -1;
_root.wheelspeed = _root.wheelspeed - 5;
}
if (_root.mousemode == true) {
if ((_root._xmouse > (_x + 150)) && (_root.wheelspeed < 10)) {
_root.wheelspeed++;
}
if ((_root._xmouse < (_x - 150)) && (_root.wheelspeed > -10)) {
_root.wheelspeed--;
}
} else {
if (Key.isDown(68) && (_root.wheelspeed < 10)) {
_root.wheelspeed++;
}
if (Key.isDown(65) && (_root.wheelspeed > -10)) {
_root.wheelspeed--;
}
}
if (_root.wheelspeed > 0) {
_root.wheelspeed = _root.wheelspeed - 0.5;
}
if (_root.wheelspeed < 0) {
_root.wheelspeed = _root.wheelspeed + 0.5;
}
_x = (_x + _root.wheelspeed);
if (_root.we1._y < _root.we2._y) {
_y = (_root.we1._y - 30);
} else {
_y = (_root.we2._y - 30);
}
angleRad = Math.atan2(_root.we1._y - _root.we2._y, _root.we1._x - _root.we2._x);
angleDeg = (angleRad * 180) / Math.PI;
_rotation = (angleDeg + 180);
_root.can._y = _y - 20;
_root.can._x = _x + (Math.cos(angleDeg) * 5);
_root.we1._x = _root.we1._x + _root.wheelspeed;
_root.we2._x = _root.we2._x + _root.wheelspeed;
}
onClipEvent (mouseDown) {
if (cooldown < 0) {
cooldown = 2;
_root.can.gotoAndPlay(2);
if (i > 20) {
i = 0;
}
duplicateMovieClip (_root.shot, "MCa" + i, 2001 + i);
_root["MCa" + i]._x = _root.can._x;
_root["MCa" + i]._y = _root.can._y;
_root["MCa" + i].shot._rotation = _root.can._rotation;
i++;
}
}
Instance of Symbol 185 MovieClip "can" in Frame 12
onClipEvent (enterFrame) {
angleRad = Math.atan2(_root._ymouse - _y, _root._xmouse - _x);
angleDeg = (angleRad * 180) / Math.PI;
_rotation = angleDeg;
}
Instance of Symbol 201 MovieClip "shot" in Frame 12
onClipEvent (load) {
fall = 0;
speed = _root.wheelspeed;
hit = false;
}
onClipEvent (enterFrame) {
if (_root.j > 20) {
_root.s = 0;
}
j = _root.s;
if (this.hitTest(_root.voidarea)) {
} else {
fall++;
_y = (_y + fall);
_x = (_x + speed);
if (hit == false) {
i = 0;
while (i < 23) {
if (this.hitTest(_root["enemy" + i].hitter)) {
_root.score = _root.score + 50;
if (_root.car._x < _root["enemy" + i]._x) {
_root["enemy" + i]._x = _root["enemy" + i]._x + 10;
} else {
_root["enemy" + i]._x = _root["enemy" + i]._x - 10;
}
shot.shot.play();
_root["enemy" + i].hp--;
_root["enemy" + i].gotoAndPlay("hit");
hit = true;
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["stars" + j]._x = _root["enemy" + i]._x;
_root["stars" + j]._y = _root["enemy" + i]._y;
_root.s++;
}
if (this.hitTest(_root["enemya" + i].hitter)) {
_root.score = _root.score + 70;
if (_root.car._x < _root["enemya" + i]._x) {
_root["enemya" + i]._x = _root["enemya" + i]._x + 10;
} else {
_root["enemya" + i]._x = _root["enemya" + i]._x - 10;
}
shot.shot.play();
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["enemya" + i].hp--;
_root["enemya" + i].gotoAndPlay("hit");
hit = true;
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["stars" + j]._x = _root["enemya" + i]._x;
_root["stars" + j]._y = _root["enemya" + i]._y;
_root.s++;
}
if (this.hitTest(_root["enemyb" + i].hitter)) {
_root.score = _root.score + 70;
if (_root.car._x < _root["enemyb" + i]._x) {
_root["enemyb" + i]._x = _root["enemyb" + i]._x + 10;
} else {
_root["enemyb" + i]._x = _root["enemyb" + i]._x - 10;
}
shot.shot.play();
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["enemyb" + i].hp--;
_root["enemyb" + i].nextFrame();
hit = true;
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["stars" + j]._x = _root["enemyb" + i]._x;
_root["stars" + j]._y = _root["enemyb" + i]._y;
_root.s++;
}
i++;
}
}
}
}
Instance of Symbol 203 MovieClip in Frame 12
onClipEvent (load) {
counter1 = 0;
i = 0;
waiter = 200;
}
onClipEvent (enterFrame) {
counter1++;
if (_root.hp <= 0) {
_root.play();
}
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.enemy, "enemy" + i, -1000 + i);
_root["enemy" + i]._x = 1500;
_root["enemy" + i]._y = _root.can._y;
i++;
duplicateMovieClip (_root.enemy, "enemy" + i, -1000 + i);
_root["enemy" + i]._x = -1500;
_root["enemy" + i]._y = _root.can._y;
counter1 = 0;
if (waiter > 30) {
waiter = waiter - 5;
}
}
if (i >= 100) {
i = 0;
}
}
Instance of Symbol 205 MovieClip in Frame 12
onClipEvent (load) {
_root.score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = (_root.car._y - 100);
score = _root.score;
}
Instance of Symbol 207 MovieClip in Frame 12
onClipEvent (load) {
_root.hp = 100;
}
onClipEvent (enterFrame) {
_x = (_root.car._x - 50);
_y = (_root.car._y + 40);
hp = _root.hp;
}
Instance of Symbol 203 MovieClip in Frame 12
onClipEvent (load) {
counter1 = -500;
i = 0;
waiter = 300;
}
onClipEvent (enterFrame) {
counter1++;
if (_root.hp <= 0) {
_root.play();
}
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.enemya, "enemya" + i, -1200 + i);
_root["enemya" + i]._x = 1500;
_root["enemya" + i]._y = _root.can._y;
i++;
duplicateMovieClip (_root.enemya, "enemya" + i, -1000 + i);
_root["enemya" + i]._x = -1500;
_root["enemya" + i]._y = _root.can._y;
counter1 = 0;
if (waiter > 30) {
waiter = waiter - 5;
}
}
if (i >= 100) {
i = 0;
}
}
Instance of Symbol 203 MovieClip in Frame 12
onClipEvent (load) {
counter1 = -1500;
i = 0;
waiter = 500;
}
onClipEvent (enterFrame) {
counter1++;
if (_root.hp <= 0) {
_root.play();
}
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.enemyb, "enemyb" + i, -1400 + i);
_root["enemyb" + i]._x = 1500;
_root["enemyb" + i]._y = _root.can._y;
i++;
duplicateMovieClip (_root.enemyb, "enemyb" + i, -1400 + i);
_root["enemyb" + i]._x = -1500;
_root["enemyb" + i]._y = _root.can._y;
counter1 = 0;
if (waiter > 30) {
waiter = waiter - 5;
}
}
if (i >= 100) {
i = 0;
}
}
Instance of Symbol 203 MovieClip in Frame 12
onClipEvent (load) {
counter1 = 0;
i = 0;
waiter = 50;
}
onClipEvent (enterFrame) {
counter1++;
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.heal, "heal" + i, -800 + i);
_root["heal" + i]._x = random(2800) - 1400;
_root["heal" + i]._y = -100;
counter1 = 0;
}
if (i >= 20) {
i = 0;
}
}
Instance of Symbol 235 MovieClip "enemy" in Frame 12
onClipEvent (load) {
hp = 10;
dieing = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else if (hp < 0) {
if (dieing == false) {
gotoAndPlay ("death");
dieing = true;
}
} else if (dieing == false) {
if (this.hitTest(_root.car)) {
_root.hp--;
_x = (_x + (_root.wheelspeed * 2));
hp--;
gotoAndPlay ("hit");
}
if (_x > _root.can._x) {
_x = (_x - _root.gamespeed);
_xscale = -100;
}
if (_x < _root.can._x) {
_x = (_x + _root.gamespeed);
_xscale = 100;
}
}
}
Instance of Symbol 235 MovieClip "enemya" in Frame 12
onClipEvent (load) {
hp = 30;
dieing = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else if (hp < 0) {
if (dieing == false) {
gotoAndPlay ("death");
dieing = true;
}
} else if (dieing == false) {
if (this.hitTest(_root.car)) {
_root.hp--;
_x = (_x + (_root.wheelspeed * 2));
hp--;
gotoAndPlay ("hit");
}
if (_x > _root.can._x) {
_x = (_x - _root.gamespeed);
_xscale = -100;
}
if (_x < _root.can._x) {
_x = (_x + _root.gamespeed);
_xscale = 100;
}
}
}
Instance of Symbol 235 MovieClip "enemyb" in Frame 12
onClipEvent (load) {
hp = 60;
dieing = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else if (hp < 0) {
if (dieing == false) {
gotoAndPlay ("death");
dieing = true;
}
} else if (dieing == false) {
if (this.hitTest(_root.car)) {
_root.hp--;
_x = (_x + (_root.wheelspeed * 2));
hp--;
gotoAndPlay ("hit");
}
if (_x > _root.can._x) {
_x = (_x - _root.gamespeed);
_xscale = -100;
}
if (_x < _root.can._x) {
_x = (_x + _root.gamespeed);
_xscale = 100;
}
}
}
Instance of Symbol 239 MovieClip "stars" in Frame 12
onClipEvent (load) {
speed = -15;
}
onClipEvent (enterFrame) {
_y = (_y + speed);
speed = speed + 3;
}
Instance of Symbol 242 MovieClip "Vcam" in Frame 12
onClipEvent (enterFrame) {
_x = _root.car._x;
}
Frame 21
stop();
Frame 22
ab20_09 = new LoadVars();
ab20_09.z = names;
ab20_09.x = score;
ab20_09.c = 620;
ab20_09.v = "CKBSGN";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
stopAllSounds();
gotoAndStop (1);
Frame 32
stop();
gamespeed = 3;
s = 0;
Instance of Symbol 174 MovieClip "we2" in Frame 32
onClipEvent (enterFrame) {
_rotation = (_rotation + (_root.wheelspeed * 5));
while (_root.ground.hitTest(_x, _y + 30, 1)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 20, 1)) {
} else {
_y = (_y + 10);
}
}
Instance of Symbol 174 MovieClip "we1" in Frame 32
onClipEvent (enterFrame) {
_rotation = (_rotation + (_root.wheelspeed * 5));
while (_root.ground.hitTest(_x, _y + 30, 1)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 20, 1)) {
} else {
_y = (_y + 10);
}
}
Instance of Symbol 179 MovieClip "car" in Frame 32
onClipEvent (load) {
_root.wheelspeed = 0;
i = 0;
cooldown = 0;
}
onClipEvent (enterFrame) {
cooldown--;
if (this.hitTest(_root.wall)) {
_root.wheelspeed = _root.wheelspeed * -1;
_root.wheelspeed = _root.wheelspeed + 5;
}
if (this.hitTest(_root.wall2)) {
_root.wheelspeed = _root.wheelspeed * -1;
_root.wheelspeed = _root.wheelspeed - 5;
}
if (_root.mousemode == true) {
if ((_root._xmouse > (_x + 150)) && (_root.wheelspeed < 10)) {
_root.wheelspeed++;
}
if ((_root._xmouse < (_x - 150)) && (_root.wheelspeed > -10)) {
_root.wheelspeed--;
}
} else {
if (Key.isDown(68) && (_root.wheelspeed < 10)) {
_root.wheelspeed++;
}
if (Key.isDown(65) && (_root.wheelspeed > -10)) {
_root.wheelspeed--;
}
}
if (_root.wheelspeed > 0) {
_root.wheelspeed = _root.wheelspeed - 0.5;
}
if (_root.wheelspeed < 0) {
_root.wheelspeed = _root.wheelspeed + 0.5;
}
_x = (_x + _root.wheelspeed);
if (_root.we1._y < _root.we2._y) {
_y = (_root.we1._y - 30);
} else {
_y = (_root.we2._y - 30);
}
angleRad = Math.atan2(_root.we1._y - _root.we2._y, _root.we1._x - _root.we2._x);
angleDeg = (angleRad * 180) / Math.PI;
_rotation = (angleDeg + 180);
_root.can._y = _y - 20;
_root.can._x = _x + (Math.cos(angleDeg) * 5);
_root.we1._x = _root.we1._x + _root.wheelspeed;
_root.we2._x = _root.we2._x + _root.wheelspeed;
}
onClipEvent (mouseDown) {
if (cooldown < 0) {
cooldown = 2;
_root.can.gotoAndPlay(2);
if (i > 20) {
i = 0;
}
duplicateMovieClip (_root.shot, "MCa" + i, 2001 + i);
_root["MCa" + i]._x = _root.can._x;
_root["MCa" + i]._y = _root.can._y;
_root["MCa" + i].shot._rotation = _root.can._rotation;
i++;
}
}
Instance of Symbol 185 MovieClip "can" in Frame 32
onClipEvent (enterFrame) {
angleRad = Math.atan2(_root._ymouse - _y, _root._xmouse - _x);
angleDeg = (angleRad * 180) / Math.PI;
_rotation = angleDeg;
}
Instance of Symbol 201 MovieClip "shot" in Frame 32
onClipEvent (load) {
fall = 0;
speed = _root.wheelspeed;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else {
fall++;
_y = (_y + fall);
_x = (_x + speed);
if (hit == false) {
i = 0;
while (i < 23) {
if (this.hitTest(_root["enemy" + i].hitter)) {
_root.score = _root.score + 50;
if (_root.car._x < _root["enemy" + i]._x) {
_root["enemy" + i]._x = _root["enemy" + i]._x + 10;
} else {
_root["enemy" + i]._x = _root["enemy" + i]._x - 10;
}
shot.shot.play();
_root["enemy" + i].hp--;
_root["enemy" + i].gotoAndPlay("hit");
hit = true;
}
if (this.hitTest(_root["enemya" + i].hitter)) {
_root.score = _root.score + 70;
if (_root.car._x < _root["enemya" + i]._x) {
_root["enemya" + i]._x = _root["enemya" + i]._x + 10;
} else {
_root["enemya" + i]._x = _root["enemya" + i]._x - 10;
}
shot.shot.play();
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["enemya" + i].hp--;
_root["enemya" + i].gotoAndPlay("hit");
hit = true;
}
if (this.hitTest(_root["enemyb" + i].hitter)) {
_root.score = _root.score + 70;
if (_root.car._x < _root["enemyb" + i]._x) {
_root["enemyb" + i]._x = _root["enemyb" + i]._x + 10;
} else {
_root["enemyb" + i]._x = _root["enemyb" + i]._x - 10;
}
shot.shot.play();
duplicateMovieClip (_root.stars, "stars" + j, 3000 + j);
_root["enemyb" + i].hp--;
_root["enemyb" + i].nextFrame();
hit = true;
}
i++;
}
}
}
}
Instance of Symbol 203 MovieClip in Frame 32
onClipEvent (load) {
counter1 = 0;
i = 0;
waiter = 200;
}
onClipEvent (enterFrame) {
counter1++;
if (_root.hp <= 0) {
_root.play();
}
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.enemy, "enemy" + i, -1000 + i);
_root["enemy" + i]._x = 1500;
_root["enemy" + i]._y = _root.can._y;
i++;
duplicateMovieClip (_root.enemy, "enemy" + i, -1000 + i);
_root["enemy" + i]._x = -1500;
_root["enemy" + i]._y = _root.can._y;
counter1 = 0;
if (waiter > 30) {
waiter = waiter - 5;
}
}
if (i >= 100) {
i = 0;
}
}
Instance of Symbol 205 MovieClip in Frame 32
onClipEvent (load) {
_root.score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = (_root.car._y - 100);
score = _root.score;
}
Instance of Symbol 207 MovieClip in Frame 32
onClipEvent (load) {
_root.hp = 100;
}
onClipEvent (enterFrame) {
_x = (_root.car._x - 50);
_y = (_root.car._y + 40);
hp = _root.hp;
}
Instance of Symbol 203 MovieClip in Frame 32
onClipEvent (load) {
counter1 = -500;
i = 0;
waiter = 300;
}
onClipEvent (enterFrame) {
counter1++;
if (_root.hp <= 0) {
_root.play();
}
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.enemya, "enemya" + i, -1200 + i);
_root["enemya" + i]._x = 1500;
_root["enemya" + i]._y = _root.can._y;
i++;
duplicateMovieClip (_root.enemya, "enemya" + i, -1000 + i);
_root["enemya" + i]._x = -1500;
_root["enemya" + i]._y = _root.can._y;
counter1 = 0;
if (waiter > 30) {
waiter = waiter - 5;
}
}
if (i >= 100) {
i = 0;
}
}
Instance of Symbol 203 MovieClip in Frame 32
onClipEvent (load) {
counter1 = -1500;
i = 0;
waiter = 500;
}
onClipEvent (enterFrame) {
counter1++;
if (_root.hp <= 0) {
_root.play();
}
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.enemyb, "enemyb" + i, -1400 + i);
_root["enemyb" + i]._x = 1500;
_root["enemyb" + i]._y = _root.can._y;
i++;
duplicateMovieClip (_root.enemyb, "enemyb" + i, -1400 + i);
_root["enemyb" + i]._x = -1500;
_root["enemyb" + i]._y = _root.can._y;
counter1 = 0;
if (waiter > 30) {
waiter = waiter - 5;
}
}
if (i >= 100) {
i = 0;
}
}
Instance of Symbol 203 MovieClip in Frame 32
onClipEvent (load) {
counter1 = 0;
i = 0;
waiter = 50;
}
onClipEvent (enterFrame) {
counter1++;
if (counter1 > waiter) {
i++;
duplicateMovieClip (_root.heal, "heal" + i, -800 + i);
_root["heal" + i]._x = random(2800) - 1400;
_root["heal" + i]._y = -100;
counter1 = 0;
}
if (i >= 20) {
i = 0;
}
}
Instance of Symbol 235 MovieClip "enemy" in Frame 32
onClipEvent (load) {
hp = 10;
dieing = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else if (hp < 0) {
if (dieing == false) {
gotoAndPlay ("death");
dieing = true;
}
} else if (dieing == false) {
if (this.hitTest(_root.car)) {
_root.hp--;
_x = (_x + (_root.wheelspeed * 2));
hp--;
gotoAndPlay ("hit");
}
if (_x > _root.can._x) {
_x = (_x - _root.gamespeed);
_xscale = -100;
}
if (_x < _root.can._x) {
_x = (_x + _root.gamespeed);
_xscale = 100;
}
}
}
Instance of Symbol 235 MovieClip "enemya" in Frame 32
onClipEvent (load) {
hp = 30;
dieing = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else if (hp < 0) {
if (dieing == false) {
gotoAndPlay ("death");
dieing = true;
}
} else if (dieing == false) {
if (this.hitTest(_root.car)) {
_root.hp--;
_x = (_x + (_root.wheelspeed * 2));
hp--;
gotoAndPlay ("hit");
}
if (_x > _root.can._x) {
_x = (_x - _root.gamespeed);
_xscale = -100;
}
if (_x < _root.can._x) {
_x = (_x + _root.gamespeed);
_xscale = 100;
}
}
}
Instance of Symbol 235 MovieClip "enemyb" in Frame 32
onClipEvent (load) {
hp = 60;
dieing = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.voidarea)) {
} else if (hp < 0) {
if (dieing == false) {
gotoAndPlay ("death");
dieing = true;
}
} else if (dieing == false) {
if (this.hitTest(_root.car)) {
_root.hp--;
_x = (_x + (_root.wheelspeed * 2));
hp--;
gotoAndPlay ("hit");
}
if (_x > _root.can._x) {
_x = (_x - _root.gamespeed);
_xscale = -100;
}
if (_x < _root.can._x) {
_x = (_x + _root.gamespeed);
_xscale = 100;
}
}
}
Instance of Symbol 242 MovieClip "Vcam" in Frame 32
onClipEvent (enterFrame) {
_x = _root.car._x;
}
Frame 33
gotoAndStop ("gameover");
Symbol 67 MovieClip Frame 40
stop();
Symbol 81 Button
on (press) {
_root.play();
}
Symbol 82 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
if (firstframe) {
gotoAndStop ("loaded");
} else {
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;
firstframe = false;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var firstframe = true;
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 82 MovieClip Frame 53
Symbol 115 Button
on (release) {
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 620;
__top10_send__.kid = "CKBSGN";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
}
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Symbol 125 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 132 MovieClip Frame 81
_root.play();
_root.play();
Symbol 137 Button
on (release) {
if (_root.mousemode == true) {
_root.mousemode = false;
} else {
_root.mousemode = true;
}
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 144 Button
on (release) {
nextFrame();
}
Symbol 150 Button
on (release) {
getURL ("http://newgrounds.com/collection/christmas2006.html", "_blank");
}
Symbol 151 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 164 Button
on (release) {
play();
}
Symbol 166 Button
on (release) {
gotoAndPlay (25);
}
Symbol 178 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.wheelspeed > 0) {
gotoAndStop (1);
}
if (_root.wheelspeed < 0) {
gotoAndStop (2);
}
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 20
gotoAndPlay (1);
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 9
stop();
Instance of Symbol 199 MovieClip "shot" in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
speed = 20;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
}
Symbol 210 MovieClip Frame 5
stop();
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 212 MovieClip "heal" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
hit = false;
_rotation = random(180);
}
onClipEvent (enterFrame) {
_y = (_y + 4);
_rotation = (_rotation + 5);
if ((this.hitTest(_root.can) || (this.hitTest(_root.we1))) || (this.hitTest(_root.we2))) {
if (hit == false) {
_root.hp = _root.hp + 10;
gotoAndStop (2);
hit = true;
}
}
}
Symbol 235 MovieClip Frame 1
stop();
Instance of Symbol 230 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent.hp);
}
Symbol 235 MovieClip Frame 12
gotoAndStop (1);
Symbol 235 MovieClip Frame 20
stop();
Symbol 239 MovieClip Frame 14
stop();
Symbol 242 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 245 MovieClip Frame 10
stop();
Symbol 246 Button
on (release) {
play();
}