Frame 1
Stage.showMenu = false;
var debug = true;
var gameID = 63;
var gameName = "Stalingrad";
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Instance of Symbol 380 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(555666);
}
Frame 2
stop();
Frame 3
stop();
_root.gamestart = 1;
_root.gamelevel = 0;
_root.mainlevel1 = true;
_root.mainlevel2 = true;
_root.mainlevel3 = true;
_root.mainlevel4 = true;
Instance of Symbol 490 MovieClip in Frame 3
onClipEvent (enterFrame) {
removeMovieClip(_root.menu2);
removeMovieClip(_root.startbtn);
removeMovieClip(_root.germaninvasion);
removeMovieClip(_root.frontend);
removeMovieClip(_root.moscow);
removeMovieClip(_root.stalingrad);
removeMovieClip(_root.win);
_root.win.removeMovieClip();
i = 0;
while (i < (_root.enemytotal + 1)) {
removeMovieClip(_root["enemy" + i]);
i++;
}
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
removeMovieClip(_root[(("box" + i) + "_") + j]);
j++;
}
removeMovieClip(_root.menu1);
i++;
}
}
Instance of Symbol 514 MovieClip in Frame 3
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 530 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.score < 10000) {
scr = "0" + _root.score;
}
if (_root.score < 1000) {
scr = "00" + _root.score;
}
if (_root.score < 100) {
scr = "000" + _root.score;
}
if (_root.score < 10) {
scr = "0000" + _root.score;
}
}
Frame 5
stop();
_root.gamestart = 1;
_root.gamelevel = 0;
_root.mainlevel1 = true;
_root.mainlevel2 = true;
_root.mainlevel3 = true;
_root.mainlevel4 = true;
Instance of Symbol 490 MovieClip in Frame 5
onClipEvent (enterFrame) {
removeMovieClip(_root.menu2);
removeMovieClip(_root.startbtn);
removeMovieClip(_root.germaninvasion);
removeMovieClip(_root.frontend);
removeMovieClip(_root.moscow);
removeMovieClip(_root.stalingrad);
removeMovieClip(_root.win);
_root.win.removeMovieClip();
i = 0;
while (i < (_root.enemytotal + 1)) {
removeMovieClip(_root["enemy" + i]);
i++;
}
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
removeMovieClip(_root[(("box" + i) + "_") + j]);
j++;
}
removeMovieClip(_root.menu1);
i++;
}
}
Instance of Symbol 544 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.completelevel2 == true) {
this.gotoAndStop(2);
}
if (_root.completelevel3 == true) {
this.gotoAndStop(3);
}
if (_root.completelevel4 == true) {
this.gotoAndStop(4);
}
}
Instance of Symbol 548 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.completelevel2 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 555 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.completelevel3 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 559 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.completelevel4 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 514 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 6
function createenemy(enemyno, changeenemy, startx, starty, mc1, mc2) {
enemydepth--;
noe++;
if (noe > changeenemy) {
noe = 1;
enemynow++;
if (enemynow > 2) {
enemynow = 1;
}
}
if (enemynow == 1) {
attachMovie(mc1, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
if (enemynow == 2) {
attachMovie(mc2, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
}
stop();
_root.complete1 = true;
_root.complete2 = false;
_root.complete3 = false;
_root.complete4 = false;
power = 20;
_root.enemytotaldead = 1;
d = 0;
enemyonscreen = 0;
allenemyout = false;
map = new Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0], [0, 2, 2, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 2, 2, 0, 0, 0], [0, 0, 2, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
attachMovie("box", (("box" + i) + "_") + j, d++, {_x:13 + (i * 26), _y:39 + (j * 26)});
this[(("box" + i) + "_") + j].gotoAndStop(map[j][i] + 1);
j++;
}
i++;
}
enemydepth = 100000 /* 0x0186A0 */;
noe = 0;
enemynow = 1;
gold = 75;
build = false;
buildno = 0;
score = 0;
_root.gamelevel = 0;
_root.allenemyout = false;
Instance of Symbol 590 MovieClip "enemycontroler" in Frame 6
onClipEvent (enterFrame) {
if ((_root.gamelevel == 1) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 2) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 3) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 4) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 28;
_root.enemyno = 0;
_root.enemytotal = 13;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 5) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 6) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 7) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 8) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 9) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 10) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 11) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 12) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 13) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 14) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 13;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 15) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 16) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 17) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 18) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 5;
_root.enemyno = 0;
_root.enemytotal = 1;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 19) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 20) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 21) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 22) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 10;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 23) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 24) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 25) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 26) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 27) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 28) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 29) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 30) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 1;
_root.enemyno = 0;
_root.enemytotal = 1;
_root.enemytotaldead = _root.enemytotal;
}
}
onClipEvent (enterFrame) {
if (_root.gamelevel == 1) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy1", "enemy1");
}
}
}
if (_root.gamelevel == 2) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy2", "enemy2");
}
}
}
if (_root.gamelevel == 3) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy3", "enemy2");
}
}
}
if (_root.gamelevel == 4) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy3");
}
}
}
if (_root.gamelevel == 5) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy4");
}
}
}
if (_root.gamelevel == 6) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy10", "enemy10");
}
}
}
if (_root.gamelevel == 7) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy5");
}
}
}
if (_root.gamelevel == 8) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy6", "enemy6");
}
}
}
if (_root.gamelevel == 9) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy6", "enemy7");
}
}
}
if (_root.gamelevel == 10) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy7", "enemy7");
}
}
}
if (_root.gamelevel == 11) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy7", "enemy8");
}
}
}
if (_root.gamelevel == 12) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy8", "enemy9");
}
}
}
if (_root.gamelevel == 13) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy11", "enemy11");
}
}
}
if (_root.gamelevel == 14) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy14", "enemy14");
}
}
}
if (_root.gamelevel == 15) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy14", "enemy15");
}
}
}
if (_root.gamelevel == 16) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy15", "enemy15");
}
}
}
if (_root.gamelevel == 17) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy12", "enemy12");
}
}
}
if (_root.gamelevel == 18) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 1, this._x, this._y, "enemy16", "enemy16");
}
}
}
if (_root.gamelevel == 19) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy14", "enemy15");
}
}
}
if (_root.gamelevel == 20) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy17");
}
}
}
if (_root.gamelevel == 21) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy13", "enemy13");
}
}
}
if (_root.gamelevel == 22) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy14");
}
}
}
if (_root.gamelevel == 23) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy17");
}
}
}
if (_root.gamelevel == 24) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy18", "enemy18");
}
}
}
if (_root.gamelevel == 25) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy18", "enemy19");
}
}
}
if (_root.gamelevel == 26) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy19", "enemy19");
}
}
}
if (_root.gamelevel == 27) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy19", "enemy20");
}
}
}
if (_root.gamelevel == 28) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy12", "enemy12");
}
}
}
if (_root.gamelevel == 29) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy20", "enemy20");
}
}
}
if (_root.gamelevel == 30) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy21", "enemy21");
}
}
}
}
Instance of Symbol 589 MovieClip "building" in Frame 6
onClipEvent (enterFrame) {
if (_root.enemytotaldead == 0) {
_root.win.play();
}
}
Instance of Symbol 639 MovieClip "menu2" in Frame 6
onClipEvent (load) {
this.swapDepths(555557);
_root.bossdead = true;
}
onClipEvent (enterFrame) {
if (_root.bossdead == false) {
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
this.menuE.gotoAndStop(1);
_root.gotoAndStop(10);
}
}
Instance of Symbol 677 MovieClip "menu1" in Frame 6
onClipEvent (load) {
this.swapDepths(555555);
}
Instance of Symbol 686 MovieClip "win" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(888);
}
Instance of Symbol 689 MovieClip "germaninvasion" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(180000);
}
Instance of Symbol 721 MovieClip "badigi" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(800000);
}
Instance of Symbol 722 MovieClip in Frame 6
onClipEvent (load) {
this.swapDepths(999999981);
}
Frame 7
function createenemy(enemyno, changeenemy, startx, starty, mc1, mc2) {
enemydepth--;
noe++;
if (noe > changeenemy) {
noe = 1;
enemynow++;
if (enemynow > 2) {
enemynow = 1;
}
}
if (enemynow == 1) {
attachMovie(mc1, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
if (enemynow == 2) {
attachMovie(mc2, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
}
stop();
_root.complete1 = false;
_root.complete2 = true;
_root.complete3 = false;
_root.complete4 = false;
_root.gamestart = 1;
power = 20;
_root.enemytotaldead = 1;
d = 0;
enemyonscreen = 0;
allenemyout = false;
map = new Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 2, 2, 1, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 2, 0, 0, 0, 0, 1, 2, 2, 1, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0]);
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
attachMovie("box", (("box" + i) + "_") + j, d++, {_x:13 + (i * 26), _y:39 + (j * 26)});
this[(("box" + i) + "_") + j].gotoAndStop(map[j][i] + 1);
j++;
}
i++;
}
enemydepth = 100000 /* 0x0186A0 */;
noe = 0;
enemynow = 1;
gold = 100;
build = false;
buildno = 0;
score = 0;
_root.gamelevel = 0;
Instance of Symbol 677 MovieClip "menu1" in Frame 7
onClipEvent (load) {
this.swapDepths(777);
}
Instance of Symbol 728 MovieClip "frontend" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(180001);
}
Instance of Symbol 722 MovieClip in Frame 7
onClipEvent (load) {
this.swapDepths(999999982);
}
Frame 8
function createenemy(enemyno, changeenemy, startx, starty, mc1, mc2) {
enemydepth--;
noe++;
if (noe > changeenemy) {
noe = 1;
enemynow++;
if (enemynow > 2) {
enemynow = 1;
}
}
if (enemynow == 1) {
attachMovie(mc1, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
if (enemynow == 2) {
attachMovie(mc2, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
}
stop();
_root.complete1 = false;
_root.complete2 = false;
_root.complete3 = true;
_root.complete4 = false;
_root.gamestart = 1;
power = 20;
_root.enemytotaldead = 1;
d = 0;
enemyonscreen = 0;
allenemyout = false;
map = new Array([0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 2, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 0, 0, 1, 2, 2], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 2, 0, 1, 2, 0], [0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 0, 1, 1, 1], [0, 0, 0, 0, 0, 2, 0, 2, 2, 0, 0, 0, 2, 2, 0, 1, 2, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 2, 2, 0, 1, 2, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 2, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 0, 2, 0, 0, 0, 0]);
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
attachMovie("box", (("box" + i) + "_") + j, d++, {_x:13 + (i * 26), _y:39 + (j * 26)});
this[(("box" + i) + "_") + j].gotoAndStop(map[j][i] + 1);
j++;
}
i++;
}
enemydepth = 100000 /* 0x0186A0 */;
noe = 0;
enemynow = 1;
gold = 200;
build = false;
buildno = 0;
score = 0;
_root.gamelevel = 0;
_root.allenemyout = false;
Instance of Symbol 590 MovieClip "enemycontroler" in Frame 8
onClipEvent (enterFrame) {
if ((_root.gamelevel == 1) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 2) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 3) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 4) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 28;
_root.enemyno = 0;
_root.enemytotal = 13;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 5) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 6) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 7) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 8) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 9) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 10) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 11) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 12) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 13) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 14) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 13;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 15) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 16) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 17) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 18) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 5;
_root.enemyno = 0;
_root.enemytotal = 1;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 19) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 20) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 21) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 22) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 10;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 23) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 24) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 25) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 26) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 27) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 28) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 29) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 30) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 1;
_root.enemyno = 0;
_root.enemytotal = 1;
_root.enemytotaldead = _root.enemytotal;
}
}
onClipEvent (enterFrame) {
if (_root.gamelevel == 1) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy1", "enemy1");
}
}
}
if (_root.gamelevel == 2) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy2", "enemy2");
}
}
}
if (_root.gamelevel == 3) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy3", "enemy2");
}
}
}
if (_root.gamelevel == 4) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy3");
}
}
}
if (_root.gamelevel == 5) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy4");
}
}
}
if (_root.gamelevel == 6) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy10", "enemy10");
}
}
}
if (_root.gamelevel == 7) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy5");
}
}
}
if (_root.gamelevel == 8) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy6", "enemy6");
}
}
}
if (_root.gamelevel == 9) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy6", "enemy7");
}
}
}
if (_root.gamelevel == 10) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy7", "enemy7");
}
}
}
if (_root.gamelevel == 11) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy7", "enemy8");
}
}
}
if (_root.gamelevel == 12) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy8", "enemy9");
}
}
}
if (_root.gamelevel == 13) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy11", "enemy11");
}
}
}
if (_root.gamelevel == 14) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy14", "enemy14");
}
}
}
if (_root.gamelevel == 15) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy14", "enemy15");
}
}
}
if (_root.gamelevel == 16) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy15", "enemy15");
}
}
}
if (_root.gamelevel == 17) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy12", "enemy12");
}
}
}
if (_root.gamelevel == 18) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 1, this._x, this._y, "enemy16", "enemy16");
}
}
}
if (_root.gamelevel == 19) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy14", "enemy15");
}
}
}
if (_root.gamelevel == 20) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy17");
}
}
}
if (_root.gamelevel == 21) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy13", "enemy13");
}
}
}
if (_root.gamelevel == 22) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy14");
}
}
}
if (_root.gamelevel == 23) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy17");
}
}
}
if (_root.gamelevel == 24) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy18", "enemy18");
}
}
}
if (_root.gamelevel == 25) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy18", "enemy19");
}
}
}
if (_root.gamelevel == 26) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy19", "enemy19");
}
}
}
if (_root.gamelevel == 27) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy19", "enemy20");
}
}
}
if (_root.gamelevel == 28) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy12", "enemy12");
}
}
}
if (_root.gamelevel == 29) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy20", "enemy20");
}
}
}
if (_root.gamelevel == 30) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy21", "enemy21");
}
}
}
}
Instance of Symbol 589 MovieClip "building" in Frame 8
onClipEvent (enterFrame) {
if (_root.enemytotaldead == 0) {
_root.win.play();
}
}
Instance of Symbol 677 MovieClip "menu1" in Frame 8
onClipEvent (load) {
this.swapDepths(555555);
}
Instance of Symbol 738 MovieClip "moscow" in Frame 8
onClipEvent (enterFrame) {
this.swapDepths(180002);
}
Instance of Symbol 722 MovieClip in Frame 8
onClipEvent (load) {
this.swapDepths(999999983);
}
Frame 9
function createenemy(enemyno, changeenemy, startx, starty, mc1, mc2) {
enemydepth--;
noe++;
if (noe > changeenemy) {
noe = 1;
enemynow++;
if (enemynow > 2) {
enemynow = 1;
}
}
if (enemynow == 1) {
attachMovie(mc1, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
if (enemynow == 2) {
attachMovie(mc2, "enemy" + enemyno, enemydepth, {_x:startx, _y:starty});
}
}
stop();
_root.complete1 = false;
_root.complete2 = false;
_root.complete3 = false;
_root.complete4 = true;
_root.gamestart = 1;
power = 20;
_root.enemytotaldead = 1;
d = 0;
enemyonscreen = 0;
allenemyout = false;
map = new Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 2, 0, 0, 0, 0, 0, 1, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 2, 2, 0, 0, 0, 0, 0, 1, 1, 1], [0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 2, 2, 2, 0, 0, 0], [0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 2, 2, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0]);
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
attachMovie("box", (("box" + i) + "_") + j, d++, {_x:13 + (i * 26), _y:39 + (j * 26)});
this[(("box" + i) + "_") + j].gotoAndStop(map[j][i] + 1);
j++;
}
i++;
}
enemydepth = 100000 /* 0x0186A0 */;
noe = 0;
enemynow = 1;
gold = 300;
build = false;
buildno = 0;
score = 0;
_root.gamelevel = 0;
_root.allenemyout = false;
Instance of Symbol 589 MovieClip "building" in Frame 9
onClipEvent (enterFrame) {
if (_root.enemytotaldead == 0) {
_root.win.play();
}
}
Instance of Symbol 590 MovieClip "enemycontroler" in Frame 9
onClipEvent (enterFrame) {
if ((_root.gamelevel == 1) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 2) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 3) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 4) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 28;
_root.enemyno = 0;
_root.enemytotal = 13;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 5) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 6) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 7) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 8) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 9) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 10) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 11) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 12) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 30;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 13) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 14) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 13;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 15) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 16) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 17) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 18) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 5;
_root.enemyno = 0;
_root.enemytotal = 1;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 19) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 20) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 21) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 20;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 22) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 10;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 23) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 24) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 25;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 25) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 26) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 25;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 27) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 28) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 20;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 29) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 15;
_root.enemyno = 0;
_root.enemytotal = 15;
_root.enemytotaldead = _root.enemytotal;
}
if ((_root.gamelevel == 30) and (_root.gamestart == 0)) {
_root.gamestart = 1;
_root.enemytime = 0;
_root.enemywait = 1;
_root.enemyno = 0;
_root.enemytotal = 1;
_root.enemytotaldead = _root.enemytotal;
}
}
onClipEvent (enterFrame) {
if (_root.gamelevel == 1) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy1", "enemy1");
}
}
}
if (_root.gamelevel == 2) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy2", "enemy2");
}
}
}
if (_root.gamelevel == 3) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy3", "enemy2");
}
}
}
if (_root.gamelevel == 4) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy3");
}
}
}
if (_root.gamelevel == 5) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy4");
}
}
}
if (_root.gamelevel == 6) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy10", "enemy10");
}
}
}
if (_root.gamelevel == 7) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy4", "enemy5");
}
}
}
if (_root.gamelevel == 8) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy6", "enemy6");
}
}
}
if (_root.gamelevel == 9) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy6", "enemy7");
}
}
}
if (_root.gamelevel == 10) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy7", "enemy7");
}
}
}
if (_root.gamelevel == 11) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy7", "enemy8");
}
}
}
if (_root.gamelevel == 12) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy8", "enemy9");
}
}
}
if (_root.gamelevel == 13) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy11", "enemy11");
}
}
}
if (_root.gamelevel == 14) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 15, this._x, this._y, "enemy14", "enemy14");
}
}
}
if (_root.gamelevel == 15) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy14", "enemy15");
}
}
}
if (_root.gamelevel == 16) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy15", "enemy15");
}
}
}
if (_root.gamelevel == 17) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy12", "enemy12");
}
}
}
if (_root.gamelevel == 18) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 1, this._x, this._y, "enemy16", "enemy16");
}
}
}
if (_root.gamelevel == 19) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy14", "enemy15");
}
}
}
if (_root.gamelevel == 20) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy17");
}
}
}
if (_root.gamelevel == 21) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy13", "enemy13");
}
}
}
if (_root.gamelevel == 22) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy14");
}
}
}
if (_root.gamelevel == 23) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy17", "enemy17");
}
}
}
if (_root.gamelevel == 24) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy18", "enemy18");
}
}
}
if (_root.gamelevel == 25) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy18", "enemy19");
}
}
}
if (_root.gamelevel == 26) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy19", "enemy19");
}
}
}
if (_root.gamelevel == 27) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy19", "enemy20");
}
}
}
if (_root.gamelevel == 28) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy12", "enemy12");
}
}
}
if (_root.gamelevel == 29) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy20", "enemy20");
}
}
}
if (_root.gamelevel == 30) {
_root.enemytime++;
if (_root.enemytime > _root.enemywait) {
_root.enemytime = 0;
if (_root.enemyno < _root.enemytotal) {
_root.enemyno++;
_root.createenemy(_root.enemyno, 10, this._x, this._y, "enemy21", "enemy21");
}
}
}
}
Instance of Symbol 639 MovieClip "menu2" in Frame 9
onClipEvent (load) {
this.swapDepths(555557);
_root.bossdead = true;
}
onClipEvent (enterFrame) {
if (_root.bossdead == false) {
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
this.menuE.gotoAndStop(1);
_root.gotoAndStop(11);
}
}
Instance of Symbol 746 MovieClip "stalingrad" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(180004);
}
Instance of Symbol 722 MovieClip in Frame 9
onClipEvent (load) {
this.swapDepths(999999984);
}
Frame 10
_root.gamestart = 1;
_root.gamelevel = 0;
_root.mainlevel1 = true;
_root.mainlevel2 = true;
_root.mainlevel3 = true;
_root.mainlevel4 = true;
if (_root.complete1 == true) {
_root.scrlvl1 = _root.score;
}
if (_root.complete2 == true) {
_root.scrlvl2 = _root.score;
}
if (_root.complete3 == true) {
_root.scrlvl3 = _root.score;
}
if (_root.complete4 == true) {
_root.scrlvl4 = _root.score;
}
Instance of Symbol 490 MovieClip in Frame 10
onClipEvent (enterFrame) {
removeMovieClip(_root.menu2);
removeMovieClip(_root.startbtn);
removeMovieClip(_root.germaninvasion);
removeMovieClip(_root.frontend);
removeMovieClip(_root.moscow);
removeMovieClip(_root.stalingrad);
removeMovieClip(_root.win);
_root.win.removeMovieClip();
i = 0;
while (i < (_root.enemytotal + 1)) {
removeMovieClip(_root["enemy" + i]);
i++;
}
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
removeMovieClip(_root[(("box" + i) + "_") + j]);
j++;
}
removeMovieClip(_root.menu1);
i++;
}
}
Instance of Symbol 514 MovieClip in Frame 10
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 11
_root.score = (((Number(_root.scrlvl1) + Number(_root.scrlvl2)) + Number(_root.scrlvl3)) + Number(_root.scrlvl4)) + Number(_root.score);
Instance of Symbol 490 MovieClip in Frame 13
onClipEvent (enterFrame) {
removeMovieClip(_root.menu2);
removeMovieClip(_root.startbtn);
removeMovieClip(_root.germaninvasion);
_root.win.removeMovieClip();
i = 0;
while (i < (_root.enemytotal + 1)) {
removeMovieClip(_root["enemy" + i]);
i++;
}
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
removeMovieClip(_root[(("box" + i) + "_") + j]);
j++;
}
removeMovieClip(_root.menu1);
i++;
}
}
Instance of Symbol 514 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 14
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["mcScoreboard" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["mcScoreboard" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "ups")) {
trace("ups");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "downs")) {
trace("downs");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
var gameID = 63;
Dsource = "www";
mcScoreboard1.sboard.dir = "stop";
mcScoreboard2.sboard.dir = "stop";
mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false;
mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
btnMain.onRelease = function () {
currentPage = "main";
fader.play();
};
Symbol 24 MovieClip Frame 43
stop();
_parent.removeMovieClip();
Symbol 26 MovieClip [enemy1] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 1;
}
if (this.where == "up") {
this._y = this._y - 1;
}
if (this.where == "down") {
this._y = this._y + 1;
}
if (this.where == "left") {
this._x = this._x - 1;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 3 MovieClip "body" in Symbol 26 MovieClip [enemy1] Frame 1
onClipEvent (load) {
health = 10;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 26 MovieClip [enemy1] Frame 2
this.points = 1;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 25 MovieClip in Symbol 26 MovieClip [enemy1] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 59 MovieClip Frame 43
stop();
removeMovieClip(_root[_parent._parent._name]);
Symbol 70 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 6
stop();
Symbol 70 MovieClip Frame 9
stop();
Symbol 70 MovieClip Frame 12
stop();
Symbol 70 MovieClip Frame 15
stop();
Symbol 70 MovieClip Frame 18
stop();
Symbol 70 MovieClip Frame 21
stop();
Symbol 70 MovieClip Frame 24
stop();
Symbol 70 MovieClip Frame 27
stop();
Symbol 70 MovieClip Frame 30
stop();
Symbol 70 MovieClip Frame 33
stop();
Symbol 70 MovieClip Frame 36
stop();
Symbol 70 MovieClip Frame 39
stop();
Symbol 70 MovieClip Frame 42
stop();
Symbol 70 MovieClip Frame 45
stop();
Symbol 70 MovieClip Frame 48
stop();
Instance of Symbol 70 MovieClip in Symbol 71 MovieClip [tankboom] Frame 1
onClipEvent (load) {
rs = random(16);
gotoAndPlay((rs * 3) + 1);
trace(rs);
}
Symbol 72 MovieClip [enemy5] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 1;
}
if (this.where == "up") {
this._y = this._y - 1;
}
if (this.where == "down") {
this._y = this._y + 1;
}
if (this.where == "left") {
this._x = this._x - 1;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 44 MovieClip "body" in Symbol 72 MovieClip [enemy5] Frame 1
onClipEvent (load) {
health = 380;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 72 MovieClip [enemy5] Frame 2
this.points = 4;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 72 MovieClip [enemy5] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 84 MovieClip [enemy2] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3.5;
}
if (this.where == "up") {
this._y = this._y - 3.5;
}
if (this.where == "down") {
this._y = this._y + 3.5;
}
if (this.where == "left") {
this._x = this._x - 3.5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 83 MovieClip "body" in Symbol 84 MovieClip [enemy2] Frame 1
onClipEvent (load) {
health = 60;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 84 MovieClip [enemy2] Frame 2
this.points = 2;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 84 MovieClip [enemy2] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 87 MovieClip [enemy3] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3;
}
if (this.where == "up") {
this._y = this._y - 3;
}
if (this.where == "down") {
this._y = this._y + 3;
}
if (this.where == "left") {
this._x = this._x - 3;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 86 MovieClip "body" in Symbol 87 MovieClip [enemy3] Frame 1
onClipEvent (load) {
health = 120;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 87 MovieClip [enemy3] Frame 2
this.points = 2;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 87 MovieClip [enemy3] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 90 MovieClip [enemy4] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3;
}
if (this.where == "up") {
this._y = this._y - 3;
}
if (this.where == "down") {
this._y = this._y + 3;
}
if (this.where == "left") {
this._x = this._x - 3;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 89 MovieClip "body" in Symbol 90 MovieClip [enemy4] Frame 1
onClipEvent (load) {
health = 180;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 90 MovieClip [enemy4] Frame 2
this.points = 3;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 90 MovieClip [enemy4] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 93 MovieClip [enemy6] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 4;
}
if (this.where == "up") {
this._y = this._y - 4;
}
if (this.where == "down") {
this._y = this._y + 4;
}
if (this.where == "left") {
this._x = this._x - 4;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 92 MovieClip "body" in Symbol 93 MovieClip [enemy6] Frame 1
onClipEvent (load) {
health = 100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 93 MovieClip [enemy6] Frame 2
this.points = 3;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 93 MovieClip [enemy6] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 96 MovieClip [enemy7] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3;
}
if (this.where == "up") {
this._y = this._y - 3;
}
if (this.where == "down") {
this._y = this._y + 3;
}
if (this.where == "left") {
this._x = this._x - 3;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 95 MovieClip "body" in Symbol 96 MovieClip [enemy7] Frame 1
onClipEvent (load) {
health = 350;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 96 MovieClip [enemy7] Frame 2
this.points = 5;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 96 MovieClip [enemy7] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 99 MovieClip [enemy8] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 1;
}
if (this.where == "up") {
this._y = this._y - 1;
}
if (this.where == "down") {
this._y = this._y + 1;
}
if (this.where == "left") {
this._x = this._x - 1;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 98 MovieClip "body" in Symbol 99 MovieClip [enemy8] Frame 1
onClipEvent (load) {
health = 500;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 99 MovieClip [enemy8] Frame 2
this.points = 6;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 99 MovieClip [enemy8] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 102 MovieClip [enemy9] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 1;
}
if (this.where == "up") {
this._y = this._y - 1;
}
if (this.where == "down") {
this._y = this._y + 1;
}
if (this.where == "left") {
this._x = this._x - 1;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 101 MovieClip "body" in Symbol 102 MovieClip [enemy9] Frame 1
onClipEvent (load) {
health = 1000;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 102 MovieClip [enemy9] Frame 2
this.points = 10;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 102 MovieClip [enemy9] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 106 MovieClip [enemy10] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
this.unittype = "air";
};
this.onEnterFrame = function () {
this.unittype = "air";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3.5;
}
if (this.where == "up") {
this._y = this._y - 3.5;
}
if (this.where == "down") {
this._y = this._y + 3.5;
}
if (this.where == "left") {
this._x = this._x - 3.5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 105 MovieClip "body" in Symbol 106 MovieClip [enemy10] Frame 1
onClipEvent (load) {
health = 400;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 106 MovieClip [enemy10] Frame 2
this.points = 4;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 106 MovieClip [enemy10] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 110 MovieClip [enemy11] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
this.unittype = "air";
};
this.onEnterFrame = function () {
this.unittype = "air";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 4;
}
if (this.where == "up") {
this._y = this._y - 4;
}
if (this.where == "down") {
this._y = this._y + 4;
}
if (this.where == "left") {
this._x = this._x - 4;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 109 MovieClip "body" in Symbol 110 MovieClip [enemy11] Frame 1
onClipEvent (load) {
health = 2000;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 110 MovieClip [enemy11] Frame 2
this.points = 7;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 110 MovieClip [enemy11] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 114 MovieClip [enemy12] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
this.unittype = "air";
};
this.onEnterFrame = function () {
this.unittype = "air";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 5;
}
if (this.where == "up") {
this._y = this._y - 5;
}
if (this.where == "down") {
this._y = this._y + 5;
}
if (this.where == "left") {
this._x = this._x - 5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 113 MovieClip "body" in Symbol 114 MovieClip [enemy12] Frame 1
onClipEvent (load) {
health = 3500;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 114 MovieClip [enemy12] Frame 2
this.points = 10;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 114 MovieClip [enemy12] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 118 MovieClip [enemy13] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
this.unittype = "air";
};
this.onEnterFrame = function () {
this.unittype = "air";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 2;
}
if (this.where == "up") {
this._y = this._y - 2;
}
if (this.where == "down") {
this._y = this._y + 2;
}
if (this.where == "left") {
this._x = this._x - 2;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 117 MovieClip "body" in Symbol 118 MovieClip [enemy13] Frame 1
onClipEvent (load) {
health = 8000;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 118 MovieClip [enemy13] Frame 2
this.points = 15;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 118 MovieClip [enemy13] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 122 MovieClip [enemy14] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 5;
}
if (this.where == "up") {
this._y = this._y - 5;
}
if (this.where == "down") {
this._y = this._y + 5;
}
if (this.where == "left") {
this._x = this._x - 5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 121 MovieClip "body" in Symbol 122 MovieClip [enemy14] Frame 1
onClipEvent (load) {
health = 400;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 122 MovieClip [enemy14] Frame 2
this.points = 7;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 122 MovieClip [enemy14] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 126 MovieClip [enemy15] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3.5;
}
if (this.where == "up") {
this._y = this._y - 3.5;
}
if (this.where == "down") {
this._y = this._y + 3.5;
}
if (this.where == "left") {
this._x = this._x - 3.5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 125 MovieClip "body" in Symbol 126 MovieClip [enemy15] Frame 1
onClipEvent (load) {
health = 700;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 126 MovieClip [enemy15] Frame 2
this.points = 10;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 126 MovieClip [enemy15] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 130 MovieClip [enemy16] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 0.7;
}
if (this.where == "up") {
this._y = this._y - 0.7;
}
if (this.where == "down") {
this._y = this._y + 0.7;
}
if (this.where == "left") {
this._x = this._x - 0.7;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 129 MovieClip "body" in Symbol 130 MovieClip [enemy16] Frame 1
onClipEvent (load) {
health = 15000;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 130 MovieClip [enemy16] Frame 2
this.points = 100;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
_root.power = _root.power + 5;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 130 MovieClip [enemy16] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 134 MovieClip [enemy17] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3.5;
}
if (this.where == "up") {
this._y = this._y - 3.5;
}
if (this.where == "down") {
this._y = this._y + 3.5;
}
if (this.where == "left") {
this._x = this._x - 3.5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 133 MovieClip "body" in Symbol 134 MovieClip [enemy17] Frame 1
onClipEvent (load) {
health = 1100;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 134 MovieClip [enemy17] Frame 2
this.points = 12;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 134 MovieClip [enemy17] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 138 MovieClip [enemy18] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 5;
}
if (this.where == "up") {
this._y = this._y - 5;
}
if (this.where == "down") {
this._y = this._y + 5;
}
if (this.where == "left") {
this._x = this._x - 5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 137 MovieClip "body" in Symbol 138 MovieClip [enemy18] Frame 1
onClipEvent (load) {
health = 800;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 138 MovieClip [enemy18] Frame 2
this.points = 12;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 138 MovieClip [enemy18] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 142 MovieClip [enemy19] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3.5;
}
if (this.where == "up") {
this._y = this._y - 3.5;
}
if (this.where == "down") {
this._y = this._y + 3.5;
}
if (this.where == "left") {
this._x = this._x - 3.5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 141 MovieClip "body" in Symbol 142 MovieClip [enemy19] Frame 1
onClipEvent (load) {
health = 3000;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 142 MovieClip [enemy19] Frame 2
this.points = 20;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 142 MovieClip [enemy19] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 146 MovieClip [enemy20] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 3.5;
}
if (this.where == "up") {
this._y = this._y - 3.5;
}
if (this.where == "down") {
this._y = this._y + 3.5;
}
if (this.where == "left") {
this._x = this._x - 3.5;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
if (_root.power <= 0) {
_root.lost.play();
}
removeMovieClip(this);
}
}
};
Instance of Symbol 145 MovieClip "body" in Symbol 146 MovieClip [enemy20] Frame 1
onClipEvent (load) {
health = 4000;
}
onClipEvent (enterFrame) {
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 146 MovieClip [enemy20] Frame 2
this.points = 30;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
Instance of Symbol 71 MovieClip [tankboom] in Symbol 146 MovieClip [enemy20] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 150 MovieClip [enemy21] Frame 1
stop();
this.onLoad = function () {
this.where = "right";
};
this.onEnterFrame = function () {
this.unittype = "ground";
if (this._currentframe == 1) {
if (((this.hitTest(_root.aright1) or this.hitTest(_root.aright2)) or this.hitTest(_root.aright3)) or this.hitTest(_root.aright4)) {
this.where = "right";
this._rotation = 1;
}
if (((this.hitTest(_root.adown1) or this.hitTest(_root.adown2)) or this.hitTest(_root.adown3)) or this.hitTest(_root.adown4)) {
this.where = "down";
this._rotation = 90;
}
if (((this.hitTest(_root.aup1) or this.hitTest(_root.aup2)) or this.hitTest(_root.aup3)) or this.hitTest(_root.aup4)) {
this.where = "up";
this._rotation = -90;
}
if (((this.hitTest(_root.aleft1) or this.hitTest(_root.aleft2)) or this.hitTest(_root.aleft3)) or this.hitTest(_root.aup4)) {
this.where = "left";
this._rotation = -180;
}
if (this.where == "right") {
this._x = this._x + 1;
}
if (this.where == "up") {
this._y = this._y - 1;
}
if (this.where == "down") {
this._y = this._y + 1;
}
if (this.where == "left") {
this._x = this._x - 1;
}
if (this.hitTest(_root.building)) {
_root.power--;
_root.enemytotaldead--;
_root.bossdead = false;
if (_root.power <= 0) {
_root.lost.play();
}
if (_root.complete1 == true) {
_root.completelevel2 = true;
_root.complete2 = false;
_root.complete3 = false;
_root.complete4 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
if (_root.complete2 == true) {
_root.completelevel3 = true;
_root.complete1 = false;
_root.complete3 = false;
_root.complete4 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
if (_root.complete3 == true) {
_root.completelevel4 = true;
_root.complete2 = false;
_root.complete1 = false;
_root.complete4 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
if (_root.complete4 == true) {
_root.complete2 = false;
_root.complete3 = false;
_root.complete1 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
}
}
};
Instance of Symbol 149 MovieClip "body" in Symbol 150 MovieClip [enemy21] Frame 1
onClipEvent (load) {
health = 30000;
}
onClipEvent (enterFrame) {
trace(this.health);
if (health <= 0) {
_parent.gotoAndStop(2);
}
}
Symbol 150 MovieClip [enemy21] Frame 2
_root.bossdead = false;
this.points = 300;
_root.gold = _root.gold + points;
_root.score = _root.score + points;
_root.enemytotaldead--;
if (_root.complete1 == true) {
_root.completelevel2 = true;
_root.complete2 = false;
_root.complete3 = false;
_root.complete4 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
if (_root.complete2 == true) {
_root.completelevel3 = true;
_root.complete1 = false;
_root.complete3 = false;
_root.complete4 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
if (_root.complete3 == true) {
_root.completelevel4 = true;
_root.complete2 = false;
_root.complete1 = false;
_root.complete4 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
if (_root.complete4 == true) {
_root.complete2 = false;
_root.complete3 = false;
_root.complete1 = false;
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
}
Instance of Symbol 71 MovieClip [tankboom] in Symbol 150 MovieClip [enemy21] Frame 2
onClipEvent (load) {
_rotation = (-_parent._rotation);
}
Symbol 153 MovieClip [smoke] Frame 16
_parent.gotoAndStop(1);
Instance of Symbol 161 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.build == true) and (_root.buildno == 1)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 166 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.build == true) and (_root.buildno == 3)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 171 MovieClip in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.build == true) and (_root.buildno == 2)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 175 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.demolish == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 179 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.build == true) and (_root.buildno == 4)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.build == true) and (_root.buildno == 5)) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 188 Button
on (press) {
_root.rangevis = false;
if (_root.build) {
if (_root.buildno == 1) {
_root.build = false;
gotoAndStop ("gun1");
}
}
if (_root.build) {
if (_root.buildno == 2) {
_root.build = false;
gotoAndStop ("gun2");
}
}
if (_root.build) {
if (_root.buildno == 3) {
_root.build = false;
gotoAndStop ("gun3");
}
}
if (_root.build) {
if (_root.buildno == 4) {
_root.build = false;
gotoAndStop ("gun4");
}
}
if (_root.build) {
if (_root.buildno == 5) {
_root.build = false;
gotoAndStop ("gun5");
}
}
}
Symbol 210 MovieClip Frame 36
_parent._parent.gotoAndStop(1);
Symbol 214 Button
on (press) {
if ((_root.gold >= 15) and (_root.demolish == false)) {
_root.gold = _root.gold - 15;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(2);
gotoAndStop (2);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "15";
_root.gunname = "Turrent - level 1";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 5;
_parent.gotoAndStop(4);
}
}
Instance of Symbol 221 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4)) + 1;
}
Symbol 223 MovieClip Frame 2
_root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health = _root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health - _parent._parent._parent.attack;
Symbol 223 MovieClip Frame 4
_parent.gotoAndStop(1);
Symbol 224 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 36
stop();
Symbol 246 Button
on (press) {
if ((_root.gold >= 30) and (_root.demolish == false)) {
_root.gold = _root.gold - 30;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(3);
gotoAndStop (3);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "30";
_root.gunname = "Turrent - level 2";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 8;
_parent.gotoAndStop(4);
}
}
Symbol 247 Button
on (press) {
if ((_root.gold >= 50) and (_root.demolish == false)) {
_root.gold = _root.gold - 50;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(4);
gotoAndStop (4);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "50";
_root.gunname = "Turrent - level 3";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 12;
_parent.gotoAndStop(4);
}
}
Symbol 248 Button
on (press) {
if ((_root.gold >= 75) and (_root.demolish == false)) {
_root.gold = _root.gold - 75;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(5);
gotoAndStop (5);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "75";
_root.gunname = "Turrent - level 4";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 20;
_parent.gotoAndStop(4);
}
}
Symbol 249 Button
on (press) {
if ((_root.gold >= 150) and (_root.demolish == false)) {
_root.gold = _root.gold - 150;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(6);
gotoAndStop (6);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "150";
_root.gunname = "Turrent - level 5";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 35;
_parent.gotoAndStop(4);
}
}
Symbol 250 Button
on (rollOver) {
_root.upgrade = "full upgrade";
_root.gunname = "Turrent - level 6";
this.range._visible = true;
}
on (rollOut, release, releaseOutside) {
_root.upgrade = "";
_root.gunname = "";
this.range._visible = false;
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 80;
_parent.gotoAndStop(4);
}
}
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "range" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 251 MovieClip Frame 2
onClipEvent (load) {
_parent.attack = 3;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 251 MovieClip Frame 3
onClipEvent (load) {
_parent.attack = 5;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
_parent.attack = 8;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 251 MovieClip Frame 5
onClipEvent (load) {
_parent._parent.attack = 15;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 251 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.attack = 30;
this._visible = false;
_root.build = false;
}
Symbol 254 Button
on (press) {
if ((_root.gold >= 60) and (_root.demolish == false)) {
_root.gold = _root.gold - 60;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(2);
gotoAndStop (2);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "60";
_root.gunname = "Bunker - level 1";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 25;
_parent.gotoAndStop(4);
}
}
Instance of Symbol 221 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4)) + 1;
}
Symbol 257 MovieClip Frame 2
_root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health = _root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health - _parent._parent._parent.attack;
Symbol 257 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 258 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 267 Button
on (press) {
if ((_root.gold >= 80) and (_root.demolish == false)) {
_root.gold = _root.gold - 80;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(3);
gotoAndStop (3);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "80";
_root.gunname = "Bunker - level 2";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 25;
_parent.gotoAndStop(4);
}
}
Symbol 272 Button
on (press) {
if ((_root.gold >= 120) and (_root.demolish == false)) {
_root.gold = _root.gold - 120;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(4);
gotoAndStop (4);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "120";
_root.gunname = "Bunker - level 3";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 35;
_parent.gotoAndStop(4);
}
}
Symbol 277 Button
on (press) {
if ((_root.gold >= 200) and (_root.demolish == false)) {
_root.gold = _root.gold - 200;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(5);
gotoAndStop (5);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "200";
_root.gunname = "Bunker - level 4";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 50;
_parent.gotoAndStop(4);
}
}
Symbol 282 Button
on (rollOver) {
this.range._visible = true;
_root.upgrade = "full upgrade";
_root.gunname = "Bunker - level 5";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 120;
_parent.gotoAndStop(4);
}
}
Symbol 285 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "range" in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 285 MovieClip Frame 2
onClipEvent (load) {
_parent.attack = 140;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 285 MovieClip Frame 3
onClipEvent (load) {
_parent.attack = 350;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 285 MovieClip Frame 4
onClipEvent (load) {
_parent.attack = 550;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 285 MovieClip Frame 5
onClipEvent (load) {
_parent.attack = 800;
this._visible = false;
_root.build = false;
}
Symbol 287 Button
on (press) {
if ((_root.gold >= 25) and (_root.demolish == false)) {
_root.gold = _root.gold - 25;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(2);
gotoAndStop (2);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "25";
_root.gunname = "FlaK 30/38 - level 1";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 10;
_parent.gotoAndStop(4);
}
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
_root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health = _root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health - _parent._parent._parent.attack;
Symbol 301 MovieClip Frame 1
stop();
Instance of Symbol 290 MovieClip "fire" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
sr = _parent._rotation;
}
onClipEvent (enterFrame) {
}
Symbol 302 Button
on (press) {
if ((_root.gold >= 30) and (_root.demolish == false)) {
_root.gold = _root.gold - 30;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(3);
gotoAndStop (3);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "50";
_root.gunname = "FlaK 30/38 - level 2";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 7;
_parent.gotoAndStop(4);
}
}
Symbol 303 Button
on (press) {
if ((_root.gold >= 50) and (_root.demolish == false)) {
_root.gold = _root.gold - 50;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(4);
gotoAndStop (4);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "80";
_root.gunname = "FlaK 30/38 - level 3";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 14;
_parent.gotoAndStop(4);
}
}
Symbol 304 Button
on (press) {
if ((_root.gold >= 75) and (_root.demolish == false)) {
_root.gold = _root.gold - 75;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(5);
gotoAndStop (5);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "125";
_root.gunname = "FlaK 30/38 - level 4";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 20;
_parent.gotoAndStop(4);
}
}
Symbol 305 Button
on (press) {
if ((_root.gold >= 150) and (_root.demolish == false)) {
_root.gold = _root.gold - 150;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(6);
gotoAndStop (6);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "175";
_root.gunname = "FlaK 30/38 - level 5";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 35;
_parent.gotoAndStop(4);
}
}
Symbol 306 Button
on (rollOver) {
_root.upgrade = "full upgrade";
_root.gunname = "FlaK 30/38 - level 6";
this.range._visible = true;
}
on (rollOut, release, releaseOutside) {
_root.upgrade = "";
_root.gunname = "";
this.range._visible = false;
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 80;
_parent.gotoAndStop(4);
}
}
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "range" in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
_root.build = false;
this._visible = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 307 MovieClip Frame 2
onClipEvent (load) {
_parent.attack = 400;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 307 MovieClip Frame 3
onClipEvent (load) {
_parent.attack = 700;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 307 MovieClip Frame 4
onClipEvent (load) {
_parent.attack = 1000;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 307 MovieClip Frame 5
onClipEvent (load) {
_parent._parent.attack = 2000;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 307 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.attack = 3000;
this._visible = false;
_root.build = false;
}
Symbol 309 Button
on (press) {
if ((_root.gold >= 30) and (_root.demolish == false)) {
_root.gold = _root.gold - 30;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(2);
gotoAndStop (2);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "30";
_root.gunname = "Cannon - level 1";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 5;
_parent.gotoAndStop(4);
}
}
Instance of Symbol 221 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4)) + 1;
}
Symbol 312 MovieClip Frame 2
_root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health = _root["enemy" + _parent._parent._parent._parent.checkenemy()].body.health - _parent._parent._parent.attack;
Symbol 312 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 313 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 325 Button
on (press) {
if ((_root.gold >= 50) and (_root.demolish == false)) {
_root.gold = _root.gold - 50;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(3);
gotoAndStop (3);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "50";
_root.gunname = "Cannon - level 2";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 8;
_parent.gotoAndStop(4);
}
}
Symbol 326 Button
on (press) {
if ((_root.gold >= 80) and (_root.demolish == false)) {
_root.gold = _root.gold - 80;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(4);
gotoAndStop (4);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "80";
_root.gunname = "Cannon - level 3";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 12;
_parent.gotoAndStop(4);
}
}
Symbol 327 Button
on (press) {
if ((_root.gold >= 120) and (_root.demolish == false)) {
_root.gold = _root.gold - 120;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(5);
gotoAndStop (5);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "120";
_root.gunname = "Cannon - level 4";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 20;
_parent.gotoAndStop(4);
}
}
Symbol 328 Button
on (press) {
if ((_root.gold >= 150) and (_root.demolish == false)) {
_root.gold = _root.gold - 150;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(6);
gotoAndStop (6);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "150";
_root.gunname = "Cannon - level 5";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 35;
_parent.gotoAndStop(4);
}
}
Symbol 329 Button
on (rollOver) {
_root.upgrade = "full upgrade";
_root.gunname = "Cannon - level 6";
this.range._visible = true;
}
on (rollOut, release, releaseOutside) {
_root.upgrade = "";
_root.gunname = "";
this.range._visible = false;
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 80;
_parent.gotoAndStop(4);
}
}
Symbol 330 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "range" in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 330 MovieClip Frame 2
onClipEvent (load) {
_parent.attack = 25;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 330 MovieClip Frame 3
onClipEvent (load) {
_parent.attack = 50;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 330 MovieClip Frame 4
onClipEvent (load) {
_parent.attack = 80;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 330 MovieClip Frame 5
onClipEvent (load) {
_parent._parent.attack = 100;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 330 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.attack = 200;
this._visible = false;
_root.build = false;
}
Symbol 331 Button
on (press) {
if ((_root.gold >= 40) and (_root.demolish == false)) {
_root.gold = _root.gold - 40;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(2);
gotoAndStop (2);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "40";
_root.gunname = "Artillery - level 1";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 5;
_parent.gotoAndStop(4);
}
}
Symbol 343 MovieClip Frame 1
stop();
Symbol 344 Button
on (press) {
if ((_root.gold >= 40) and (_root.demolish == false)) {
_root.gold = _root.gold - 40;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(3);
gotoAndStop (3);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "40";
_root.gunname = "Artillery - level 2";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 8;
_parent.gotoAndStop(4);
}
}
Symbol 345 Button
on (press) {
if ((_root.gold >= 75) and (_root.demolish == false)) {
_root.gold = _root.gold - 75;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(4);
gotoAndStop (4);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "75";
_root.gunname = "Artillery - level 3";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 12;
_parent.gotoAndStop(4);
}
}
Symbol 346 Button
on (press) {
if ((_root.gold >= 120) and (_root.demolish == false)) {
_root.gold = _root.gold - 150;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(5);
gotoAndStop (5);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "150";
_root.gunname = "Artillery - level 4";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 20;
_parent.gotoAndStop(4);
}
}
Symbol 347 Button
on (press) {
if ((_root.gold >= 250) and (_root.demolish == false)) {
_root.gold = _root.gold - 250;
this.smoke.gotoAndPlay(1);
this.gun.gotoAndStop(6);
gotoAndStop (6);
}
}
on (rollOver) {
this.range._visible = true;
_root.upgrade = "250";
_root.gunname = "Artillery - level 5";
}
on (rollOut, releaseOutside) {
this.range._visible = false;
_root.upgrade = "";
_root.gunname = "";
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 35;
_parent.gotoAndStop(4);
}
}
Symbol 348 Button
on (rollOver) {
_root.upgrade = "full upgrade";
_root.gunname = "Artillery - level 6";
this.range._visible = true;
}
on (rollOut, release, releaseOutside) {
_root.upgrade = "";
_root.gunname = "";
this.range._visible = false;
}
on (press) {
if (_root.demolish == true) {
_root.gold = _root.gold + 80;
_parent.gotoAndStop(4);
}
}
Symbol 349 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "range" in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 349 MovieClip Frame 2
onClipEvent (load) {
_parent.attack = 20;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 349 MovieClip Frame 3
onClipEvent (load) {
_parent.attack = 50;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 349 MovieClip Frame 4
onClipEvent (load) {
_parent.attack = 100;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 349 MovieClip Frame 5
onClipEvent (load) {
_parent.attack = 200;
this._visible = false;
_root.build = false;
}
Instance of Symbol 158 MovieClip "range" in Symbol 349 MovieClip Frame 6
onClipEvent (load) {
_parent.attack = 400;
this._visible = false;
_root.build = false;
}
Symbol 350 MovieClip [box] Frame 1
stop();
Instance of Symbol 211 MovieClip in Symbol 350 MovieClip [box] Frame 4
onClipEvent (load) {
_root.demolish = false;
}
Symbol 350 MovieClip [box] Frame 15
function checkenemy() {
var _local3 = 0;
while (_local3 < (_root.enemyno + 1)) {
if (this.gun.range.hitTest(_root["enemy" + _local3]) and (_root["enemy" + _local3]._currentframe == 1)) {
this.gun.gun.fire.gotoAndStop(2);
return(_local3);
}
_local3++;
}
}
stop();
Instance of Symbol 251 MovieClip "gun" in Symbol 350 MovieClip [box] Frame 15
onClipEvent (load) {
_root.gold = _root.gold - 15;
attack = 1.5;
}
onClipEvent (enterFrame) {
dy = (_root["enemy" + _parent.checkenemy()]._y - _parent._y) - _y;
dx = (_root["enemy" + _parent.checkenemy()]._x - _parent._x) - _x;
if (dx > 0) {
gun._rotation = (Math.atan(dy / dx) * 180) / Math.PI;
} else {
gun._rotation = 180 + ((Math.atan(dy / dx) * 180) / Math.PI);
}
updateAfterEvent();
}
Symbol 350 MovieClip [box] Frame 16
function checkenemyground() {
var _local3 = 0;
while (_local3 < (_root.enemyno + 1)) {
if ((this.gun.range.hitTest(_root["enemy" + _local3]) and (_root["enemy" + _local3]._currentframe == 1)) and (_root["enemy" + _local3].unittype == "ground")) {
this.gun.gun.fire.gotoAndStop(2);
return(_local3);
}
_local3++;
}
}
stop();
Instance of Symbol 285 MovieClip "gun" in Symbol 350 MovieClip [box] Frame 16
onClipEvent (load) {
_root.gold = _root.gold - 60;
attack = 60;
}
onClipEvent (enterFrame) {
if (gun.fire._currentframe == 1) {
dy = (_root["enemy" + _parent.checkenemyground()]._y - _parent._y) - _y;
dx = (_root["enemy" + _parent.checkenemyground()]._x - _parent._x) - _x;
if (dx > 0) {
gun._rotation = (Math.atan(dy / dx) * 180) / Math.PI;
} else {
gun._rotation = 180 + ((Math.atan(dy / dx) * 180) / Math.PI);
}
_root["enemy" + _parent.checkenemyground()].body.health = _root["enemy" + _parent.checkenemyground()].body.health - attack;
}
}
Symbol 350 MovieClip [box] Frame 17
function checkenemyair() {
var _local3 = 0;
while (_local3 < (_root.enemyno + 1)) {
if ((this.gun.range.hitTest(_root["enemy" + _local3]) and (_root["enemy" + _local3]._currentframe == 1)) and (_root["enemy" + _local3].unittype == "air")) {
if (this.gun.gun.fire._currentframe == 1) {
this.gun.gun.fire.gotoAndStop(2);
}
return(_local3);
}
_local3++;
}
}
stop();
Instance of Symbol 307 MovieClip "gun" in Symbol 350 MovieClip [box] Frame 17
onClipEvent (load) {
_root.gold = _root.gold - 25;
attack = 200;
}
onClipEvent (enterFrame) {
if (gun.fire._currentframe == 1) {
dy = (_root["enemy" + _parent.checkenemyair()]._y - _parent._y) - _y;
dx = (_root["enemy" + _parent.checkenemyair()]._x - _parent._x) - _x;
if (dx > 0) {
gun._rotation = (Math.atan(dy / dx) * 180) / Math.PI;
} else {
gun._rotation = 180 + ((Math.atan(dy / dx) * 180) / Math.PI);
}
_root["enemy" + _parent.checkenemyair()].body.health = _root["enemy" + _parent.checkenemyair()].body.health - attack;
updateAfterEvent();
}
}
Symbol 350 MovieClip [box] Frame 18
function checkenemy() {
var _local3 = 0;
while (_local3 < (_root.enemyno + 1)) {
if (this.gun.range.hitTest(_root["enemy" + _local3]) and (_root["enemy" + _local3]._currentframe == 1)) {
this.gun.gun.fire.gotoAndStop(2);
return(_local3);
}
_local3++;
}
}
stop();
Instance of Symbol 330 MovieClip "gun" in Symbol 350 MovieClip [box] Frame 18
onClipEvent (load) {
_root.gold = _root.gold - 30;
attack = 8;
}
onClipEvent (enterFrame) {
if (gun.fire._currentframe == 1) {
dy = (_root["enemy" + _parent.checkenemy()]._y - _parent._y) - _y;
dx = (_root["enemy" + _parent.checkenemy()]._x - _parent._x) - _x;
if (dx > 0) {
gun._rotation = (Math.atan(dy / dx) * 180) / Math.PI;
} else {
gun._rotation = 180 + ((Math.atan(dy / dx) * 180) / Math.PI);
}
updateAfterEvent();
}
}
Symbol 350 MovieClip [box] Frame 19
function checkenemy() {
var _local3 = 0;
while (_local3 < (_root.enemyno + 1)) {
if (this.gun.range.hitTest(_root["enemy" + _local3]) and (_root["enemy" + _local3]._currentframe == 1)) {
this.gun.gun.fire.gotoAndStop(2);
return(_local3);
}
_local3++;
}
}
stop();
Instance of Symbol 349 MovieClip "gun" in Symbol 350 MovieClip [box] Frame 19
onClipEvent (load) {
_root.gold = _root.gold - 50;
attack = 4;
}
onClipEvent (enterFrame) {
dy = (_root["enemy" + _parent.checkenemy()]._y - _parent._y) - _y;
dx = (_root["enemy" + _parent.checkenemy()]._x - _parent._x) - _x;
if (dx > 0) {
gun._rotation = (Math.atan(dy / dx) * 180) / Math.PI;
} else {
gun._rotation = 180 + ((Math.atan(dy / dx) * 180) / Math.PI);
}
updateAfterEvent();
}
Symbol 356 MovieClip Frame 1
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
};
Symbol 367 MovieClip Frame 1
stop();
Symbol 371 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
on (keyPress "i") {
gotoAndStop (2);
}
Symbol 372 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
on (keyPress "g") {
gotoAndStop (3);
}
Symbol 373 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
on (keyPress "n") {
gotoAndStop (4);
}
Symbol 374 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
on (keyPress "a") {
gotoAndStop (5);
}
Symbol 375 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
on (keyPress "t") {
gotoAndStop (6);
}
Symbol 378 MovieClip Frame 56
_parent.gotoAndStop(1);
Symbol 379 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 42
Symbol 399 MovieClip Frame 55
stop();
_parent.play();
Symbol 440 MovieClip Frame 1
stop();
l = 0;
Instance of Symbol 384 MovieClip "mcNotice" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 440 MovieClip Frame 28
l++;
if (l < 5) {
gotoAndPlay ("loop");
} else if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.music.gotoAndStop(12);
_root.play();
stop();
} else {
trace(_root.debug);
if (_root.debug) {
_root.okToPlay = true;
_root.music.gotoAndStop(12);
_root.play();
stop();
} else {
mcNotice._visible = true;
l = -99999;
gotoAndPlay ("loop");
}
}
Instance of Symbol 440 MovieClip "logo" in Symbol 441 MovieClip Frame 1
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 3
stopAllSounds();
gotoAndStop (2);
Symbol 448 MovieClip Frame 5
stopAllSounds();
gotoAndStop (4);
Symbol 448 MovieClip Frame 7
stopAllSounds();
gotoAndStop (6);
Symbol 448 MovieClip Frame 9
stopAllSounds();
gotoAndStop (8);
Symbol 448 MovieClip Frame 10
stopAllSounds();
stop();
Symbol 448 MovieClip Frame 12
stopAllSounds();
gotoAndStop (11);
Symbol 448 MovieClip Frame 13
stopAllSounds();
Symbol 495 Button
on (press) {
_root.gonextlvl.gotoAndPlay(2);
}
Symbol 498 Button
on (press) {
_root.gonextlvl1.gotoAndPlay(2);
}
Symbol 504 Button
on (press) {
_root.gonextlvl2.gotoAndPlay(2);
}
Symbol 507 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
Symbol 510 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?stalingrad", "_blank");
}
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 40
_root.gotoAndStop(5);
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 40
_root.gotoAndStop(14);
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 40
_root.gotoAndStop(13);
Symbol 514 MovieClip Frame 40
stop();
Symbol 516 MovieClip Frame 36
stop();
Symbol 522 Button
on (press) {
_root.gonextlvl1.gotoAndPlay(2);
}
Symbol 525 Button
on (press) {
_root.gonextlvl.gotoAndPlay(2);
}
Symbol 527 Button
on (release) {
if (_root.score <= 0) {
submit_but.enabled = false;
submit_but._alpha = 100;
} else {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.score2 = _root.earl223(String(_root.score));
myVar.gamer = 63;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
submit_but.enabled = false;
submit_but._alpha = 20;
}
}
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 40
_root.gotoAndStop(3);
Symbol 544 MovieClip Frame 1
stop();
Symbol 547 Button
on (press) {
_root.music.gotoAndStop(5);
_root.gotoAndStop(7);
}
on (rollOver) {
_root.levelshow("level2");
}
Symbol 548 MovieClip Frame 1
stop();
Symbol 551 Button
on (press) {
gotoAndStop (6);
_root.music.gotoAndStop(3);
}
Symbol 554 Button
on (press) {
_root.gamestart = 0;
_root.music.gotoAndStop(7);
_root.gotoAndStop(8);
}
on (rollOver) {
_root.levelshow("level3");
}
Symbol 555 MovieClip Frame 1
stop();
Symbol 558 Button
on (press) {
_root.music.gotoAndStop(9);
_root.gotoAndStop(9);
}
on (rollOver) {
_root.levelshow("level4");
}
Symbol 559 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 20
stop();
Symbol 623 Button
on (press) {
_root.menu2.menuT.gotoAndPlay(2);
}
Symbol 627 Button
on (press, keyPress "y") {
_root.music.gotoAndStop(12);
_root.win.gotoAndStop(1);
gotoAndStop (1);
_root.gotoAndStop("menu");
}
Symbol 628 Button
on (press, keyPress "n") {
gotoAndPlay (29);
}
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 28
stop();
Symbol 630 Button
on (press) {
_root.menu2.menuE.gotoAndPlay(2);
}
Symbol 633 Button
on (press) {
gotoAndPlay (13);
}
Symbol 634 Button
on (press) {
_quality = "HIGH";
}
Symbol 635 Button
on (press) {
_quality = "LOW";
}
Symbol 636 Button
on (press) {
_root.music.gotoAndStop(3);
}
Symbol 637 Button
on (press) {
_root.music.gotoAndStop(13);
}
Symbol 638 MovieClip Frame 1
stop();
Symbol 638 MovieClip Frame 12
stop();
Symbol 638 MovieClip Frame 25
stop();
Instance of Symbol 530 MovieClip in Symbol 639 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score < 10000) {
scr = "0" + _root.score;
}
if (_root.score < 1000) {
scr = "00" + _root.score;
}
if (_root.score < 100) {
scr = "000" + _root.score;
}
if (_root.score < 10) {
scr = "0000" + _root.score;
}
}
Instance of Symbol 621 MovieClip in Symbol 639 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.power);
}
onClipEvent (enterFrame) {
if (_root.power <= 0) {
removeMovieClip(_root.menu2);
i = 0;
while (i < (_root.enemytotal + 1)) {
removeMovieClip(_root["enemy" + i]);
i++;
}
var i = 0;
while (i < 21) {
var j = 0;
while (j < 12) {
removeMovieClip(_root[(("box" + i) + "_") + j]);
j++;
}
removeMovieClip(_root.menu1);
i++;
}
_root.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.power >= 20) {
_root.power = 20;
}
}
Symbol 651 Button
on (press, keyPress "1") {
if (_root.gold >= 15) {
_root.build = true;
_root.buildno = 1;
_root.rangevis = false;
_root.demolish = false;
}
}
on (rollOver) {
_root.gunname = "Turrent";
_root.upgrade = "15";
}
on (rollOut) {
_root.gunname = "";
_root.upgrade = "";
}
Symbol 655 Button
on (press, keyPress "2") {
if (_root.gold >= 60) {
_root.build = true;
_root.buildno = 2;
_root.rangevis = false;
_root.demolish = false;
}
}
on (rollOver) {
_root.gunname = "Bunker";
_root.upgrade = "60";
}
on (rollOut) {
_root.gunname = "";
_root.upgrade = "";
}
Symbol 659 Button
on (press, keyPress "3") {
if (_root.gold >= 25) {
_root.build = true;
_root.buildno = 3;
_root.rangevis = false;
_root.demolish = false;
}
}
on (rollOver) {
_root.gunname = "FlaK 30/38";
_root.upgrade = "25";
}
on (rollOut) {
_root.gunname = "";
_root.upgrade = "";
}
Symbol 663 Button
on (press, keyPress "4") {
if (_root.gold >= 30) {
_root.build = true;
_root.buildno = 4;
_root.rangevis = false;
_root.demolish = false;
}
}
on (rollOver) {
_root.gunname = "Cannon";
_root.upgrade = "30";
}
on (rollOut) {
_root.gunname = "";
_root.upgrade = "";
}
Symbol 667 Button
on (press, keyPress "5") {
if (_root.gold >= 50) {
_root.build = true;
_root.buildno = 5;
_root.rangevis = false;
_root.demolish = false;
}
}
on (rollOver) {
_root.gunname = "Artillery";
_root.upgrade = "50";
}
on (rollOut) {
_root.gunname = "";
_root.upgrade = "";
}
Symbol 671 Button
on (press, keyPress "6") {
_root.demolish = true;
_root.rangevis = false;
_root.build = false;
}
on (rollOver) {
_root.gunname = "Demolish";
_root.upgrade = "";
}
on (rollOut) {
_root.gunname = "";
_root.upgrade = "";
}
Symbol 672 Button
on (press) {
_root.gamelevel = 1;
_root.gamestart = 0;
this.gotoAndStop(22);
}
Symbol 676 MovieClip Frame 21
gotoAndPlay (1);
Symbol 676 MovieClip Frame 22
stop();
Symbol 677 MovieClip Frame 1
Symbol 680 MovieClip Frame 1
stop();
Symbol 684 Button
on (press, keyPress "<Space>") {
_root.gamelevel++;
_root.gamestart = 0;
gotoAndPlay (61);
}
Symbol 686 MovieClip Frame 1
stop();
Instance of Symbol 680 MovieClip in Symbol 686 MovieClip Frame 2
onClipEvent (load) {
if (_root.gamelevel == 1) {
this.gotoAndStop(1);
} else if (_root.gamelevel == 2) {
this.gotoAndStop(2);
} else if (_root.gamelevel == 3) {
this.gotoAndStop(3);
} else if (_root.gamelevel == 4) {
this.gotoAndStop(3);
} else if (_root.gamelevel == 5) {
this.gotoAndStop(10);
} else if (_root.gamelevel == 6) {
this.gotoAndStop(16);
} else if (_root.gamelevel == 7) {
this.gotoAndStop(4);
} else if (_root.gamelevel == 8) {
this.gotoAndStop(6);
} else if (_root.gamelevel == 9) {
this.gotoAndStop(6);
} else if (_root.gamelevel == 10) {
this.gotoAndStop(14);
} else if (_root.gamelevel == 11) {
this.gotoAndStop(15);
} else if (_root.gamelevel == 12) {
this.gotoAndStop(11);
} else if (_root.gamelevel == 13) {
this.gotoAndStop(5);
} else if (_root.gamelevel == 14) {
this.gotoAndStop(7);
} else if (_root.gamelevel == 15) {
this.gotoAndStop(7);
} else if (_root.gamelevel == 16) {
this.gotoAndStop(12);
} else if (_root.gamelevel == 17) {
this.gotoAndStop(16);
} else if (_root.gamelevel == 18) {
this.gotoAndStop(7);
} else if (_root.gamelevel == 19) {
this.gotoAndStop(8);
} else if (_root.gamelevel == 20) {
this.gotoAndStop(13);
} else if (_root.gamelevel == 21) {
this.gotoAndStop(8);
} else if (_root.gamelevel == 22) {
this.gotoAndStop(8);
} else if (_root.gamelevel == 23) {
this.gotoAndStop(9);
} else if (_root.gamelevel == 24) {
this.gotoAndStop(18);
} else if (_root.gamelevel == 25) {
this.gotoAndStop(18);
} else if (_root.gamelevel == 26) {
this.gotoAndStop(19);
} else if (_root.gamelevel == 27) {
this.gotoAndStop(12);
} else if (_root.gamelevel == 28) {
this.gotoAndStop(19);
} else if (_root.gamelevel == 29) {
this.gotoAndStop(20);
}
}
Symbol 686 MovieClip Frame 59
stop();
Symbol 686 MovieClip Frame 60
gotoAndStop (59);
Symbol 686 MovieClip Frame 80
gotoAndStop (1);
Symbol 689 MovieClip Frame 208
stop();
Symbol 695 Button
on (rollOver) {
_root.badigi.infos.gotoAndStop(2);
}
on (rollOut, release) {
_root.badigi.infos.gotoAndStop(1);
}
Symbol 702 MovieClip Frame 1
stop();
Symbol 703 Button
on (rollOver) {
_root.badigi.infos.gotoAndStop(3);
}
on (rollOut, release) {
_root.badigi.infos.gotoAndStop(1);
}
Symbol 704 Button
on (rollOver) {
_root.badigi.infos.gotoAndStop(4);
}
on (rollOut, release) {
_root.badigi.infos.gotoAndStop(1);
}
Symbol 705 Button
on (rollOver) {
_root.badigi.infos.gotoAndStop(5);
}
on (rollOut, release) {
_root.badigi.infos.gotoAndStop(1);
}
Symbol 706 Button
on (rollOver) {
_root.badigi.infos.gotoAndStop(6);
}
on (rollOut, release) {
_root.badigi.infos.gotoAndStop(1);
}
Symbol 707 Button
on (rollOver) {
_root.badigi.infos.gotoAndStop(7);
}
on (rollOut, release) {
_root.badigi.infos.gotoAndStop(1);
}
Symbol 718 Button
on (press) {
gotoAndStop (2);
}
Symbol 720 MovieClip Frame 30
stop();
_parent.removeMovieClip();
Symbol 721 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 59
stop();
Symbol 728 MovieClip Frame 121
stop();
Symbol 738 MovieClip Frame 122
stop();
Symbol 746 MovieClip Frame 121
stop();
Symbol 756 Button
on (press) {
removeMovieClip(_root.menu1);
removeMovieClip(_root.win);
gotoAndStop (5);
}
Symbol 769 Button
on (rollOver) {
_root.infos.gotoAndStop(2);
}
on (rollOut, release) {
_root.infos.gotoAndStop(1);
}
Symbol 770 Button
on (rollOver) {
_root.infos.gotoAndStop(3);
}
on (rollOut, release) {
_root.infos.gotoAndStop(1);
}
Symbol 771 Button
on (rollOver) {
_root.infos.gotoAndStop(4);
}
on (rollOut, release) {
_root.infos.gotoAndStop(1);
}
Symbol 772 Button
on (rollOver) {
_root.infos.gotoAndStop(5);
}
on (rollOut, release) {
_root.infos.gotoAndStop(1);
}
Symbol 773 Button
on (rollOver) {
_root.infos.gotoAndStop(6);
}
on (rollOut, release) {
_root.infos.gotoAndStop(1);
}
Symbol 774 Button
on (rollOver) {
_root.infos.gotoAndStop(7);
}
on (rollOut, release) {
_root.infos.gotoAndStop(1);
}
Symbol 779 Button
on (press) {
_quality = "LOW";
}
Symbol 782 Button
on (press) {
_quality = "HIGH";
}
Symbol 793 MovieClip Frame 1
stop();
Symbol 793 MovieClip Frame 2
stop();
Symbol 806 Button
on (press) {
sboard.dir = "ups";
}
on (release) {
sboard.dir = "stop";
}
Symbol 807 Button
on (press) {
sboard.dir = "downs";
}
on (release) {
sboard.dir = "stop";
}