Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("f464cce3", this, 10301, true);
function itemHandler1(obj, item) {
getURL ("http://www.mortargames.com", _blank);
}
function itemHandler2(obj, item) {
getURL ("http://www.mortargames.com", _blank);
}
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Hardcore War Games!", itemHandler1));
myMenu.customItems.push(new ContextMenuItem("MortarGames", itemHandler2));
_root.menu = myMenu;
Frame 2
stop();
Frame 4
_root.grenadei = 100;
_root.ytop = 200;
_root.ydiff = 140;
_root.gameover = false;
_root.grenadeexplosion.gotoAndStop(50);
_root.grenade.gotoAndStop(1);
_root.killed = 0;
_root.timeleft = 100;
_root.timeleft2 = _root.timeleft * 30;
_root._quality = "MEDIUM";
_root.ammo = 10;
_root.grenades = 5;
_root.ypos = 9999;
_root.xpos = 9999;
_root.pause = false;
_root.level = 1;
_root.sokdeaths = 0;
_root.invicounter = 0;
_root.deploy = false;
_root.officerdeploy = false;
_root.infantrydeploy = false;
_root.machinegunnerdeploy = false;
_root.mortardeploy = false;
_root.officer.dead = true;
_root.gubbe.dead = false;
_root.infantry1.dead = true;
_root.infantry2.dead = true;
_root.infantry3.dead = true;
_root.mgunner.dead = true;
_root.mortar.dead = true;
nextFrame();
Frame 5
stop();
_root.levelframe = 4;
Instance of Symbol 265 MovieClip in Frame 5
/* no clip actions */
Instance of Symbol 377 MovieClip "mortar" in Frame 5
onClipEvent (load) {
dead = true;
hitbox = false;
setup = false;
}
onClipEvent (enterFrame) {
if ((!dead) && (!hitbox)) {
_x = (_x - 3);
gotoAndStop (1);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (!setup)) {
hitbox = true;
gotoAndStop (2);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (setup)) {
gotoAndStop (3);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
setup = false;
gotoAndStop (4);
}
}
Instance of Symbol 74 MovieClip in Frame 5
onClipEvent (load) {
tim = 0;
tim2 = 0;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.timeleft2 > 0) {
if (this.hitTest(_root.gubbe)) {
tim++;
tim2++;
if (this.hitTest(_root.officer)) {
tim = tim + 0.5;
tim2 = tim2 + 0.5;
}
if (tim > 15) {
_root.ammo++;
tim = 0;
}
if (tim2 > 70) {
_root.grenades++;
tim2 = 0;
}
}
}
}
}
Instance of Symbol 462 MovieClip "officer" in Frame 5
onClipEvent (load) {
dead = true;
hit = false;
}
onClipEvent (enterFrame) {
if ((!dead) && (!hit)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.officerhitter) && (!dead)) {
hit = true;
gotoAndStop (2);
}
if (this.hitTest(_root.artillerybomb.hitter) || (this.hitTest(_root.tankbomb.hitter))) {
dead = true;
gotoAndStop (3);
}
}
Instance of Symbol 536 MovieClip "gubbe" in Frame 5
onClipEvent (load) {
stop();
_root.radio.gotoAndPlay(2);
speed = 5;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
rnd = random(1000);
if (((rnd == 100) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("cowards");
}
if (Key.isDown(38) & (!dead)) {
gotoAndStop (2);
if (_y > 220) {
_y = (_y - speed);
}
} else if (Key.isDown(40) & (!dead)) {
if (_y < 375) {
_y = (_y + speed);
}
gotoAndStop (2);
}
if (Key.isDown(39) & (!dead)) {
_x = (_x + speed);
_xscale = -100;
gotoAndStop (2);
} else if (Key.isDown(37) & (!dead)) {
_x = (_x - speed);
_xscale = 100;
gotoAndStop (2);
}
if ((((((Key.isDown(65) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (_root.ammo > 0)) & (!dead)) {
gotoAndStop (3);
}
if ((((((Key.isDown(83) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (_root.grenades > 0)) & (!dead)) {
gotoAndStop (4);
}
if ((((((((!Key.isDown(38)) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (!Key.isDown(65))) & (_x < 780)) & (_currentframe != 4)) & (!dead)) {
gotoAndStop (1);
}
if ((_x > 780) & (!dead)) {
gotoAndStop (2);
_x = (_x - speed);
_xscale = 100;
}
if (this.hit.hitTest(_root.artillerybomb.hitter) || (this.hit.hitTest(_root.tankbomb.hitter))) {
if (_root.invicounter <= 1) {
dead = true;
gotoAndStop (6);
}
}
if (_root.invicounter == 300) {
invilim = _root.invicounter - 3;
}
if (_root.invicounter > 0) {
_root.invicounter--;
if (invilim > _root.invicounter) {
invilim = _root.invicounter - 3;
if (_alpha == 100) {
_alpha = 20;
} else {
_alpha = 100;
}
}
} else {
_alpha = 100;
}
}
}
Instance of Symbol 177 MovieClip "grenade" in Frame 5
onClipEvent (load) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
if (_root.gubbe._xscale == 100) {
_xscale = 100;
xadjust = -215;
yadjust = 30;
} else {
_xscale = -100;
xadjust = 215;
yadjust = 30;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 32) {
_root.grenadeexplosion._x = _x + xadjust;
_root.grenadeexplosion._y = _y + yadjust;
_root.grenadeexplosion.gotoAndPlay(1);
}
}
Instance of Symbol 616 MovieClip "machinegunners" in Frame 5
onClipEvent (load) {
dupetime = 200;
time = dupetime - 1;
i = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime = dupetime * 0.99;
this.machinegunner.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
Instance of Symbol 649 MovieClip "grenadeholder" in Frame 5
onClipEvent (load) {
this.explosion.gotoAndStop(50);
}
Instance of Symbol 692 MovieClip "grenadethrowers" in Frame 5
onClipEvent (load) {
dupetime = 350;
time = dupetime - 1;
i = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
dupetime = dupetime * 0.99;
time = 0;
this.grenadethrower.duplicateMovieClip("thrower" + i, 100 + i);
i++;
}
}
}
Instance of Symbol 766 MovieClip "ssers" in Frame 5
onClipEvent (load) {
time = 290;
dupetime = 350;
i = 100;
}
onClipEvent (enterFrame) {
if (_root.level >= 2) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime--;
this.sser.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
}
Instance of Symbol 831 MovieClip "infantry1" in Frame 5
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 831 MovieClip "infantry2" in Frame 5
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 831 MovieClip "infantry3" in Frame 5
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 880 MovieClip "mgunner" in Frame 5
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 377 MovieClip "mortar" in Frame 5
onClipEvent (load) {
dead = true;
hitbox = false;
setup = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 3);
gotoAndStop (1);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (!setup)) {
hitbox = true;
gotoAndStop (2);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (setup)) {
gotoAndStop (3);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
setup = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 956 MovieClip "fthrowers" in Frame 5
onClipEvent (load) {
time = 290;
dupetime = 350;
i = 100;
}
onClipEvent (enterFrame) {
if (_root.level >= 1) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime--;
this.fthrower.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
}
Instance of Symbol 977 MovieClip "levelfader" in Frame 5
onClipEvent (enterFrame) {
if ((_root.timeleft2 == 0) && (_currentframe == 1)) {
play();
}
}
Instance of Symbol 979 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.timeleft2--;
_root.timeleft = Math.round(_root.timeleft2 / 30);
if (_root.timeleft2 < 0) {
_root.timeleft2 = 0;
}
}
if (_root.gameover) {
_root.gotoAndStop("gameoverscreen");
}
}
Instance of Symbol 1033 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (_root.timeleft2 == 0) {
gotoAndStop (1);
} else {
if ((!_root.officer.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if ((_root.deploy == true) && (_root.officerdeploy == true)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.officer.dead = false;
_root.deploy = false;
_root.officerdeploy = false;
_root.officer._x = 850 + random(100);
_root.officer.gotoAndStop(1);
_root.officer.hit = false;
}
}
}
}
Instance of Symbol 1038 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (_root.timeleft2 == 0) {
gotoAndStop (1);
} else {
if ((((!_root.infantry1.dead) && (!_root.infantry2.dead)) && (!_root.infantry3.dead)) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.deploy && (_root.infantrydeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.deploy = false;
_root.infantrydeploy = false;
if (_root.infantry1.dead) {
_root.infantry1.dead = false;
_root.infantry1._x = 850 + random(100);
_root.infantry1.gotoAndStop(1);
_root.infantry1.hitbox = false;
} else if (_root.infantry2.dead) {
_root.infantry2.dead = false;
_root.infantry2._x = 850 + random(100);
_root.infantry2.gotoAndStop(1);
_root.infantry2.hitbox = false;
} else if (_root.infantry3.dead) {
_root.infantry3.dead = false;
_root.infantry3._x = 850 + random(100);
_root.infantry3.gotoAndStop(1);
_root.infantry3.hitbox = false;
}
}
}
}
}
Instance of Symbol 1044 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (_root.timeleft2 == 0) {
gotoAndStop (1);
} else {
if ((!_root.mgunner.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.level == 1) {
gotoAndStop (1);
}
if (_root.deploy && (_root.machinegunnerdeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.mgunner.dead = false;
_root.deploy = false;
_root.machinegunnerdeploy = false;
_root.mgunner._x = 850 + random(100);
_root.mgunner.gotoAndStop(1);
_root.mgunner.hitbox = false;
}
}
}
}
Instance of Symbol 1048 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (_root.timeleft2 == 0) {
gotoAndStop (1);
} else {
if ((!_root.mortar.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.level <= 2) {
gotoAndStop (1);
}
if (_root.deploy && (_root.mortardeploy)) {
time++;
gotoAndStop (3);
if (time > 300) {
_root.mortar.dead = false;
_root.deploy = false;
_root.mortardeploy = false;
_root.mortar._x = 850 + random(100);
_root.mortar.gotoAndStop(1);
_root.mortar.hitbox = false;
_root.mortar.setup = false;
}
}
}
}
Instance of Symbol 1056 MovieClip "tooltips" in Frame 5
onClipEvent (enterFrame) {
if (_currentframe > 1) {
_alpha = (_alpha-1);
}
}
Frame 6
nextFrame();
Frame 7
_root.grenadei = 100;
_root.ytop = 160;
_root.ydiff = 180;
_root.gameover = false;
stop();
_root.grenadeexplosion.gotoAndStop(50);
_root.grenade.gotoAndStop(1);
_root.killed = 0;
_root.timeleft = 250;
_root.timeleft2 = _root.timeleft * 30;
_root._quality = "MEDIUM";
_root.ammo = 10;
_root.grenades = 5;
_root.ypos = 9999;
_root.xpos = 9999;
_root.pause = false;
_root.level = 2;
_root.grenadethrowers.time = 0;
_root.machinegunners.time = 0;
_root.sokdeaths = 0;
_root.deploy = false;
_root.officerdeploy = false;
_root.infantrydeploy = false;
_root.machinegunnerdeploy = false;
_root.mortardeploy = false;
_root.levelframe = 6;
Instance of Symbol 74 MovieClip in Frame 7
onClipEvent (load) {
tim = 0;
tim2 = 0;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.timeleft2 > 0) {
if (this.hitTest(_root.gubbe)) {
tim++;
tim2++;
if (this.hitTest(_root.officer)) {
tim = tim + 0.5;
tim2 = tim2 + 0.5;
}
if (tim > 15) {
_root.ammo++;
tim = 0;
}
if (tim2 > 70) {
_root.grenades++;
tim2 = 0;
}
}
}
}
}
Instance of Symbol 462 MovieClip "officer" in Frame 7
onClipEvent (load) {
dead = true;
hit = false;
}
onClipEvent (enterFrame) {
if ((!dead) && (!hit)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.officerhitter) && (!dead)) {
hit = true;
gotoAndStop (2);
}
if (this.hitTest(_root.artillerybomb.hitter) || (this.hitTest(_root.tankbomb.hitter))) {
dead = true;
gotoAndStop (3);
}
}
Instance of Symbol 536 MovieClip "gubbe" in Frame 7
onClipEvent (load) {
stop();
_root.radio.gotoAndPlay("motherlandcalling");
speed = 5;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
rnd = random(1000);
if (((rnd == 100) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("cowards");
}
if (Key.isDown(38) & (!dead)) {
gotoAndStop (2);
if (_y > 180) {
_y = (_y - speed);
}
} else if (Key.isDown(40) & (!dead)) {
if (_y < 375) {
_y = (_y + speed);
}
gotoAndStop (2);
}
if (Key.isDown(39) & (!dead)) {
_x = (_x + speed);
_xscale = -100;
gotoAndStop (2);
} else if (Key.isDown(37) & (!dead)) {
_x = (_x - speed);
_xscale = 100;
gotoAndStop (2);
}
if ((((((Key.isDown(65) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (_root.ammo > 0)) & (!dead)) {
gotoAndStop (3);
}
if ((((((Key.isDown(83) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (_root.grenades > 0)) & (!dead)) {
gotoAndStop (4);
}
if ((((((((!Key.isDown(38)) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (!Key.isDown(65))) & (_x < 780)) & (_currentframe != 4)) & (!dead)) {
gotoAndStop (1);
}
if ((_x > 780) & (!dead)) {
gotoAndStop (2);
_x = (_x - speed);
_xscale = 100;
}
if (this.hit.hitTest(_root.artillerybomb.hitter) || (this.hit.hitTest(_root.tankbomb.hitter))) {
if (_root.invicounter <= 1) {
dead = true;
gotoAndStop (6);
}
}
if (_root.invicounter == 300) {
invilim = _root.invicounter - 3;
}
if (_root.invicounter > 0) {
_root.invicounter--;
if (invilim > _root.invicounter) {
invilim = _root.invicounter - 3;
if (_alpha == 100) {
_alpha = 20;
} else {
_alpha = 100;
}
}
} else {
_alpha = 100;
}
}
}
Instance of Symbol 177 MovieClip "grenade" in Frame 7
onClipEvent (load) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
if (_root.gubbe._xscale == 100) {
_xscale = 100;
xadjust = -215;
yadjust = 30;
} else {
_xscale = -100;
xadjust = 215;
yadjust = 30;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 32) {
_root.grenadeexplosion._x = _x + xadjust;
_root.grenadeexplosion._y = _y + yadjust;
_root.grenadeexplosion.gotoAndPlay(1);
}
}
Instance of Symbol 616 MovieClip "machinegunners" in Frame 7
onClipEvent (load) {
dupetime = 200;
time = dupetime - 1;
i = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime = dupetime * 0.995;
this.machinegunner.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
Instance of Symbol 649 MovieClip "grenadeholder" in Frame 7
onClipEvent (load) {
this.explosion.gotoAndStop(50);
}
Instance of Symbol 692 MovieClip "grenadethrowers" in Frame 7
onClipEvent (load) {
dupetime = 400;
time = dupetime - 1;
i = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
dupetime = dupetime * 0.995;
time = 0;
this.grenadethrower.duplicateMovieClip("thrower" + i, 100 + i);
i++;
}
}
}
Instance of Symbol 766 MovieClip "ssers" in Frame 7
onClipEvent (load) {
time = 290;
dupetime = 500;
i = 100;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.level >= 2) {
time++;
if (time > dupetime) {
time = 0;
dupetime--;
this.sser.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
}
Instance of Symbol 831 MovieClip "infantry1" in Frame 7
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 831 MovieClip "infantry2" in Frame 7
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 880 MovieClip "mgunner" in Frame 7
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 831 MovieClip "infantry3" in Frame 7
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 377 MovieClip "mortar" in Frame 7
onClipEvent (load) {
dead = true;
hitbox = false;
setup = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 3);
gotoAndStop (1);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (!setup)) {
hitbox = true;
gotoAndStop (2);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (setup)) {
gotoAndStop (3);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
setup = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 956 MovieClip "fthrowers" in Frame 7
onClipEvent (load) {
time = 290;
dupetime = 350;
i = 100;
}
onClipEvent (enterFrame) {
if (_root.level >= 1) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime--;
this.fthrower.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
}
Instance of Symbol 1062 MovieClip "levelfader" in Frame 7
onClipEvent (enterFrame) {
if ((_root.timeleft2 == 0) && (_currentframe == 1)) {
play();
}
}
Instance of Symbol 979 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.timeleft2--;
_root.timeleft = Math.round(_root.timeleft2 / 30);
if (_root.timeleft2 < 0) {
_root.timeleft2 = 0;
}
}
if (_root.gameover) {
_root.gotoAndStop("gameoverscreen");
}
}
Instance of Symbol 1033 MovieClip in Frame 7
onClipEvent (load) {
_root.officerdeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((!_root.officer.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.deploy && (_root.officerdeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.officer.dead = false;
_root.deploy = false;
_root.officerdeploy = false;
_root.officer._x = 850 + random(100);
_root.officer.gotoAndStop(1);
_root.officer.hit = false;
}
}
}
Instance of Symbol 1038 MovieClip in Frame 7
onClipEvent (load) {
_root.infantrydeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((((!_root.infantry1.dead) && (!_root.infantry2.dead)) && (!_root.infantry3.dead)) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.deploy && (_root.infantrydeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.deploy = false;
_root.infantrydeploy = false;
if (_root.infantry1.dead) {
_root.infantry1.dead = false;
_root.infantry1._x = 850 + random(100);
_root.infantry1.gotoAndStop(1);
_root.infantry1.hitbox = false;
} else if (_root.infantry2.dead) {
_root.infantry2.dead = false;
_root.infantry2._x = 850 + random(100);
_root.infantry2.gotoAndStop(1);
_root.infantry2.hitbox = false;
} else if (_root.infantry3.dead) {
_root.infantry3.dead = false;
_root.infantry3._x = 850 + random(100);
_root.infantry3.gotoAndStop(1);
_root.infantry3.hitbox = false;
}
}
}
}
Instance of Symbol 1044 MovieClip in Frame 7
onClipEvent (load) {
_root.machinegunnerdeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((!_root.mgunner.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.level == 1) {
gotoAndStop (1);
}
if (_root.deploy && (_root.machinegunnerdeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.mgunner.dead = false;
_root.deploy = false;
_root.machinegunnerdeploy = false;
_root.mgunner._x = 850 + random(100);
_root.mgunner.gotoAndStop(1);
_root.mgunner.hitbox = false;
}
}
}
Instance of Symbol 1048 MovieClip in Frame 7
onClipEvent (load) {
_root.mortardeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((!_root.mortar.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.level <= 2) {
gotoAndStop (1);
}
if (_root.deploy && (_root.mortardeploy)) {
time++;
gotoAndStop (3);
if (time > 300) {
_root.mortar.dead = false;
_root.deploy = false;
_root.mortardeploy = false;
_root.mortar._x = 850 + random(100);
_root.mortar.gotoAndStop(1);
_root.mortar.hitbox = false;
_root.mortar.setup = false;
}
}
}
Frame 8
nextFrame();
Frame 9
_root.grenadei = 100;
_root.ytop = 220;
_root.ydiff = 140;
_root.gameover = false;
stop();
_root.grenadeexplosion.gotoAndStop(50);
_root.grenade.gotoAndStop(1);
_root.killed = 0;
_root.timeleft = 500;
_root.timeleft2 = _root.timeleft * 30;
_root._quality = "MEDIUM";
_root.ammo = 10;
_root.grenades = 5;
_root.ypos = 9999;
_root.xpos = 9999;
_root.pause = false;
_root.level = 3;
_root.grenadethrowers.time = 0;
_root.machinegunners.time = 0;
_root.sokdeaths = 0;
_root.deploy = false;
_root.officerdeploy = false;
_root.infantrydeploy = false;
_root.machinegunnerdeploy = false;
_root.mortardeploy = false;
_root.levelframe = 8;
Instance of Symbol 74 MovieClip in Frame 9
onClipEvent (load) {
tim = 0;
tim2 = 0;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.timeleft2 > 0) {
if (this.hitTest(_root.gubbe)) {
tim++;
tim2++;
if (this.hitTest(_root.officer)) {
tim = tim + 0.5;
tim2 = tim2 + 0.5;
}
if (tim > 15) {
_root.ammo++;
tim = 0;
}
if (tim2 > 70) {
_root.grenades++;
tim2 = 0;
}
}
}
}
}
Instance of Symbol 462 MovieClip "officer" in Frame 9
onClipEvent (load) {
dead = true;
hit = false;
}
onClipEvent (enterFrame) {
if ((!dead) && (!hit)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.officerhitter) && (!dead)) {
hit = true;
gotoAndStop (2);
}
if (this.hitTest(_root.artillerybomb.hitter) || (this.hitTest(_root.tankbomb.hitter))) {
dead = true;
gotoAndStop (3);
}
}
Instance of Symbol 536 MovieClip "gubbe" in Frame 9
onClipEvent (load) {
stop();
_root.radio.gotoAndPlay("armyareone");
speed = 5;
dead = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
rnd = random(1000);
if (((rnd == 100) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("cowards");
}
if (Key.isDown(38) & (!dead)) {
gotoAndStop (2);
if (_y > 220) {
_y = (_y - speed);
}
} else if (Key.isDown(40) & (!dead)) {
if (_y < 375) {
_y = (_y + speed);
}
gotoAndStop (2);
}
if (Key.isDown(39) & (!dead)) {
_x = (_x + speed);
_xscale = -100;
gotoAndStop (2);
} else if (Key.isDown(37) & (!dead)) {
_x = (_x - speed);
_xscale = 100;
gotoAndStop (2);
}
if ((((((Key.isDown(65) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (_root.ammo > 0)) & (!dead)) {
gotoAndStop (3);
}
if ((((((Key.isDown(83) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (_root.grenades > 0)) & (!dead)) {
gotoAndStop (4);
}
if ((((((((!Key.isDown(38)) & (!Key.isDown(40))) & (!Key.isDown(37))) & (!Key.isDown(39))) & (!Key.isDown(65))) & (_x < 780)) & (_currentframe != 4)) & (!dead)) {
gotoAndStop (1);
}
if ((_x > 780) & (!dead)) {
gotoAndStop (2);
_x = (_x - speed);
_xscale = 100;
}
if (this.hit.hitTest(_root.artillerybomb.hitter) || (this.hit.hitTest(_root.tankbomb.hitter))) {
if (_root.invicounter <= 1) {
dead = true;
gotoAndStop (6);
}
}
if (_root.invicounter == 300) {
invilim = _root.invicounter - 3;
}
if (_root.invicounter > 0) {
_root.invicounter--;
if (invilim > _root.invicounter) {
invilim = _root.invicounter - 3;
if (_alpha == 100) {
_alpha = 20;
} else {
_alpha = 100;
}
}
} else {
_alpha = 100;
}
}
}
Instance of Symbol 177 MovieClip "grenade" in Frame 9
onClipEvent (load) {
_x = _root.gubbe._x;
_y = _root.gubbe._y;
if (_root.gubbe._xscale == 100) {
_xscale = 100;
xadjust = -215;
yadjust = 30;
} else {
_xscale = -100;
xadjust = 215;
yadjust = 30;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 32) {
_root.grenadeexplosion._x = _x + xadjust;
_root.grenadeexplosion._y = _y + yadjust;
_root.grenadeexplosion.gotoAndPlay(1);
}
}
Instance of Symbol 616 MovieClip "machinegunners" in Frame 9
onClipEvent (load) {
dupetime = 250;
time = dupetime - 1;
i = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime = dupetime * 0.995;
this.machinegunner.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
Instance of Symbol 649 MovieClip "grenadeholder" in Frame 9
onClipEvent (load) {
this.explosion.gotoAndStop(50);
}
Instance of Symbol 692 MovieClip "grenadethrowers" in Frame 9
onClipEvent (load) {
dupetime = 400;
time = dupetime - 1;
i = 1;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
dupetime = dupetime * 0.995;
time = 0;
this.grenadethrower.duplicateMovieClip("thrower" + i, 100 + i);
i++;
}
}
}
Instance of Symbol 766 MovieClip "ssers" in Frame 9
onClipEvent (load) {
time = 290;
dupetime = 500;
i = 100;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.level >= 2) {
time++;
if (time > dupetime) {
time = 0;
dupetime--;
this.sser.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
}
Instance of Symbol 831 MovieClip "infantry1" in Frame 9
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 831 MovieClip "infantry2" in Frame 9
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 880 MovieClip "mgunner" in Frame 9
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 831 MovieClip "infantry3" in Frame 9
onClipEvent (load) {
dead = true;
hitbox = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 1);
gotoAndStop (1);
}
if (this.hitTest(_root.infantryhitter) && (!dead)) {
hitbox = true;
gotoAndStop (2);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 377 MovieClip "mortar" in Frame 9
onClipEvent (load) {
dead = true;
hitbox = false;
setup = false;
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if ((!dead) && (!hitbox)) {
_x = (_x - 3);
gotoAndStop (1);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (!setup)) {
hitbox = true;
gotoAndStop (2);
}
if ((this.hitTest(_root.mortarhitter) && (!dead)) && (setup)) {
gotoAndStop (3);
}
if (this.hitter.hitTest(_root.artillerybomb.hitter) || (this.hitter.hitTest(_root.tankbomb.hitter))) {
dead = true;
hitbox = false;
setup = false;
gotoAndStop (4);
}
}
}
Instance of Symbol 956 MovieClip "fthrowers" in Frame 9
onClipEvent (load) {
time = 290;
dupetime = 350;
i = 100;
}
onClipEvent (enterFrame) {
if (_root.level >= 1) {
if (_root.pause == false) {
time++;
if (time > dupetime) {
time = 0;
dupetime--;
this.fthrower.duplicateMovieClip("gunner" + i, 100 + i);
i++;
}
}
}
}
Instance of Symbol 1073 MovieClip "levelfader" in Frame 9
onClipEvent (enterFrame) {
if ((_root.timeleft2 == 0) && (_currentframe == 1)) {
play();
}
}
Instance of Symbol 979 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.timeleft2--;
_root.timeleft = Math.round(_root.timeleft2 / 30);
if (_root.timeleft2 < 0) {
_root.timeleft2 = 0;
}
}
if (_root.gameover) {
_root.gotoAndStop("gameoverscreen");
}
}
Instance of Symbol 1033 MovieClip in Frame 9
onClipEvent (load) {
_root.officerdeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((!_root.officer.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.deploy && (_root.officerdeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.officer.dead = false;
_root.deploy = false;
_root.officerdeploy = false;
_root.officer._x = 850 + random(100);
_root.officer.gotoAndStop(1);
_root.officer.hit = false;
}
}
}
Instance of Symbol 1038 MovieClip in Frame 9
onClipEvent (load) {
_root.infantrydeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((((!_root.infantry1.dead) && (!_root.infantry2.dead)) && (!_root.infantry3.dead)) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.deploy && (_root.infantrydeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.deploy = false;
_root.infantrydeploy = false;
if (_root.infantry1.dead) {
_root.infantry1.dead = false;
_root.infantry1._x = 850 + random(100);
_root.infantry1.gotoAndStop(1);
_root.infantry1.hitbox = false;
} else if (_root.infantry2.dead) {
_root.infantry2.dead = false;
_root.infantry2._x = 850 + random(100);
_root.infantry2.gotoAndStop(1);
_root.infantry2.hitbox = false;
} else if (_root.infantry3.dead) {
_root.infantry3.dead = false;
_root.infantry3._x = 850 + random(100);
_root.infantry3.gotoAndStop(1);
_root.infantry3.hitbox = false;
}
}
}
}
Instance of Symbol 1044 MovieClip in Frame 9
onClipEvent (load) {
_root.machinegunnerdeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((!_root.mgunner.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.level == 1) {
gotoAndStop (1);
}
if (_root.deploy && (_root.machinegunnerdeploy)) {
time++;
gotoAndStop (3);
if (time > 200) {
_root.mgunner.dead = false;
_root.deploy = false;
_root.machinegunnerdeploy = false;
_root.mgunner._x = 850 + random(100);
_root.mgunner.gotoAndStop(1);
_root.mgunner.hitbox = false;
}
}
}
Instance of Symbol 1048 MovieClip in Frame 9
onClipEvent (load) {
_root.mortardeploy = false;
}
onClipEvent (enterFrame) {
if (_root.remainingtime2 == 0) {
gotoAndStop (1);
}
if ((!_root.mortar.dead) || (_root.deploy)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (_root.level <= 2) {
gotoAndStop (1);
}
if (_root.deploy && (_root.mortardeploy)) {
time++;
gotoAndStop (3);
if (time > 300) {
_root.mortar.dead = false;
_root.deploy = false;
_root.mortardeploy = false;
_root.mortar._x = 850 + random(100);
_root.mortar.gotoAndStop(1);
_root.mortar.hitbox = false;
_root.mortar.setup = false;
}
}
}
Frame 10
nextFrame();
Frame 11
stop();
Instance of Symbol 9 MovieClip in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
fraction = Math.round((loaded / total) * 100);
_currentframe = fraction;
_root.menuclip.gotoAndStop(fraction);
}
Symbol 18 MovieClip Frame 100
play();
Symbol 18 MovieClip Frame 135
_root.play();
stop();
Symbol 37 MovieClip Frame 21
stop();
Symbol 43 MovieClip Frame 16
stop();
Symbol 48 Button
on (release) {
getURL ("http://www.mortargames.com", _blank);
}
Symbol 52 MovieClip Frame 16
stop();
Symbol 54 Button
on (press) {
_root.menuclip2.fadeout.play();
}
Symbol 58 MovieClip Frame 12
stop();
Symbol 60 Button
on (press) {
gotoAndStop ("Instructions");
}
Symbol 64 MovieClip Frame 12
stop();
Symbol 66 Button
on (press) {
gotoAndStop ("Credits");
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 25
_root.play();
Symbol 153 MovieClip Frame 3
_root.ammo--;
_root.shake = true;
_root.shakecount = _root.shakecount + 1;
Symbol 153 MovieClip Frame 6
if (_root.ammo < 1) {
_root.gubbe.gotoAndStop(1);
}
Symbol 175 MovieClip Frame 11
i = random(9999999999);
_root.grenade.duplicateMovieClip("throwngrenade" + i, i);
_root.grenades--;
Symbol 175 MovieClip Frame 17
_root.gubbe.gotoAndStop(1);
Symbol 177 MovieClip Frame 33
stop();
_root.shake = true;
_root.shakecount = _root.shakecount + 15;
Symbol 189 MovieClip Frame 50
stop();
Symbol 233 MovieClip Frame 39
stop();
Symbol 239 MovieClip Frame 1235
stop();
Symbol 244 MovieClip Frame 53
stop();
Symbol 249 Button
on (release) {
getURL ("http://www.mortargames.com", _blank);
}
Symbol 262 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 262 MovieClip Frame 214
stopAllSounds();
_root.play();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
_root.shake = true;
Symbol 265 MovieClip Frame 51
_root.shake = false;
Symbol 341 MovieClip Frame 45
stop();
_root.mortar.setup = true;
Symbol 350 MovieClip Frame 68
_root.mortarbomb.play();
_root.mortarbomb._x = random(500);
_root.mortarbomb._y = 240 + random(140);
Symbol 372 MovieClip Frame 38
stop();
Symbol 376 MovieClip Frame 70
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 4
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("imhit");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("casualties");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("pinned");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("holdout");
}
Symbol 443 MovieClip Frame 46
stop();
Symbol 461 MovieClip Frame 55
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 3
rnd = random(100);
if (((rnd >= 50) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("officerdown");
}
Symbol 462 MovieClip Frame 4
rnd = random(100);
if (((rnd >= 50) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("officerdown");
}
Symbol 486 MovieClip Frame 51
stop();
_root.sokdeaths++;
_root.gubbe.dead = false;
_root.gubbe._x = 1500;
_root.invicounter = 300;
_root.gubbe.gotoAndStop(2);
Symbol 506 MovieClip Frame 57
stop();
_root.sokdeaths++;
_root.gubbe.dead = false;
_root.gubbe._x = 1500;
_root.invicounter = 300;
_root.gubbe.gotoAndStop(2);
Symbol 507 MovieClip Frame 1
stop();
rnd = random(100);
if (rnd > 50) {
gotoAndStop (2);
}
Symbol 535 MovieClip Frame 47
stop();
_root.sokdeaths++;
_root.gubbe.dead = false;
_root.gubbe._x = 1500;
_root.invicounter = 300;
_root.gubbe.gotoAndStop(2);
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
gotoAndPlay (23);
Symbol 539 MovieClip Frame 53
_root.shake = true;
_root.shakecount = 20;
Symbol 568 MovieClip Frame 2
_root.shake = true;
_root.shakecount = _root.shakecount + 1;
Symbol 568 MovieClip Frame 3
if (range.hitTest(_root.gubbe.hit)) {
if (_root.invicounter <= 1) {
_root.gubbe.dead = true;
_root.gubbe.gundead = true;
_root.gubbe.gotoAndStop(5);
}
}
if (range.hitTest(_root.officer)) {
_root.officer.dead = true;
_root.officer.gotoAndStop(4);
}
if (range.hitTest(_root.infantry1.hitter)) {
_root.infantry1.dead = true;
_root.infantry1.gotoAndStop(3);
}
if (range.hitTest(_root.infantry2.hitter)) {
_root.infantry2.dead = true;
_root.infantry2.gotoAndStop(3);
}
if (range.hitTest(_root.infantry3.hitter)) {
_root.infantry3.dead = true;
_root.infantry3.gotoAndStop(3);
}
if (range.hitTest(_root.mortar.hitter)) {
_root.mortar.dead = true;
_root.mortar.gotoAndStop(4);
}
if (range.hitTest(_root.mgunner.hitter)) {
_root.mgunner.dead = true;
_root.mgunner.gotoAndStop(4);
}
Symbol 592 MovieClip Frame 70
stop();
_root.killed++;
_root.machinegunnerpop--;
Symbol 614 MovieClip Frame 70
stop();
_root.killed++;
_root.machinegunnerpop--;
Symbol 615 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 2
stop();
Instance of Symbol 615 MovieClip "machinegunner" in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hit.hitTest(_root.deather)) {
_root.gameover = true;
}
if ((!fire) & (!dead)) {
_x = (_x + speed);
if (_x > 0) {
rnd = random(100);
}
if (rnd < 3) {
fire = true;
gotoAndStop (2);
}
}
if ((fire & (shooting._currentframe == shooting._totalframes)) & (!dead)) {
rnd2 = random(100);
if (rnd2 < 15) {
fire = false;
gotoAndStop (1);
}
}
if (((this.hit.hitTest(_root.grenadeexplosion) & (_x > 0)) & (!dead)) & (_root.grenadeexplosion._currentframe < 14)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((this.hit.hitTest(_root.mortarbomb.hitter) & (_x > 0)) & (!dead)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((_root.timeleft2 == 0) && (!dead)) {
gotoAndStop (4);
dead = true;
_root.machinegunners.time = -9999;
}
if ((((this.hit.hitTest(_root.gubbe.shooter.range) || (this.hit.hitTest(_root.infantry1.shoot.range))) || (this.hit.hitTest(_root.infantry2.shoot.range))) || (this.hit.hitTest(_root.infantry3.shoot.range))) || (this.hit.hitTest(_root.mgunner.shoot.range))) {
if ((!dead) && (_x > 0)) {
gotoAndStop (3);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
}
if (dead) {
if (death._currentframe == 70) {
this.removeMovieClip();
}
}
}
}
onClipEvent (load) {
fire = false;
speed = 0.8;
dead = false;
_x = (-100 - random(300));
_y = (_root.ytop + random(_root.ydiff));
_root.machinegunners.machinegunner.gotoAndStop(4);
_root.machinegunners.machinegunner._x = 9999;
_root.machinegunners.machinegunner._y = 9999;
}
Symbol 645 MovieClip Frame 28
stop();
Symbol 646 MovieClip Frame 34
stop();
Symbol 647 MovieClip Frame 1
stop();
Instance of Symbol 647 MovieClip "artillery" in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
if (_name == artillery) {
gotoAndStop ("none");
i = random(1E16);
_root.artilleryholder.artillery.duplicateMovieClip("artillerydupe" + i, i);
}
fire = false;
speed = 0.6;
dead = false;
_x = (-300 - random(300));
_y = (_root.ytop + random(_root.ydiff));
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.timeleft2 > 0) {
if ((fire == false) & (dead == false)) {
_x = (_x + speed);
rnd = random(300);
if (_x > 0) {
rnd = 1;
}
if (rnd == 1) {
fire = true;
gotoAndStop (2);
}
}
if (shooting._currentframe == 68) {
gotoAndStop (1);
fire = false;
}
if (shooting._currentframe == 30) {
rnd = random(100);
if ((rnd > 50) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("incoming");
}
_root.artillerybomb.play();
_root.artillerybomb._y = _y + 50;
_root.artillerybomb._x = (_x + 200) + random(600);
}
if (((this.hitTest(_root.grenadeexplosion) & (dead == false)) & (_root.grenadeexplosion._currentframe < 14)) & (_x > -130)) {
dead = true;
rnd = random(100);
if ((rnd > 1) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("berlin");
}
}
if ((this.hitTest(_root.mortarbomb.hitter) & (_x > 0)) & (!dead)) {
gotoAndStop (3);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if (dead == true) {
gotoAndStop ("deathframe");
if (death._currentframe == 33) {
i = random(1E16);
_root.artilleryholder.artillery.duplicateMovieClip("artillerydupe" + i, i);
this.removeMovieClip();
}
}
}
}
}
Instance of Symbol 189 MovieClip "explosion" in Symbol 649 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.gubbe.hit)) {
if (_root.invicounter <= 1) {
_root.gubbe.dead = true;
_root.gubbe.gotoAndStop(6);
}
}
if (this.hitTest(_root.officer)) {
_root.officer.dead = true;
_root.officer.gotoAndStop(3);
}
if (this.hitTest(_root.infantry1.hitter)) {
_root.infantry1.dead = true;
_root.infantry1.gotoAndStop(4);
}
if (this.hitTest(_root.infantry2.hitter)) {
_root.infantry2.dead = true;
_root.infantry2.gotoAndStop(4);
}
if (this.hitTest(_root.infantry3.hitter)) {
_root.infantry3.dead = true;
_root.infantry3.gotoAndStop(4);
}
if (this.hitTest(_root.mgunner.hitter)) {
_root.mgunner.dead = true;
_root.mgunner.gotoAndStop(4);
}
if (this.hitTest(_root.mortar.hitter)) {
_root.mortar.dead = true;
_root.mortar.gotoAndStop(4);
}
}
onClipEvent (load) {
_x = _root.xpos;
_y = _root.ypos;
}
Symbol 667 MovieClip Frame 47
_root.ypos = ypos;
_root.xpos = xpos;
i = _root.grenadei;
_root.grenadeholder.explosion.duplicateMovieClip("expl" + i, 100 + i);
_root.grenadei++;
Symbol 690 MovieClip Frame 45
stop();
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
stop();
Instance of Symbol 691 MovieClip "grenadethrower" in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (this.hit.hitTest(_root.deather)) {
_root.gameover = true;
}
if ((!fire) & (!dead)) {
_x = (_x + speed);
if (_x > 0) {
rnd = random(100);
}
if (rnd < 3) {
fire = true;
gotoAndStop (2);
}
}
if ((fire & (shooting._currentframe == shooting._totalframes)) & (!dead)) {
rnd2 = random(100);
if (rnd2 < 15) {
fire = false;
gotoAndStop (1);
}
}
if (((this.hit.hitTest(_root.grenadeexplosion) & (_x > 0)) & (!dead)) & (_root.grenadeexplosion._currentframe < 14)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((this.hit.hitTest(_root.mortarbomb.hitter) & (_x > 0)) & (!dead)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((_root.timeleft2 == 0) && (!dead)) {
gotoAndStop (4);
dead = true;
_root.grenadethrowers.time = -9999;
}
if ((((this.hit.hitTest(_root.gubbe.shooter.range) || (this.hit.hitTest(_root.infantry1.shoot.range))) || (this.hit.hitTest(_root.infantry2.shoot.range))) || (this.hit.hitTest(_root.infantry3.shoot.range))) || (this.hit.hitTest(_root.mgunner.shoot.range))) {
if ((!dead) && (_x > 0)) {
gotoAndStop (3);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
}
if (dead) {
if (death._currentframe == 70) {
this.removeMovieClip();
}
}
}
shooting.xpos = _x + 215;
shooting.ypos = _y + 50;
}
onClipEvent (load) {
fire = false;
speed = 2.8;
dead = false;
_x = (-100 - random(300));
_y = (_root.ytop + random(_root.ydiff));
_root.grenadethrowers.grenadethrower.gotoAndStop(4);
_root.grenadethrowers.grenadethrower._x = -9999;
_root.grenadethrowers.grenadethrower._y = -9999;
}
Symbol 721 MovieClip Frame 2
if (range.hitTest(_root.gubbe.hit)) {
if (_root.invicounter <= 1) {
_root.gubbe.dead = true;
_root.gubbe.gundead = true;
_root.gubbe.gotoAndStop(5);
}
}
if (range.hitTest(_root.officer)) {
_root.officer.dead = true;
_root.officer.gotoAndStop(4);
}
if (range.hitTest(_root.infantry1.hitter)) {
_root.infantry1.dead = true;
_root.infantry1.gotoAndStop(3);
}
if (range.hitTest(_root.infantry2.hitter)) {
_root.infantry2.dead = true;
_root.infantry2.gotoAndStop(3);
}
if (range.hitTest(_root.infantry3.hitter)) {
_root.infantry3.dead = true;
_root.infantry3.gotoAndStop(3);
}
if (range.hitTest(_root.mgunner.hitter)) {
_root.mgunner.dead = true;
_root.mgunner.gotoAndStop(3);
}
if (range.hitTest(_root.mortar.hitter)) {
_root.mortar.dead = true;
_root.mortar.gotoAndStop(4);
}
Symbol 742 MovieClip Frame 56
stop();
Symbol 764 MovieClip Frame 46
stop();
Symbol 765 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 2
stop();
Instance of Symbol 765 MovieClip "sser" in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.level >= 2) {
if (this.hit.hitTest(_root.deather)) {
_root.gameover = true;
}
if ((!fire) & (!dead)) {
_x = (_x + speed);
if (_x > 0) {
rnd = random(100);
}
if (rnd < 5) {
fire = true;
gotoAndStop (2);
}
}
if ((fire & (shooting._currentframe == shooting._totalframes)) & (!dead)) {
rnd2 = random(100);
if (rnd2 < 20) {
fire = false;
gotoAndStop (1);
}
}
if (((this.hit.hitTest(_root.grenadeexplosion) & (_x > 0)) & (!dead)) & (_root.grenadeexplosion._currentframe < 14)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((this.hit.hitTest(_root.mortarbomb.hitter) & (_x > 0)) & (!dead)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((_root.timeleft2 == 0) && (!dead)) {
gotoAndStop (4);
dead = true;
_root.ssers.time = -9999;
}
if ((((this.hit.hitTest(_root.gubbe.shooter.range) || (this.hit.hitTest(_root.infantry1.shoot.range))) || (this.hit.hitTest(_root.infantry2.shoot.range))) || (this.hit.hitTest(_root.infantry3.shoot.range))) || (this.hit.hitTest(_root.mgunner.shoot.range))) {
if ((!dead) && (_x > 0)) {
gotoAndStop (3);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
}
}
}
}
onClipEvent (load) {
fire = false;
speed = 1.8;
dead = false;
_x = (-100 - random(300));
_y = (_root.ytop + random(_root.ydiff));
_root.ssers.sser.gotoAndStop(4);
_root.ssers.sser.dead = true;
_root.ssers.sser._x = -9999;
_root.ssers.sser._y = -9999;
}
Symbol 804 MovieClip Frame 1
rnd = random(20);
frm = _currentframe + rnd;
_currentframe = frm;
gotoAndPlay(frm);
Symbol 825 MovieClip Frame 51
stop();
Symbol 830 MovieClip Frame 54
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 3
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("imhit");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("casualties");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("pinned");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("holdout");
}
Symbol 831 MovieClip Frame 4
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("imhit");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("casualties");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("pinned");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("holdout");
}
Symbol 855 MovieClip Frame 28
rnd = random(100);
if (rnd < 80) {
gotoAndPlay (22);
}
Symbol 867 MovieClip Frame 33
stop();
Symbol 873 MovieClip Frame 10
stop();
Symbol 879 MovieClip Frame 49
stop();
Symbol 880 MovieClip Frame 1
stop();
Symbol 880 MovieClip Frame 2
stop();
Symbol 880 MovieClip Frame 3
stop();
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("imhit");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("casualties");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("pinned");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("holdout");
}
Symbol 880 MovieClip Frame 4
stop();
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("imhit");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("casualties");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("pinned");
}
rnd = random(100);
if (((rnd >= 90) && (_root.radio._currentframe == 1)) && (_root.timeleft2 > 0)) {
_root.radio.gotoAndPlay("holdout");
}
Symbol 915 MovieClip Frame 4
_root.shake = true;
_root.shakecount = 60;
Symbol 915 MovieClip Frame 51
stop();
Symbol 916 MovieClip Frame 1
stop();
Instance of Symbol 916 MovieClip "tank" in Symbol 917 MovieClip Frame 1
onClipEvent (load) {
if (_root.level < 3) {
gotoAndStop ("none");
}
fire = false;
speed = 0.7;
dead = false;
_x = (-300 - random(300));
_y = ((_root.ytop + random(_root.ydiff)) - 50);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.timeleft2 > 0) {
if (_root.level == 3) {
if ((fire == false) & (dead == false)) {
_x = (_x + speed);
rnd = random(300);
if (_x > 0) {
rnd = 1;
}
if (rnd == 1) {
fire = true;
gotoAndStop (2);
}
}
if (shooting._currentframe == 50) {
gotoAndStop (1);
fire = false;
}
if (shooting._currentframe == 3) {
rnd = random(100);
if ((rnd > 50) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("incoming");
}
_root.tankbomb.gotoAndPlay(53);
_root.tankbomb._y = _y + 50;
_root.tankbomb._x = (_x + 200) + random(500);
}
if (((this.hitTest(_root.grenadeexplosion) & (dead == false)) & (_root.grenadeexplosion._currentframe < 14)) & (_x > -130)) {
dead = true;
rnd = random(100);
if ((rnd > 1) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("berlin");
}
}
if ((this.hitTest(_root.mortarbomb.hitter) & (_x > 0)) & (!dead)) {
gotoAndStop (3);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if (dead) {
gotoAndStop ("deathframe");
if (death._currentframe == 50) {
i = random(1E16);
_root.tankholder.tank.duplicateMovieClip("tankdupe" + i, i);
this.removeMovieClip();
}
}
}
}
}
}
Symbol 938 MovieClip Frame 1
rnd = random(100);
if (rnd > 66) {
stop();
}
Symbol 938 MovieClip Frame 2
rnd = random(100);
if (rnd > 66) {
stop();
}
Symbol 938 MovieClip Frame 3
stop();
Instance of Symbol 267 MovieClip "range" in Symbol 942 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.gubbe.hit)) {
if (_root.invicounter <= 1) {
_root.gubbe.dead = true;
_root.gubbe.gundead = true;
_root.gubbe.gotoAndStop(5);
}
}
if (this.hitTest(_root.officer)) {
_root.officer.dead = true;
_root.officer.gotoAndStop(4);
}
if (this.hitTest(_root.infantry1.hitter)) {
_root.infantry1.dead = true;
_root.infantry1.gotoAndStop(3);
}
if (this.hitTest(_root.infantry2.hitter)) {
_root.infantry2.dead = true;
_root.infantry2.gotoAndStop(3);
}
if (this.hitTest(_root.infantry3.hitter)) {
_root.infantry3.dead = true;
_root.infantry3.gotoAndStop(3);
}
if (this.hitTest(_root.mgunner.hitter)) {
_root.mgunner.dead = true;
_root.mgunner.gotoAndStop(3);
}
if (this.hitTest(_root.mortar.hitter)) {
_root.mortar.dead = true;
_root.mortar.gotoAndStop(4);
}
}
Symbol 942 MovieClip Frame 58
gotoAndPlay (30);
Symbol 954 MovieClip Frame 7
_root.shake = true;
_root.shakecount = 15;
Symbol 954 MovieClip Frame 29
stop();
Symbol 955 MovieClip Frame 1
stop();
Symbol 955 MovieClip Frame 2
stop();
Instance of Symbol 955 MovieClip "fthrower" in Symbol 956 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (_root.level >= 1) {
if (this.hit.hitTest(_root.deather)) {
_root.gameover = true;
}
if ((!fire) & (!dead)) {
_x = (_x + speed);
if (_x > 0) {
rnd = random(100);
}
if (rnd < 5) {
fire = true;
gotoAndStop (2);
}
}
if ((fire & (shooting._currentframe == (shooting._totalframes - 1))) & (!dead)) {
rnd2 = random(100);
if (rnd2 < 20) {
fire = false;
gotoAndStop (1);
}
}
if (((this.hit.hitTest(_root.grenadeexplosion) & (_x > 0)) & (!dead)) & (_root.grenadeexplosion._currentframe < 14)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((this.hit.hitTest(_root.mortarbomb.hitter) & (_x > 0)) & (!dead)) {
gotoAndStop (4);
dead = true;
rnd = random(100);
if ((rnd > 80) & (_root.radio._currentframe == 1)) {
_root.radio.gotoAndPlay("motherland");
}
}
if ((_root.timeleft2 == 0) && (!dead)) {
gotoAndStop (4);
dead = true;
_root.ssers.time = -9999;
}
if ((((this.hit.hitTest(_root.gubbe.shooter.range) || (this.hit.hitTest(_root.infantry1.shoot.range))) || (this.hit.hitTest(_root.infantry2.shoot.range))) || (this.hit.hitTest(_root.infantry3.shoot.range))) || (this.hit.hitTest(_root.mgunner.shoot.range))) {
if ((!dead) && (_x > 0)) {
gotoAndStop (3);
dead = true;
}
}
}
}
}
onClipEvent (load) {
fire = false;
speed = 1;
dead = false;
_x = (-100 - random(300));
_y = (_root.ytop + random(_root.ydiff));
_root.fthrowers.fthrower.gotoAndStop(4);
_root.fthrowers.fthrower.dead = true;
_root.fthrowers.fthrower._x = -9999;
_root.fthrowers.fthrower._y = -9999;
}
Symbol 971 MovieClip Frame 28
stop();
Symbol 972 MovieClip Frame 91
if (_root.medals == 1) {
stop();
}
Symbol 972 MovieClip Frame 121
if (_root.medals == 2) {
stop();
}
Symbol 972 MovieClip Frame 151
if (_root.medals == 3) {
stop();
}
Symbol 972 MovieClip Frame 181
if (_root.medals == 4) {
stop();
}
Symbol 972 MovieClip Frame 211
stop();
Symbol 975 Button
on (release) {
_root.play();
}
Symbol 977 MovieClip Frame 1
stop();
Instance of Symbol 972 MovieClip in Symbol 977 MovieClip Frame 61
onClipEvent (load) {
if (_root.sokdeaths == 0) {
_root.medals = 5;
} else if (_root.sokdeaths < 2) {
_root.medals = 4;
} else if (_root.sokdeaths < 5) {
_root.medals = 3;
} else if (_root.sokdeaths < 10) {
_root.medals = 2;
} else {
_root.medals = 1;
}
}
Symbol 977 MovieClip Frame 120
stop();
Symbol 983 Button
on (press) {
if (_root.pause == false) {
_root.pause = true;
} else {
_root.pause = false;
}
}
Symbol 1026 MovieClip Frame 1
stop();
Symbol 1026 MovieClip Frame 2
play();
Symbol 1026 MovieClip Frame 138
gotoAndStop (1);
Symbol 1026 MovieClip Frame 184
gotoAndStop (1);
Symbol 1026 MovieClip Frame 269
gotoAndStop (1);
Symbol 1026 MovieClip Frame 326
gotoAndStop (1);
Symbol 1026 MovieClip Frame 391
gotoAndStop (1);
Symbol 1026 MovieClip Frame 469
gotoAndStop (1);
Symbol 1026 MovieClip Frame 539
gotoAndStop (1);
Symbol 1026 MovieClip Frame 608
gotoAndStop (1);
Symbol 1026 MovieClip Frame 609
play();
Symbol 1026 MovieClip Frame 679
gotoAndStop (1);
Symbol 1026 MovieClip Frame 680
play();
Symbol 1026 MovieClip Frame 754
gotoAndPlay (1);
Symbol 1026 MovieClip Frame 755
play();
Symbol 1026 MovieClip Frame 847
gotoAndStop (1);
Symbol 1026 MovieClip Frame 848
play();
Symbol 1026 MovieClip Frame 895
gotoAndStop (1);
Symbol 1026 MovieClip Frame 896
play();
Symbol 1026 MovieClip Frame 969
gotoAndStop (1);
Symbol 1026 MovieClip Frame 970
play();
Symbol 1026 MovieClip Frame 1034
gotoAndStop (1);
Symbol 1026 MovieClip Frame 1035
play();
Symbol 1026 MovieClip Frame 1088
gotoAndStop (1);
Symbol 1026 MovieClip Frame 1089
play();
Symbol 1026 MovieClip Frame 1166
gotoAndStop (1);
Symbol 1029 Button
on (release) {
_root.deploy = true;
_root.officerdeploy = true;
time = 0;
_root.radio.gotoAndPlay("officers");
}
on (keyPress "1") {
_root.deploy = true;
_root.officerdeploy = true;
time = 0;
_root.radio.gotoAndPlay("officers");
}
on (rollOver) {
_root.tooltips.gotoAndStop(2);
_root.tooltips._alpha = 100;
}
on (rollOut) {
_root.tooltips.gotoAndStop(1);
}
Symbol 1035 Button
on (release) {
_root.deploy = true;
_root.infantrydeploy = true;
time = 0;
_root.radio.gotoAndPlay("infantry");
}
on (keyPress "2") {
_root.deploy = true;
_root.infantrydeploy = true;
time = 0;
_root.radio.gotoAndPlay("infantry");
}
on (rollOver) {
_root.tooltips.gotoAndStop(3);
_root.tooltips._alpha = 100;
}
on (rollOut) {
_root.tooltips.gotoAndStop(1);
}
Symbol 1042 Button
on (release) {
_root.deploy = true;
_root.machinegunnerdeploy = true;
time = 0;
_root.radio.gotoAndPlay("machine");
}
on (keyPress "3") {
_root.deploy = true;
_root.machinegunnerdeploy = true;
time = 0;
_root.radio.gotoAndPlay("machine");
}
on (rollOver) {
_root.tooltips.gotoAndStop(3);
_root.tooltips._alpha = 100;
}
on (rollOut) {
_root.tooltips.gotoAndStop(1);
}
Symbol 1046 Button
on (release) {
_root.deploy = true;
_root.mortardeploy = true;
time = 0;
_root.radio.gotoAndPlay("mortar");
}
on (keyPress "4") {
_root.deploy = true;
_root.mortardeploy = true;
time = 0;
_root.radio.gotoAndPlay("mortar");
}
on (rollOver) {
_root.tooltips.gotoAndStop(5);
_root.tooltips._alpha = 100;
}
on (rollOut) {
_root.tooltips.gotoAndStop(1);
}
Symbol 1051 MovieClip Frame 1
stop();
Symbol 1056 MovieClip Frame 1
stop();
Symbol 1062 MovieClip Frame 1
stop();
Instance of Symbol 972 MovieClip in Symbol 1062 MovieClip Frame 61
onClipEvent (load) {
if (_root.sokdeaths == 0) {
_root.medals = 5;
} else if (_root.sokdeaths < 2) {
_root.medals = 4;
} else if (_root.sokdeaths < 5) {
_root.medals = 3;
} else if (_root.sokdeaths < 10) {
_root.medals = 2;
} else {
_root.medals = 1;
}
}
Symbol 1062 MovieClip Frame 120
stop();
Symbol 1073 MovieClip Frame 1
stop();
Instance of Symbol 972 MovieClip in Symbol 1073 MovieClip Frame 61
onClipEvent (load) {
if (_root.sokdeaths == 0) {
_root.medals = 5;
} else if (_root.sokdeaths < 2) {
_root.medals = 4;
} else if (_root.sokdeaths < 5) {
_root.medals = 3;
} else if (_root.sokdeaths < 10) {
_root.medals = 2;
} else {
_root.medals = 1;
}
}
Symbol 1073 MovieClip Frame 120
stop();
Symbol 1092 MovieClip Frame 32
gotoAndPlay (1);
Symbol 1092 MovieClip Frame 33
stop();
Symbol 1094 Button
on (release) {
getURL ("http://www.mortargames.com/aow2.php", _blank);
}
Symbol 1099 MovieClip Frame 2003
stop();
Symbol 1102 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 61
stop();
Symbol 1110 MovieClip Frame 1
stopAllSounds();
Symbol 1110 MovieClip Frame 2400
stopAllSounds();
_root.gotoAndPlay(1);
Symbol 1112 Button
on (press) {
play();
}
Symbol 1114 Button
on (release) {
getURL ("http://www.mortargames.com", _blank);
}
Symbol 1119 MovieClip Frame 1
stop();
Symbol 1119 MovieClip Frame 103
stop();
stopAllSounds();
_currentframe = _root.levelframe;
_root.gotoAndPlay(_root.levelframe);