Frame 1
stop();
_root.onEnterFrame = function () {
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) {
playButton._visible = true;
} else {
playButton._visible = false;
}
};
Instance of Symbol 43 MovieClip in Frame 31
on (release) {
getURL ("http://www.gamesofgondor.com");
}
Instance of Symbol 55 MovieClip in Frame 232
on (release) {
getURL ("http://www.gamesofgondor.com");
}
Frame 266
stop();
Frame 267
play();
Frame 281
_root.grafikk = 2;
_root.bakgr = 1;
_root.lfbox = 1;
Frame 283
Stage.showMenu = false;
_root.vapen = 1;
_quality = "MEDIUM";
_root.as = 16;
_root.damage = 1;
_root.teller = 0;
_root.sekunder = 0;
_root.minutter = 1;
_root.makshealth = 9;
_root.bd = 1400;
_root.kuler = 200;
_root.kuler2 = 1000;
_root.skrik = 1;
_root.basehealth = 10;
_root.dual = 0;
_root.begynn = 0;
_root.score = 100;
_root.sigjen = 40;
_root.sorry = 0;
_root.buy = 0;
_root.run = 1;
_root.weapon = 1;
_root.dmgcost = 200;
_root.mg = 0;
_root.laser = 0;
_root.mgspeed = 0;
_root.batteri == 100;
_root.laseready = 1;
_root.totalenemies = 5 + _root.minutter;
_root.valides = 0;
_root.vert60 = 1;
_root.artyteller = 1;
_root.arty = 1;
_root.sandteller = 1;
_root.muhammedblod = 1;
_root.rocketammo = 1;
_root.rocketammo2 = 0;
_root.bosshealth = 500;
_root.pulenkatt = 1;
_root.rocketnr = 1;
_root.getalife = 0;
Frame 313
if (_root.getalife == 1) {
_root.getalife = 0;
if (_root.minutter == 10) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 20) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 30) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 40) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 50) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 60) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 70) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 80) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 90) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 100) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 110) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 120) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 130) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 140) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 150) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 160) {
_root.rocketammo2 = _root.rocketammo2 + 1;
}
if (_root.minutter == 170) {
gotoAndPlay (337);
}
}
if (_root.run == 1) {
tellTarget (_root.bakgrunn.sky1) {
_x = (_x + 1);
if (_x >= 1500) {
_x = -400;
}
};
tellTarget (_root.bakgrunn.sky2) {
_x = (_x + 2);
if (_x >= 1500) {
_x = -400;
}
};
tellTarget (_root.bakgrunn.sky3) {
_x = (_x + 3);
if (_x >= 1500) {
_x = -500;
}
};
}
if (_root.sorry == 1) {
gotoAndPlay (315);
}
if (_root.begynn == 0) {
_root.begynn = 1;
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
_root.lollipop1x = _xscale;
_root.lollipop1y = _yscale;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = _root.minutter;
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 5) + 2;
};
i++;
}
i = 0;
while (i < 4) {
roflolal = "_root.bakgrunn.tanks" + i;
tellTarget (roflolal) {
_root.lollipop2x = _xscale;
_root.lollipop2y = _yscale;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = 5 + (_root.minutter * 5);
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 2) + 1;
};
i++;
}
i = 0;
while (i < 4) {
jada = "_root.bakgrunn.srobo" + i;
tellTarget (jada) {
_root.lollipop3x = _xscale;
_root.lollipop3y = _yscale;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = 1 + (_root.minutter * 2);
health2 = health;
starth = 5 + (_root.minutter * 5);
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 2) + 1;
};
i++;
}
i = 0;
while (i < 10) {
jara = "_root.bakgrunn.heli" + i;
tellTarget (jara) {
_root.lollipop4x = _xscale;
_root.lollipop4y = _yscale;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = 1;
health2 = health;
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 10) + 10;
};
i++;
}
}
_root.antallsoldater = 5 + _root.minutter;
if (_root.antallsoldater >= 15) {
_root.antallsoldater = 15;
}
if (_root.run == 1) {
teller = teller + 1;
if (teller == 24) {
teller = 1;
_root.sekunder = _root.sekunder + 1;
}
if (_root.sekunder == 61) {
if (_root.basehealth <= _root.makshealth) {
_root.basehealth = _root.basehealth + 1;
}
_root.sekunder = 0;
minutter = minutter + 1;
_root.getalife = 1;
_root.rocketammo = _root.rocketammo + 1;
}
if (_root.sekunder == 60) {
if (_root.minutter == 1) {
_root.totalenemies = 7;
}
if (_root.minutter == 2) {
_root.totalenemies = 8;
}
if (_root.minutter == 3) {
_root.totalenemies = 9;
}
if (_root.minutter == 4) {
_root.totalenemies = 11;
}
if (_root.minutter == 5) {
_root.totalenemies = 13;
}
if (_root.minutter == 6) {
_root.totalenemies = 15;
}
if (_root.minutter == 7) {
_root.totalenemies = 17;
}
if (_root.minutter == 8) {
_root.totalenemies = 18;
}
if (_root.minutter == 9) {
_root.totalenemies = 20;
}
if (_root.minutter == 10) {
_root.totalenemies = 21;
}
if (_root.minutter == 11) {
_root.totalenemies = 22;
}
if (_root.minutter == 12) {
_root.totalenemies = 23;
}
if (_root.minutter == 13) {
_root.totalenemies = 23;
}
if (_root.minutter == 14) {
_root.totalenemies = 23;
}
if (_root.minutter == 15) {
_root.totalenemies = 25;
}
if (_root.minutter == 16) {
_root.totalenemies = 26;
}
if (_root.minutter == 17) {
_root.totalenemies = 27;
}
if (_root.minutter == 18) {
_root.totalenemies = 28;
}
if (_root.minutter == 19) {
_root.totalenemies = 29;
}
if (_root.minutter == 20) {
_root.totalenemies = 30;
}
if (_root.minutter == 21) {
_root.totalenemies = 31;
}
if (_root.minutter == 22) {
_root.totalenemies = 32;
}
if (_root.minutter == 23) {
_root.totalenemies = 33;
}
if (_root.minutter == 24) {
_root.totalenemies = 33;
}
if (_root.minutter >= 25) {
_root.totalenemies = 33;
}
_root.kuler = _root.kuler + 4;
i = 0;
while (i < _root.antallsoldater) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
health = _root.minutter;
if (dead == 1) {
_xscale = _root.lollipop1x;
_yscale = _root.lollipop1y;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = _root.minutter;
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 5) + 2;
}
};
i++;
}
i = 0;
while (i < 4) {
roflolal = "_root.bakgrunn.tanks" + i;
tellTarget (roflolal) {
health = 5 + (_root.minutter * 5);
if (dead == 1) {
_xscale = _root.lollipop2x;
_yscale = _root.lollipop2y;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = 5 + (_root.minutter * 5);
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 2) + 1;
}
};
i++;
}
i = 0;
while (i < 4) {
jada = "_root.bakgrunn.srobo" + i;
tellTarget (jada) {
health = 1 + (_root.minutter * 2);
if (dead == 1) {
_xscale = _root.lollipop3x;
_yscale = _root.lollipop3y;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = 1 + (_root.minutter * 2);
health2 = health;
starth = 5 + (_root.minutter * 5);
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 2) + 1;
}
};
i++;
}
i = 0;
while (i < 10) {
jasa = "_root.bakgrunn.heli" + i;
tellTarget (jasa) {
if (dead == 1) {
_xscale = _root.lollipop4x;
_yscale = _root.lollipop4y;
_x = (Math.round(Math.random() * 500) - 700);
_y = (Math.round(Math.random() * 150) + 450);
health = 1;
health2 = health;
gotoAndPlay (1);
dead = 0;
fart = Math.round(Math.random() * 10) + 10;
}
};
i++;
}
}
_root.sigjen = 60 - sekunder;
_root.bhcost = minutter * 25;
if (_root.weapon != 1) {
tellTarget (_root.gun1) {
gotoAndPlay (25);
tellTarget (flamme) {
gotoAndStop (20);
};
};
tellTarget (_root.gun2) {
gotoAndPlay (25);
tellTarget (flamme) {
gotoAndStop (20);
};
};
}
if (_root.weapon != 2) {
tellTarget (_root.gatling) {
gotoAndPlay (25);
};
}
}
if (_root.totalenemies <= 0) {
_root.sekunder = 57;
_root.totalenemies = 1;
}
if (_root.run == 1) {
if (ok != 0) {
i = 0;
while (i < _root.antallsoldater) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (dead != 1) {
_x = (_x + fart);
if (_x >= _root.bd) {
dead = 1;
gotoAndPlay (28);
_root.basehealth = _root.basehealth - 1;
tellTarget (_root.rodt) {
gotoAndPlay (2);
};
_root.totalenemies = _root.totalenemies - 1;
}
}
};
i++;
}
if (_root.minutter > 14) {
cola = _root.minutter - 14;
if (cola > 10) {
cola = 10;
}
i = 0;
while (i < cola) {
test = "_root.bakgrunn.heli" + i;
tellTarget (test) {
if (dead != 1) {
_x = (_x + fart);
if (_x >= _root.bd) {
dead = 1;
gotoAndPlay (71);
_root.basehealth = _root.basehealth - 1;
tellTarget (_root.rodt) {
gotoAndPlay (2);
};
_root.totalenemies = _root.totalenemies - 1;
}
}
};
i++;
}
}
if (_root.minutter > 9) {
binladen = _root.minutter - 9;
if (binladen > 4) {
binladen = 4;
}
i = 0;
while (i < binladen) {
hallamuhalla = "_root.bakgrunn.srobo" + i;
tellTarget (hallamuhalla) {
if (dead != 1) {
_x = (_x + 5);
if (_x >= _root.bd) {
dead = 1;
gotoAndPlay (42);
_root.basehealth = _root.basehealth - 1;
tellTarget (_root.rodt) {
gotoAndPlay (2);
};
_root.totalenemies = _root.totalenemies - 1;
}
}
};
i++;
}
}
if (_root.basehealth <= 0) {
_root.basehealth = 0;
_root.sorry = 1;
}
if (sorry == 1) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (9);
};
ok = 0;
}
}
if (_root.basehealth >= 10) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (1);
};
}
if (_root.basehealth == 9) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (2);
};
}
if (_root.basehealth == 8) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (2);
};
}
if (_root.basehealth == 7) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (2);
};
}
if (_root.basehealth == 6) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (3);
};
}
if (_root.basehealth == 5) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (4);
};
}
if (_root.basehealth == 4) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (5);
};
}
if (_root.basehealth == 3) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (6);
};
}
if (_root.basehealth == 2) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (7);
};
}
if (_root.basehealth == 1) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (8);
};
}
if (_root.basehealth == 0) {
tellTarget (_root.bakgrunn.base) {
gotoAndPlay (9);
};
}
if (_root.minutter > 4) {
hussein = _root.minutter - 4;
if (hussein > 4) {
hussein = 4;
}
i = 0;
while (i < hussein) {
yeahright = "_root.bakgrunn.tanks" + i;
tellTarget (yeahright) {
if (dead != 1) {
_x = (_x + 2);
if (_x >= (_root.bd - 100)) {
dead = 1;
gotoAndPlay (16);
_root.basehealth = _root.basehealth - 1;
tellTarget (_root.rodt) {
gotoAndPlay (2);
};
_root.totalenemies = _root.totalenemies - 1;
}
}
};
i++;
}
}
}
if (_root.laser == 0) {
tellTarget (_root.laser1) {
gotoAndPlay (35);
};
tellTarget (_root.laser2) {
gotoAndPlay (35);
};
}
if (_root.laser == 1) {
tellTarget (_root.laser1) {
};
tellTarget (_root.laser2) {
gotoAndPlay (35);
};
}
if (_root.laser == 2) {
tellTarget (_root.laser1) {
};
tellTarget (_root.laser2) {
};
}
Instance of Symbol 86 MovieClip in Frame 313
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 10) {
testomfg = "_root.bakgrunn.heli" + i;
tellTarget (testomfg) {
if (hitTest(_root.sikte.treff) == true) {
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
tellTarget (_root.ttreff) {
gotoAndPlay (2);
_root.score = _root.score + 10;
};
if (health <= 0) {
_root.score = _root.score + 50;
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
} else if (_root.run == 1) {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(_root.sikte.treff) == true) {
tellTarget (_root.blodes) {
gotoAndPlay (1);
_x = 400;
_y = 200;
};
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
} else if (_root.run == 1) {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
if (_root.vapen == 1) {
_root.vapen = 2;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun1) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
if (_root.dual == 1) {
} else {
return(true);
}
}
if (_root.vapen == 2) {
_root.vapen = 1;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun2) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
}
on (keyPress "<Space>") {
if (_root.buy == 0) {
_root.buy = 1;
tellTarget (_root.buyscreen) {
gotoAndPlay (2);
};
return(true);
}
if (_root.buy == 1) {
_root.buy = 0;
tellTarget (_root.buyscreen) {
gotoAndPlay (11);
};
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 4) {
vor = "_root.bakgrunn.tanks" + i;
tellTarget (vor) {
if (hitTest(_root.sikte.treff) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
}
on (press) {
if (_root.buy != 1) {
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
tellTarget (_root.gatling) {
gotoAndPlay (2);
};
} else {
tellTarget (_root.gatling) {
gotoAndPlay (6);
};
}
}
}
}
}
on (dragOver) {
if (_root.buy != 1) {
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
tellTarget (_root.gatling) {
gotoAndPlay (2);
};
} else {
tellTarget (_root.gatling) {
gotoAndPlay (6);
};
}
}
}
}
}
on (release) {
if (_root.buy != 1) {
if (_root.run == 1) {
if (_root.weapon == 2) {
tellTarget (_root.gatling) {
gotoAndPlay (1);
};
}
}
}
}
on (releaseOutside) {
if (_root.buy != 1) {
if (_root.run == 1) {
if (_root.weapon == 2) {
tellTarget (_root.gatling) {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "1") {
_root.weapon = 1;
tellTarget (_root.gun1) {
gotoAndStop (1);
};
tellTarget (_root.gun2) {
gotoAndStop (1);
};
}
on (keyPress "2") {
if (_root.mg == 1) {
_root.weapon = 2;
tellTarget (_root.gatling) {
gotoAndStop (1);
};
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 4) {
voren = "_root.bakgrunn.srobo" + i;
tellTarget (voren) {
if (hitTest(_root.sikte.treff) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
}
on (keyPress "l") {
if (_root.laseready == 1) {
if (_root.laser == 1) {
tellTarget (_root.laser1) {
gotoAndPlay (2);
};
}
if (_root.laser == 2) {
tellTarget (_root.laser1) {
gotoAndPlay (2);
};
tellTarget (_root.laser2) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 417 MovieClip "bakgrunn" in Frame 313
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 10) {
testomfg = "_root.bakgrunn.heli" + i;
tellTarget (testomfg) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
_root.score = _root.score + 10;
if (health <= 0) {
_root.score = _root.score + 50;
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
} else if (_root.run == 1) {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(_root.sikte.treff) == true) {
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
_root.score = _root.score + _root.damage;
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
} else if (_root.run == 1) {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
onClipEvent (mouseMove) {
if (_root.buy == 0) {
_x = (_root._xmouse - (_root._xmouse * 2.5));
_y = (_root._ymouse - (_root._ymouse * 2.5));
Mouse.hide();
} else {
Mouse.show();
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
if (_root.vapen == 1) {
_root.vapen = 2;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun1) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
if (_root.dual == 1) {
} else {
return(true);
}
}
if (_root.vapen == 2) {
_root.vapen = 1;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun2) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
}
on (keyPress "<Space>") {
if (_root.buy == 0) {
_root.buy = 1;
tellTarget (_root.buyscreen) {
gotoAndPlay (2);
};
return(true);
}
if (_root.buy == 1) {
_root.buy = 0;
tellTarget (_root.buyscreen) {
gotoAndPlay (11);
};
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 4) {
vor = "_root.bakgrunn.tanks" + i;
tellTarget (vor) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
}
_root.score = _root.score + _root.damage;
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
_y = (_y - 2);
_x = (_x - 2);
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
}
on (press) {
if (_root.buy != 1) {
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
tellTarget (_root.gatling) {
gotoAndPlay (2);
};
} else {
tellTarget (_root.gatling) {
gotoAndPlay (6);
};
}
}
}
}
}
on (dragOver) {
if (_root.buy != 1) {
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
tellTarget (_root.gatling) {
gotoAndPlay (2);
};
} else {
tellTarget (_root.gatling) {
gotoAndPlay (6);
};
}
}
}
}
}
on (release) {
if (_root.buy != 1) {
if (_root.run == 1) {
if (_root.weapon == 2) {
tellTarget (_root.gatling) {
gotoAndPlay (1);
};
}
}
}
}
on (releaseOutside) {
if (_root.buy != 1) {
if (_root.run == 1) {
if (_root.weapon == 2) {
tellTarget (_root.gatling) {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "1") {
_root.weapon = 1;
tellTarget (_root.gun1) {
gotoAndStop (1);
};
tellTarget (_root.gun2) {
gotoAndStop (1);
};
}
on (keyPress "2") {
if (_root.mg == 1) {
_root.weapon = 2;
tellTarget (_root.gatling) {
gotoAndStop (1);
};
}
}
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 4) {
voren = "_root.bakgrunn.srobo" + i;
tellTarget (voren) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
}
_root.score = _root.score + _root.damage;
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
}
on (keyPress "l") {
if (_root.laseready == 1) {
if (_root.laser == 1) {
tellTarget (_root.laser1) {
gotoAndPlay (2);
};
}
if (_root.laser == 2) {
tellTarget (_root.laser1) {
gotoAndPlay (2);
};
tellTarget (_root.laser2) {
gotoAndPlay (2);
};
}
}
}
on (press) {
if (_root.weapon == 1) {
tellTarget (_root.bakgrunn.RC) {
if (_root.bosshealth > 0) {
if (hitTest(_root.sikte.treff) == true) {
_root.bosshealth = _root.bosshealth - 20;
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
}
} else if (_root.pulenkatt == 1) {
gotoAndPlay (27);
_root.pulenkatt = 0;
}
};
sandha = "_root.bakgrunn.sand" + _root.sandteller;
tellTarget (sandha) {
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (((Math.round(Math.random() * 20) + _root.sikte._y) - 25) - _root.bakgrunn._y);
gotoAndPlay (1);
};
_root.sandteller = _root.sandteller + 1;
if (_root.sandteller == 17) {
_root.sandteller = 1;
}
}
}
Instance of Symbol 491 MovieClip in Frame 313
onClipEvent (mouseMove) {
if (_root.buy != 1) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
Instance of Symbol 569 MovieClip "earlystart" in Frame 313
on (keyPress "<Right>") {
if (_root.totalenemies <= 0) {
_root.totalenemies = 1;
_root.sekunder = 57;
}
}
Instance of Symbol 575 MovieClip in Frame 313
onClipEvent (load) {
funni = 2;
}
on (keyPress "<Up>") {
funni = funni + 1;
if (funni == 1) {
_quality = "LOW";
_root.kvaliteten = "LOW";
}
if (funni == 2) {
_quality = "MEDIUM";
_root.kvaliteten = "MEDIUM";
}
if (funni == 3) {
_quality = "HIGH";
_root.kvaliteten = "HIGH";
funni = 0;
}
}
Frame 314
gotoAndPlay (313);
Frame 337
gotoAndPlay (338);
Instance of Symbol 86 MovieClip in Frame 337
on (press) {
if (_root.kuler >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(_root.sikte.treff) == true) {
tellTarget (_root.skriket) {
gotoAndPlay (20);
};
health = health - _root.damage;
if (dead != 1) {
if (health <= 0) {
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
}
}
}
};
i++;
}
} else {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
on (press) {
if (_root.kuler >= 1) {
if (_root.vapen == 1) {
_root.vapen = 2;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun1) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
if (_root.dual == 1) {
} else {
return(true);
}
}
if (_root.vapen == 2) {
_root.vapen = 1;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun2) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
Instance of Symbol 417 MovieClip "bakgrunn" in Frame 337
on (press) {
if (_root.kuler >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(_root.sikte.treff) == true) {
tellTarget (_root.skriket) {
gotoAndPlay (20);
};
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
if (health <= 0) {
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
}
}
}
};
i++;
}
} else {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
onClipEvent (mouseMove) {
_x = (_root._xmouse - (_root._xmouse * 2.5));
_y = (_root._ymouse - (_root._ymouse * 2.5));
Mouse.hide();
}
on (press) {
if (_root.kuler >= 1) {
if (_root.vapen == 1) {
_root.vapen = 2;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun1) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
if (_root.dual == 1) {
} else {
return(true);
}
}
if (_root.vapen == 2) {
_root.vapen = 1;
_root.kuler = _root.kuler - 1;
tellTarget (_root.gun2) {
gotoAndPlay (2);
};
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
Instance of Symbol 491 MovieClip in Frame 337
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 527
stop();
Symbol 9 MovieClip Frame 5
stop();
Symbol 13 MovieClip Frame 5
stop();
Symbol 14 Button
on (release) {
play();
}
Symbol 43 MovieClip Frame 177
stop();
Symbol 58 MovieClip Frame 5
stop();
Symbol 60 MovieClip Frame 5
stop();
Symbol 61 Button
on (release) {
_root.instructions.active = false;
_root.credits.active = true;
}
Symbol 62 Button
on (release) {
_root.instructions.active = true;
_root.credits.active = false;
}
Symbol 63 Button
on (release) {
_root.nextframe();
_root.play();
}
Symbol 67 Button
on (release) {
getURL ("http://www.gamesofgondor.com");
}
Symbol 76 Button
on (release) {
active = false;
}
Symbol 77 MovieClip Frame 1
_alpha = 0;
this.onEnterFrame = function () {
if (active) {
_visible = true;
_alpha = (_alpha + ((-(_alpha - 100)) / 4));
} else {
if (Math.round(_alpha) < 1) {
_visible = false;
}
_alpha = (_alpha + ((-(_alpha - 0)) / 4));
}
};
Symbol 81 MovieClip Frame 1
_alpha = 0;
this.onEnterFrame = function () {
if (active) {
_visible = true;
_alpha = (_alpha + ((-(_alpha - 100)) / 4));
} else {
if (Math.round(_alpha) < 1) {
_visible = false;
}
_alpha = (_alpha + ((-(_alpha - 0)) / 4));
}
};
Symbol 94 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 12
stop();
Symbol 116 MovieClip Frame 1
tellTarget (sandblast) {
gotoAndPlay (1);
_rotation = (Math.round(Math.random() * 359) + 1);
};
Symbol 116 MovieClip Frame 12
stop();
Symbol 177 MovieClip Frame 1
stop();
Instance of Symbol 149 MovieClip in Symbol 177 MovieClip Frame 1
on (press) {
if (_root.weapon == 1) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
if (_root.dual == 0) {
health = health - _root.damage;
}
if (_root.dual == 1) {
health = health - (_root.damage * 2);
}
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
} else if (_root.run == 1) {
tellTarget (_root.gun1) {
gotoAndPlay (11);
};
tellTarget (_root.gun2) {
gotoAndPlay (11);
};
}
}
}
}
}
Symbol 177 MovieClip Frame 16
stop();
Symbol 177 MovieClip Frame 17
tellTarget (_root.rodt) {
gotoAndPlay (2);
};
Symbol 177 MovieClip Frame 29
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 11
stop();
Symbol 207 MovieClip Frame 16
stop();
Symbol 236 MovieClip Frame 1
stop();
Instance of Symbol 225 MovieClip "robohb" in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.health < 0) {
_xscale = 0;
}
}
Symbol 236 MovieClip Frame 42
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 71
stop();
Symbol 284 MovieClip Frame 2
rand = Math.round(Math.random() * _root.antallsoldater) + 0;
randtarget = "_root.bakgrunn.fiende" + rand;
tellTarget (randtarget) {
health = health - _root.damage;
if (dead != 1) {
if (_x > 0) {
_y = (_y - 4);
_x = (_x - 4);
tellTarget (_root.blodes) {
gotoAndPlay (1);
_x = (Math.round(Math.random() * 20) + 390);
_y = 200;
};
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
_root.score = _root.score + _root.damage;
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
} else {
return(true);
}
};
Symbol 304 MovieClip Frame 1
rand = Math.round(Math.random() * _root.antallsoldater) + 0;
randtarget = "_root.bakgrunn.fiende" + rand;
tellTarget (randtarget) {
health = health - _root.damage;
if (dead != 1) {
if (_x > 0) {
_y = (_y - 4);
_x = (_x - 4);
tellTarget (_root.blodes) {
gotoAndPlay (1);
_x = (Math.round(Math.random() * 20) + 390);
_y = 200;
};
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
} else {
return(true);
}
};
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 3
stop();
Symbol 344 MovieClip Frame 13
gotoAndPlay (1);
Symbol 344 MovieClip Frame 26
stop();
Symbol 361 MovieClip Frame 16
gotoAndPlay (1);
Symbol 361 MovieClip Frame 35
stop();
Symbol 374 MovieClip Frame 11
stop();
Symbol 416 MovieClip Frame 25
gotoAndPlay (1);
Symbol 416 MovieClip Frame 37
stop();
Instance of Symbol 207 MovieClip "tanks0" in Symbol 417 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 207 MovieClip "tanks1" in Symbol 417 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 344 MovieClip "rocket1" in Symbol 417 MovieClip Frame 1
onClipEvent (load) {
re = 1;
}
on (keyPress "<Down>") {
if (re == 1) {
if (_root.rocketammo > 0) {
re = 0;
_root.rocketammo = _root.rocketammo - 1;
t = 1;
gotoAndPlay (1);
_x = (400 - _parent._x);
_y = (-_parent._y);
targetx = _root.sikte._x;
targety = _root.sikte._y - _root.bakgrunn._y;
}
}
}
onClipEvent (enterFrame) {
if (_y < targety) {
_y = (_y + 5);
} else {
re = 1;
if (t == 1) {
gotoAndPlay (14);
t = 0;
i = 0;
while (i < 4) {
voren = "_root.bakgrunn.srobo" + i;
tellTarget (voren) {
if (hitTest(_root.bakgrunn.rocket1) == true) {
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
}
_root.score = _root.score + _root.damage;
health = health - (_root.damage * 20);
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
i = 0;
while (i < 4) {
vor = "_root.bakgrunn.tanks" + i;
tellTarget (vor) {
if (hitTest(_root.bakgrunn.rocket1) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
health = health - (_root.damage * 20);
if (dead != 1) {
_y = (_y - 2);
_x = (_x - 2);
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(_root.bakgrunn.rocket1) == true) {
health = health - (_root.damage * 20);
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
Instance of Symbol 361 MovieClip "atom1" in Symbol 417 MovieClip Frame 1
onClipEvent (load) {
re2 = 1;
}
on (keyPress "<Right>") {
if (re2 == 1) {
if (_root.rocketammo2 > 0) {
re2 = 0;
_root.rocketammo2 = _root.rocketammo2 - 1;
t = 1;
gotoAndPlay (1);
_x = (400 - _parent._x);
_y = (-_parent._y);
targetx2 = _root.sikte._x;
targety2 = _root.sikte._y - _root.bakgrunn._y;
}
}
}
onClipEvent (enterFrame) {
if (_y < targety2) {
_y = (_y + 5);
} else {
re2 = 1;
if (t == 1) {
tellTarget (_root.atomlys) {
gotoAndPlay (2);
};
gotoAndStop (17);
t = 0;
i = 0;
while (i < 4) {
voren = "_root.bakgrunn.srobo" + i;
tellTarget (voren) {
if (_x > 100) {
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
}
_root.score = _root.score + _root.damage;
health = health - (_root.damage * 100);
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i = 0;
while (i < 4) {
vor = "_root.bakgrunn.tanks" + i;
tellTarget (vor) {
if (_x > 100) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
health = health - (_root.damage * 100);
if (dead != 1) {
_y = (_y - 2);
_x = (_x - 2);
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
i++;
}
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (_x > 100) {
health = health - (_root.damage * 100);
if (dead != 1) {
_y = (_y - 4);
_x = (_x - 4);
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 2
tellTarget (flamme) {
gotoAndPlay (1);
_rotation = (Math.round(Math.random() * 359) + 1);
};
Symbol 434 MovieClip Frame 10
gotoAndPlay (1);
Symbol 434 MovieClip Frame 20
gotoAndPlay (1);
Symbol 434 MovieClip Frame 25
if (_root.weapon != 1) {
stop();
}
Symbol 439 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 3
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
health = health - _root.damage;
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
_root.score = _root.score + _root.damage;
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
if (_root.weapon == 2) {
if (_root.kuler2 >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.kuler2 = _root.kuler2 - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
}
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
i = 0;
while (i < 4) {
muhammed = "_root.bakgrunn.tanks" + i;
tellTarget (muhammed) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - _root.damage;
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler2 >= 1) {
i = 0;
while (i < 4) {
fuk = "_root.bakgrunn.srobo" + i;
tellTarget (fuk) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - _root.damage;
if (health < 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
if (_root.weapon == 2) {
if (_root.run == 1) {
if (_root.kuler >= 1) {
i = 0;
while (i < 10) {
testomfg = "_root.bakgrunn.heli" + i;
tellTarget (testomfg) {
if (hitTest(_root.sikte.treff) == true) {
mublo = "_root.bakgrunn.blodes" + _root.muhammedblod;
tellTarget (mublo) {
_rotation = (Math.round(Math.random() * 359) + 1);
gotoAndPlay (1);
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (200 - _root.bakgrunn._y);
};
_root.muhammedblod = _root.muhammedblod + 1;
if (_root.muhammedblod == 11) {
_root.muhammedblod = 1;
}
health = health - _root.damage;
if (dead != 1) {
_root.score = _root.score + 10;
if (health <= 0) {
_root.score = _root.score + 50;
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
}
sandha = "_root.bakgrunn.sand" + _root.sandteller;
tellTarget (sandha) {
_x = ((Math.round(Math.random() * 20) + 390) - _root.bakgrunn._x);
_y = (((Math.round(Math.random() * 20) + _root.sikte._y) - 25) - _root.bakgrunn._y);
gotoAndPlay (1);
};
_root.sandteller = _root.sandteller + 1;
if (_root.sandteller == 17) {
_root.sandteller = 1;
}
Symbol 451 MovieClip Frame 4
if (_root.mgspeed == 1) {
if (_root.kuler2 >= 1) {
gotoAndPlay (2);
} else {
gotoAndPlay (6);
}
}
Symbol 451 MovieClip Frame 5
if (_root.kuler2 >= 1) {
gotoAndPlay (2);
} else {
gotoAndPlay (6);
}
Symbol 451 MovieClip Frame 20
gotoAndPlay (6);
Symbol 451 MovieClip Frame 25
stop();
Symbol 484 MovieClip Frame 1
stop();
_root.laseready = 1;
Symbol 484 MovieClip Frame 2
_root.laseready = 0;
Symbol 484 MovieClip Frame 20
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 21
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 22
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 23
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 24
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 25
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 26
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 27
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 28
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 29
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 30
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < _root.as) {
test = "_root.bakgrunn.fiende" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
tellTarget (_root.bakgrunn.blodes) {
gotoAndPlay (1);
_x = _root.sikte._x;
_y = _root.sikte._y;
};
health = health - (5 + _root.damage);
if (dead != 1) {
lal = (health / _root.minutter) * 100;
tellTarget (barensaren) {
_xscale = _parent.lal;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.skriket) {
gotoAndPlay (20);
_root.score = _root.score + _root.damage;
};
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
tellTarget (_root.skriket) {
gotoAndPlay(Math.round(Math.random() * 14) + 1);
};
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.batteri >= 1) {
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri - 1;
tellTarget (_root.sikte) {
gotoAndPlay (2);
};
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.tanks" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal3 = (health / (5 + (_root.minutter * 5))) * 100;
tellTarget (tankshealth) {
_xscale = _parent.lal3;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
if (_root.run == 1) {
if (_root.batteri >= 1) {
i = 0;
while (i < 4) {
test = "_root.bakgrunn.srobo" + i;
tellTarget (test) {
if (hitTest(this.laserhit) == true) {
if (dead != 1) {
lal2 = (health / (1 + (_root.minutter * 2))) * 45;
tellTarget (robohb) {
_xscale = _parent.lal2;
if (_xscale <= 1) {
_xscale = 1;
}
};
tellTarget (_root.ttreff) {
gotoAndPlay (2);
};
}
_root.score = _root.score + _root.damage;
if (dead != 1) {
health = health - (5 + _root.damage);
if (health <= 0) {
_root.score = _root.score + (_root.damage * 3);
gotoAndPlay (2);
dead = 1;
_root.totalenemies = _root.totalenemies - 1;
}
}
}
};
i++;
}
}
}
Symbol 484 MovieClip Frame 34
gotoAndPlay (1);
Symbol 484 MovieClip Frame 35
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
stop();
Symbol 528 MovieClip Frame 3
stop();
Symbol 528 MovieClip Frame 4
stop();
Symbol 528 MovieClip Frame 5
stop();
Symbol 528 MovieClip Frame 6
stop();
Symbol 528 MovieClip Frame 7
stop();
Symbol 528 MovieClip Frame 8
stop();
Symbol 528 MovieClip Frame 9
stop();
Symbol 528 MovieClip Frame 10
stop();
Symbol 528 MovieClip Frame 11
stop();
Symbol 528 MovieClip Frame 12
stop();
Symbol 528 MovieClip Frame 13
stop();
Symbol 528 MovieClip Frame 14
stop();
Symbol 528 MovieClip Frame 20
stop();
Symbol 533 Button
on (press) {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
Symbol 534 Button
on (press) {
if (_root.dual == 0) {
if (_root.score >= 600) {
_root.score = _root.score - 600;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.dual = 1;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 535 Button
on (press) {
if (_root.score >= 100) {
_root.score = _root.score - 100;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.kuler = _root.kuler + 100;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 536 Button
on (press) {
if (_root.score >= 1000) {
if (_root.mg != 1) {
_root.score = _root.score - 1000;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.mg = 1;
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 537 Button
on (press) {
if (_root.score >= 7000) {
if (_root.mgspeed == 0) {
_root.score = _root.score - 7000;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.mgspeed = 1;
gotoAndPlay (2);
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 538 Button
on (press) {
if (_root.score >= 100) {
_root.score = _root.score - 100;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.kuler2 = _root.kuler2 + 100;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 539 Button
on (press) {
if (_root.score >= 25000) {
if (_root.laser == 0) {
_root.score = _root.score - 25000;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.laser = 1;
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 540 Button
on (press) {
if (_root.score >= 50000) {
if (_root.laser == 1) {
_root.score = _root.score - 50000;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.laser = 2;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 541 Button
on (press) {
if (_root.basehealth <= _root.makshealth) {
if (_root.score >= _root.bhcost) {
_root.score = _root.score - _root.bhcost;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.basehealth = _root.basehealth + 1;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 542 Button
on (press) {
if (_root.score >= _root.dmgcost) {
_root.score = _root.score - _root.dmgcost;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.damage = _root.damage + 1;
_root.dmgcost = _root.dmgcost * 4;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 543 Button
on (press) {
if (_root.score >= 10000) {
if (_root.laser >= 1) {
_root.score = _root.score - 10000;
tellTarget (_root.buttonsounds2) {
gotoAndPlay (2);
};
_root.batteri = _root.batteri + 10;
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
} else {
tellTarget (_root.buttonsounds) {
gotoAndPlay (2);
};
}
}
Symbol 560 MovieClip Frame 1
stop();
Symbol 560 MovieClip Frame 10
stop();
_root.run = 0;
Symbol 560 MovieClip Frame 20
_root.run = 1;
Symbol 563 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 1
stop();