Frame 1
Mouse.hide();
Stage.showMenu = false;
moder = "easy";
loadit = true;
timeunit = 0;
showTime = 0;
timeOut = 0;
Frame 2
stop();
if (loadit == true) {
savefile = SharedObject.getLocal("ColorC");
totaltime = savefile.data.totaltime;
escore = savefile.data.escore;
mscore = savefile.data.mscore;
hscore = savefile.data.hscore;
loadit = false;
}
if (nom == undefined) {
nom = "Name Here";
tscore = 0;
escore = 0;
mscore = 0;
hscore = 0;
}
score = 0;
scr = 1;
_x = 0;
quant = 0;
quantControl = 0;
quantCon = "";
tt = 100;
yy = 300;
guy = 0;
dguy = 0;
eguy = 0;
tguy = 1;
tenemy = 0;
laser = 0;
ulaser = false;
FX = 0;
tech = 1;
level = 1;
hlvl = 1;
atlvl = 1;
compLevel = 0;
mod = 2;
hold = false;
thouse = 1;
inlvl = 0;
narf = 1;
tinm.removeMovieClip();
countdown.removeMovieClip();
bbar.removeMovieClip();
stuffers.removeMovieClip();
loser.removeMovieClip();
showlvl.removeMovieClip();
ppp.removeMovieClip();
hand.removeMovieClip();
t = 0;
while (t < 1000) {
_root["house" + t].removeMovieClip();
_root["hole" + t].removeMovieClip();
_root["mine" + t].removeMovieClip();
_root["enem" + t].removeMovieClip();
_root["guy" + t].removeMovieClip();
t++;
}
Instance of Symbol 72 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
}
Frame 5
function levelCreate() {
if ((compLevel < 1) && (points > 0)) {
housex.duplicateMovieClip("house" + thouse, 1000 + (thouse * 10));
_root["house" + thouse]._x = random(500) + 150;
_root["house" + thouse]._y = random(220) + 50;
_root["house" + thouse].swapDepths(((1000 * (_root["house" + thouse]._y + 18)) + thouse) / 10);
thouse++;
points = points - (50 * narf);
compLevel++;
inlvl++;
}
tnt = 0;
while (tnt < 100) {
if (points > 0) {
cause = random(520) + 1;
if (level > 30) {
narf = 100 / (((level / 2000) + 1) * 100);
} else {
narf = 1;
}
if ((cause < 80) && (points >= (50 * narf))) {
housex.duplicateMovieClip("house" + thouse, 1000 + (thouse * 10));
_root["house" + thouse]._x = random(500) + 150;
_root["house" + thouse]._y = random(220) + 50;
_root["house" + thouse].swapDepths(((1000 * (_root["house" + thouse]._y + 18)) + thouse) / 10);
thouse++;
points = points - (50 * narf);
compLevel++;
inlvl++;
}
if (level >= 3) {
if (((cause > 80) && (cause < 160)) && (points >= (60 * narf))) {
holesx.duplicateMovieClip("hole" + tenemy, 1001 + (tenemy * 10));
_root["hole" + tenemy]._x = random(500) + 150;
_root["hole" + tenemy]._y = random(220) + 50;
_root["hole" + tenemy]._width = random(51) + 10;
_root["hole" + tenemy]._height = _root["hole" + tenemy]._width / 4;
_root["hole" + tenemy].swapDepths(((1000 * (_root["hole" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (60 * narf);
inlvl++;
}
if (((cause > 160) && (cause < 220)) && (points >= (80 * narf))) {
minex.duplicateMovieClip("mine" + tenemy, 1001 + (tenemy * 10));
_root["mine" + tenemy]._x = random(500) + 150;
_root["mine" + tenemy]._y = random(220) + 50;
_root["mine" + tenemy].swapDepths(((1000 * (_root["mine" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (80 * narf);
inlvl++;
}
}
if (level >= 5) {
if (((cause > 220) && (cause < 280)) && (points >= (130 * narf))) {
trix.duplicateMovieClip("enem" + tenemy, 1001 + (tenemy * 10));
_root["enem" + tenemy]._x = random(600) + 800;
_root["enem" + tenemy]._y = random(220) + 50;
_root["enem" + tenemy].swapDepths(((1000 * (_root["enem" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (130 * narf);
inlvl++;
}
}
if (level >= 7) {
if (((cause > 280) && (cause < 330)) && (points >= (100 * narf))) {
spyx.duplicateMovieClip("enem" + tenemy, 1001 + (tenemy * 10));
_root["enem" + tenemy]._x = random(600) + 800;
_root["enem" + tenemy]._y = random(220) + 50;
_root["enem" + tenemy].swapDepths(((1000 * (_root["enem" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (100 * narf);
inlvl++;
}
}
if (level >= 10) {
if (((cause > 330) && (cause < 380)) && (points >= (160 * narf))) {
carax.duplicateMovieClip("enem" + tenemy, 1001 + (tenemy * 10));
_root["enem" + tenemy]._x = random(600) + 800;
_root["enem" + tenemy]._y = random(220) + 50;
_root["enem" + tenemy].swapDepths(((1000 * (_root["enem" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (160 * narf);
inlvl++;
}
}
if (level >= 15) {
if (((cause > 380) && (cause < 420)) && (points >= (180 * narf))) {
carbx.duplicateMovieClip("enem" + tenemy, 1001 + (tenemy * 10));
_root["enem" + tenemy]._x = random(600) + 800;
_root["enem" + tenemy]._y = random(220) + 50;
_root["enem" + tenemy].swapDepths(((1000 * (_root["enem" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (180 * narf);
inlvl++;
}
}
if (level >= 22) {
if (((cause > 420) && (cause < 460)) && (points >= (200 * narf))) {
carcx.duplicateMovieClip("enem" + tenemy, 1001 + (tenemy * 10));
_root["enem" + tenemy]._x = random(600) + 800;
_root["enem" + tenemy]._y = random(220) + 50;
_root["enem" + tenemy].swapDepths(((1000 * (_root["enem" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (200 * narf);
inlvl++;
}
}
if (level >= 30) {
if ((cause > 500) && (points >= (250 * narf))) {
cardx.duplicateMovieClip("enem" + tenemy, 1001 + (tenemy * 10));
_root["enem" + tenemy]._x = random(600) + 800;
_root["enem" + tenemy]._y = random(220) + 50;
_root["enem" + tenemy].swapDepths(((1000 * (_root["enem" + tenemy]._y + 10)) + tenemy) / 10);
tenemy++;
points = points - (250 * narf);
inlvl++;
}
}
if (points < 50) {
points = -1;
}
}
leveldone = false;
tnt++;
}
}
function attacking() {
tot = eguy;
while (tot < tguy) {
inin = 0;
while (inin < (inlvl + 1)) {
if (_root["house" + inin].base.hitTest(_root["guy" + tot])) {
_root["guy" + tot].attack = true;
_root["house" + inin].health = _root["house" + inin].health - _root["guy" + tot].str;
}
if (_root["hole" + inin].hitTest(_root["guy" + tot])) {
if ((_root["guy" + tot]._height + _root["guy" + tot]._width) > (_root["hole" + inin]._height + _root["hole" + inin]._width)) {
_root["guy" + tot].health = _root["guy" + tot].health - 200;
_root["hole" + inin].removeMovieClip();
} else {
_root["guy" + tot].health = _root["guy" + tot].health - 10000;
_root["hole" + inin]._width = _root["hole" + inin]._width - 5;
_root["hole" + inin]._height = _root["hole" + inin]._width / 4;
}
}
if (_root["mine" + inin].hitTest(_root["guy" + tot])) {
_root["guy" + tot].health = _root["guy" + tot].health - 800;
_root["mine" + inin].removeMovieClip();
}
if (_root["enem" + inin].hitTest(_root["guy" + tot])) {
_root["guy" + tot].health = _root["guy" + tot].health - _root["enem" + inin].str;
_root["enem" + inin].health = _root["enem" + inin].health - _root["guy" + tot].str;
_root["guy" + tot].attack = true;
_root["enem" + inin].attack = true;
}
inin++;
}
tot++;
}
}
function techStuff() {
if (guy != 0) {
out = false;
}
if ((_root.guy == 0) && (out == false)) {
if (((_ymouse > 300) && (_xmouse > (50 + turf))) && (_xmouse < (420 + turf))) {
out = true;
}
}
if (((_ymouse < 190) || (_xmouse < (50 + turf))) || (_xmouse > (420 + turf))) {
if (out == true) {
out = false;
}
}
if (out == true) {
stuffers.techs._y = stuffers.techs._y + (-40 - (stuffers.techs._y / 3));
} else if (out == false) {
stuffers.techs._y = stuffers.techs._y + (-(stuffers.techs._y / 3));
}
stuffers.techs.gotoAndStop(tech - 2);
}
function laserOn() {
if (laser == 1) {
puff = 100;
laser = random(5) + 2;
}
if (ulaser == true) {
dguy = 0;
gig = 0;
while (gig < 20) {
_root.laserx.duplicateMovieClip("guy" + gig, 800000 + gig);
_root["guy" + tguy].gotoAndStop(random(5) + 1);
_root["guy" + tguy]._x = -100 - random(500);
_root["guy" + tguy]._y = random(200) + 50;
_root["guy" + tguy]._width = 500;
_root["guy" + tguy]._height = 250;
_root["guy" + tguy].swapDepths(810000 + gig);
gig++;
}
ulaser = false;
}
if (laser >= 2) {
if (((_ymouse < 300) && (_ymouse > 10)) && (_root.pausing == false)) {
_root.laserx.duplicateMovieClip("guy" + tguy, dguy);
_root["guy" + tguy].gotoAndStop(laser - 1);
_root["guy" + tguy]._x = -100;
_root["guy" + tguy]._y = _ymouse;
_root["guy" + tguy].swapDepths(800000 + dguy);
tguy++;
dguy++;
puff--;
if (dguy > 99) {
dguy = 0;
}
}
if (puff < 1) {
laser = 0;
}
}
}
function hotKeys() {
if (Key.isDown(81) && (money >= 100)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 1;
money = money - 100;
}
if (Key.isDown(87) && (money >= 250)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 2;
money = money - 250;
}
if ((Key.isDown(69) && (tech >= 2)) && (money >= 600)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 5;
money = money - 600;
}
if (Key.isDown(82) && (money >= 500)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 3;
money = money - 500;
}
if (Key.isDown(84) && (money >= 800)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 4;
money = money - 800;
}
if ((Key.isDown(89) && (tech >= 2)) && (money >= 1200)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 6;
money = money - 1200;
}
if ((Key.isDown(65) && (tech >= 3)) && (money >= 1500)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 7;
money = money - 1500;
}
if ((Key.isDown(83) && (tech >= 3)) && (money >= 750)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 8;
money = money - 750;
}
if ((Key.isDown(68) && (tech >= 4)) && (money >= 1600)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 9;
money = money - 1600;
}
if ((Key.isDown(70) && (tech >= 4)) && (money >= 1400)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 10;
money = money - 1400;
}
if ((Key.isDown(71) && (tech >= 5)) && (money >= 1000)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 11;
money = money - 1000;
}
if ((Key.isDown(72) && (tech >= 5)) && (money >= 2200)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 12;
money = money - 2200;
}
if ((Key.isDown(90) && (tech >= 6)) && (money >= 3000)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 13;
money = money - 3000;
}
if ((Key.isDown(88) && (tech >= 6)) && (money >= 5000)) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
guy = 14;
money = money - 5000;
}
}
stop();
pausing = false;
out = false;
quant = 0;
quantControl = 0;
quantCon = "";
tt = 100;
yy = 300;
guy = 0;
dguy = 0;
eguy = 0;
tguy = 1;
tenemy = 0;
laser = 0;
ulaser = false;
FX = 0;
tech = 1;
level = 1;
hlvl = 1;
atlvl = 1;
compLevel = 0;
if (moder == "easy") {
mod = 2;
money = 5000;
timr = 5400;
scr = 1;
}
if (moder == "medium") {
mod = 1.2;
money = 2500;
timr = 3600;
scr = 2;
}
if (moder == "hard") {
mod = 1.25;
money = 1000;
timr = 1800;
scr = 6;
hlvl = 0.8;
atlvl = 0.8;
}
if (moder == "hax") {
mod = (random(50) / 10) + 1;
money = 1000000000 /* 0x3B9ACA00 */;
timr = 1000000000 /* 0x3B9ACA00 */;
scr = 0;
}
tim = timr;
hold = false;
tinmx.duplicateMovieClip("tinm", 887000);
tinmx._y = -500;
countdownx.duplicateMovieClip("countdown", 888000);
countdownx._visible = false;
bbarx.duplicateMovieClip("bbar", 888400);
bbarx._y = 1000;
stuffersx.duplicateMovieClip("stuffers", 888500);
stuffersx._y = 1000;
loserx.duplicateMovieClip("loser", 889000);
showlvlx.duplicateMovieClip("showlvl", 900000);
pppx.duplicateMovieClip("ppp", 990000);
handx.duplicateMovieClip("hand", 1000000);
thouse = 1;
inlvl = 0;
points = 100 + (100 * Math.round(level / mod));
narf = 1;
onEnterFrame = function () {
if (_currentframe == 5) {
levelCreate();
if (_root.pausing == false) {
attacking();
laserOn();
hotKeys();
hand.gotoAndStop(guy + 1);
} else {
hand.gotoAndStop(1);
}
techStuff();
stuffers.gotoAndStop(tech);
dmon = "$" + money;
dtech = " Tech " + tech;
dlevel = " Level " + level;
atlvl = Math.round(atlvl * 10) / 10;
hlvl = Math.round(hlvl * 10) / 10;
drat = ((("Attack Lvl " + atlvl) + " / ") + hlvl) + " Health Lvl";
Mouse.hide();
hand._x = _xmouse;
hand._y = _ymouse;
if (hold == false) {
liner._visible = false;
} else {
liner._visible = true;
}
if ((quant - (guy - 1)) <= 0) {
quantControl = 1;
} else if ((quant - (guy - 1)) > 5) {
quantConrtol = 5;
} else {
quantControl = quant - (guy - 1);
}
onMouseDown = function () {
if ((((_ymouse < 300) && (_ymouse > 10)) && (guy != 0)) && (_root.pausing == false)) {
tern = 1;
while (tern <= quantControl) {
_root["unitG" + guy].duplicateMovieClip("guy" + tguy, dguy);
_root["guy" + tguy]._x = (-20 - _root["guy" + tguy]._width) - (tern * (_root["guy" + tguy]._width / 2));
_root["guy" + tguy]._y = (_ymouse - (_root["guy" + tot]._height / 2)) + ((quantControl - random(quantControl * 2)) * 10);
_root["guy" + tguy].swapDepths((((1000 * (_root["guy" + tguy]._y + _root["guy" + tguy]._height)) + dguy) + 500) / 10);
tguy++;
dguy++;
if (dguy > 99) {
dguy = 0;
}
tern++;
}
guy = 0;
}
};
if (quantControl > 0) {
quantCon = "x" + quantControl;
} else {
quantCon = "";
}
if (eguy >= tguy) {
tguy = tguy + 5;
}
if (compLevel < 1) {
tt--;
if (tt < 1) {
leveldone = true;
level++;
showlvl.play();
compLevel = 0;
inlvl = 0;
thouse = 0;
tenemy = 0;
dguy = 0;
eguy = 0;
tguy = 1;
FX = 0;
points = 100 + (100 * Math.round(level / mod));
money = money + ((1000 * level) * (mod - 1));
tt = 100;
score = score + ((level + Math.round(tim / (timr / 100))) * scr);
tim = timr;
}
}
if (money < 0) {
money = 0;
}
if (((tim > 0) && (compLevel > 0)) && (pausing == false)) {
tim = tim - 1;
}
timtim = (Math.round(tim / 3) / 10) + " secs.";
if (tim < 1) {
if (loser._currentframe == 1) {
loser.play();
}
}
money = Math.round(money);
if (money < 100) {
yy--;
if (yy < 0) {
if (loser._currentframe == 1) {
loser.play();
}
countdown.gotoAndStop(300);
} else {
countdown.play();
}
} else {
yy = 300;
countdown.gotoAndStop(1);
}
if (Key.isDown(32)) {
pausing = true;
}
if (pausing == false) {
ppp._x = 1000;
} else if (pausing == true) {
ppp._x = 5 + turf;
pppy._y = 5;
}
if ((tguy - eguy) > 20) {
_quality = "LOW";
} else if (((tguy - eguy) > 10) && ((tguy - eguy) < 20)) {
_quality = "MEDIUM";
} else if ((tguy - eguy) < 10) {
_quality = "HIGH";
}
if (hold == true) {
_x = 50;
turf = -50;
bgb._x = -60;
bbar._x = 305;
stuffers._x = 8.8;
} else {
_x = 0;
turf = 0;
bgb._x = -13;
bbar._x = 355;
stuffers._x = 58.8;
}
if (moder == "easy") {
if (score > escore) {
escore = score;
}
}
if (moder == "medium") {
if (score > mscore) {
mscore = score;
}
}
if (moder == "hard") {
if (score > hscore) {
hscore = score;
}
}
}
};
Frame 6
nam = nom;
scr = 1;
_x = 0;
quant = 0;
quantControl = 0;
quantCon = "";
tt = 100;
yy = 300;
guy = 0;
dguy = 0;
eguy = 0;
tguy = 1;
tenemy = 0;
laser = 0;
ulaser = false;
FX = 0;
tech = 1;
level = 1;
hlvl = 1;
atlvl = 1;
compLevel = 0;
mod = 2;
hold = false;
thouse = 1;
inlvl = 0;
narf = 1;
tinm.removeMovieClip();
countdown.removeMovieClip();
bbar.removeMovieClip();
stuffers.removeMovieClip();
loser.removeMovieClip();
showlvl.removeMovieClip();
ppp.removeMovieClip();
hand.removeMovieClip();
t = 0;
while (t < 1000) {
_root["house" + t].removeMovieClip();
_root["hole" + t].removeMovieClip();
_root["mine" + t].removeMovieClip();
_root["enem" + t].removeMovieClip();
_root["guy" + t].removeMovieClip();
t++;
}
Instance of Symbol 72 MovieClip in Frame 6
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
}
Frame 7
Symbol 31 MovieClip Frame 1
points = 0;
Instance of Symbol 14 MovieClip in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_x > -110) {
_x = (_x - ((_parent.points / 2) + 1));
if (this.hitTest(_parent.tem)) {
_parent.points = _parent.points + 2;
_x = 125;
_y = (-35 + random(70));
}
} else {
if (_parent.points > 0) {
_parent.points--;
}
_x = 125;
_y = (-35 + random(70));
}
}
Instance of Symbol 29 MovieClip "tem" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_y > -36)) {
_y = (_y - 2);
}
if (Key.isDown(40) && (_y < 25)) {
_y = (_y + 2);
}
}
Symbol 32 MovieClip Frame 1
_root.stop();
stop();
onEnterFrame = function () {
bar._height = (_root.getBytesLoaded() / _root.getBytesTotal()) * 171;
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
}
hhh = (_root.getBytesTotal() / 1024) + " kb";
};
Symbol 32 MovieClip Frame 15
_root.nextFrame();
Symbol 42 MovieClip Frame 10
stop();
Symbol 43 MovieClip Frame 10
stop();
Symbol 44 Button
on (release) {
gotoAndStop (4);
}
Symbol 45 Button
on (release) {
if (moder == "easy") {
moder = "medium";
} else if (moder == "medium") {
moder = "hard";
} else if (moder == "hard") {
moder = "easy";
} else if (moder == "hax") {
moder = "easy";
}
}
Symbol 46 Button
on (release) {
gotoAndStop (3);
}
Symbol 47 Button
on (release) {
gotoAndStop (5);
}
Symbol 53 MovieClip Frame 1
onEnterFrame = function () {
if (_root.moder == "easy") {
gotoAndStop (1);
}
if (_root.moder == "medium") {
gotoAndStop (2);
}
if (_root.moder == "hard") {
gotoAndStop (3);
}
if (_root.moder == "hax") {
gotoAndStop (4);
}
};
Symbol 54 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=316", "_blank");
}
Symbol 76 MovieClip Frame 1
onEnterFrame = function () {
_root.timeunit = _root.timeunit + 1;
_root.timeOut = Math.round(_root.timeunit / 3) / 10;
_root.totaltime = _root.showTime + _root.timeOut;
};
Symbol 78 Button
on (release) {
gotoAndStop (2);
}
Symbol 85 MovieClip Frame 10
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 86 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 500 * _root.hlvl;
attack = false;
str = 5 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 2);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 100 MovieClip Frame 1
stop();
deaths = 1;
sname = _name.split("m");
health = 150 * Math.floor(_root.level / 4);
attack = false;
str = 20 * Math.floor(_root.level / 4);
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if (attack == false) {
_x = (_x - 4);
} else {
_x = (_x - 2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
_root.money = _root.money + (100 * Math.round(_root.level / 25));
health = 150 * Math.floor(_root.level / 4);
}
if (_x < -10) {
_root.money = _root.money - (100 * Math.round(_root.level / 2));
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 150 * Math.floor(_root.level / 4);
}
if (_root.leveldone == true) {
this.removeMovieClip();
}
}
};
Symbol 111 Button
on (release) {
getURL ("http://www.amishkumar.com", "_blank");
}
Symbol 113 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 800 * _root.hlvl;
attack = false;
str = 10 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 2);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 128 MovieClip Frame 10
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 129 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 600 * _root.hlvl;
attack = false;
str = 25 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 4);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 130 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 800 * _root.hlvl;
attack = false;
str = 30 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 3);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 131 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 1400 * _root.hlvl;
attack = false;
str = 30 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 1);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 132 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 1800 * _root.hlvl;
attack = false;
str = 90 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 4);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 145 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 300 * _root.hlvl;
attack = false;
sped = 2;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
str = (random(_root.level * 150) + 100) * _root.atlvl;
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
sped = 2;
} else if (attack == false) {
_x = (_x + sped);
sped = sped + 0.5;
}
if ((health < 1) || (attack == true)) {
ted = 0;
while (ted <= 3) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x + (random(41) - 20);
_root["ex" + _root.FX]._y = _y + (random(41) - 20);
_root["ex" + _root.FX].delay = random(10);
_root.FX++;
ted++;
}
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 160 MovieClip Frame 10
_parent.attack = false;
_parent.gotoAndStop(1);
_parent.sped = 1;
Symbol 161 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 2500 * _root.hlvl;
attack = false;
sped = 0;
str = 25 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
sped = 2;
} else if (attack == false) {
_x = (_x + sped);
if (sped < 6) {
sped = sped + 0.2;
}
}
if (attack == true) {
sped = 5;
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 162 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 3200 * _root.hlvl;
attack = false;
sped = 0;
str = 80 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
sped = 2;
} else if (attack == false) {
_x = (_x + sped);
if (sped < 8) {
sped = sped + 0.5;
}
}
if (attack == true) {
sped = 10;
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 165 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 2000 * _root.hlvl;
attack = false;
sped = 0;
str = 160 * _root.atlvl;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + sped);
if (sped < 20) {
sped = sped + 1;
}
}
if (attack == true) {
if (random(10) < 3) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
}
_x = (_x + 3);
attack = false;
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 189 MovieClip Frame 27
if (_parent._parent._parent._width < 100) {
_parent._parent.str = 20 * _root.atlvl;
} else {
_parent._parent.str = 60 * _root.atlvl;
}
Symbol 189 MovieClip Frame 59
_parent._parent.str = 0;
Symbol 189 MovieClip Frame 80
_parent._parent.attack = false;
_parent._parent.gotoAndStop(1);
Symbol 191 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 2800 * _root.hlvl;
attack = false;
str = 0;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 3);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 193 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 4000 * _root.hlvl;
attack = false;
str = 0;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 3);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 201 MovieClip Frame 6
_parent.str = _parent.str + (300 * _root.atlvl);
Symbol 201 MovieClip Frame 9
_parent.str = 0;
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 202 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 3000 * _root.hlvl;
attack = false;
str = 0;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + 2);
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 204 MovieClip Frame 1
stop();
sname = _name.split("y");
health = 5000 * _root.hlvl;
attack = false;
str = 0;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if ((_root.hold == true) && (_x < (10 - (_width / 2)))) {
_x = (5 - _width);
} else if (attack == false) {
_x = (_x + (random(3) + 1));
}
if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
this.removeMovieClip(_root.eguy++);
}
if ((_x > 720) || (_root.leveldone == true)) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 214 MovieClip Frame 1
stop();
deaths = 1;
sname = _name.split("m");
health = 100 * Math.floor(_root.level / 5);
attack = false;
str = 0;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
_x = (_x - (2 + (_root.level / 50)));
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 100 * Math.floor(_root.level / 5);
_root.money = _root.money + (100 * (_root.level / 25));
}
if (_x < -10) {
_root.money = _root.money - (1000 * _root.level);
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 100 * Math.floor(_root.level / 5);
}
if (_root.leveldone == true) {
this.removeMovieClip();
}
}
};
Symbol 216 MovieClip Frame 1
stop();
deaths = 1;
sname = _name.split("m");
health = 200 * Math.floor(_root.level / 5);
attack = false;
str = 40 * Math.floor(_root.level / 5);
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if (attack == false) {
_x = (_x - 5);
} else {
_x = (_x - 3);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
_root.money = _root.money + (200 * Math.round(_root.level / 5));
attack = false;
health = 200 * Math.floor(_root.level / 5);
}
if (_x < -10) {
_root.money = _root.money - (150 * Math.round(_root.level / 2));
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 200 * Math.floor(_root.level / 25);
}
if (_root.leveldone == true) {
this.removeMovieClip();
}
}
};
Symbol 218 MovieClip Frame 1
stop();
deaths = 1;
sname = _name.split("m");
health = 300 * Math.floor(_root.level / 5);
attack = false;
str = 60 * Math.floor(_root.level / 5);
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if (attack == false) {
_x = (_x - 3);
} else {
_x = (_x - 2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 300 * Math.floor(_root.level / 5);
_root.money = _root.money + (400 * Math.round(_root.level / 25));
attack = false;
}
if (_x < -10) {
_root.money = _root.money - (200 * Math.round(_root.level / 2));
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
health = 300 * Math.floor(_root.level / 5);
deaths++;
}
if (_root.leveldone == true) {
this.removeMovieClip();
}
}
};
Symbol 224 MovieClip Frame 1
stop();
deaths = 1;
sname = _name.split("m");
health = 400 * Math.floor(_root.level / 5);
attack = false;
str = 80 * Math.floor(_root.level / 5);
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if (attack == false) {
_x = (_x - 11);
} else {
_x = (_x - 5);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 400 * Math.floor(_root.level / 5);
_root.money = _root.money + (350 * Math.round(_root.level / 25));
attack = false;
}
if (_x < -10) {
_root.money = _root.money - (200 * Math.round(_root.level / 2));
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
health = 400 * Math.floor(_root.level / 5);
deaths++;
}
if (_root.leveldone == true) {
this.removeMovieClip();
}
}
};
Symbol 226 MovieClip Frame 6
_parent.str = _parent.str + (80 * Math.floor(_root.level / 5));
Symbol 226 MovieClip Frame 9
_parent.str = 0;
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 227 MovieClip Frame 1
stop();
deaths = 1;
sname = _name.split("m");
health = 600 * Math.floor(_root.level / 5);
attack = false;
str = 0;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
if (attack == false) {
_x = (_x - 6);
} else if (attack == true) {
gotoAndStop (2);
}
if (health < 1) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 880000);
_root["ex" + _root.FX]._x = _x;
_root["ex" + _root.FX]._y = _y;
_root.FX++;
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
deaths++;
health = 600 * Math.floor(_root.level / 5);
attack = false;
_root.money = _root.money + (500 * Math.round(_root.level / 25));
}
if (_x < -10) {
_root.money = _root.money - (400 * Math.round(_root.level / 2));
_x = (((random(100) + 1) * deaths) + (750 * (1 + (deaths / 10))));
_y = (random(260) + 20);
health = 600 * Math.floor(_root.level / 5);
deaths++;
}
if (_root.leveldone == true) {
this.removeMovieClip();
}
}
};
Symbol 228 MovieClip Frame 1
gotoAndStop(random(20) + 2);
Symbol 229 Button
on (release) {
getURL ("http://www.clockcrew.net", "_blank");
}
Symbol 237 Button
on (release) {
moder = "hax";
}
Symbol 242 MovieClip Frame 6900
_parent.nextFrame();
Symbol 244 MovieClip Frame 2900
_parent.nextFrame();
Symbol 246 MovieClip Frame 6710
_parent.nextFrame();
Symbol 247 MovieClip Frame 6380
_parent.nextFrame();
Symbol 249 MovieClip Frame 4080
_parent.gotoAndStop(1);
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 6
stop();
stopAllSounds();
Symbol 256 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 264 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 268 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 272 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 276 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 277 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_currentframe == 1) {
if (delay > 0) {
delay--;
if (delay < 1) {
gotoAndStop(random(5) + 2);
}
} else {
gotoAndStop(random(5) + 2);
}
}
};
Symbol 289 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.win == true) {
play();
}
};
Symbol 292 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
}
}
Symbol 295 Button
on (release) {
if (_root.hold == false) {
_root.hold = true;
} else {
_root.hold = false;
}
}
Symbol 304 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 100) {
money = money - 100;
guy = 1;
}
}
}
}
Symbol 305 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 250) {
money = money - 250;
guy = 2;
}
}
}
}
Symbol 306 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 500) {
money = money - 500;
guy = 3;
}
}
}
}
Symbol 307 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 800) {
money = money - 800;
guy = 4;
}
}
}
}
Symbol 308 Button
on (release) {
with (_root) {
if (money >= 10000) {
money = money - 10000;
tech = 2;
}
}
}
Symbol 314 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 600) {
money = money - 600;
guy = 5;
}
}
}
}
Symbol 315 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 1200) {
money = money - 1200;
guy = 6;
}
}
}
}
Symbol 316 Button
on (release) {
with (_root) {
if (money >= 25000) {
money = money - 25000;
tech = 3;
}
}
}
Symbol 321 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 1500) {
money = money - 1500;
guy = 7;
}
}
}
}
Symbol 322 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 750) {
money = money - 750;
guy = 8;
}
}
}
}
Symbol 326 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 1400) {
money = money - 1400;
guy = 10;
}
}
}
}
Symbol 327 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 1600) {
money = money - 1600;
guy = 9;
}
}
}
}
Symbol 330 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 1000) {
money = money - 1000;
guy = 11;
}
}
}
}
Symbol 331 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 2200) {
money = money - 2200;
guy = 12;
}
}
}
}
Symbol 334 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 3000) {
money = money - 3000;
guy = 13;
}
}
}
}
Symbol 335 Button
on (release) {
with (_root) {
switch (guy) {
case 1 :
money = money + 100;
guy = 0;
break;
case 2 :
money = money + 250;
guy = 0;
break;
case 3 :
money = money + 500;
guy = 0;
break;
case 4 :
money = money + 800;
guy = 0;
break;
case 5 :
money = money + 600;
guy = 0;
break;
case 6 :
money = money + 1200;
guy = 0;
break;
case 7 :
money = money + 1500;
guy = 0;
break;
case 8 :
money = money + 750;
guy = 0;
break;
case 9 :
money = money + 1600;
guy = 0;
break;
case 10 :
money = money + 1400;
guy = 0;
break;
case 11 :
money = money + 1000;
guy = 0;
break;
case 12 :
money = money + 2200;
guy = 0;
break;
case 13 :
money = money + 3000;
guy = 0;
break;
case 14 :
money = money + 5000;
guy = 0;
}
if (guy == 0) {
if (money >= 5000) {
money = money - 5000;
guy = 14;
}
}
}
}
Symbol 338 Button
on (release) {
with (_root) {
if ((money >= 50000) && (hlvl < 10)) {
money = money - 50000;
hlvl = hlvl + 0.1;
}
}
if (_root.hlvl > 9) {
hbb._alpha = 50;
}
}
Symbol 341 Button
on (release) {
with (_root) {
if ((money >= 50000) && (hlvl < 10)) {
money = money - 50000;
hlvl = hlvl + 0.1;
}
}
if (_root.hlvl > 9.9) {
hbb._alpha = 50;
}
}
Symbol 342 Button
on (release) {
with (_root) {
if ((money >= 50000) && (atlvl < 10)) {
money = money - 50000;
atlvl = atlvl + 0.1;
}
}
if (_root.atlvl > 9.9) {
abb._alpha = 50;
}
}
Symbol 345 Button
on (release) {
with (_root) {
if ((money >= 80000) && (quant < 20)) {
money = money - 80000;
quant = quant + 1;
}
}
if (_root.quant > 19) {
qbb._alpha = 50;
}
}
Symbol 348 Button
on (release) {
with (_root) {
if (money >= 50000) {
money = money - 50000;
laser = 1;
}
}
}
Symbol 352 Button
on (release) {
with (_root) {
if (money >= 40000) {
money = money - 40000;
tech = 4;
}
}
}
Symbol 355 Button
on (release) {
with (_root) {
if (money >= 60000) {
money = money - 60000;
tech = 5;
}
}
}
Symbol 358 Button
on (release) {
with (_root) {
if (money >= 80000) {
money = money - 80000;
tech = 6;
}
}
}
Symbol 361 Button
on (release) {
with (_root) {
if (money >= 100000) {
money = money - 100000;
tech = 7;
}
}
}
Symbol 364 Button
on (release) {
with (_root) {
if (money >= 125000) {
money = money - 125000;
tech = 8;
}
}
}
Symbol 367 Button
on (release) {
with (_root) {
if (money >= 150000) {
money = money - 150000;
tech = 9;
}
}
}
Symbol 370 Button
on (release) {
with (_root) {
if (money >= 200000) {
money = money - 200000;
tech = 10;
}
}
}
Symbol 373 Button
on (release) {
with (_root) {
if (money >= 250000) {
money = money - 250000;
tech = 11;
}
}
}
Symbol 376 Button
on (release) {
with (_root) {
if (money >= 100000) {
money = money - 100000;
ulaser = true;
}
}
}
Symbol 379 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
onEnterFrame = function () {
if (_root.leveldone == true) {
this.removeMovieClip();
}
};
Symbol 391 MovieClip Frame 1
stop();
g = 0;
if (build == undefined) {
build = 0;
}
if (level == undefined) {
level = 1;
} else {
gotoAndStop(level);
}
grow = random(10) + 1;
health = (level * 1000) + ((_root.level - 2) * 500);
maxH = (level * 1000) + ((_root.level - 2) * 500);
onEnterFrame = function () {
if (_root.pausing == false) {
if (level != 7) {
build = build + ((grow * (_root.level / 10)) * (level * level));
if (build > ((level * level) * 2000)) {
nextFrame();
health = health + (500 * _root.level);
build = 0;
grow = random(10) + 1;
}
}
hh = (health + " ") + maxH;
maxH = (1000 * level) + ((_root.level - 2) * 500);
if (((health / maxH) * 1000) <= 1000) {
bar.hbar._width = (health / maxH) * 1000;
} else {
health = (1000 * (level + 1)) + ((_root.level - 2) * 500);
}
bar.inbar._width = (build / ((level * level) * 2000)) * 1000;
if (health < maxH) {
g--;
if (g < 1) {
g = (40 * (1 / level)) * (5 / _root.level);
health = health + 1;
}
}
if (health < 1) {
te = 0;
while (te < (3 * level)) {
_root.expl.duplicateMovieClip("ex" + _root.FX, _root.FX + 885000);
_root["ex" + _root.FX]._x = _x + (random(61) - 30);
_root["ex" + _root.FX]._y = ((_y - (_height / 2)) - (random(61) - 30)) + 20;
_root["ex" + _root.FX].delay = random(20);
_root.FX++;
te++;
}
this.removeMovieClip((_root.money = _root.money + (((250 * level) * _root.level) * (_root.mod - 1))), _root.compLevel--);
}
}
};
Symbol 391 MovieClip Frame 2
level = 2;
Symbol 391 MovieClip Frame 3
level = 3;
Symbol 391 MovieClip Frame 4
level = 4;
Symbol 391 MovieClip Frame 5
level = 5;
Symbol 391 MovieClip Frame 6
level = 6;
Symbol 391 MovieClip Frame 7
level = 7;
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 140
stopAllSounds();
_root.gotoAndStop(2);
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 300
stop();
Symbol 413 Button
on (release) {
_root.pausing = false;
}
Symbol 415 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(2);
}
Symbol 420 Button
on (release) {
stopAllSounds();
_root.bdxm.gotoAndStop(6);
}
Symbol 421 Button
on (release) {
stopAllSounds();
_root.bdxm.gotoAndStop(1);
}
Symbol 422 Button
on (release) {
stopAllSounds();
_root.bdxm.gotoAndStop(2);
}
Symbol 423 Button
on (release) {
stopAllSounds();
_root.bdxm.gotoAndStop(3);
}
Symbol 424 Button
on (release) {
stopAllSounds();
_root.bdxm.gotoAndStop(4);
}
Symbol 425 Button
on (release) {
stopAllSounds();
_root.bdxm.gotoAndStop(5);
}
Symbol 434 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 444 MovieClip Frame 1
sname = _name.split("y");
health = 10000;
onEnterFrame = function () {
if ((sname[1] != undefined) && (_root.pausing == false)) {
gotoAndStop(_root.laser);
_x = (_x + 100);
str = 500;
if (_x > 800) {
this.removeMovieClip(_root.eguy++);
}
}
};
Symbol 453 Button
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = nom;
ab20_09.x = score;
ab20_09.c = 318;
ab20_09.v = "EKMLXM";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.gotoAndStop(7);
}
Symbol 456 MovieClip Frame 3
stop();