Frame 1
_root.bakgrunn.gotoAndStop(5);
Stage.showMenu = false;
_root.seckslove = 0;
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes - loaded_bytes;
percent_done = int((loaded_bytes / total_bytes) * 100);
loaderDisplay1 = ("Percent Loaded: " + percent_done) + "%";
loaderDisplay2 = (("KB Loaded: " + Math.round(loaded_bytes / 1000)) + "/") + Math.round(total_bytes / 1000);
loaderbar._xscale = percent_done;
if (percent_done >= 99) {
gotoAndStop (2);
}
Instance of Symbol 21 MovieClip in Frame 1
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Instance of Symbol 25 MovieClip in Frame 1
onClipEvent (load) {
swapDepths(1E16);
}
Instance of Symbol 30 MovieClip in Frame 1
on (release) {
getURL ("http://www.phylogen.com", "_blank");
}
Frame 2
if (percent_done >= 99) {
stop();
_root.playknappen.play();
_root.loaderbilde.gotoAndStop(2);
} else {
gotoAndPlay (1);
}
_root.option = 0;
Frame 3
stop();
Frame 4
_root.bakgrunn.gotoAndStop(5);
stop();
removeMovieClip(_root.deadmenu);
Instance of Symbol 157 MovieClip in Frame 4
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Frame 5
stop();
Frame 6
stop();
_root.iwantcandy = 0;
removeMovieClip(_root.deadmenu);
_root.bitchoe = 0;
_root.cock = 1;
_root.bakgrunn.gotoAndStop(1);
Frame 7
stop();
Instance of Symbol 198 MovieClip "kanon" in Frame 7
onClipEvent (load) {
swapDepths(1027);
}
Instance of Symbol 216 MovieClip "mlaser1" in Frame 7
onClipEvent (load) {
dead = 0;
}
onClipEvent (enterFrame) {
if (dead == 0) {
if (_rotation > 180) {
_y = (_y + (15 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (15 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (15 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (15 * Math.sin((Math.PI/180) * _rotation)));
}
}
}
Instance of Symbol 234 MovieClip "menu" in Frame 7
onClipEvent (load) {
swapDepths(7000);
}
Instance of Symbol 216 MovieClip "laser" in Frame 7
onClipEvent (load) {
if (_root.cock == 1) {
this.gotoAndStop(5);
}
dead = 0;
damage = 1;
if (_rotation > 180) {
_y = (_y + (20 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (20 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (20 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (20 * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (dead == 0) {
if (_rotation > 180) {
_y = (_y + (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (10 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (10 * Math.sin((Math.PI/180) * _rotation)));
}
}
}
Instance of Symbol 241 MovieClip "hlaser" in Frame 7
onClipEvent (load) {
if (_root.cock == 1) {
this.gotoAndStop(5);
}
dead = 0;
damage = 1;
if (_rotation > 180) {
_y = (_y + (20 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (20 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (20 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (20 * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (dead == 0) {
if (_rotation > 180) {
_y = (_y + (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (10 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (10 * Math.sin((Math.PI/180) * _rotation)));
}
}
}
Instance of Symbol 259 MovieClip "fmega" in Frame 7
onClipEvent (load) {
if (_root.cock == 1) {
this.gotoAndStop(5);
}
damage = 2.5;
dead = 0;
if (_rotation > 180) {
_y = (_y + (22 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (22 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (22 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (22 * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (dead == 0) {
if (_rotation > 180) {
_y = (_y + (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (10 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (10 * Math.sin((Math.PI/180) * _rotation)));
}
}
}
Instance of Symbol 277 MovieClip "laserk" in Frame 7
onClipEvent (load) {
if (_root.cock == 1) {
this.gotoAndStop(5);
}
damage = 2;
dead = 0;
if (_rotation > 180) {
_y = (_y + (22 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (22 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (22 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (22 * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (dead == 0) {
if (_rotation > 180) {
_y = (_y + (12 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (12 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (12 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (12 * Math.sin((Math.PI/180) * _rotation)));
}
}
}
Instance of Symbol 290 MovieClip "mega" in Frame 7
onClipEvent (load) {
if (_root.cock == 1) {
this.gotoAndStop(5);
}
damage = 2.5;
dead = 0;
if (_rotation > 180) {
_y = (_y + (22 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (22 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (22 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (22 * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (dead == 0) {
if (_rotation > 180) {
_y = (_y + (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (10 * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (10 * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (10 * Math.sin((Math.PI/180) * _rotation)));
}
}
}
Instance of Symbol 295 MovieClip "patron" in Frame 7
onClipEvent (enterFrame) {
if (_root.dead == 1) {
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip "krabbe" in Frame 7
onClipEvent (load) {
dead = 0;
fart = _root.fart;
health = 2 + _root.fedamage;
if (_root.iwantcandy == 0) {
this.gotoAndStop(30);
dead = 1;
}
}
onClipEvent (enterFrame) {
if (this == krabbe) {
} else {
if (_root.bitchoe == 1) {
this.removeMovieClip();
}
if (dead == 0) {
i = 0;
while (i < 25) {
if (main.hitTest(_root["laseren" + i].main)) {
if (_root["laseren" + i].dead == 0) {
_root.hits = _root.hits + 1;
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
health = health - _root["laseren" + i].damage;
if (health <= 0) {
_root.money = _root.money + 2;
_root.kills = _root.kills + 1;
dead = 1;
gotoAndPlay (17);
}
}
}
i++;
}
if (klo.hitTest(_root.kanon)) {
_root.health3 = _root.health3 - 0.5;
_root.taskade.gotoAndPlay(2);
} else if (_rotation > 180) {
_y = (_y + (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (fart * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (fart * Math.sin((Math.PI/180) * _rotation)));
}
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
}
}
Instance of Symbol 362 MovieClip "buggy" in Frame 7
onClipEvent (load) {
dead = 0;
health = 1 + _root.fedamage;
fart = _root.fart * 2;
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
if (_root.iwantcandy == 0) {
this.gotoAndStop(14);
dead = 1;
}
}
onClipEvent (enterFrame) {
if (this == buggy) {
} else {
if (_root.bitchoe == 1) {
this.removeMovieClip();
}
if (dead == 0) {
i = 0;
while (i < 25) {
if (main.hitTest(_root["laseren" + i].main)) {
if (_root["laseren" + i].dead == 0) {
_root.hits = _root.hits + 1;
health = health - _root["laseren" + i].damage;
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
if (health <= 0) {
_root.kills = _root.kills + 1;
dead = 1;
play();
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
_root.money = _root.money + 1;
}
}
}
i++;
}
if (treff.hitTest(_root.kanon)) {
kanoner.play();
} else if (_rotation > 180) {
_y = (_y + (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (fart * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (fart * Math.sin((Math.PI/180) * _rotation)));
}
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
}
}
Instance of Symbol 409 MovieClip "tanks" in Frame 7
onClipEvent (load) {
dead = 0;
fart = _root.fart / 1.5;
health = 3 + _root.fedamage;
if (_root.iwantcandy == 0) {
this.gotoAndStop(14);
dead = 1;
}
}
onClipEvent (enterFrame) {
if (this == tanks) {
} else {
if (_root.bitchoe == 1) {
this.removeMovieClip();
}
if (dead == 0) {
i = 0;
while (i < 25) {
if (main.hitTest(_root["laseren" + i].main)) {
if (_root["laseren" + i].dead == 0) {
_root.hits = _root.hits + 1;
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
health = health - _root["laseren" + i].damage;
if (health <= 0) {
_root.money = _root.money + 3;
_root.kills = _root.kills + 1;
dead = 1;
this.play();
}
}
}
i++;
}
if (treff.hitTest(_root.kanon)) {
kanon.play();
belte1.stop();
belte2.stop();
main.stop();
} else if (_rotation > 180) {
_y = (_y + (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (fart * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (fart * Math.sin((Math.PI/180) * _rotation)));
}
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
}
}
Instance of Symbol 444 MovieClip "soldat" in Frame 7
onClipEvent (load) {
dead = 0;
health = 1 + _root.fedamage;
fart = _root.fart;
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
if (_root.iwantcandy == 0) {
this.gotoAndStop(14);
dead = 1;
}
}
onClipEvent (enterFrame) {
if (this == soldat) {
} else {
if (_root.bitchoe == 1) {
this.removeMovieClip();
}
if (dead == 0) {
i = 0;
while (i < 25) {
if (main.hitTest(_root["laseren" + i].main)) {
if (_root["laseren" + i].dead == 0) {
_root.hits = _root.hits + 1;
health = health - _root["laseren" + i].damage;
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
if (health <= 0) {
_root.kills = _root.kills + 1;
dead = 1;
gotoAndPlay (13);
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
_root.money = _root.money + 1;
}
}
}
i++;
}
if (treff.hitTest(_root.kanon)) {
kanon.play();
} else if (_rotation > 180) {
_y = (_y + (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (fart * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (fart * Math.sin((Math.PI/180) * _rotation)));
}
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
}
}
Instance of Symbol 473 MovieClip "bombe" in Frame 7
onClipEvent (load) {
dead = 0;
health = 5 + _root.fedamage;
fart = _root.fart / 1.5;
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
if (_root.iwantcandy == 0) {
this.gotoAndStop(14);
dead = 1;
}
}
onClipEvent (enterFrame) {
if (this == bombe) {
} else {
if (_root.bitchoe == 1) {
this.removeMovieClip();
}
if (dead == 0) {
i = 0;
while (i < 25) {
if (main.hitTest(_root["laseren" + i].main)) {
if (_root["laseren" + i].dead == 0) {
_root.hits = _root.hits + 1;
health = health - _root["laseren" + i].damage;
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
if (health <= 0) {
_root.kills = _root.kills + 1;
dead = 1;
play();
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
_root.money = _root.money + 5;
}
}
}
i++;
}
if (treff.hitTest(_root.kanon)) {
play();
_root.health3 = _root.health3 - 20;
_root.taskade.gotoAndPlay(2);
} else if (_rotation > 180) {
_y = (_y + (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (fart * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (fart * Math.sin((Math.PI/180) * _rotation)));
}
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
}
}
Instance of Symbol 513 MovieClip "fly" in Frame 7
onClipEvent (load) {
dead = 0;
health = 4 + _root.fedamage;
fart = _root.fart;
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
if (_root.iwantcandy == 0) {
this.gotoAndStop(14);
dead = 1;
}
}
onClipEvent (enterFrame) {
if (this == fly) {
_alpha = 0;
} else {
if (_root.bitchoe == 1) {
this.removeMovieClip();
}
if (dead == 0) {
i = 0;
while (i < 25) {
if (main.hitTest(_root["laseren" + i].main)) {
if (_root["laseren" + i].dead == 0) {
_root.hits = _root.hits + 1;
health = health - _root["laseren" + i].damage;
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
if (health <= 0) {
_root.kills = _root.kills + 1;
dead = 1;
play();
_root["laseren" + i].dead = 1;
_root["laseren" + i].gotoAndPlay(4);
_root.money = _root.money + 4;
}
}
}
i++;
}
if (treff.hitTest(_root.kanon)) {
kanon.play();
} else if (_rotation > 180) {
_y = (_y + (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (fart * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (fart * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (fart * Math.sin((Math.PI/180) * _rotation)));
}
myRadians = Math.atan2(_root.kanon._y - _y, _root.kanon._x - _x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
}
}
Instance of Symbol 515 MovieClip "master" in Frame 7
onClipEvent (load) {
_root.timeleft = 30;
_root.hits = 0;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
_root.boughtl = 0;
_root.boughtm = 0;
_root.boughts = 0;
_root.boughtb = 0;
_root.boughtab = 0;
_root.boughtfb = 0;
_root.buyinfo = 0;
_root.usem = 0;
_root.uses = 0;
_root.usel = 0;
_root.buggyshots = 0;
spawnrate = 0;
_root.kills = 0;
_root.shots = 0;
_root.j = 0;
_root.l = 0;
_root.kanonplay = 0;
_root.health = 100;
_root.health2 = 100;
_root.health3 = 100;
_root.score = 0;
teller = 0;
sekunder = 0;
restart = _root.remaximum;
_root.bamse = 0;
_root.fart = 2;
_root.spawn = "_root.buggy";
_root.spawn2 = "_root.tanks";
_root.level = 1;
_root.levelen = "level " + _root.level;
_root.enemies = 0;
_root.dead = 0;
_root.skutt = 0;
halla = 0;
_root.bulletupgrade1 = 0;
_root.pause = 0;
_root.alive = 0;
_root.damage = 1;
_root.money = 0;
spawnbombe = function () {
lol = Math.round(Math.random() * 3);
if (lol == 0) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.bombe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = 600;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 1) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.bombe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = -50;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 2) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.bombe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = 450;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
if (lol == 3) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.bombe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = -50;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
};
spawnfly = function () {
lol = Math.round(Math.random() * 3);
if (lol == 0) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.fly, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = 600;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 1) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.fly, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = -50;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 2) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.fly, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = 450;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
if (lol == 3) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.fly, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = -50;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
};
spawnsoldat = function () {
lol = Math.round(Math.random() * 3);
if (lol == 0) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.soldat, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = 600;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 1) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.soldat, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = -50;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 2) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.soldat, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = 450;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
if (lol == 3) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.soldat, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = -50;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
};
spawnbuggy = function () {
lol = Math.round(Math.random() * 3);
if (lol == 0) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.buggy, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = 600;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 1) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.buggy, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = -50;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 2) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.buggy, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = 450;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
if (lol == 3) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.buggy, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = -50;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
};
spawntanks = function () {
lol = Math.round(Math.random() * 3);
if (lol == 0) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.tanks, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = 600;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 1) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.tanks, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = -50;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 2) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.tanks, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = 450;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
if (lol == 3) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.tanks, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = -50;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
};
spawnkrabbe = function () {
lol = Math.round(Math.random() * 3);
if (lol == 0) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.krabbe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = 600;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 1) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.krabbe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._x = -50;
_root["testen" + _root.bamse]._y = Math.round(Math.random() * 400);
}
if (lol == 2) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.krabbe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = 450;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
if (lol == 3) {
_root.bamse = _root.bamse + 1;
if (_root.bamse >= 80) {
_root.bamse = 0;
}
duplicateMovieClip (_root.krabbe, "testen" + _root.bamse, 2000 + _root.bamse);
_root["testen" + _root.bamse]._y = -50;
_root["testen" + _root.bamse]._x = Math.round(Math.random() * 550);
}
};
}
onClipEvent (enterFrame) {
if (_root.dead == 1) {
_root.kanon.play();
}
if (_root.kanonplay == 1) {
_root.kanon.kanon.play();
}
_root.health2 = _root.health3;
_root.health = Math.round(_root.health2);
if (_root.pause == 1) {
_root.alive = 0;
i = 0;
while (i < 80) {
if (_root["testen" + i].dead == 0) {
_root.alive = 1;
}
i++;
}
if (_root.alive <= 0) {
_root.alive = 0;
_root.buymenu.play();
_root.timeleft = "Prepare for next level";
_root.pause = 2;
}
}
if (_root.pause == 0) {
if (_root.bulletupgrade1 >= 0) {
bulletupgrade1teller = bulletupgrade1teller + 1;
if (bulletupgrade1teller >= 25) {
bulletupgrade1teller = 0;
_root.bulletupgrade1 = _root.bulletupgrade1 - 1;
}
}
halla = halla + 1;
if (halla == 2) {
_root.iwantcandy = 1;
}
if (_root.dead == 0) {
if (_root.j > 23) {
_root.j = 0;
}
if (_root.l > 23) {
_root.l = 0;
}
if (_root.bamse >= 80) {
_root.bamse = 0;
}
teller = teller + 1;
if (_root.alive < 0) {
_root.alive = 0;
}
if (teller == restart) {
if (_root.level == 1) {
spawnsoldat();
}
if (_root.level == 2) {
spawnbuggy();
}
if (_root.level == 3) {
if (spawnrate == 0) {
spawnbuggy();
}
if (spawnrate == 1) {
spawnsoldat();
}
spawnrate = spawnrate + 1;
if (spawnrate >= 2) {
spawnrate = 0;
}
}
if (_root.level == 4) {
spawnkrabbe();
}
if (_root.level == 5) {
spawnkrabbe();
spawnsoldat();
}
if (_root.level == 6) {
spawnbuggy();
spawnkrabbe();
}
if (_root.level == 7) {
spawntanks();
}
if (_root.level == 8) {
spawntanks();
spawnsoldat();
}
if (_root.level == 9) {
spawntanks();
spawnsoldat();
spawnbuggy();
}
if (_root.level == 10) {
if (spawnrate == 0) {
spawnbuggy();
spawnkrabbe();
}
if (spawnrate == 1) {
spawnsoldat();
spawntanks();
}
spawnrate = spawnrate + 1;
if (spawnrate >= 2) {
spawnrate = 0;
}
}
if (_root.level == 11) {
spawnfly();
}
if (_root.level == 12) {
spawnfly();
spawnsoldat();
}
if (_root.level == 13) {
spawnfly();
spawnbuggy();
}
if (_root.level == 14) {
spawnfly();
spawntanks();
spawnkrabbe();
}
if (_root.level == 15) {
spawnbombe();
}
if (_root.level == 16) {
spawnbombe();
spawnfly();
}
if (_root.level == 17) {
spawnbombe();
spawntanks();
}
if (_root.level == 18) {
spawnbombe();
spawnsoldat();
}
if (_root.level == 19) {
spawnbombe();
spawnfly();
spawntanks();
}
if (_root.level == 20) {
if (spawnrate == 0) {
spawnbuggy();
spawnkrabbe();
spawnfly();
}
if (spawnrate == 1) {
spawnsoldat();
spawntanks();
spawnbombe();
}
spawnrate = spawnrate + 1;
if (spawnrate >= 2) {
spawnrate = 0;
}
}
if (_root.level >= 21) {
if (spawnrate == 0) {
spawnbuggy();
spawnkrabbe();
spawnfly();
}
if (spawnrate == 1) {
spawnsoldat();
spawntanks();
spawnbombe();
}
spawnrate = spawnrate + 1;
if (spawnrate >= 2) {
spawnrate = 0;
}
}
teller = 0;
sekunder = sekunder + 1;
_root.timeleft = _root.timeleft - 1;
}
if (sekunder == 5) {
sekunder = 0;
if (restart > _root.reminimum) {
restart = restart - 1;
} else {
_root.timeleft = "Finnish the rest!";
restart = _root.remaximum;
_root.pause = 1;
_root.level = _root.level + 1;
if (_root.level == 2) {
spawnfly();
}
if (_root.level == 4) {
spawnbombe();
}
if (_root.level == 6) {
spawnbombe();
spawnfly();
}
if (_root.level == 8) {
spawnbombe();
spawnfly();
spawnbombe();
spawnfly();
}
if (_root.level > 21) {
_root.reminimum = _root.reminimum - 1;
_root.remaximum = _root.remaximum - 1;
_root.fedamage = _root.fedamage + 3;
}
}
}
}
}
}
Instance of Symbol 516 MovieClip "finalblackout" in Frame 7
onClipEvent (load) {
swapDepths(20039);
}
Instance of Symbol 533 MovieClip "clickarea" in Frame 7
onClipEvent (load) {
this.swapDepths(6666);
}
onClipEvent (enterFrame) {
if (_root.dead == 1) {
this.removeMovieClip();
}
}
Instance of Symbol 573 MovieClip "buymenu" in Frame 7
onClipEvent (load) {
_root.seckslove = _root.seckslove + 1;
bushlove = 8991 + _root.seckslove;
swapDepths(bushlove);
}
onClipEvent (enterFrame) {
if (_root.dead == 1) {
this.removeMovieClip();
}
}
Instance of Symbol 579 MovieClip in Frame 7
onClipEvent (load) {
swapDepths(999999999);
Mouse.hide();
}
onClipEvent (enterFrame) {
_y = _root._ymouse;
_x = _root._xmouse;
if (_root.dead == 1) {
Mouse.show();
this.removeMovieClip();
this.stopDrag();
_x = 5000;
_y = 5000;
}
}
Instance of Symbol 581 MovieClip "timeleft" in Frame 7
onClipEvent (load) {
_root.seckslove = _root.seckslove + 1;
bushlove = 8981 + _root.seckslove;
swapDepths(bushlove);
}
onClipEvent (enterFrame) {
if (_root.dead == 1) {
this.removeMovieClip();
}
}
Frame 8
stop();
_root.clickarea.removeMovieClip(_root.clickarea);
_root.bitchoe = 1;
Instance of Symbol 594 MovieClip "deadmenu" in Frame 8
onClipEvent (load) {
swapDepths(bushlove);
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
stop();
Symbol 8 MovieClip Frame 3
stop();
Symbol 8 MovieClip Frame 4
stop();
Symbol 8 MovieClip Frame 5
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 30
stop();
Instance of Symbol 36 MovieClip in Symbol 37 MovieClip Frame 30
on (release) {
_root.play();
}
Symbol 92 MovieClip Frame 90
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 91
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 92
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 93
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 94
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 95
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 96
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 97
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 98
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 99
_alpha = (_alpha - 10);
Symbol 92 MovieClip Frame 100
_root.play();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 3
stop();
Symbol 112 MovieClip Frame 4
stop();
Instance of Symbol 106 MovieClip in Symbol 112 MovieClip Frame 4
on (release) {
_root._quality = "LOW";
_root.option = 1;
}
Instance of Symbol 109 MovieClip in Symbol 112 MovieClip Frame 4
on (release) {
_root._quality = "MEDIUM";
_root.option = 1;
}
Instance of Symbol 111 MovieClip in Symbol 112 MovieClip Frame 4
on (release) {
_root._quality = "HIGH";
_root.option = 1;
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
fart = 14;
}
onClipEvent (enterFrame) {
if (_root.go == 4) {
_y = (_y + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 5;
}
}
}
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
fart = 11;
}
on (release) {
_parent.info.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.go == 0) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 4;
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
Instance of Symbol 143 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
fart = 11;
}
on (release) {
_parent.info.gotoAndStop(4);
}
onClipEvent (enterFrame) {
if (_root.go == 0) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 4;
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
Instance of Symbol 147 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
fart = 11;
}
on (release) {
_parent.info.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (_root.go == 0) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 4;
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
Instance of Symbol 152 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
fart = 11;
_root.go = 0;
}
onClipEvent (enterFrame) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 4;
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (release) {
_root.menu_menu.play();
}
Symbol 155 MovieClip Frame 20
_root.fedamage = 0;
_root.play();
Instance of Symbol 139 MovieClip in Symbol 155 MovieClip Frame 20
onClipEvent (load) {
fart = 11;
}
onClipEvent (enterFrame) {
if (_root.go == 3) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 4;
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
Instance of Symbol 143 MovieClip in Symbol 155 MovieClip Frame 20
onClipEvent (load) {
fart = 11;
}
onClipEvent (enterFrame) {
if (_root.go == 2) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 3;
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
Instance of Symbol 147 MovieClip in Symbol 155 MovieClip Frame 20
onClipEvent (load) {
fart = 11;
}
onClipEvent (enterFrame) {
if (_root.go == 1) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 2;
}
}
}
on (rollOver) {
gotoAndPlay (2);
}
Instance of Symbol 152 MovieClip in Symbol 155 MovieClip Frame 20
onClipEvent (load) {
fart = 11;
_root.go = 0;
}
onClipEvent (enterFrame) {
_x = (_x + fart);
if (fart > 0) {
fart = fart - 0.5;
} else {
_root.go = 1;
}
}
on (rollOver) {
gotoAndPlay (2);
}
on (release) {
_root.menu_menu.play();
}
Instance of Symbol 163 MovieClip in Symbol 174 MovieClip Frame 1
on (release) {
_parent._parent.play();
_root.remaximum = 35;
_root.reminimum = 30;
if (_root.option == 0) {
_root._quality = "HIGH";
}
}
Instance of Symbol 166 MovieClip in Symbol 174 MovieClip Frame 1
on (release) {
_parent._parent.play();
_root.remaximum = 30;
_root.reminimum = 25;
if (_root.option == 0) {
_root._quality = "MEDIUM";
}
}
Instance of Symbol 168 MovieClip in Symbol 174 MovieClip Frame 1
on (release) {
_parent._parent.play();
_root.remaximum = 25;
_root.reminimum = 20;
if (_root.option == 0) {
_root._quality = "MEDIUM";
}
}
Instance of Symbol 170 MovieClip in Symbol 174 MovieClip Frame 1
on (release) {
_parent._parent.play();
_root.fedamage = 0;
_root.remaximum = 20;
_root.reminimum = 15;
if (_root.option == 0) {
_root._quality = "LOW";
}
}
Instance of Symbol 173 MovieClip in Symbol 174 MovieClip Frame 1
on (release) {
_parent._parent.play();
_root.remaximum = 40;
_root.reminimum = 35;
if (_root.option == 0) {
_root._quality = "HIGH";
}
}
Symbol 177 MovieClip Frame 14
Symbol 177 MovieClip Frame 15
_root.play();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
_root.shots = _root.shots + 1;
_root.skutt = _root.skutt + 1;
if (_root.j < 24) {
_root.j = _root.j + 1;
} else {
_root.j = 0;
}
if (_root.usel == 1) {
duplicateMovieClip (_root.laserk, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation;
} else if (_root.useb == 1) {
duplicateMovieClip (_root.mega, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation;
} else if (_root.useab == 1) {
duplicateMovieClip (_root.mega, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation;
} else if (_root.usefb == 1) {
duplicateMovieClip (_root.fmega, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation + 10;
if (_root.j < 24) {
_root.j = _root.j + 1;
} else {
_root.j = 0;
}
duplicateMovieClip (_root.fmega, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation - 10;
if (_root.j < 24) {
_root.j = _root.j + 1;
} else {
_root.j = 0;
}
duplicateMovieClip (_root.mega, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation;
} else {
duplicateMovieClip (_root.laser, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation;
}
if (_root.uses == 1) {
if (_root.j < 24) {
_root.j = _root.j + 1;
} else {
_root.j = 0;
}
duplicateMovieClip (_root.hlaser, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation + 10;
if (_root.j < 24) {
_root.j = _root.j + 1;
} else {
_root.j = 0;
}
duplicateMovieClip (_root.hlaser, "laseren" + _root.j, 5000 + _root.j);
_root["laseren" + _root.j]._x = _root.kanon._x;
_root["laseren" + _root.j]._y = _root.kanon._y;
_root["laseren" + _root.j]._rotation = _root.kanon.kanon._rotation - 10;
}
if (_root.l < 24) {
_root.l = _root.l + 1;
} else {
_root.l = 0;
}
duplicateMovieClip (_root.patron, "patronen" + _root.l, 1000 + _root.l);
_root["patronen" + _root.l]._x = _root.kanon._x;
_root["patronen" + _root.l]._y = _root.kanon._y;
_root["patronen" + _root.l]._rotation = (_root.kanon.kanon._rotation + Math.round(Math.random() * 40)) + 160;
_root["patronen" + _root.l].fart = Math.random() * 10;
_root["patronen" + _root.l].rotfart = Math.round(Math.random() * 20) - 10;
if (_rotation > 180) {
_root["patronen" + _root.l]._y = _root["patronen" + _root.l]._y + (0 * Math.cos((Math.PI/180) * (_root["patronen" + _root.l]._rotation + 180)));
_root["patronen" + _root.l]._x = _root["patronen" + _root.l]._x - (0 * Math.sin((Math.PI/180) * (_root["patronen" + _root.l]._rotation + 180)));
} else {
_root["patronen" + _root.l]._y = _root["patronen" + _root.l]._y - (0 * Math.cos((Math.PI/180) * (_root["patronen" + _root.l]._rotation + 180)));
_root["patronen" + _root.l]._x = _root["patronen" + _root.l]._x + (0 * Math.sin((Math.PI/180) * (_root["patronen" + _root.l]._rotation + 180)));
}
Symbol 192 MovieClip Frame 4
if (_root.usem == 1) {
if (_root.kanonplay == 1) {
gotoAndPlay (2);
}
}
if (_root.useab == 1) {
if (_root.kanonplay == 1) {
gotoAndPlay (2);
}
}
if (_root.usefb == 1) {
if (_root.kanonplay == 1) {
gotoAndPlay (2);
}
}
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 183 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = _parent.kanon._rotation;
}
Instance of Symbol 192 MovieClip "kanon" in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse - _parent._y, _root._xmouse - _parent._x);
grader = Math.round((myRadians * 180) / Math.PI);
_rotation = (grader + 90);
}
Symbol 198 MovieClip Frame 2
_root.buymenu.removeMovieClip(_root.buymenu);
swapDepths(20027);
Symbol 198 MovieClip Frame 20
removeMovieClip(_root.menu);
removeMovieClip(_root.krabbe);
removeMovieClip(_root.tanks);
removeMovieClip(_root.buggy);
_root.finalblackout.play();
removeMovieClip(_root.kanon);
removeMovieClip(_root.buymenu);
Symbol 207 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
if (_root.cock == 1) {
gotoAndStop (5);
}
Symbol 216 MovieClip Frame 3
stop();
Symbol 216 MovieClip Frame 4
play();
Symbol 216 MovieClip Frame 12
_x = 5000;
_y = 5000;
if (this == laser) {
} else {
removeMovieClip(this);
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
besj = ("Money: " + _root.money) + "$";
Symbol 233 MovieClip Frame 2
besj = ("Money: " + _root.money) + "$";
Instance of Symbol 224 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health > 0) {
_xscale = _root.health;
} else {
_root.dead = 1;
}
}
Symbol 241 MovieClip Frame 3
stop();
Symbol 241 MovieClip Frame 4
play();
Symbol 241 MovieClip Frame 12
_x = 5000;
_y = 5000;
if (this == hlaser) {
} else {
removeMovieClip(this);
}
Symbol 259 MovieClip Frame 3
stop();
Symbol 259 MovieClip Frame 14
_x = 5000;
_y = 5000;
if (this == fmega) {
} else {
removeMovieClip(this);
}
Symbol 277 MovieClip Frame 3
stop();
Symbol 277 MovieClip Frame 4
play();
Symbol 277 MovieClip Frame 12
_x = 5000;
_y = 5000;
if (this == laserk) {
} else {
removeMovieClip(this);
}
Symbol 290 MovieClip Frame 3
stop();
Symbol 290 MovieClip Frame 14
_x = 5000;
_y = 5000;
if (this == mega) {
} else {
removeMovieClip(this);
}
Instance of Symbol 292 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
_rotation = Math.round(Math.random() * 360);
}
Symbol 294 MovieClip Frame 85
stop();
Instance of Symbol 294 MovieClip "patron" in Symbol 295 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.rotfart > 0) {
_parent.rotfart = _parent.rotfart - 0.2;
}
if (_parent.rotfart < 0) {
_parent.rotfart = _parent.rotfart + 0.2;
}
if ((_parent.rotfart > -0.3) && (_parent.rotfart < 0.3)) {
_parent.rotfart = 0;
}
if (_parent.fart > 0) {
_parent.fart = _parent.fart - 0.2;
}
if ((_parent.fart > -0.3) && (_parent.fart < 0.3)) {
_parent.fart = 0;
}
_x = (_x - _parent.fart);
_rotation = (_rotation + _parent.rotfart);
}
Instance of Symbol 297 MovieClip in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
if (_parent._rotation > 180) {
_y = (_y + (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x - (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
} else {
_y = (_y - (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x + (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
}
}
onClipEvent (enterFrame) {
}
Symbol 317 MovieClip Frame 16
gotoAndPlay (1);
Symbol 317 MovieClip Frame 29
stop();
if (this == krabbe) {
} else {
removeMovieClip(this);
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
_root.health3 = _root.health3 - 0.25;
_root.buggyshots = _root.buggyshots + 1;
_root.taskade.gotoAndPlay(2);
Symbol 362 MovieClip Frame 1
stop();
Instance of Symbol 320 MovieClip "buggys" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
if (_parent._rotation > 180) {
_y = (_y + (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x - (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
} else {
_y = (_y - (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x + (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
}
}
onClipEvent (enterFrame) {
}
Symbol 362 MovieClip Frame 13
stop();
if (this == buggy) {
} else {
removeMovieClip(this);
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 2
_root.health3 = _root.health3 - 2;
_root.taskade.gotoAndPlay(2);
Symbol 409 MovieClip Frame 1
stop();
Instance of Symbol 364 MovieClip in Symbol 409 MovieClip Frame 1
onClipEvent (load) {
if (_parent._rotation > 180) {
_y = (_y + (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x - (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
} else {
_y = (_y - (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x + (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
}
}
onClipEvent (enterFrame) {
}
Symbol 409 MovieClip Frame 14
stop();
if (this == tanks) {
} else {
removeMovieClip(this);
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
_root.health3 = _root.health3 - 0.1;
_root.taskade.gotoAndPlay(2);
Instance of Symbol 413 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
if (_parent._rotation > 180) {
_y = (_y + (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x - (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
} else {
_y = (_y - (5 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x + (5 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
}
}
onClipEvent (enterFrame) {
}
Symbol 444 MovieClip Frame 12
gotoAndPlay (1);
Symbol 444 MovieClip Frame 27
stop();
if (this == soldat) {
} else {
removeMovieClip(this);
}
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 446 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
if (_parent._rotation > 180) {
_y = (_y + (35 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x - (35 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
} else {
_y = (_y - (35 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x + (35 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
}
}
onClipEvent (enterFrame) {
}
Symbol 473 MovieClip Frame 16
stop();
if (this == bombe) {
} else {
removeMovieClip(this);
}
stop();
if (this == bombe) {
} else {
removeMovieClip(this);
}
Symbol 497 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 21
_root.health3 = _root.health3 - 10;
_root.taskade.gotoAndPlay(2);
Symbol 513 MovieClip Frame 1
stop();
Instance of Symbol 475 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
if (_parent._rotation > 180) {
_y = (_y + (30 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x - (30 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
} else {
_y = (_y - (30 * Math.cos((Math.PI/180) * ((-_parent._rotation) + 110))));
_x = (_x + (30 * Math.sin((Math.PI/180) * ((-_parent._rotation) + 110))));
}
}
onClipEvent (enterFrame) {
}
Symbol 513 MovieClip Frame 11
stop();
if (this == fly) {
} else {
removeMovieClip(this);
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 20
_root.play();
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
stop();
Symbol 526 MovieClip Frame 3
stop();
Instance of Symbol 525 MovieClip "stopsounds" in Symbol 526 MovieClip Frame 3
onClipEvent (enterFrame) {
stopAllSounds();
}
Instance of Symbol 518 MovieClip in Symbol 533 MovieClip Frame 1
on (press) {
_root.kanonplay = 1;
_root.kanon.kanon.gotoAndPlay(2);
}
on (release) {
_root.kanonplay = 0;
}
onClipEvent (enterFrame) {
if (_root.dead == 1) {
removeMovieClip(_parent);
}
}
Instance of Symbol 526 MovieClip in Symbol 533 MovieClip Frame 1
on (press) {
play();
}
onClipEvent (enterFrame) {
if (_root.dead == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 530 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
gaylord = 0;
}
on (release) {
gaylord = gaylord + 1;
if (gaylord == 3) {
gaylord = 0;
}
if (gaylord == 0) {
_root._quality = "LOW";
}
if (gaylord == 1) {
_root._quality = "MEDIUM";
}
if (gaylord == 2) {
_root._quality = "HIGH";
}
}
Instance of Symbol 532 MovieClip in Symbol 533 MovieClip Frame 1
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 536 MovieClip Frame 1
stop();
Symbol 536 MovieClip Frame 2
play();
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 2
stop();
Symbol 571 MovieClip Frame 3
stop();
Instance of Symbol 539 MovieClip in Symbol 572 MovieClip Frame 1
on (rollOver) {
_root.buyinfo = "your money is displayed near the bottom of this flash, if you have enough money, select the weapon of your choise, to equip a previous bought weapon, select it using the equip buttons to the right. They will apear once a weapon is bought.";
}
Instance of Symbol 543 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
cost = 150;
omg = 0;
}
on (release) {
if (omg == 0) {
if (_root.money >= cost) {
omg = 1;
_root.usel = 1;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
_root.boughtl = 1;
_root.money = _root.money - cost;
}
}
}
on (rollOver) {
_root.buyinfo = "Laser: Lasers moves faster then the default cannon bullets, they also deal twise as mutch damage";
}
Instance of Symbol 545 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
cost = 350;
omg = 0;
}
on (release) {
if (omg == 0) {
if (_root.money >= cost) {
omg = 1;
_root.usem = 1;
_root.usel = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
_root.boughtm = 1;
_root.money = _root.money - cost;
cost = cost * 2;
}
}
}
on (rollOver) {
_root.buyinfo = "MachineGun: Deals normal damage, but shoots up to 12.5 shots per second";
}
Instance of Symbol 547 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
cost = 400;
omg = 0;
}
on (release) {
if (omg == 0) {
if (_root.money >= cost) {
omg = 1;
_root.uses = 1;
_root.usel = 0;
_root.usem = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
_root.boughts = 1;
_root.money = _root.money - cost;
}
}
}
on (rollOver) {
_root.buyinfo = "ShotGun: Fires 3 bullets simultaneously, each bullet does normal damage";
}
Instance of Symbol 549 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
cost = 500;
omg = 0;
}
on (release) {
if (omg == 0) {
if (_root.money >= cost) {
omg = 1;
_root.useb = 1;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useab = 0;
_root.usefb = 0;
_root.boughtb = 1;
_root.money = _root.money - cost;
cost = cost * 2;
}
}
}
on (rollOver) {
_root.buyinfo = "Blast: Deals tremendous damage, each projectile does the same damage as 2.5 cannon bullets!";
}
Instance of Symbol 551 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
cost = 1000;
omg = 0;
}
on (release) {
if (omg == 0) {
if (_root.money >= cost) {
omg = 1;
_root.useab = 1;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.usefb = 0;
_root.boughtab = 1;
_root.money = _root.money - cost;
cost = cost * 2;
}
}
}
on (rollOver) {
_root.buyinfo = "AutoBlast: Deals tremendous damage, each projectile does the same damage as 2.5 cannon bullets, and it shoots just as fast as a machinegun";
}
Instance of Symbol 553 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
cost = 2000;
omg = 0;
}
on (release) {
if (omg == 0) {
if (_root.money >= cost) {
omg = 1;
_root.boughtfb = 1;
_root.usefb = 1;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
_root.money = _root.money - cost;
cost = cost * 2;
}
}
}
on (rollOver) {
_root.buyinfo = "FinalBlast: Imagine the default cannon, times 3 shots, times 12.5 shots per second, and each of those projectiles does 2.5 times the damage... hardcore.";
}
Instance of Symbol 556 MovieClip in Symbol 572 MovieClip Frame 1
on (rollOver) {
_root.buyinfo = "your money is displayed near the bottom of this flash, if you have enough money, select the weapon of your choise, to equip a previous bought weapon, select it using the equip buttons to the right. They will apear once a weapon is bought.";
}
Instance of Symbol 559 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.kontinueklar == 1) {
_root.timeleft = 30;
_parent._parent.play();
_root.pause = 0;
_root.levelen = "level " + _root.level;
_root.menu.level.play();
if (_root.level == 5) {
_root.bakgrunn.gotoAndStop(2);
}
if (_root.level == 10) {
_root.bakgrunn.gotoAndStop(3);
}
if (_root.level == 15) {
_root.bakgrunn.gotoAndStop(4);
}
if (_root.level == 20) {
_root.bakgrunn.gotoAndStop(5);
}
_root.health3 = _root.health3 + 10;
if (_root.health3 > 100) {
_root.health3 = 100;
}
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.boughtl == 1) {
_root.usel = 1;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
}
}
onClipEvent (enterFrame) {
if (_root.boughtl == 1) {
gotoAndStop (2);
}
if (_root.usel == 1) {
gotoAndStop (3);
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.boughtm == 1) {
_root.usem = 1;
_root.usel = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
}
}
onClipEvent (enterFrame) {
if (_root.boughtm == 1) {
gotoAndStop (2);
}
if (_root.usem == 1) {
gotoAndStop (3);
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.boughts == 1) {
_root.uses = 1;
_root.usel = 0;
_root.usem = 0;
_root.useb = 0;
_root.useab = 0;
_root.usefb = 0;
}
}
onClipEvent (enterFrame) {
if (_root.boughts == 1) {
gotoAndStop (2);
}
if (_root.uses == 1) {
gotoAndStop (3);
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.boughtb == 1) {
_root.useb = 1;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useab = 0;
_root.usefb = 0;
}
}
onClipEvent (enterFrame) {
if (_root.boughtb == 1) {
gotoAndStop (2);
}
if (_root.useb == 1) {
gotoAndStop (3);
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.boughtab == 1) {
_root.useab = 1;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.usefb = 0;
}
}
onClipEvent (enterFrame) {
if (_root.boughtab == 1) {
gotoAndStop (2);
}
if (_root.useab == 1) {
gotoAndStop (3);
}
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 1
on (release) {
if (_root.boughtfb == 1) {
_root.usefb = 1;
_root.usel = 0;
_root.usem = 0;
_root.uses = 0;
_root.useb = 0;
_root.useab = 0;
}
}
onClipEvent (enterFrame) {
if (_root.boughtfb == 1) {
gotoAndStop (2);
}
if (_root.usefb == 1) {
gotoAndStop (3);
}
}
Symbol 573 MovieClip Frame 1
stop();
_root.kontinueklar = 0;
Symbol 573 MovieClip Frame 8
_root.buyinfo = "your money is displayed near the bottom of this flash, if you have enough money, select the weapon of your choise, to equip a previous bought weapon, select it using the equip buttons to the right. They will apear once a weapon is bought";
Symbol 573 MovieClip Frame 30
stop();
_root.kontinueklar = 1;
Symbol 573 MovieClip Frame 31
_root.kontinueklar = 0;
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 2
stop();
Symbol 575 MovieClip Frame 3
stop();
Symbol 575 MovieClip Frame 4
stop();
Symbol 575 MovieClip Frame 5
stop();
Symbol 575 MovieClip Frame 6
stop();
Symbol 575 MovieClip Frame 7
stop();
Symbol 575 MovieClip Frame 8
stop();
Symbol 575 MovieClip Frame 9
stop();
Symbol 577 MovieClip Frame 2
_root.cock = 0;
stop();
Instance of Symbol 592 MovieClip in Symbol 593 MovieClip Frame 1
on (release) {
_parent._parent.play();
}
Symbol 594 MovieClip Frame 1
_root._quality = "HIGH";
_root.accuracy = Math.round((_root.hits / _root.shots) * 100) + "%";
Symbol 594 MovieClip Frame 19
stop();
Symbol 594 MovieClip Frame 20
_root.gotoAndStop(4);