Frame 1
n = 6;
while (0 < n) {
duplicateMovieClip ("/lb0", "lb" + n, n + 6001);
setProperty("lb" + n, _y , "350");
setProperty("lb" + n, _x , "-100");
duplicateMovieClip ("/lb0", "rb" + n, n + 7001);
setProperty("rb" + n, _y , "350");
setProperty("rb" + n, _x , "-100");
setProperty("rb" + n, _xscale , "-100");
n--;
}
n = 10;
while (0 < n) {
duplicateMovieClip ("/ls", "ls" + n, n + 900);
setProperty("ls" + n, _x , "-100");
duplicateMovieClip ("/rs", "rs" + n, n + 1000);
setProperty("rs" + n, _x , "1100");
setProperty("rs" + n, _xscale , "-100");
n--;
}
n = 8;
while (0 < n) {
duplicateMovieClip ("/lt", "lt" + n, n + 600);
setProperty("lt" + n, _x , "-100");
duplicateMovieClip ("/rt", "rt" + n, n + 700);
setProperty("rt" + n, _x , "1100");
setProperty("rt" + n, _xscale , "-100");
n--;
}
n = 2;
while (0 < n) {
duplicateMovieClip ("/la", "la" + n, n + 300);
setProperty("la" + n, _x , "-100");
duplicateMovieClip ("/ra", "ra" + n, n + 400);
setProperty("ra" + n, _x , "1100");
setProperty("ra" + n, _xscale , "-100");
n--;
}
n = 2;
while (0 < n) {
duplicateMovieClip ("/lv", "lv" + n, n + 100);
setProperty("lv" + n, _x , "-100");
duplicateMovieClip ("/rv", "rv" + n, n + 200);
setProperty("rv" + n, _x , "1100");
setProperty("rv" + n, _xscale , "-100");
n--;
}
Instance of Symbol 13 MovieClip "bg" in Frame 1
onClipEvent (load) {
gotoAndStop(Math.round(random(98) / 14));
_alpha = (random(160) + 30);
if (_currentframe == 1) {
tch = random(4) + 1;
if (tch == 1) {
theatre = 0;
} else if (tch == 2) {
theatre = 3;
} else if (tch == 3) {
theatre = 4;
} else if (tch == 4) {
theatre = 6;
}
} else if (_currentframe == 2) {
tch = random(7);
theatre = tch;
} else if (_currentframe == 3) {
tch = random(5);
theatre = tch;
} else if (_currentframe == 4) {
tch = random(3) + 1;
if (tch == 1) {
theatre = 5;
} else if (tch == 2) {
theatre = 1;
} else if (tch == 3) {
theatre = 6;
}
} else if (_currentframe == 5) {
theatre = 3;
} else if (_currentframe == 6) {
tch = random(4) + 1;
if (tch == 1) {
theatre = 0;
} else if (tch == 2) {
theatre = 2;
} else if (tch == 3) {
theatre = 4;
} else if (tch == 4) {
theatre = 6;
}
} else if (_currentframe == 7) {
tch = random(7);
theatre = tch;
}
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
ct = new Object();
ct.ra = -30;
ct.ba = -30;
ct.ga = -30;
if (_root.bg.theatre == 0) {
ct.rb = 204;
ct.gb = 204;
ct.bb = 153;
ysa = 120;
} else if (_root.bg.theatre == 1) {
ct.rb = 49;
ct.gb = 90;
ct.bb = 49;
ysa = 10;
} else if (_root.bg.theatre == 2) {
ct.rb = 111;
ct.gb = 143;
ct.bb = 0;
ysa = -10;
} else if (_root.bg.theatre == 3) {
ct.rb = 250;
ct.gb = 250;
ct.bb = 250;
ysa = 150;
} else if (_root.bg.theatre == 4) {
ct.rb = 125;
ct.gb = 67;
ct.bb = 0;
ysa = -30;
} else if (_root.bg.theatre == 5) {
ct.rb = 0;
ct.gb = 15;
ct.bb = 35;
ysa = 0;
} else if (_root.bg.theatre == 6) {
ct.rb = 132;
ct.gb = 154;
ct.bb = 181;
ysa = 40;
}
c = new Color(this);
c.setTransform(ct);
_y = 300;
moo = random(10);
if (moo == 0) {
_visible = false;
} else {
_xscale = (random(690) + 80);
_yscale = (random(310 - ysa) + 50);
gotoAndStop(moo);
}
_x = ((500 + random(1200)) - random(1200));
}
Instance of Symbol 34 MovieClip "lb" in Frame 1
onClipEvent (load) {
pillhealtime = 20;
oldpillhealtime = pillhealtime;
healtime = 15;
oldhealtime = healtime;
FAi = 300;
BTi = 1200;
bombertime = random(BTi);
bomberchance = 10;
health = 300;
oldhealth = health;
buildidler = 250;
bi = 250;
xlim = 0;
xlimreset = 50;
funds = 50;
fundarrival = random(FAi);
buildtype = 0;
buildtime = 0;
oldbuildtime = buildtime;
jet = "_root.lj";
pill = "_root.lp";
ustart = -100;
unit = new Array();
unit[1] = "_root.ls";
unit[2] = "_root.lt";
unit[3] = "_root.la";
unit[4] = "_root.lv";
}
onClipEvent (load) {
bnc = 0;
aggression = random(10) + 1;
}
onClipEvent (enterFrame) {
if (hitTest("/lj") || (hitTest("/rj"))) {
health = health - 15;
}
if ((0 >= _root.lb.health) || (0 >= _root.rb.health)) {
buildidler = 1E33;
if (_root.world.endgame == 0) {
_root.loss._visible = true;
_root.world.endgame = 1;
}
}
if ((0 >= health) && (_currentframe < 5)) {
gotoAndPlay (5);
} else if (_root.loss._visible == false) {
if ((((0.25 * eval (pill + ".oldhealth")) >= eval (pill + ".health")) && (0 < funds)) && (0 >= pillhealtime)) {
tellTarget (eval (pill)) {
health = health + 2;
};
funds--;
pillhealtime = oldpillhealtime;
} else {
pillhealtime--;
}
if ((((0.45 * oldhealth) >= health) && (0 < funds)) && (0 >= healtime)) {
health = health + 2;
funds--;
healtime = oldhealtime;
} else {
healtime--;
}
if (0 < fundarrival) {
fundarrival--;
} else {
funds = funds + Math.round(random(health / 10));
fundarrival = random(FAi);
}
if (buildtype == 0) {
if (0 < buildidler) {
buildidler--;
} else if (0 < funds) {
if (0 >= bnc) {
if (((50 < funds) && ((0.45 * oldhealth) < health)) && (5 < random(aggression))) {
plen = _root.world.pof.length;
currentbuild = _root.world.pof[random(plen) + 1];
bnc = currentbuild.length - 1;
} else if (((funds < 60) && ((0.5 * oldhealth) >= health)) && (random(aggression) < 3)) {
plen = _root.world.pde.length;
currentbuild = _root.world.pde[random(plen) + 1];
bnc = currentbuild.length - 1;
} else if ((100 < funds) && (4 < aggression)) {
plen = _root.world.prof.length;
currentbuild = _root.world.prof[random(plen) + 1];
bnc = currentbuild.length - 1;
} else {
buildtype = Math.round(random(1000) / 250);
}
} else {
btt = currentbuild.charAt(currentbuild.length - bnc);
if (btt == "t") {
buildtype = 2;
} else if (btt == "i") {
buildtype = 1;
} else if (btt == "a") {
buildtype = 3;
} else if (btt == "v") {
buildtype = 4;
} else if (btt == "r") {
buildtype = Math.round(random(1000) / 250);
}
bnc--;
}
buildidler = random(random(bi + 50));
while (funds < _root.world.unitcost[buildtype]) {
buildtype = Math.round(random(1000) / 250);
}
}
buildtime = _root.world.unitbuildtime[buildtype];
oldbuildtime = buildtime;
}
}
}
onClipEvent (enterFrame) {
if (0 < xlimreset) {
xlimreset--;
} else {
xlim = 0;
xlimreset = 50;
}
if ((0 < health) && (_root.loss._visible == false)) {
if ((funds >= 50) && (0 < bombertime)) {
bombertime--;
} else if (((((funds >= 50) && (0 >= bombertime)) && (random(bomberchance) >= Math.round(bomberchance / 2))) && (-100 >= eval (jet + "._x"))) && (xlim < 750)) {
bombertime = random(BTi);
funds = funds - 50;
tellTarget (eval (jet)) {
if (_root.rb.xlim >= 1000) {
tarea = 700;
} else {
tarea = _root.rb.xlim + random(random(500));
}
_x = -90;
};
}
}
if (((0 < buildtype) && (0 < health)) && (_root.loss._visible == false)) {
if (0 < buildtime) {
buildtime--;
} else {
n = _root.world.maxunits[buildtype];
while (0 < n) {
if ((eval ((unit[buildtype] + n) + "._x") == ustart) && (funds >= _root.world.unitcost[buildtype])) {
tellTarget (eval (unit[buildtype] + n)) {
_x = -75;
};
funds = funds - _root.world.unitcost[buildtype];
buildtype = 0;
break;
}
n--;
}
buildtype = 0;
}
}
}
Instance of Symbol 41 MovieClip "la" in Frame 1
onClipEvent (load) {
health = 110;
oldhealth = health;
es = 3;
et = 1;
ev = 1;
ea = 1;
eb = 0;
mtarget = "_root.rj";
}
onClipEvent (load) {
x = 1;
y = 1;
rlimit = random(6) + 5;
tn = _name;
}
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_visible == true)) {
_rotation = 0;
if ((-100 < eval (mtarget + "._x")) && (eval (mtarget + "._x") < 1100)) {
if ((((eval (mtarget + "._x") - 400) < _x) && (_x < (eval (mtarget + "._x") + 400))) && (0 >= eval (mtarget + ".c"))) {
rfuel = 100;
gotoAndStop (10);
_y = 285;
x = 0;
y = 0;
}
}
}
if ((_currentframe >= 10) && (_root.loss._visible == false)) {
rfuel--;
if (hitTest(eval (mtarget)) || (300 < _y)) {
gotoAndPlay (5);
}
if ((eval (mtarget + "._x") < -100) || (1100 < eval (mtarget + "._x"))) {
gotoAndPlay (5);
}
_x = (_x + x);
_y = (_y + y);
tx = Math.round(eval (mtarget + "._x") / 10);
ty = Math.round(eval (mtarget + "._y") / 10);
rx = Math.round(_x / 10);
ry = Math.round(_y / 10);
if (0 < rfuel) {
if ((rx < tx) && (ry < ty)) {
_rotation = 135;
if (x < rlimit) {
x++;
}
if (y < rlimit) {
y++;
}
} else if ((rx < tx) && (ty == ry)) {
_rotation = 90;
if (x < rlimit) {
x++;
}
y = Math.round(y / 10);
} else if ((rx < tx) && (t < ry)) {
_rotation = 45;
if (x < rlimit) {
x++;
}
if ((-rlimit) < y) {
y--;
}
} else if ((tx == rx) && (ty < ry)) {
_rotation = 0;
if ((-rlimit) < y) {
y--;
}
x = Math.round(x / 10);
} else if ((tx == rx) && (ry < ty)) {
_rotation = 180;
if (y < rlimit) {
y++;
}
x = Math.round(x / 10);
} else if ((tx < rx) && (ry < ty)) {
_rotation = 225;
if (y < rlimit) {
y++;
}
if ((-rlimit) < x) {
x--;
}
} else if ((tx < rx) && (ty == ry)) {
_rotation = 270;
if (x < rlimit) {
x--;
}
y = Math.round(y / 10);
} else if ((tx < rx) && (ty < ry)) {
_rotation = 315;
if ((-rlimit) < y) {
y--;
}
if ((-rlimit) < x) {
x--;
}
}
} else {
y++;
}
}
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
dframe = 5;
dsound = "jdie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 45 MovieClip "lt" in Frame 1
onClipEvent (load) {
health = 110;
oldhealth = health;
es = 3;
et = 5;
ev = 1;
ea = 1;
eb = 0;
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
fframe = 2;
dframe = 5;
dsound = "adie";
fsound = "tfire";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 47 MovieClip "world" in Frame 1
onClipEvent (load) {
maxunits = new Array();
maxunits[1] = 10;
maxunits[2] = 8;
maxunits[3] = 2;
maxunits[4] = 2;
bloss = new Array();
bloss[1] = 0;
bloss[2] = 0;
bloss[3] = 0;
bloss[4] = 0;
bloss[5] = 0;
wloss = new Array();
wloss[1] = 0;
wloss[2] = 0;
wloss[3] = 0;
wloss[4] = 0;
wloss[5] = 0;
unitbuildtime = new Array();
unitbuildtime[1] = 30;
unitbuildtime[2] = 100;
unitbuildtime[3] = 175;
unitbuildtime[4] = 155;
unitcost = new Array();
unitcost[1] = 1;
unitcost[2] = 4;
unitcost[3] = 7;
unitcost[4] = 5;
endgame = 0;
_quality = "LOW";
pof = new Array();
pof[1] = "ttiirtvrv";
pof[2] = "tiiriiatrt";
pof[3] = "iiitiarv";
pof[4] = "tiirtiittr";
pof[5] = "ttratiitrtrv";
prof = new Array();
prof[1] = "ttttiiiivrrrv";
prof[2] = "ttititititi";
prof[3] = "iiiiirrrrr";
prof[4] = "titit";
prof[5] = "tttitta";
pde = new Array();
pde[1] = "iittaar";
pde[2] = "tttiiarai";
pde[3] = "ttrtaiiia";
pde[4] = "iiiaiiiatrtt";
pde[5] = "itittaarr";
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.ENTER)) {
_root.conout = (_root.conin + ": ") + eval (_root.conin);
}
}
onClipEvent (enterFrame) {
_root.wf = _root.lb.funds;
_root.bf = _root.rb.funds;
}
Instance of Symbol 49 MovieClip "lv" in Frame 1
onClipEvent (load) {
health = 350;
oldhealth = health;
es = 0.25;
et = 0.5;
ev = 0.5;
ea = 1;
eb = 0;
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
dframe = 5;
dsound = "adie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 53 MovieClip "ls" in Frame 1
onClipEvent (load) {
health = 40;
oldhealth = health;
es = 1;
et = 5;
ev = 2;
ea = 2;
eb = 0;
}
onClipEvent (load) {
fframe = 2;
fsound = "ws";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
Instance of Symbol 62 MovieClip "c" in Frame 1
onClipEvent (load) {
c = 1;
_xscale = random(150);
_yscale = random(150);
d = random(80);
m = Math.round(d / 10);
gotoAndStop(m);
xdev = (random(20) / random(20)) - (random(20) / random(20));
}
onClipEvent (enterFrame) {
if (_name != "c") {
if (_name != "bc") {
if ((_y < 310) && (_root.loss._visible == false)) {
_y = (_y + (c - (d / 4)));
c++;
d--;
_x = (_x + xdev);
_rotation = (_rotation + d);
} else {
removeMovieClip(this);
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
Instance of Symbol 62 MovieClip "bc" in Frame 1
onClipEvent (load) {
c = 1;
_xscale = random(150);
_yscale = random(150);
d = random(80);
m = Math.round(d / 10);
gotoAndStop(m);
xdev = (random(20) / random(20)) - (random(20) / random(20));
}
onClipEvent (enterFrame) {
if (_name != "c") {
if (_name != "bc") {
if ((_y < 310) && (_root.loss._visible == false)) {
_y = (_y + (c - (d / 4)));
c++;
d--;
_x = (_x + xdev);
_rotation = (_rotation + d);
} else {
removeMovieClip(this);
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
Instance of Symbol 85 MovieClip "loss" in Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == false) {
wt = _root.world.wloss[1];
ws = _root.world.wloss[2];
wv = _root.world.wloss[3];
wa = _root.world.wloss[4];
wj = _root.world.wloss[5];
bt = _root.world.bloss[1];
bs = _root.world.bloss[2];
bv = _root.world.bloss[3];
ba = _root.world.bloss[4];
bj = _root.world.bloss[5];
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
_visible = true;
} else if (Key.isDown(Key.DOWN)) {
_visible = false;
}
}
Instance of Symbol 90 MovieClip "ra" in Frame 1
onClipEvent (load) {
health = 110;
oldhealth = health;
es = 3;
et = 1;
ev = 1;
ea = 1;
eb = 0;
mtarget = "_root.lj";
}
onClipEvent (load) {
x = 1;
y = 1;
rlimit = random(6) + 5;
tn = _name;
}
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_visible == true)) {
_rotation = 0;
if ((-100 < eval (mtarget + "._x")) && (eval (mtarget + "._x") < 1100)) {
if ((((eval (mtarget + "._x") - 400) < _x) && (_x < (eval (mtarget + "._x") + 400))) && (0 >= eval (mtarget + ".c"))) {
rfuel = 100;
gotoAndStop (10);
_y = 285;
x = 0;
y = 0;
}
}
}
if ((_currentframe >= 10) && (_root.loss._visible == false)) {
rfuel--;
if (hitTest(eval (mtarget)) || (300 < _y)) {
gotoAndPlay (5);
}
if ((eval (mtarget + "._x") < -100) || (1100 < eval (mtarget + "._x"))) {
gotoAndPlay (5);
}
_x = (_x + x);
_y = (_y + y);
tx = Math.round(eval (mtarget + "._x") / 10);
ty = Math.round(eval (mtarget + "._y") / 10);
rx = Math.round(_x / 10);
ry = Math.round(_y / 10);
if (0 < rfuel) {
if ((rx < tx) && (ry < ty)) {
_rotation = 135;
if (x < rlimit) {
x++;
}
if (y < rlimit) {
y++;
}
} else if ((rx < tx) && (ty == ry)) {
_rotation = 90;
if (x < rlimit) {
x++;
}
y = Math.round(y / 10);
} else if ((rx < tx) && (t < ry)) {
_rotation = 45;
if (x < rlimit) {
x++;
}
if ((-rlimit) < y) {
y--;
}
} else if ((tx == rx) && (ty < ry)) {
_rotation = 0;
if ((-rlimit) < y) {
y--;
}
x = Math.round(x / 10);
} else if ((tx == rx) && (ry < ty)) {
_rotation = 180;
if (y < rlimit) {
y++;
}
x = Math.round(x / 10);
} else if ((tx < rx) && (ry < ty)) {
_rotation = 225;
if (y < rlimit) {
y++;
}
if ((-rlimit) < x) {
x--;
}
} else if ((tx < rx) && (ty == ry)) {
_rotation = 270;
if (x < rlimit) {
x--;
}
y = Math.round(y / 10);
} else if ((tx < rx) && (ty < ry)) {
_rotation = 315;
if ((-rlimit) < y) {
y--;
}
if ((-rlimit) < x) {
x--;
}
}
} else {
y++;
}
}
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
dframe = 5;
dsound = "jdie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 92 MovieClip "rt" in Frame 1
onClipEvent (load) {
health = 110;
oldhealth = health;
es = 3;
et = 5;
ev = 1;
ea = 1;
eb = 0;
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
fframe = 2;
dframe = 5;
dsound = "adie";
fsound = "tfire";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 94 MovieClip "rv" in Frame 1
onClipEvent (load) {
health = 350;
oldhealth = health;
es = 0.25;
et = 0.5;
ev = 0.5;
ea = 1;
eb = 0;
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
dframe = 5;
dsound = "adie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 96 MovieClip "rs" in Frame 1
onClipEvent (load) {
health = 40;
oldhealth = health;
es = 1;
et = 5;
ev = 2;
ea = 2;
eb = 0;
}
onClipEvent (load) {
if (_y != 300) {
_y = 300;
}
speed = 0.75;
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
if ((-100 >= _x) && (_currentframe < 10)) {
_visible = false;
} else if (_x < 1100) {
if (_root.loss._visible == false) {
_x = (_x + speed);
}
if (_root.lb.xlim < _x) {
_root.lb.xlim = _x + 50;
}
_visible = true;
} else {
_x = -100;
}
} else if ((_x >= 1100) && (_currentframe < 10)) {
_visible = false;
} else if (-100 < _x) {
if (_root.loss._visible == false) {
_x = (_x - speed);
}
if (_x < _root.lb.xlim) {
_root.rb.xlim = _x - 50;
}
_visible = true;
} else {
_x = -1100;
}
}
onClipEvent (load) {
function conflict(damage) {
if (_xscale == 100) {
_x = (_x - (speed * 2));
} else {
_x = (_x + (speed * 2));
}
health = health - damage;
if (_currentframe == 1) {
play();
}
}
if ((((_name == "lv1") || (_name == "lv2")) || (_name == "rv1")) || (_name == "rv2")) {
basedamage = 600;
} else {
basedamage = 1;
}
}
onClipEvent (enterFrame) {
if (0 >= health) {
gotoAndPlay (5);
health = oldhealth;
}
if (((_xscale == 100) && (-100 < _x)) && (_currentframe < 10)) {
if (((((((((hitTest("/rs1") || (hitTest("/rs2"))) || (hitTest("/rs3"))) || (hitTest("/rs4"))) || (hitTest("/rs5"))) || (hitTest("/rs6"))) || (hitTest("/rs7"))) || (hitTest("/rs8"))) || (hitTest("/rs9"))) || (hitTest("/rs10"))) {
conflict(es);
}
if (((((((hitTest("/rt1") || (hitTest("/rt2"))) || (hitTest("/rt3"))) || (hitTest("/rt4"))) || (hitTest("/rt5"))) || (hitTest("/rt6"))) || (hitTest("/rt7"))) || (hitTest("/rt8"))) {
conflict(et);
}
if (hitTest("/ra1") || (hitTest("/ra2"))) {
conflict(ea);
}
if (hitTest("/rv1") || (hitTest("/rv2"))) {
conflict(ev);
}
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/rp")) {
if (_root.rp._currentframe < 5) {
_root.rp.health--;
if (_root.rp._currentframe == 1) {
_root.rp.play();
}
conflict(et);
}
}
}
if (((_xscale == -100) && (_x < 1100)) && (_currentframe < 10)) {
if (((((((((hitTest("/ls1") || (hitTest("/ls2"))) || (hitTest("/ls3"))) || (hitTest("/ls4"))) || (hitTest("/ls5"))) || (hitTest("/ls6"))) || (hitTest("/ls7"))) || (hitTest("/ls8"))) || (hitTest("/ls9"))) || (hitTest("/ls10"))) {
conflict(es);
}
if (((((((hitTest("/lt1") || (hitTest("/lt2"))) || (hitTest("/lt3"))) || (hitTest("/lt4"))) || (hitTest("/lt5"))) || (hitTest("/lt6"))) || (hitTest("/lt7"))) || (hitTest("/lt8"))) {
conflict(et);
}
if (hitTest("/la1") || (hitTest("/la2"))) {
conflict(ea);
}
if (hitTest("/lv1") || (hitTest("/lv2"))) {
conflict(ev);
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - basedamage;
conflict(eb);
}
if (hitTest("/lj") || (hitTest("/rj"))) {
conflict(et * 10);
}
if (((((((((((hitTest("/rb1") || (hitTest("/rb2"))) || (hitTest("/rb3"))) || (hitTest("/rb4"))) || (hitTest("/rb5"))) || (hitTest("/rb6"))) || (hitTest("/lb1"))) || (hitTest("/lb2"))) || (hitTest("/lb3"))) || (hitTest("/lb4"))) || (hitTest("/lb5"))) || (hitTest("/lb6"))) {
conflict(et * 2);
}
if (hitTest("/lp")) {
if (_root.lp._currentframe < 5) {
_root.lp.health--;
if (_root.lp._currentframe == 1) {
_root.lp.play();
}
conflict(et);
}
}
}
}
onClipEvent (load) {
fframe = 2;
fsound = "ws";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 99 MovieClip "rb" in Frame 1
onClipEvent (load) {
pillhealtime = 20;
oldpillhealtime = pillhealtime;
healtime = 15;
oldhealtime = healtime;
FAi = 300;
BTi = 1200;
bombertime = random(BTi);
bomberchance = 10;
health = 300;
oldhealth = health;
buildidler = 250;
bi = 250;
xlim = 1000;
xlimreset = 50;
funds = 50;
fundarrival = random(FAi);
buildtype = 0;
buildtime = 0;
oldbuildtime = buildtime;
jet = "_root.rj";
pill = "_root.rp";
ustart = 1100;
unit = new Array();
unit[1] = "_root.rs";
unit[2] = "_root.rt";
unit[3] = "_root.ra";
unit[4] = "_root.rv";
}
onClipEvent (load) {
bnc = 0;
aggression = random(10) + 1;
}
onClipEvent (enterFrame) {
if (hitTest("/lj") || (hitTest("/rj"))) {
health = health - 15;
}
if ((0 >= _root.lb.health) || (0 >= _root.rb.health)) {
buildidler = 1E33;
if (_root.world.endgame == 0) {
_root.loss._visible = true;
_root.world.endgame = 1;
}
}
if ((0 >= health) && (_currentframe < 5)) {
gotoAndPlay (5);
} else if (_root.loss._visible == false) {
if ((((0.25 * eval (pill + ".oldhealth")) >= eval (pill + ".health")) && (0 < funds)) && (0 >= pillhealtime)) {
tellTarget (eval (pill)) {
health = health + 2;
};
funds--;
pillhealtime = oldpillhealtime;
} else {
pillhealtime--;
}
if ((((0.45 * oldhealth) >= health) && (0 < funds)) && (0 >= healtime)) {
health = health + 2;
funds--;
healtime = oldhealtime;
} else {
healtime--;
}
if (0 < fundarrival) {
fundarrival--;
} else {
funds = funds + Math.round(random(health / 10));
fundarrival = random(FAi);
}
if (buildtype == 0) {
if (0 < buildidler) {
buildidler--;
} else if (0 < funds) {
if (0 >= bnc) {
if (((50 < funds) && ((0.45 * oldhealth) < health)) && (5 < random(aggression))) {
plen = _root.world.pof.length;
currentbuild = _root.world.pof[random(plen) + 1];
bnc = currentbuild.length - 1;
} else if (((funds < 60) && ((0.5 * oldhealth) >= health)) && (random(aggression) < 3)) {
plen = _root.world.pde.length;
currentbuild = _root.world.pde[random(plen) + 1];
bnc = currentbuild.length - 1;
} else if ((100 < funds) && (4 < aggression)) {
plen = _root.world.prof.length;
currentbuild = _root.world.prof[random(plen) + 1];
bnc = currentbuild.length - 1;
} else {
buildtype = Math.round(random(1000) / 250);
}
} else {
btt = currentbuild.charAt(currentbuild.length - bnc);
if (btt == "t") {
buildtype = 2;
} else if (btt == "i") {
buildtype = 1;
} else if (btt == "a") {
buildtype = 3;
} else if (btt == "v") {
buildtype = 4;
} else if (btt == "r") {
buildtype = Math.round(random(1000) / 250);
}
bnc--;
}
buildidler = random(random(bi + 50));
while (funds < _root.world.unitcost[buildtype]) {
buildtype = Math.round(random(1000) / 250);
}
}
buildtime = _root.world.unitbuildtime[buildtype];
oldbuildtime = buildtime;
}
}
}
onClipEvent (enterFrame) {
if (0 < xlimreset) {
xlimreset--;
} else {
xlim = 1000;
xlimreset = 50;
}
if ((0 < health) && (_root.loss._visible == false)) {
if ((funds >= 50) && (0 < bombertime)) {
bombertime--;
} else if (((((funds >= 50) && (0 >= bombertime)) && (random(bomberchance) >= Math.round(bomberchance / 2))) && (eval (jet + "._x") >= 1100)) && (250 < xlim)) {
bombertime = random(BTi);
funds = funds - 50;
tellTarget (eval (jet)) {
if (0 >= _root.lb.xlim) {
tarea = 300;
} else {
tarea = _root.lb.xlim - random(random(500));
}
_x = 1090;
};
}
}
if (((0 < buildtype) && (0 < health)) && (_root.loss._visible == false)) {
if (0 < buildtime) {
buildtime--;
} else {
n = _root.world.maxunits[buildtype];
while (0 < n) {
if ((eval ((unit[buildtype] + n) + "._x") == ustart) && (funds >= _root.world.unitcost[buildtype])) {
tellTarget (eval (unit[buildtype] + n)) {
_x = 1075;
};
funds = funds - _root.world.unitcost[buildtype];
buildtype = 0;
break;
}
n--;
}
buildtype = 0;
}
}
}
Instance of Symbol 104 MovieClip "lp" in Frame 1
onClipEvent (load) {
health = 140;
oldhealth = health;
fframe = 2;
dframe = 5;
dsound = "adie";
fsound = "tfire";
}
onClipEvent (enterFrame) {
if (hitTest("/lj") || (hitTest("/rj"))) {
health = health - 20;
}
if ((0 >= health) && (_currentframe < 5)) {
gotoAndPlay (5);
}
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 108 MovieClip "rp" in Frame 1
onClipEvent (load) {
health = 150;
oldhealth = health;
fframe = 2;
dframe = 5;
dsound = "adie";
fsound = "tfire";
}
onClipEvent (enterFrame) {
if (hitTest("/lj") || (hitTest("/rj"))) {
health = health - 20;
}
if ((0 >= health) && (_currentframe < 5)) {
gotoAndPlay (5);
}
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 110 MovieClip "lj" in Frame 1
onClipEvent (load) {
health = 45;
oldhealth = health;
}
onClipEvent (load) {
tarea = 500;
tc = 0;
c = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if ((_visible == false) && (_currentframe == 1)) {
tc = 0;
c = 0;
}
if (_currentframe != 1) {
health = oldhealth;
if (_y < 300) {
_y = (_y + (c / 3));
c = c + 0.5;
if ((_name == "lj") && (_rotation < 30)) {
_rotation = (_rotation + (c / 24));
}
if ((_name == "rj") && (150 < _rotation)) {
_rotation = (_rotation - (c / 24));
}
} else {
c = 0;
gotoAndPlay (3);
}
}
if (_name == "lj") {
if (((-100 < _x) && (_x < 1100)) && (_root.loss._visible == false)) {
_visible = true;
if ((0 >= health) && (_currentframe == 1)) {
play();
}
if (hitTest(_root.ra1) || (hitTest(_root.ra2))) {
health = health - (random(80) + 20);
if (random(2) == random(2)) {
health = oldhealth;
gotoAndPlay (3);
}
}
if (_x >= tarea) {
tc++;
if (tc == 5) {
_root.lb1._x = _x;
_root.lb1._y = _y;
} else if (tc == 20) {
_root.lb2._x = _x;
_root.lb2._y = _y;
} else if (tc == 35) {
_root.lb3._x = _x;
_root.lb3._y = _y;
} else if (tc == 50) {
_root.lb4._x = _x;
_root.lb4._y = _y;
} else if (tc == 65) {
_root.lb5._x = _x;
_root.lb5._y = _y;
} else if (tc == 80) {
_root.lb6._x = _x;
_root.lb6._y = _y;
}
}
_x = (_x + 4.5);
} else if (_x >= 1100) {
_x = -150;
_y = 50;
tc = 0;
_visible = false;
c = 0;
splay = 0;
}
} else if (((-100 < _x) && (_x < 1100)) && (_root.loss._visible == false)) {
_visible = true;
if ((0 >= health) && (_currentframe == 1)) {
play();
}
if (hitTest(_root.la1) || (hitTest(_root.la2))) {
health = health - (random(80) + 20);
if (random(2) == random(2)) {
health = oldhealth;
gotoAndPlay (3);
}
}
if (tarea >= _x) {
tc++;
if (tc == 5) {
_root.rb1._x = _x;
_root.rb1._y = _y;
} else if (tc == 20) {
_root.rb2._x = _x;
_root.rb2._y = _y;
} else if (tc == 35) {
_root.rb3._x = _x;
_root.rb3._y = _y;
} else if (tc == 50) {
_root.rb4._x = _x;
_root.rb4._y = _y;
} else if (tc == 65) {
_root.rb5._x = _x;
_root.rb5._y = _y;
} else if (tc == 80) {
_root.rb6._x = _x;
_root.rb6._y = _y;
}
}
_x = (_x - 4.5);
} else if (-100 >= _x) {
_visible = false;
_x = 1150;
_y = 50;
tc = 0;
c = 0;
splay = 0;
}
}
onClipEvent (load) {
dframe = 5;
dsound = "jdie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 121 MovieClip "lb0" in Frame 1
onClipEvent (load) {
c = 0;
}
onClipEvent (enterFrame) {
if (((_y < 300) && (_name != "lb0")) && (_root.loss._visible == false)) {
if (hitTest("/rb")) {
_root.rb.health = _root.rb.health - 6;
}
if (hitTest("/lb")) {
_root.lb.health = _root.lb.health - 6;
}
if (hitTest("/rp")) {
_root.rp.health = _root.rp.health - 16;
}
if (hitTest("/lp")) {
_root.lp.health = _root.lp.health - 16;
}
if (_xscale == 100) {
_x = (_x + (c / 2));
if (_rotation < 60) {
_rotation = (_rotation + (c / 2));
}
} else {
_x = (_x - (c / 2));
if (-60 < _rotation) {
_rotation = (_rotation - (c / 2));
}
}
_y = (_y + c);
c = c + 0.5;
_visible = true;
}
if (((_y >= 300) && (_currentframe == 1)) && (_y != 350)) {
c = 0;
play();
}
}
onClipEvent (load) {
dframe = 3;
dsound = "bdie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Instance of Symbol 123 MovieClip "rj" in Frame 1
onClipEvent (load) {
health = 45;
oldhealth = health;
}
onClipEvent (load) {
tarea = 500;
tc = 0;
c = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if ((_visible == false) && (_currentframe == 1)) {
tc = 0;
c = 0;
}
if (_currentframe != 1) {
health = oldhealth;
if (_y < 300) {
_y = (_y + (c / 3));
c = c + 0.5;
if ((_name == "lj") && (_rotation < 30)) {
_rotation = (_rotation + (c / 24));
}
if ((_name == "rj") && (150 < _rotation)) {
_rotation = (_rotation - (c / 24));
}
} else {
c = 0;
gotoAndPlay (3);
}
}
if (_name == "lj") {
if (((-100 < _x) && (_x < 1100)) && (_root.loss._visible == false)) {
_visible = true;
if ((0 >= health) && (_currentframe == 1)) {
play();
}
if (hitTest(_root.ra1) || (hitTest(_root.ra2))) {
health = health - (random(80) + 20);
if (random(2) == random(2)) {
health = oldhealth;
gotoAndPlay (3);
}
}
if (_x >= tarea) {
tc++;
if (tc == 5) {
_root.lb1._x = _x;
_root.lb1._y = _y;
} else if (tc == 20) {
_root.lb2._x = _x;
_root.lb2._y = _y;
} else if (tc == 35) {
_root.lb3._x = _x;
_root.lb3._y = _y;
} else if (tc == 50) {
_root.lb4._x = _x;
_root.lb4._y = _y;
} else if (tc == 65) {
_root.lb5._x = _x;
_root.lb5._y = _y;
} else if (tc == 80) {
_root.lb6._x = _x;
_root.lb6._y = _y;
}
}
_x = (_x + 4.5);
} else if (_x >= 1100) {
_x = -150;
_y = 50;
tc = 0;
_visible = false;
c = 0;
splay = 0;
}
} else if (((-100 < _x) && (_x < 1100)) && (_root.loss._visible == false)) {
_visible = true;
if ((0 >= health) && (_currentframe == 1)) {
play();
}
if (hitTest(_root.la1) || (hitTest(_root.la2))) {
health = health - (random(80) + 20);
if (random(2) == random(2)) {
health = oldhealth;
gotoAndPlay (3);
}
}
if (tarea >= _x) {
tc++;
if (tc == 5) {
_root.rb1._x = _x;
_root.rb1._y = _y;
} else if (tc == 20) {
_root.rb2._x = _x;
_root.rb2._y = _y;
} else if (tc == 35) {
_root.rb3._x = _x;
_root.rb3._y = _y;
} else if (tc == 50) {
_root.rb4._x = _x;
_root.rb4._y = _y;
} else if (tc == 65) {
_root.rb5._x = _x;
_root.rb5._y = _y;
} else if (tc == 80) {
_root.rb6._x = _x;
_root.rb6._y = _y;
}
}
_x = (_x - 4.5);
} else if (-100 >= _x) {
_visible = false;
_x = 1150;
_y = 50;
tc = 0;
c = 0;
splay = 0;
}
}
onClipEvent (load) {
dframe = 5;
dsound = "jdie";
}
onClipEvent (load) {
fire = new Sound();
fire.attachSound(fsound);
die = new Sound();
die.attachSound(dsound);
}
onClipEvent (enterFrame) {
if (_currentframe == fframe) {
fire.stop();
fire.setPan(Math.round((_x - 500) / 5));
fire.start();
}
if (_currentframe == dframe) {
die.stop();
die.setPan(Math.round((_x - 500) / 5));
die.start();
}
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 13 MovieClip Frame 3
stop();
Symbol 13 MovieClip Frame 4
stop();
Symbol 13 MovieClip Frame 5
stop();
Symbol 13 MovieClip Frame 6
stop();
Symbol 13 MovieClip Frame 7
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 4
gotoAndPlay (1);
Symbol 34 MovieClip Frame 5
n = 60;
while (0 < n) {
_root.bc._x = _x;
_root.bc._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/bc", "bc12" + p, p);
n--;
}
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
stop();
Instance of Symbol 38 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 38 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 38 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 38 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 38 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Symbol 41 MovieClip Frame 5
n = 15;
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c4" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_visible = false;
_root.world.wloss[4]++;
gotoAndPlay (1);
Symbol 41 MovieClip Frame 11
stop();
Symbol 45 MovieClip Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 45 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = random(200);
_yscale = random(200);
}
Symbol 45 MovieClip Frame 4
gotoAndPlay (1);
Symbol 45 MovieClip Frame 5
n = 10;
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c1" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.wloss[1]++;
gotoAndPlay (1);
Symbol 49 MovieClip Frame 1
stop();
Instance of Symbol 38 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 38 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 38 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Symbol 49 MovieClip Frame 5
n = 8;
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c2" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.wloss[3]++;
gotoAndPlay (1);
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 4
gotoAndPlay (1);
Symbol 53 MovieClip Frame 5
n = 5;
stopAllSounds();
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.wloss[2]++;
gotoAndPlay (1);
Symbol 62 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 1
stop();
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Symbol 90 MovieClip Frame 5
n = 15;
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "b4" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.bloss[4]++;
gotoAndPlay (1);
Symbol 90 MovieClip Frame 11
stop();
Symbol 92 MovieClip Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 92 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = random(200);
_yscale = random(200);
}
Symbol 92 MovieClip Frame 4
gotoAndPlay (1);
Symbol 92 MovieClip Frame 5
n = 10;
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c1" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.bloss[1]++;
gotoAndPlay (1);
Symbol 94 MovieClip Frame 1
stop();
Instance of Symbol 89 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 89 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Instance of Symbol 89 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
shaketime = random(250) + 50;
oldshaketime = shaketime;
}
onClipEvent (enterFrame) {
if ((0 < shaketime) && (_root.loss._visible == false)) {
shaketime--;
} else if (_root.loss._visible == false) {
play();
shaketime = oldshaketime;
}
}
Symbol 94 MovieClip Frame 5
n = 8;
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c2" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.bloss[3]++;
gotoAndPlay (1);
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 4
gotoAndPlay (1);
Symbol 96 MovieClip Frame 5
n = 5;
stopAllSounds();
while (0 < n) {
_root.c._x = _x;
_root.c._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/c", "c" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_y = 300;
_root.world.bloss[2]++;
gotoAndPlay (1);
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 4
gotoAndPlay (1);
Symbol 99 MovieClip Frame 5
n = 60;
while (0 < n) {
_root.bc._x = _x;
_root.bc._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/bc", "bcc31" + p, p);
n--;
}
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 4
gotoAndPlay (1);
Symbol 104 MovieClip Frame 6
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
stopAllSounds();
Symbol 108 MovieClip Frame 4
gotoAndPlay (1);
Symbol 108 MovieClip Frame 6
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 3
n = 30;
while (0 < n) {
_root.bc._x = _x;
_root.bc._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/bc", "cc23" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_x = -150;
_y = 50;
_rotation = 0;
_root.world.wloss[5]++;
gotoAndPlay (1);
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
_y = 300;
_rotation = 0;
Symbol 121 MovieClip Frame 11
_y = 350;
_rotation = 0;
_visible = false;
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 3
n = 30;
while (0 < n) {
_root.bc._x = _x;
_root.bc._y = _y;
p = Math.round(random(99999999) / random(99999999));
duplicateMovieClip ("/bc", "cc19" + p, p);
n--;
}
if (_xscale == 100) {
_x = -100;
} else {
_x = 1100;
}
_visible = false;
_x = 1150;
_y = 50;
_rotation = 180;
_root.world.bloss[5]++;
gotoAndPlay (1);