Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
var theme = new Sound();
theme.attachSound("theme");
theme.start(0, 9999);
theme.setVolume(10);
Stage.showMenu = false;
__com_mochibot__("aedb22d0", this, 10301, true);
Frame 2
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent = (loaded / total) * 100;
_root.bar._xscale = percent;
Frame 3
if (percent < 100) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Frame 105
stop();
Frame 107
function exfx() {
var _local1 = new Sound();
_local1.attachSound("exfx");
_local1.start(0, 1);
}
function cffx() {
var _local1 = new Sound();
_local1.attachSound("cffx");
_local1.start(0, 1);
}
stop();
c = 1;
echance = 200;
achance = 500;
evar = 20;
espeed = 1;
aspeed = 1;
rlse = false;
var ehit = new Array();
_global.score = 0;
_global.btype = 1;
level = 1;
timer = 0;
maxtime = 1200;
onEnterFrame = function () {
c = c + 20;
timer++;
score_txt = _global.score;
if (_global.score <= 0) {
_global.score = 0;
}
if (c > 9000) {
c = 20;
}
if (_root.city._y > Stage.height) {
gotoAndPlay (108);
}
if (timer > maxtime) {
level = level + 1;
if (level == 11) {
gotoAndStop ("complete");
}
timer = 0;
maxtime = maxtime * 1.2;
c = 1;
echance = echance - 10;
achance = achance - 20;
evar = evar + 15;
espeed = espeed + 0.25;
aspeed = aspeed + 0.25;
_root.sky.play();
}
if (random(echance) == 0) {
var _local16 = attachMovie("enemy1", "e" + c, c);
_local16.speed = (Math.random() * espeed) + 1;
_local16._y = (Math.random() * evar) + _local16._height;
_local16._x = -_local16._width;
_local16.onEnterFrame = function () {
this._x = this._x + this.speed;
if (this._x > (Stage.width + this._width)) {
this.removeMovieClip();
}
if (random(echance * 5) == 0) {
var _local6 = attachMovie("missile", ("m1" + c) + 2, c + 2);
_local6._x = this._x;
_local6._y = this._y + _local6._height;
_local6.onEnterFrame = function () {
this._y = this._y + 1;
mh1 = 0;
while (mh1 < ehit.length) {
if (this.hitTest(ehit[mh1])) {
var _local4 = attachMovie("explosion", ("ex" + c) + 3, c + 3);
_local4._x = this._x;
_local4._y = this._y;
_local4._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[mh1].removeMovieClip();
ehit.splice(mh1, 1);
exfx();
_global.score = _global.score + (20 * level);
}
mh1++;
}
if (((this._y > (Stage.height + this._height)) || (this._x < 0)) || (this._x > Stage.width)) {
this.removeMovieClip();
}
if (_root.city.hitTest(this._x, this._y, true)) {
_root.city.gotoAndPlay(1);
_root.city._y = _root.city._y + 15;
var _local5 = attachMovie("explosion", ("ex2" + c) + 4, c + 4);
_local5._x = this._x;
_local5._y = this._y;
_local5._rotation = Math.random() * 360;
exfx();
this.removeMovieClip();
}
};
}
h1 = 0;
while (h1 < ehit.length) {
if (this.hitTest(ehit[h1])) {
var _local5 = attachMovie("explosion", ("ex3" + c) + 5, c + 5);
_local5._x = this._x;
_local5._y = this._y;
_local5._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[h1].removeMovieClip();
ehit.splice(h1, 1);
exfx();
_global.score = _global.score + (50 * level);
}
h1++;
}
};
}
if (random(echance) == 0) {
var _local15 = attachMovie("enemy2", ("e2" + c) + 6, c + 6);
_local15.speed = (Math.random() * espeed) + 1;
_local15._y = (Math.random() * evar) + _local15._height;
_local15._x = Stage.width + _local15._width;
_local15.onEnterFrame = function () {
this._x = this._x - this.speed;
if (this._x < (-this._width)) {
this.removeMovieClip();
}
if (random(echance * 5) == 0) {
var _local6 = attachMovie("missile", ("m2" + c) + 7, c + 7);
_local6._x = this._x;
_local6._y = this._y + _local6._height;
_local6.onEnterFrame = function () {
this._y = this._y + 1;
mh2 = 0;
while (mh2 < ehit.length) {
if (this.hitTest(ehit[mh2])) {
var _local4 = attachMovie("explosion", ("ex6" + c) + 8, c + 8);
_local4._x = this._x;
_local4._y = this._y;
_local4._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[mh2].removeMovieClip();
ehit.splice(mh2, 1);
exfx();
_global.score = _global.score + (20 * level);
}
mh2++;
}
if (((this._y > (Stage.height + this._height)) || (this._x < 0)) || (this._x > Stage.width)) {
this.removeMovieClip();
}
if (_root.city.hitTest(this._x, this._y, true)) {
_root.city.gotoAndPlay(1);
_root.city._y = _root.city._y + 15;
var _local5 = attachMovie("explosion", ("ex6" + c) + 9, c + 9);
_local5._x = this._x;
_local5._y = this._y;
_local5._rotation = Math.random() * 360;
exfx();
this.removeMovieClip();
}
};
}
h2 = 0;
while (h2 < ehit.length) {
if (this.hitTest(ehit[h2])) {
var _local5 = attachMovie("explosion", ("ex2" + c) + 10, c + 10);
_local5._x = this._x;
_local5._y = this._y;
_local5._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[h2].removeMovieClip();
ehit.splice(h2, 1);
exfx();
_global.score = _global.score + (50 * level);
}
h2++;
}
};
}
if (random(achance) == 0) {
var _local17 = attachMovie("ally1", ("a" + c) + 11, c + 11);
_local17.speed = (Math.random() * aspeed) + 1;
_local17._y = (Math.random() * evar) + _local17._height;
_local17._x = -_local17._width;
_local17.onEnterFrame = function () {
this._x = this._x + this.speed;
if (this._x > (Stage.width + this._width)) {
this.removeMovieClip();
}
ah1 = 0;
while (ah1 < ehit.length) {
if (this.hitTest(ehit[ah1])) {
var _local3 = attachMovie("explosion", ("ex3" + c) + 12, c + 12);
_local3._x = this._x;
_local3._y = this._y;
_local3._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[ah1].removeMovieClip();
ehit.splice(ah1, 1);
exfx();
_global.score = _global.score - (50 * level);
}
ah1++;
}
};
}
if (random(achance) == 0) {
var _local14 = attachMovie("ally2", ("a2" + c) + 13, c + 13);
_local14.speed = (Math.random() * aspeed) + 1;
_local14._y = (Math.random() * evar) + _local14._height;
_local14._x = Stage.width + _local14._width;
_local14.onEnterFrame = function () {
this._x = this._x - this.speed;
if (this._x < (-this._width)) {
this.removeMovieClip();
}
ah2 = 0;
while (ah2 < ehit.length) {
if (this.hitTest(ehit[ah2])) {
var _local3 = attachMovie("explosion", ("ex4" + c) + 14, c + 14);
_local3._x = this._x;
_local3._y = this._y;
_local3._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[ah2].removeMovieClip();
ehit.splice(ah2, 1);
exfx();
_global.score = _global.score - (50 * level);
}
ah2++;
}
};
}
if ((random(echance * 50) == 0) && (_global.btype <= 7)) {
var _local13 = attachMovie("bonus1", ("bns" + c) + 15, c + 15);
_local13.speed = (Math.random() * aspeed) + 1;
_local13._y = (Math.random() * evar) + _local13._height;
_local13._x = -_local13._width;
_local13.onEnterFrame = function () {
this._x = this._x + this.speed;
if (this._x > (Stage.width + this._width)) {
this.removeMovieClip();
}
bh1 = 0;
while (bh1 < ehit.length) {
if (this.hitTest(ehit[bh1])) {
var _local3 = attachMovie("explosion", ("ex5" + c) + 16, c + 16);
_local3._x = this._x;
_local3._y = this._y;
_local3._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[bh1].removeMovieClip();
ehit.splice(bh1, 1);
exfx();
_global.btype = _global.btype + 1;
_global.score = _global.score + (100 * level);
}
bh1++;
}
};
}
if ((random(echance * 50) == 0) && (_global.btype <= 7)) {
var _local18 = attachMovie("bonus2", ("bns2" + c) + 17, c + 17);
_local18.speed = (Math.random() * aspeed) + 1;
_local18._y = (Math.random() * evar) + _local18._height;
_local18._x = Stage.width + _local18._width;
_local18.onEnterFrame = function () {
this._x = this._x - this.speed;
if (this._x < (-this._width)) {
this.removeMovieClip();
}
bh2 = 0;
while (bh2 < ehit.length) {
if (this.hitTest(ehit[bh2])) {
var _local3 = attachMovie("explosion", ("ex10" + c) + 18, c + 18);
_local3._x = this._x;
_local3._y = this._y;
_local3._rotation = Math.random() * 360;
this.removeMovieClip();
ehit[bh2].removeMovieClip();
ehit.splice(ah2, 1);
exfx();
_global.btype = _global.btype + 1;
_global.score = _global.score + (100 * level);
}
bh2++;
}
};
}
if (Key.isDown(32) && (rlse == false)) {
rlse = true;
cffx();
var _local12 = attachMovie("bullet", ("b" + c) + 19, c + 19);
_local12.gotoAndStop(_global.btype);
_local12._x = _root.gun._x;
_local12._y = _root.gun._y;
_local12._rotation = _root.gun._rotation;
ehit.push(_local12);
_local12.x = Math.sin((Math.PI/180) * _local12._rotation) * 5;
_local12.y = Math.cos((Math.PI/180) * _local12._rotation) * -5;
_local12.onEnterFrame = function () {
this._x = this._x + this.x;
this._y = this._y + this.y;
};
}
if ((rlse == true) && (!Key.isDown(32))) {
rlse = false;
}
bgo = 0;
while (bgo < ehit.length) {
if ((((ehit[bgo]._x < 0) || (ehit[bgo]._x > Stage.width)) || (ehit[bgo]._y < 0)) || (ehit[bgo]._y > Stage.height)) {
ehit[bgo].removeMovieClip();
ehit.splice(bgo, 1);
}
bgo++;
}
};
Instance of Symbol 157 MovieClip "gun" in Frame 107
onClipEvent (load) {
sf = _root._currentframe;
this.swapDepths(10001);
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._rotation = this._rotation - 2;
} else if (Key.isDown(39)) {
this._rotation = this._rotation + 2;
}
if (this._rotation < -70) {
this._rotation = -70;
}
if (this._rotation > 70) {
this._rotation = 70;
}
if (_root._currentframe != sf) {
this.removeMovieClip();
}
}
Instance of Symbol 159 MovieClip in Frame 107
onClipEvent (load) {
sf = _root._currentframe;
this.swapDepths(10002);
}
onClipEvent (enterFrame) {
if (_root._currentframe != sf) {
this.removeMovieClip();
}
}
Frame 108
onEnterFrame = function () {
donothing = yes;
};
Instance of Symbol 35 MovieClip [explosion] in Frame 108
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Instance of Symbol 35 MovieClip [explosion] in Frame 113
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Instance of Symbol 35 MovieClip [explosion] in Frame 116
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Instance of Symbol 35 MovieClip [explosion] in Frame 123
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Instance of Symbol 35 MovieClip [explosion] in Frame 125
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Instance of Symbol 35 MovieClip [explosion] in Frame 127
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Instance of Symbol 35 MovieClip [explosion] in Frame 131
onClipEvent (load) {
this._xscale = (Math.random() * 25) + 100;
this._yscale = this._xscale;
}
Frame 132
stop();
Instance of Symbol 181 MovieClip "go_group" in Frame 132
onClipEvent (load) {
this.swapDepths(10010);
}
Frame 133
onEnterFrame = function () {
donothing = yes;
};
Instance of Symbol 189 MovieClip "gc_group" in Frame 133
onClipEvent (load) {
this.swapDepths(10011);
}
Symbol 35 MovieClip [explosion] Frame 23
this.removeMovieClip();
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 45
stop();
Symbol 96 MovieClip Frame 91
stop();
Symbol 96 MovieClip Frame 136
stop();
Symbol 96 MovieClip Frame 182
stop();
Symbol 96 MovieClip Frame 227
stop();
Symbol 96 MovieClip Frame 273
stop();
Symbol 96 MovieClip Frame 319
stop();
Symbol 96 MovieClip Frame 364
stop();
Symbol 96 MovieClip Frame 409
stop();
Symbol 96 MovieClip Frame 454
stop();
Symbol 106 MovieClip Frame 1
stop();
this.tmc.gotoAndPlay("one");
Symbol 106 MovieClip Frame 6
stop();
this.tmc.gotoAndPlay("two");
Symbol 106 MovieClip Frame 11
stop();
this.tmc.gotoAndPlay("three");
Symbol 106 MovieClip Frame 16
stop();
this.tmc.gotoAndPlay("four");
Symbol 106 MovieClip Frame 21
stop();
this.tmc.gotoAndPlay("five");
Symbol 106 MovieClip Frame 26
stop();
this.tmc.gotoAndPlay("six");
Symbol 106 MovieClip Frame 31
stop();
this.tmc.gotoAndPlay("seven");
Symbol 106 MovieClip Frame 36
stop();
this.tmc.gotoAndPlay("eight");
Symbol 106 MovieClip Frame 41
stop();
this.tmc.gotoAndPlay("nine");
Symbol 106 MovieClip Frame 46
stop();
this.tmc.gotoAndPlay("ten");
Symbol 119 Button
on (release) {
_root.play();
}
Symbol 123 Button
on (release) {
getURL ("http://www.kabomb.net/", _blank);
}
Symbol 130 Button
on (release) {
gotoAndStop ("game");
}
Symbol 135 Button
on (release) {
gotoAndStop (106);
}
Symbol 139 Button
on (release) {
getURL ("http://www.kabomb.net/", _blank);
}
Symbol 143 Button
on (release) {
getURL ("http://armorbot.com/mytable/?id=404", _blank);
}
Symbol 147 Button
on (release) {
gotoAndStop (105);
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 166 Button
on (release) {
_root.gotoAndStop("menu", 1);
_root.go_group.removeMovieClip();
}
Symbol 175 Button
on (release) {
getURL ("http://armorbot.com/mytable/?id=404", _blank);
}
Symbol 179 Button
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = _global.hs_name;
ab20_09.x = _global.score;
ab20_09.c = 404;
ab20_09.v = "EZOFVC";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.go_group.submitmcgo._x = 2000;
_root.go_group.submitmcgo._visible = false;
_root.go_group.submitmcgo.removeMovieClip();
_root.go_group.submitmcgo._alpha = 0;
}
Symbol 181 MovieClip Frame 1
go_score_txt = _global.score;
onEnterFrame = function () {
_global.hs_name = hs_txt;
};
Symbol 184 Button
on (release) {
_root.gotoAndStop("menu", 1);
_root.gc_group.removeMovieClip();
}
Symbol 187 Button
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = _global.hs_name;
ab20_09.x = _global.score;
ab20_09.c = 404;
ab20_09.v = "EZOFVC";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.gc_group.submitmc._x = 2000;
_root.gc_group.submitmc._visible = false;
_root.gc_group.submitmc.removeMovieClip();
_root.gc_group.submitmc._alpha = 0;
}
Symbol 189 MovieClip Frame 1
gc_score_txt = _global.score;
go_score_txt = _global.score;
onEnterFrame = function () {
_global.hs_name = hs_gc_txt;
};