Frame 1
MochiAd.showPreGameAd({id:"09c1a81eff4ab8d4", res:"550x400", background:0, color:16777215, outline:16776957, no_bg:false});
Frame 2
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);
}
__com_mochibot__("f2255687", this, 10301, true);
myListener = new Object();
myListener.onKeyUp = function () {
if (Key.getCode() == 32) {
if (tank != undefined) {
if (mines > 0) {
mi = mine_holder.attachMovie("mine", "m" + mine_holder.getNextHighestDepth(), mine_holder.getNextHighestDepth(), {_x:tank._x, _y:tank._y});
mines--;
}
}
} else if (Key.getCode() == 77) {
if (muted) {
muted = false;
mutelogo.gotoAndPlay(3);
kirupaSound3.start(0, 99);
} else {
muted = true;
mutelogo.gotoAndPlay(4);
kirupaSound3.stop();
}
}
};
Key.addListener(myListener);
Frame 3
kirupaSound3 = new Sound(this);
kirupaSound3.attachSound("boomer.mp3");
kirupaSound3.start(0, 99);
Frame 4
stop();
Instance of Symbol 352 MovieClip "inst" in Frame 4
onClipEvent (load) {
_visible = false;
}
Frame 5
kirupaSound = new Sound(this);
kirupaSound.attachSound("explode");
expl = function () {
if (!muted) {
kirupaSound.start(0, 1);
}
};
kirupaSound2 = new Sound(this);
kirupaSound2.attachSound("beep.mp3");
beep = function () {
if (!muted) {
kirupaSound2.start(0, 1);
}
};
mouse = false;
shots = (shots2 = (csb = (score = (interest = (mines = 0)))));
muted = false;
nmv = 1;
acc = 1;
speed = 0;
tank.reload = 0;
upgrades = {reload:15, damage:1};
idamage = {upgrades:[1, 1, 1, 2, 2, 2, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 22, 25, 30, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35], num:0};
ireload = {upgrades:[1, 1, 2, 2, 3, 3, 3], num:0};
chealth = 50;
tanks = [];
gold = 0;
_root.createEmptyMovieClip("ebul", _root.getNextHighestDepth());
_root.createEmptyMovieClip("bullets", _root.getNextHighestDepth());
reset = function () {
delete onMouseUp;
delete onEnterFrame;
bullets.removeMovieClip();
ebul.removeMovieClip();
powerups.removeMovieClip();
};
damage = function (amount) {
chealth = chealth - amount;
panel.hp.bar._xscale = panel.hp.bar._xscale - (amount * 2);
if (chealth <= 0) {
reset();
win = false;
gotoAndPlay ("lose");
}
};
onMouseDown = function () {
mouse = true;
};
onMouseUp = function () {
mouse = false;
};
onEnterFrame = function () {
with (tank) {
reload--;
xdiff = _root._xmouse - _x;
ydiff = _root._ymouse - _y;
turret._rotation = (_rotation + (Math.atan2(ydiff, xdiff) * 57.2957795130823)) + 90;
if (Key.isDown(40) || (Key.isDown(83))) {
if ((_y + 5) < Stage.height) {
nmv = 0;
body._rotation = 180;
_y = _y + 5;
}
} else if (Key.isDown(38) || (Key.isDown(87))) {
if ((_y - 5) > 0) {
nmv = 0;
body._rotation = 0;
_y = _y - 5;
}
} else if (Key.isDown(39) || (Key.isDown(68))) {
if ((_x + 5) < Stage.width) {
nmv = 0;
body._rotation = 90;
_x = _x + 5;
}
} else if (Key.isDown(37) || (Key.isDown(65))) {
if ((_x - 5) > 0) {
nmv = 0;
body._rotation = 270;
_x = _x - 5;
}
}
}
for (c in tanks) {
tanks[c]._x = tanks[c]._x + tanks[c].speed;
for (mm in mine_holder) {
if (tanks[c].hitTest(mine_holder[mm])) {
if (((100 * tanks[c].health) / tanks[c].maxhealth) == 100) {
tanks[c].hp.bar._visible = true;
tanks[c].hp.bar2._visible = true;
}
tanks[c].health = tanks[c].health - 50;
if (tanks[c].health <= 0) {
gold = gold + Math.ceil(wave / 2);
score = score + Math.ceil(wave / 2);
msg = _root.attachMovie("msgg", "m" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:tanks[c]._x, _y:tanks[c]._y});
msg.am.am_txt.text = "+" + Math.ceil(wave / 2);
tanks[c].swapDepths(_root.getNextHighestDepth());
tanks[c].removeMovieClip();
tanks.splice(c, 1);
if (tanks.length == 0) {
tanks = [];
if ((shots2 / shots) == 1) {
ab = true;
} else {
ab = false;
}
if (wave < 23) {
_root.attachMovie("welldone", "welldone", _root.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2, nmv:nmv, csb:csb, ab:ab});
} else {
play();
}
shots = (shots2 = (csb = 0));
nmv = 1;
}
}
mine_holder[mm].removeMovieClip();
}
}
if (tanks[c].hitTest(tank) && (tank._currentframe == 1)) {
tank.play();
damage(5);
}
if (tanks[c].firing != undefined) {
tanks[c].counter++;
if (tanks[c].turret != undefined) {
qxdiff = tank._x - tanks[c]._x;
qydiff = tank._y - tanks[c]._y;
r = (Math.atan2(qydiff, qxdiff) * 57.2957795130823) + 90;
tanks[c].turret._rotation = r - 90;
}
if (tanks[c].counter >= tanks[c].firing) {
tanks[c].counter = 0;
if (tanks[c].turret == undefined) {
r = 90;
}
dx = Math.cos(((r - 90) * Math.PI) / 180) * 10;
dy = Math.sin(((r - 90) * Math.PI) / 180) * 10;
sx = tanks[c]._x;
sy = tanks[c]._y;
b = ebul.attachMovie("bullet2", "b" + ebul.getNextHighestDepth(), ebul.getNextHighestDepth(), {_x:sx, _y:sy, dx:dx, dy:dy, _rotation:r});
b.onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
if (this._x < 0) {
this.removeMovieClip();
} else if (this._x > Stage.width) {
this.removeMovieClip();
} else if (this._y < 0) {
this.removeMovieClip();
} else if (this._y > Stage.height) {
this.removeMovieClip();
}
if (this.hitTest(_root.tank)) {
_root.damage(5);
this.removeMovieClip();
}
};
}
}
if (tanks[c]._x > (Stage.width + tanks[c]._width)) {
damage(10);
tanks[c].swapDepths(_root.getNextHighestDepth());
tanks[c].removeMovieClip();
tanks.splice(c, 1);
if (tanks.length == 0) {
tanks = [];
if (wave < 23) {
_root.attachMovie("welldone", "welldone", _root.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2, nmv:nmv, csb:csb, ab:ab});
} else {
play();
}
}
} else if (tanks[c]._x >= 450) {
csb = 1;
}
for (z in bullets) {
if (tanks[c].hitTest(bullets[z]._x, bullets[z]._y, true)) {
shots2++;
bullets[z].removeMovieClip();
if (((100 * tanks[c].health) / tanks[c].maxhealth) == 100) {
tanks[c].hp.bar._visible = true;
tanks[c].hp.bar2._visible = true;
}
tanks[c].health = tanks[c].health - upgrades.damage;
if (tanks[c].health <= 0) {
gold = gold + Math.ceil(wave / 2);
score = score + Math.ceil(wave / 2);
msg = _root.attachMovie("msgg", "m" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:tanks[c]._x, _y:tanks[c]._y});
msg.am.am_txt.text = "+" + Math.ceil(wave / 2);
if (d >= 0.9) {
powerups.attachMovie("powerup", "p" + powerups.getNextHighestDepth(), powerups.getNextHighestDepth(), {_xscale:50, _yscale:50, _x:tanks[c]._x, _y:tanks[c]._y});
}
tanks[c].swapDepths(_root.getNextHighestDepth());
tanks[c].removeMovieClip();
tanks.splice(c, 1);
d = Math.random();
if (tanks.length == 0) {
tanks = [];
if ((shots2 / shots) == 1) {
ab = true;
} else {
ab = false;
}
if (wave < 23) {
_root.attachMovie("welldone", "welldone", _root.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2, nmv:nmv, csb:csb, ab:ab});
} else {
play();
}
shots = (shots2 = (csb = 0));
nmv = 1;
}
} else {
tanks[c].hp.bar._yscale = Math.round((100 * tanks[c].health) / tanks[c].maxhealth);
}
}
}
}
if (mouse == true) {
if (((tank.reload <= 0) && (welldone == undefined)) && (tank.turret != undefined)) {
tank.reload = upgrades.reload;
r = tank.turret._rotation;
dx = Math.cos(((r - 90) * Math.PI) / 180) * 10;
dy = Math.sin(((r - 90) * Math.PI) / 180) * 10;
sx = tank._x;
sy = tank._y;
b = bullets.attachMovie("bullet", "b" + bullets.getNextHighestDepth(), bullets.getNextHighestDepth(), {_x:sx, _y:sy, dx:dx, dy:dy, _rotation:r});
shots++;
b.onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
if (this._x < 0) {
this.removeMovieClip();
} else if (this._x > Stage.width) {
this.removeMovieClip();
} else if (this._y < 0) {
this.removeMovieClip();
} else if (this._y > Stage.height) {
this.removeMovieClip();
}
};
}
}
};
Frame 6
stop();
wave = 1;
Instance of Symbol 365 MovieClip in Frame 6
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 1";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 6
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 6
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 6
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 7
stop();
wave = 2;
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 7
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 365 MovieClip in Frame 7
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 2";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Frame 8
stop();
wave = 3;
Instance of Symbol 289 MovieClip in Frame 8
onClipEvent (load) {
speed = 1;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 365 MovieClip in Frame 8
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 3";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 289 MovieClip in Frame 8
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 8
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 3);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 8
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 8
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 9
stop();
wave = 4;
Instance of Symbol 365 MovieClip in Frame 9
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 4";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 7);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 9
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 5);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 10
stop();
wave = 5;
Instance of Symbol 365 MovieClip in Frame 10
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 5";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 9);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 9);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 9);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 9);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 9);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 1.5;
health = (maxhealth = 9);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 2;
health = (maxhealth = 7);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 2;
health = (maxhealth = 7);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 2;
health = (maxhealth = 7);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 10
onClipEvent (load) {
speed = 2;
health = (maxhealth = 7);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 11
stop();
wave = 6;
Instance of Symbol 365 MovieClip in Frame 11
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 6";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
speed = 3;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 12
stop();
wave = 7;
Instance of Symbol 365 MovieClip in Frame 12
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 7";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 12
onClipEvent (load) {
speed = 1;
health = (maxhealth = 10);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 12
onClipEvent (load) {
speed = 1;
health = (maxhealth = 10);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 12
onClipEvent (load) {
speed = 1;
health = (maxhealth = 10);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 12
onClipEvent (load) {
speed = 1;
health = (maxhealth = 10);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 25;
}
Instance of Symbol 299 MovieClip in Frame 12
onClipEvent (load) {
speed = 1;
health = (maxhealth = 10);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 25;
}
Frame 13
stop();
wave = 8;
Instance of Symbol 365 MovieClip in Frame 13
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 8";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 297 MovieClip in Frame 13
onClipEvent (load) {
speed = 1;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 13
onClipEvent (load) {
speed = 1;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 13
onClipEvent (load) {
speed = 1;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Frame 14
stop();
wave = 9;
Instance of Symbol 365 MovieClip in Frame 14
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 9";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 14
onClipEvent (load) {
speed = 1;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 14
onClipEvent (load) {
speed = 1;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 14
onClipEvent (load) {
speed = 1;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 50;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 14
onClipEvent (load) {
speed = 4;
health = (maxhealth = 8);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 293 MovieClip in Frame 14
onClipEvent (load) {
speed = 4;
health = (maxhealth = 15);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 15
stop();
wave = 10;
Instance of Symbol 365 MovieClip in Frame 15
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 10";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 301 MovieClip in Frame 15
onClipEvent (load) {
speed = 5;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 301 MovieClip in Frame 15
onClipEvent (load) {
speed = 4;
health = (maxhealth = 15);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 301 MovieClip in Frame 15
onClipEvent (load) {
speed = 5;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 301 MovieClip in Frame 15
onClipEvent (load) {
speed = 4;
health = (maxhealth = 15);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 301 MovieClip in Frame 15
onClipEvent (load) {
speed = 5;
health = (maxhealth = 20);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 301 MovieClip in Frame 15
onClipEvent (load) {
speed = 4;
health = (maxhealth = 15);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 16
stop();
wave = 11;
Instance of Symbol 365 MovieClip in Frame 16
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 11";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 293 MovieClip in Frame 16
onClipEvent (load) {
speed = 3;
health = (maxhealth = 25);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 16
onClipEvent (load) {
speed = 3;
health = (maxhealth = 25);
_parent.tanks.push(this);
pi = _parent.tanks.length;
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 16
onClipEvent (load) {
speed = 3;
health = (maxhealth = 25);
_parent.tanks.push(this);
pi = _parent.tanks.length;
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 16
onClipEvent (load) {
speed = 3;
health = (maxhealth = 25);
_parent.tanks.push(this);
pi = _parent.tanks.length;
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 16
onClipEvent (load) {
speed = 3;
health = (maxhealth = 25);
_parent.tanks.push(this);
pi = _parent.tanks.length;
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Frame 17
stop();
wave = 12;
Instance of Symbol 365 MovieClip in Frame 17
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 12";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 299 MovieClip in Frame 17
onClipEvent (load) {
speed = 1;
health = (maxhealth = 40);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 18
stop();
wave = 13;
Instance of Symbol 365 MovieClip in Frame 18
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 13";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 297 MovieClip in Frame 18
onClipEvent (load) {
speed = 1;
health = (maxhealth = 55);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 18
onClipEvent (load) {
speed = 1;
health = (maxhealth = 55);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 18
onClipEvent (load) {
speed = 1;
health = (maxhealth = 55);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Frame 19
stop();
wave = 14;
Instance of Symbol 365 MovieClip in Frame 19
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 14";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 293 MovieClip in Frame 19
onClipEvent (load) {
speed = 2;
health = (maxhealth = 50);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 19
onClipEvent (load) {
speed = 2;
health = (maxhealth = 50);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 19
onClipEvent (load) {
speed = 2;
health = (maxhealth = 50);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 19
onClipEvent (load) {
speed = 2;
health = (maxhealth = 50);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 40;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 19
onClipEvent (load) {
speed = 2;
health = (maxhealth = 50);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 40;
counter = 0;
}
Frame 20
stop();
wave = 15;
Instance of Symbol 365 MovieClip in Frame 20
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 15";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 40;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 40;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 20
onClipEvent (load) {
speed = 2;
health = (maxhealth = 60);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 30;
counter = 0;
}
Frame 21
stop();
wave = 16;
Instance of Symbol 365 MovieClip in Frame 21
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 16";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 21
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 70);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 20;
counter = 0;
}
Frame 22
stop();
wave = 17;
Instance of Symbol 365 MovieClip in Frame 22
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 17";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 293 MovieClip in Frame 22
onClipEvent (load) {
speed = 2.5;
health = (maxhealth = 75);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Frame 23
stop();
wave = 18;
Instance of Symbol 365 MovieClip in Frame 23
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 18";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 23
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 24
stop();
wave = 19;
Instance of Symbol 365 MovieClip in Frame 24
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 19";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 24
onClipEvent (load) {
speed = 1;
health = (maxhealth = 100);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 24
onClipEvent (load) {
speed = 1;
health = (maxhealth = 100);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Frame 25
stop();
wave = 20;
Instance of Symbol 365 MovieClip in Frame 25
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 20";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 289 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.2;
health = (maxhealth = 750);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 25
onClipEvent (load) {
speed = 1.2;
health = (maxhealth = 750);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 26
stop();
wave = 21;
Instance of Symbol 365 MovieClip in Frame 26
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 21";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Instance of Symbol 299 MovieClip in Frame 26
onClipEvent (load) {
speed = 2;
health = (maxhealth = 150);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 35;
counter = 0;
}
Frame 27
stop();
wave = 22;
Instance of Symbol 365 MovieClip in Frame 27
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 22";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 297 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 250);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 25;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 250);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 25;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 27
onClipEvent (load) {
speed = 3;
health = (maxhealth = 250);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 25;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 250);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 25;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 250);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 25;
counter = 0;
}
Instance of Symbol 297 MovieClip in Frame 27
onClipEvent (load) {
speed = 3;
health = (maxhealth = 250);
_parent.tanks.push(this);
pi = _parent.tanks.length;
firing = 25;
counter = 0;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 289 MovieClip in Frame 27
onClipEvent (load) {
speed = 4;
health = (maxhealth = 90);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 28
stop();
wave = 23;
Instance of Symbol 365 MovieClip in Frame 28
onClipEvent (load) {
xv = _width / 7;
xy = _height / 7;
i = 0;
this.wave.d_txt.text = "WAVE 23";
}
onClipEvent (enterFrame) {
i++;
if (i > 20) {
_width = (_width + xv);
_height = (_height + xy);
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.unloadMovie();
}
}
}
Instance of Symbol 297 MovieClip in Frame 28
onClipEvent (load) {
speed = 4;
health = (maxhealth = 1050);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Instance of Symbol 297 MovieClip in Frame 28
onClipEvent (load) {
speed = 4;
health = (maxhealth = 1050);
_parent.tanks.push(this);
pi = _parent.tanks.length;
}
Frame 29
if (win == false) {
go_m.go = true;
} else {
go_m.go = false;
}
stop();
reset();
Symbol 7 Button
on (release) {
getURL ("http://www.itch.com", "_blank");
}
Symbol 396 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 182 MovieClip Frame 105
stop();
Symbol 186 MovieClip [msgg] Frame 1
_root.expl();
Symbol 186 MovieClip [msgg] Frame 86
this.removeMovieClip();
Symbol 197 MovieClip Frame 2
stop();
_root.gold = _root.gold + 5;
_root.score = _root.score + 5;
Symbol 199 MovieClip Frame 2
stop();
_root.gold = _root.gold + 3;
_root.score = _root.score + 3;
Symbol 201 MovieClip Frame 2
stop();
_root.gold = _root.gold + 1;
_root.score = _root.score + 1;
Symbol 204 MovieClip Frame 2
stop();
_root.score = _root.score + Math.round(_root.gold * 0.1);
inte.text = "+" + Math.round(_root.gold * 0.1);
_root.gold = _root.gold + Math.round(_root.gold * 0.1);
Symbol 211 Button
on (release) {
_root.reset();
_root.gotoAndPlay("menu");
_parent.removeMovieClip();
}
Symbol 213 Button
on (release) {
this._visible = false;
}
Symbol 214 MovieClip Frame 2
stop();
Symbol 223 MovieClip [powerup] Frame 1
rand = Math.floor(Math.random() * 4) + 1;
gotoAndPlay(rand);
Symbol 223 MovieClip [powerup] Frame 2
stop();
Instance of Symbol 216 MovieClip in Symbol 223 MovieClip [powerup] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.beep();
if (_root.chealth <= 40) {
_root.chealth = _root.chealth + 10;
_root.panel.hp.bar._xscale = _root.panel.hp.bar._xscale + 20;
} else {
_root.chealth = 50;
_root.panel.hp.bar._xscale = 100;
}
_parent.removeMovieClip();
}
}
Symbol 223 MovieClip [powerup] Frame 3
stop();
Instance of Symbol 218 MovieClip in Symbol 223 MovieClip [powerup] Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.beep();
_root.money = _root.money + 5;
_parent.removeMovieClip();
}
}
Symbol 223 MovieClip [powerup] Frame 4
stop();
Instance of Symbol 220 MovieClip in Symbol 223 MovieClip [powerup] Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.beep();
_root.mines++;
_parent.removeMovieClip();
}
}
Symbol 232 Button
on (release) {
cost = _root.idamage.num + Math.ceil(Math.pow(_root.idamage.num + 1, 2) / 2);
if (_root.gold >= cost) {
_root.gold = _root.gold - cost;
_root.upgrades.damage = _root.upgrades.damage + _root.idamage.upgrades[_root.idamage.num];
gold_txt.text = "$" + _root.gold;
admg_txt.text = _root.upgrades.damage;
dmg_txt.text = "+" + _root.idamage.upgrades[_root.idamage.num];
_root.idamage.num++;
ncost = _root.idamage.num + Math.ceil(Math.pow(_root.idamage.num + 1, 2) / 2);
cdmg_txt.text = "$" + ncost;
}
}
Symbol 233 Button
on (release) {
if (_root.upgrades.reload > 0) {
if (_root.gold >= Math.pow(_root.ireload.num + 2, 2)) {
_root.gold = _root.gold - Math.pow(_root.ireload.num + 2, 2);
_root.upgrades.reload = _root.upgrades.reload - _root.ireload.upgrades[_root.ireload.num];
gold_txt.text = "$" + _root.gold;
_root.ireload.num++;
if (_root.upgrades.reload <= 0) {
arel_txt.text = "0";
rel_txt.text = "";
crel_txt.text = "MAX";
} else {
arel_txt.text = _root.upgrades.reload;
rel_txt.text = "-" + _root.ireload.upgrades[_root.ireload.num];
crel_txt.text = "$" + Math.pow(_root.ireload.num + 2, 2);
}
}
}
}
Symbol 234 Button
on (release) {
if (_root.gold >= ((50 - _root.chealth) * 2)) {
_root.gold = _root.gold - ((50 - _root.chealth) * 2);
_root.chealth = 50;
_root.panel.hp.bar._xscale = 100;
gold_txt.text = "$" + _root.gold;
ahp_txt.text = _root.chealth;
hp_txt.text = "+" + (50 - _root.chealth);
chp_txt.text = "$" + ((50 - _root.chealth) * 2);
}
}
Symbol 249 Button
on (release) {
if (_root.interest == 0) {
if (_root.gold >= 100) {
_root.gold = _root.gold - 100;
gold_txt.text = "$" + _root.gold;
_root.interest = 1;
int_txt.text = "MAX";
}
}
}
Symbol 250 Button
on (release) {
if (_root.gold >= 20) {
_root.gold = _root.gold - 20;
gold_txt.text = "$" + _root.gold;
_root.mines++;
min_txt.text = _root.mines;
}
}
Symbol 260 Button
on (release) {
_root.play();
this.removeMovieClip();
}
Symbol 262 Button
on (release) {
ays._visible = true;
}
Symbol 265 Button
on (release) {
gotoAndPlay (2);
}
Symbol 267 Button
on (release) {
gotoAndPlay (1);
}
Symbol 273 MovieClip [welldone] Frame 1
for (t in _root.powerups) {
_root.powerups[t].removeMovieClip();
}
for (u in _root.ebul) {
_root.ebul[u].removeMovieClip();
}
if (_root.chealth <= 0) {
this.removeMovieClip();
}
Instance of Symbol 197 MovieClip in Symbol 273 MovieClip [welldone] Frame 1
onClipEvent (load) {
if (_parent.ab == false) {
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 199 MovieClip in Symbol 273 MovieClip [welldone] Frame 1
onClipEvent (load) {
if (_parent.csb == false) {
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 201 MovieClip in Symbol 273 MovieClip [welldone] Frame 1
onClipEvent (load) {
if (_parent.nmv == 0) {
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 204 MovieClip in Symbol 273 MovieClip [welldone] Frame 1
onClipEvent (load) {
if (_root.interest == 0) {
stop();
}
}
Instance of Symbol 214 MovieClip "ays" in Symbol 273 MovieClip [welldone] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 273 MovieClip [welldone] Frame 2
stop();
gold_txt.text = "$" + _root.gold;
if (_root.interest == 1) {
int_txt.text = "MAX";
} else {
int_txt.text = "$100";
}
min_txt.text = _root.mines;
admg_txt.text = _root.upgrades.damage;
dmg_txt.text = "+" + _root.idamage.upgrades[_root.idamage.num];
cost = _root.idamage.num + Math.ceil(Math.pow(_root.idamage.num + 1, 2) / 2);
cdmg_txt.text = "$" + cost;
ahp_txt.text = _root.chealth;
hp_txt.text = "+" + (50 - _root.chealth);
chp_txt.text = "$" + ((50 - _root.chealth) * 2);
if (_root.upgrades.reload <= 0) {
arel_txt.text = "0";
rel_txt.text = "";
crel_txt.text = "MAX";
} else {
arel_txt.text = _root.upgrades.reload;
rel_txt.text = "-" + _root.ireload.upgrades[_root.ireload.num];
crel_txt.text = "$" + Math.pow(_root.ireload.num + 2, 2);
}
Symbol 273 MovieClip [welldone] Frame 3
stop();
gold_txt.text = "$" + _root.gold;
if (_root.interest == 1) {
int_txt.text = "MAX";
} else {
int_txt.text = "$100";
}
min_txt.text = _root.mines;
Symbol 277 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 1
bar._visible = false;
bar2._visible = false;
Symbol 306 Button
on (release) {
getURL ("http://www.z-fox.com/mz.php", "_blank");
}
Symbol 310 Button
on (release) {
play();
}
Symbol 312 Button
on (release) {
inst._visible = true;
}
Symbol 314 Button
on (release) {
getURL ("http://www.itch.com", "_blank");
}
Symbol 316 Button
on (release) {
badges._visible = true;
}
Symbol 323 Button
on (release) {
this._visible = false;
}
Symbol 346 Button
on (release) {
getURL ("http://www.itch.com", "_blank");
}
Symbol 347 MovieClip Frame 1
_visible = false;
Symbol 347 MovieClip Frame 2
stop();
Symbol 351 Button
on (release) {
this._visible = false;
}
Symbol 352 MovieClip Frame 2
stop();
Symbol 354 Button
on (release) {
_root.muted = false;
gotoAndPlay (5);
_root.kirupaSound3.start(0, 99);
}
Symbol 356 Button
on (release) {
_root.muted = true;
_root.kirupaSound3.stop();
gotoAndPlay (4);
}
Symbol 357 MovieClip Frame 2
if (_root.muted) {
gotoAndPlay (3);
} else {
gotoAndPlay (4);
}
Symbol 357 MovieClip Frame 3
stop();
Symbol 357 MovieClip Frame 4
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 390 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 395 MovieClip Frame 1
if (go == true) {
play();
} else {
gotoAndPlay (3);
}
Symbol 395 MovieClip Frame 2
stop();
Symbol 395 MovieClip Frame 3
stop();