Frame 1
function itemHandler1(obj, item) {
}
function itemHandler2(obj, item) {
getURL ("http://www.armorgames.com", _blank);
}
function itemHandler3(obj, item) {
}
function itemHandler4(obj, item) {
getURL ("http://www.mortargames.com", _blank);
}
function itemHandler5(obj, item) {
getURL ("http://www.axelhammarback.com", _blank);
}
function itemHandler6(obj, item) {
getURL ("http://www.galacticflashgames.com", _blank);
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Sponsored by:", itemHandler1));
myMenu.customItems.push(new ContextMenuItem("ArmorGames", itemHandler2));
myMenu.customItems.push(new ContextMenuItem("Developed by:", itemHandler3));
myMenu.customItems.push(new ContextMenuItem("Alexander Asvegren", itemHandler4));
myMenu.customItems.push(new ContextMenuItem("Axel Hammarback", itemHandler5));
myMenu.customItems.push(new ContextMenuItem("Bill Northcott", itemHandler6));
_root.menu = myMenu;
stop();
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (load) {
_root.tot = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
_root.lod = _root.getBytesLoaded();
_root.prc = Math.round((_root.lod / _root.tot) * 100);
_root.prcnt = _root.prc + "%";
_root.lod = Math.round((_root.lod / _root.tot) * 240);
_currentframe = _root.lod;
gotoAndStop(_root.lod);
if (_root.lod >= 240) {
_root.startbutton.gotoAndStop(2);
}
}
Frame 2
function newbattle(money, enemygold, numen, ally1, ally2, ally3, ally4, ally5, ally6, ally7, ally8, ally9, ally10, ally11) {
_root.enemygold = enemygold;
_root.numen = numen;
_root.alliesnum = 0;
_root.depthvar = 100;
_root.money = money;
_root.ally1 = ally1;
_root.ally2 = ally2;
_root.ally3 = ally3;
_root.ally4 = ally4;
_root.ally5 = ally5;
_root.ally6 = ally6;
_root.ally7 = ally7;
_root.ally8 = ally8;
_root.ally9 = ally9;
_root.ally10 = ally10;
_root.ally11 = ally11;
_root.currtroops = 0;
}
function lineinit() {
_root.cutscene.counter = 0;
_root.cutscene.i = 0;
_root.cutscene.changeover = true;
_root.cutscene.numframes = 0;
}
function lineplay() {
if (_root.cutscene.changeover) {
_root.cutscene.i++;
if (_root.cutscene.i > _root.cutscene.numlines) {
_root.cutscene.speech = "";
_root.cutscene.speaker = "";
_root.cutscene.headshot.gotoAndStop(1);
_root.cutscene.counter = 0;
_root.cutscene.changeover = false;
_root.cutscene.play();
} else {
_root.cutscene.numframes = _root.cutscene.lines[_root.cutscene.i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[_root.cutscene.i][2];
_root.cutscene.speaker = _root.cutscene.lines[_root.cutscene.i][1];
_currentframe = _root.cutscene.lines[_root.cutscene.i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[_root.cutscene.i][0]);
_root.cutscene.counter = 0;
_root.cutscene.changeover = false;
}
} else {
_root.cutscene.counter++;
if (_root.cutscene.counter > _root.cutscene.numframes) {
_root.cutscene.changeover = true;
}
}
}
stop();
_root.gubbeattack = 1;
_root.maxtroops = 10;
_root.currtroops = 0;
Frame 3
stop();
Instance of Symbol 180 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 4
stop();
Instance of Symbol 191 MovieClip "music" in Frame 4
onClipEvent (load) {
_root.musicplaying = true;
}
Frame 5
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 6
_root._quality = "MEDIUM";
stop();
_root.newbattle(50, 300, 7, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 431 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (260 + random(110));
death = false;
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 6
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 260) {
_y = 260;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 6
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Instance of Symbol 1127 MovieClip "quit" in Frame 6
onClipEvent (load) {
_visible = false;
}
Frame 7
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 8
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 800, 7, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 8
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 260) {
_y = 260;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (260 + random(110));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 8
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 9
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 10
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 500, 10, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 10
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 260) {
_y = 260;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (260 + random(110));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 10
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 11
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 12
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 500, 14, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 12
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 260) {
_y = 260;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (260 + random(110));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 12
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 13
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 14
_root._quality = "MEDIUM";
stop();
_root.newbattle(250, 1000, 16, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 14
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 260) {
_y = 260;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (260 + random(110));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (260 + random(110));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 14
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 15
stop();
Frame 16
stop();
_root.currlevel = _root._currentframe;
Frame 17
_root._quality = "HIGH";
stop();
Frame 18
_root._quality = "MEDIUM";
stop();
_root.newbattle(200, 1000, 15, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 18
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 18
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 19
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 20
_root._quality = "MEDIUM";
stop();
_root.newbattle(200, 1000, 17, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 20
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 20
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 21
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 22
_root._quality = "MEDIUM";
stop();
_root.newbattle(200, 2500, 18, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 22
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 22
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 23
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 24
_root._quality = "MEDIUM";
stop();
_root.newbattle(200, 2500, 21, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 24
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 24
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 25
_root._quality = "HIGH";
stop();
_root.currlevel = _root._currentframe;
Frame 26
_root._quality = "MEDIUM";
stop();
_root.newbattle(200, 2500, 12, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 26
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 26
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 27
_root._quality = "HIGH";
stop();
Frame 28
stop();
_root.currlevel = _root._currentframe;
Frame 29
stop();
Frame 30
_root._quality = "MEDIUM";
stop();
_root.newbattle(50, 1000, 9, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 30
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 30
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 31
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 32
_root.reinfcounter = 720;
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 2000, 13, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0);
Instance of Symbol 385 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 32
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
if (_root.reinfcounter > 0) {
_root.reinfcounter--;
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if ((_root.money >= 200) && (_root.reinfcounter == 0)) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if ((_root.money >= 60) && (_root.reinfcounter == 0)) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if ((_root.money >= 60) && (_root.reinfcounter == 0)) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if ((_root.money >= 100) && (_root.reinfcounter == 0)) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if ((_root.money >= 150) && (_root.reinfcounter == 0)) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if ((_root.money >= 60) && (_root.reinfcounter == 0)) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if ((_root.money >= 70) && (_root.reinfcounter == 0)) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 32
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 33
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 34
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 3000, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0);
Instance of Symbol 385 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 34
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 34
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 35
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 36
_root._quality = "MEDIUM";
stop();
_root.newbattle(200, 3000, 14, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0);
Instance of Symbol 385 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 36
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 36
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 37
stop();
_root._quality = "HIGH";
Frame 38
stop();
_root.currlevel = _root._currentframe;
Frame 39
stop();
Frame 40
_root._quality = "MEDIUM";
stop();
_root.newbattle(50, 2500, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1);
Instance of Symbol 385 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 40
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 40
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 41
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 42
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 3000, 11, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1);
Instance of Symbol 385 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 42
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 42
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 43
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 44
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 3000, 12, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1);
Instance of Symbol 385 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 44
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 44
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 45
stop();
_root._quality = "HIGH";
Frame 46
stop();
_root.currlevel = _root._currentframe;
Frame 47
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 4000, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
Instance of Symbol 385 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 47
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 47
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 48
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 49
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 4000, 18, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
Instance of Symbol 385 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 49
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 431 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (death == false) {
_x = (_x - 2);
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
death = true;
gotoAndStop (3);
}
if (this.die._currentframe == 44) {
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
_root.money = _root.money + 20;
}
if (this._x < -40) {
_root.money = Math.round(_root.money * 0.8);
_x = 900;
_y = (290 + random(80));
death = false;
gotoAndStop (1);
}
}
onClipEvent (load) {
_x = 1300;
_y = (290 + random(80));
death = false;
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 49
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 50
stop();
_root._quality = "HIGH";
_root.currlevel = _root._currentframe;
Frame 51
_root._quality = "MEDIUM";
stop();
_root.newbattle(100, 5000, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
Instance of Symbol 385 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.righttroops)) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 385 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.lefttroops)) {
_root.nextFrame();
}
}
Instance of Symbol 1000 MovieClip "gubbe" in Frame 51
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack) && (!death)) {
_root.gubbehealth = _root.gubbehealth - _root.righttroops["enemy" + i].attackpoints;
}
i++;
}
if (_y < 290) {
_y = 290;
} else if (_y > 380) {
_y = 380;
}
if (!death) {
if ((Key.isDown(38) & (attack == false)) | ((Key.isDown(87) & (attack == false)) & (death == false))) {
_y = (_y - 3);
gotoAndStop (2);
} else if ((Key.isDown(40) & (attack == false)) | ((Key.isDown(83) & (attack == false)) & (death == false))) {
_y = (_y + 3);
gotoAndStop (2);
}
}
if (!death) {
if ((Key.isDown(39) & (!attack)) | ((Key.isDown(68) & (!attack)) & (!death))) {
_x = (_x + 3);
gotoAndStop (2);
_xscale = 100;
} else if ((Key.isDown(37) & (!attack)) | ((Key.isDown(65) & (!attack)) & (!death))) {
_x = (_x - 3);
_xscale = -100;
gotoAndStop (2);
}
}
if (_x > 800) {
_x = 800;
} else if (_x < 0) {
_x = 0;
}
if (Key.isDown(32) | (Key.isDown(96) & (!death))) {
if (!death) {
gotoAndStop (3);
attack = true;
}
}
if ((((((((((!Key.isDown(39)) & (!Key.isDown(37))) & (!Key.isDown(38))) & (!Key.isDown(40))) & (!Key.isDown(65))) & (!Key.isDown(68))) & (!Key.isDown(87))) & (!Key.isDown(83))) & (!attack)) & (!death)) {
gotoAndStop (1);
attack = false;
}
if (!death) {
_root.gubbehealth = _root.gubbehealth + 0.01;
}
if (((_root.money > 0) & (_root.gubbehealth < 100)) & Key.isDown(16)) {
_root.gubbehealth = _root.gubbehealth + 0.5;
_root.money--;
}
if (death) {
_root.gubbehealth = _root.gubbehealth + 0.1;
gotoAndStop (4);
if (_root.gubbehealth >= 50) {
death = false;
}
}
if (_root.gubbehealth <= 0) {
death = true;
} else if (_root.gubbehealth >= 100) {
_root.gubbehealth = 100;
}
}
onClipEvent (load) {
attack = false;
death = false;
_root.gubbehealth = 100;
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally1 == 1) {
if (_root.money >= 20) {
gotoAndStop (2);
} else {
gotoAndStop (13);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally11 == 1) {
if (_root.money >= 200) {
gotoAndStop (12);
} else {
gotoAndStop (23);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally10 == 1) {
if (_root.money >= 60) {
gotoAndStop (11);
} else {
gotoAndStop (22);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally3 == 1) {
if (_root.money >= 60) {
gotoAndStop (4);
} else {
gotoAndStop (15);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally4 == 1) {
if (_root.money >= 100) {
gotoAndStop (5);
} else {
gotoAndStop (16);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally5 == 1) {
if (_root.money >= 150) {
gotoAndStop (6);
} else {
gotoAndStop (17);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally6 == 1) {
if (_root.money >= 60) {
gotoAndStop (7);
} else {
gotoAndStop (18);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally7 == 1) {
if (_root.money >= 50) {
gotoAndStop (8);
} else {
gotoAndStop (19);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally8 == 1) {
if (_root.money >= 200) {
gotoAndStop (9);
} else {
gotoAndStop (20);
}
}
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally9 == 1) {
if (_root.money >= 70) {
gotoAndStop (10);
} else {
gotoAndStop (21);
}
}
}
Instance of Symbol 1103 MovieClip in Frame 51
onClipEvent (enterFrame) {
_currentframe = (101 - Math.round(_root.gubbehealth));
gotoAndStop(101 - Math.round(_root.gubbehealth));
gubbehealth = Math.round(_root.gubbehealth) + "%";
}
Instance of Symbol 1090 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.ally2 == 1) {
if (_root.money >= 50) {
gotoAndStop (3);
} else {
gotoAndStop (14);
}
}
}
Frame 52
stop();
_root._quality = "HIGH";
Frame 53
stop();
_root._quality = "HIGH";
Frame 54
stop();
Frame 55
stop();
Symbol 14 MovieClip Frame 5
gotoAndPlay (1);
Symbol 24 MovieClip Frame 1
var CPMStarPoolID = 1052;
var CPMStarSubPoolID = 10;
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
Symbol 38 MovieClip Frame 26
gotoAndPlay (1);
Symbol 41 MovieClip Frame 21
gotoAndPlay (1);
Symbol 48 Button
on (release) {
_root.adclip.adBox.removeMovieClip();
_root.nextFrame();
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 69
gotoAndPlay (1);
Symbol 87 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 87 MovieClip Frame 2
gotoAndPlay (1);
Symbol 87 MovieClip Frame 3
_parent.gotoAndStop(2);
Symbol 90 Button
on (release) {
_root.play();
}
Symbol 93 Button
on (release) {
getURL ("http://armorgames.com/category/strategy", _blank);
}
Symbol 96 Button
on (release) {
getURL ("http://armorgames.com/play/328/prince-of-war", _blank);
}
Symbol 99 Button
on (release) {
nextFrame();
}
Symbol 102 Button
on (release) {
gotoAndStop (8);
}
Symbol 105 Button
on (release) {
getURL ("http://www.armorblog.com", _blank);
}
Symbol 107 Button
on (release) {
nextFrame();
}
Symbol 109 Button
on (release) {
gotoAndStop (2);
}
Symbol 121 Button
on (release) {
_root.gotoAndStop("level1");
}
Symbol 122 Button
on (release) {
_root.gotoAndStop("level2");
}
Symbol 123 Button
on (release) {
_root.gotoAndStop("level3");
}
Symbol 124 Button
on (release) {
_root.gotoAndStop("level4");
}
Symbol 125 Button
on (release) {
_root.gotoAndStop("level5");
}
Symbol 133 Button
on (release) {
_root.gotoAndStop("level6");
}
Symbol 134 Button
on (release) {
_root.gotoAndStop("level7");
}
Symbol 135 Button
on (release) {
_root.gotoAndStop("level8");
}
Symbol 136 Button
on (release) {
_root.gotoAndStop("level9");
}
Symbol 137 Button
on (release) {
_root.gotoAndStop("level10");
}
Symbol 144 Button
on (release) {
_root.gotoAndStop("level11");
}
Symbol 145 Button
on (release) {
_root.gotoAndStop("level12");
}
Symbol 146 Button
on (release) {
_root.gotoAndStop("level13");
}
Symbol 147 Button
on (release) {
_root.gotoAndStop("level14");
}
Symbol 153 Button
on (release) {
_root.gotoAndStop("level15");
}
Symbol 154 Button
on (release) {
_root.gotoAndStop("level16");
}
Symbol 155 Button
on (release) {
_root.gotoAndStop("level17");
}
Symbol 156 Button
on (release) {
nextFrame();
}
Symbol 162 Button
on (release) {
_root.gotoAndStop("level18");
}
Symbol 163 Button
on (release) {
_root.gotoAndStop("level19");
}
Symbol 164 Button
on (release) {
_root.gotoAndStop("level20");
}
Symbol 167 Button
on (release) {
getURL ("http://www.mortargames.com", _blank);
}
Symbol 168 Button
on (release) {
getURL ("http://www.galacticflashgames.com", _blank);
}
Symbol 169 Button
on (release) {
getURL ("http://www.axelhammarback.com", _blank);
}
Symbol 170 MovieClip Frame 960
stop();
_root.loadmenu.gotoAndStop(2);
Symbol 172 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 126
_root.play();
Symbol 182 MovieClip Frame 960
stop();
_root.play();
Symbol 186 Button
on (release) {
_root.play();
}
Symbol 191 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 205 Button
on (release) {
_root.nextFrame();
}
Symbol 210 Button
on (keyPress "<Space>") {
play();
}
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 3
stop();
Symbol 226 MovieClip Frame 4
stop();
Symbol 226 MovieClip Frame 5
stop();
Symbol 226 MovieClip Frame 6
stop();
Symbol 226 MovieClip Frame 7
stop();
Symbol 226 MovieClip Frame 8
stop();
Symbol 226 MovieClip Frame 9
stop();
Symbol 226 MovieClip Frame 10
stop();
Symbol 226 MovieClip Frame 11
stop();
Symbol 226 MovieClip Frame 12
stop();
Symbol 248 MovieClip Frame 21
gotoAndPlay (1);
Symbol 267 MovieClip Frame 21
gotoAndPlay (1);
Symbol 270 MovieClip Frame 23
gotoAndPlay (1);
Symbol 271 MovieClip Frame 19
gotoAndPlay (1);
Symbol 281 MovieClip Frame 1
_root.jeradx = 250;
_root.malcomx = 200;
stagename = "Stage 1 \u2013 Loosening up";
stageintro = "Under the orders of their father, Jerad and Malcom march toward the Camis Mountain pass. This passage through the mountains was the shortest route to the city of Valis and the headquarters of the rebel army, but it was certain to be well defended. Undeterred, the two Princes and their soldiers quickly arrived at their destination\u2026";
briefing = "Marching through the pass, we encounter a small vanguard of enemy troops ahead of the main force. They seem to be few in number and lightly armed. This appears to be a perfect opportunity to gauge both our strength and that of the enemy. Destroy the rebels!";
line1 = new Array(2, "Jerad", "So this is it then? The Camis pass? It doesn\u2019t look very exciting.");
line2 = new Array(3, "Malcom", "Hmm. Relatively enclosed\u2026 plenty of high cliffs\u2026 innumerable places to set an ambush\u2026 Father must be trying to get us killed!");
line3 = new Array(2, "Jerad", "Aww, stop being such a pessimist Malcom. He\u2019s just showing faith in us. \u2018Sides, the rebels will be too busy dealing with the Dwarves to put up much resistance against us, I guarantee it.");
line4 = new Array(3, "Malcom", "Oh, you remember the Dwarves then? I\u2019d figured you were so deep in your cups last night that you\u2019d forgotten the entire plan.");
line5 = new Array(2, "Jerad", "It was only one pitcher of wine!");
line6 = new Array(3, "Malcom", "(sigh\u2026)");
line7 = new Array(2, "Jerad", "Bah, alright then. We march through the Camis pass, meet up with the dwarves and destroy any enemy forces together. Then we head through the western farmlands and strike the city of Valis, join up with father and Duke Schultz, and crush Dunkeld between us and the Main Dwarven army in the north. Happy?");
line8 = new Array(3, "Malcom", "I just wanted to be sure that you had everything memorized.");
line9 = new Array(2, "Jerad", "Ah, what\u2019s there to remember? Make the other guy dead before he makes you dead. Simple, yeah? Let\u2019s move out.");
line10 = new Array(3, "Malcom", "\u2026This is going to be a long campaign. Sigh.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Symbol 281 MovieClip Frame 20
stop();
Instance of Symbol 248 MovieClip "jerad" in Symbol 281 MovieClip Frame 40
onClipEvent (load) {
diff = _root.jeradx - _x;
speed = diff / 60;
}
onClipEvent (enterFrame) {
if (_x < _root.jeradx) {
_x = (_x + speed);
}
}
Instance of Symbol 267 MovieClip "malcom" in Symbol 281 MovieClip Frame 40
onClipEvent (load) {
diff = _root.malcomx - _x;
speed = diff / 60;
}
onClipEvent (enterFrame) {
if (_x < _root.malcomx) {
_x = (_x + speed);
}
}
Symbol 281 MovieClip Frame 100
stop();
Instance of Symbol 270 MovieClip in Symbol 281 MovieClip Frame 100
onClipEvent (load) {
_x = _root.jeradx;
}
Instance of Symbol 271 MovieClip in Symbol 281 MovieClip Frame 100
onClipEvent (load) {
_x = _root.malcomx;
}
Instance of Symbol 174 MovieClip in Symbol 281 MovieClip Frame 100
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 281 MovieClip Frame 101
headshots.gotoAndStop(1);
Symbol 281 MovieClip Frame 140
stop();
Symbol 281 MovieClip Frame 160
_root.nextFrame();
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 21
gotoAndPlay (1);
Symbol 323 MovieClip Frame 46
_root.sarrow.play();
Instance of Symbol 284 MovieClip "attack" in Symbol 323 MovieClip Frame 48
onClipEvent (load) {
_visible = false;
}
Symbol 331 MovieClip Frame 43
stop();
Symbol 332 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 332 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 349 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 21
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 361 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 363 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 373 MovieClip Frame 16
onClipEvent (load) {
_visible = false;
}
Symbol 381 MovieClip Frame 57
stop();
Symbol 382 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 374 MovieClip "attackhold" in Symbol 382 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 332 MovieClip "enemy3" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy4" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy6" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy7" in Symbol 383 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Symbol 401 MovieClip Frame 23
gotoAndPlay (1);
Symbol 430 MovieClip Frame 44
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
gotoAndStop(_parent._parent.hairstyle);
Symbol 456 MovieClip Frame 8
stop();
Symbol 459 MovieClip Frame 29
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 465 MovieClip Frame 18
onClipEvent (load) {
_visible = false;
}
Symbol 471 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 17
_root.lefttroops.attack1.gotoAndPlay(7);
Instance of Symbol 284 MovieClip "attack" in Symbol 480 MovieClip Frame 17
onClipEvent (load) {
_visible = false;
}
Symbol 487 MovieClip Frame 75
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 488 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 488 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 481 MovieClip "attackhold" in Symbol 488 MovieClip Frame 2
onClipEvent (load) {
hairstyle = _parent.hairstyle;
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 21
gotoAndPlay (1);
Symbol 508 MovieClip Frame 13
_root.ssword.play();
Instance of Symbol 284 MovieClip "attack" in Symbol 508 MovieClip Frame 13
onClipEvent (load) {
_visible = false;
}
Symbol 512 MovieClip Frame 15
_root.ssword.play();
_root.lefttroops.attack1.gotoAndPlay(7);
Instance of Symbol 284 MovieClip "attack" in Symbol 512 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 520 MovieClip Frame 12
onClipEvent (load) {
_visible = false;
}
Symbol 526 MovieClip Frame 45
stop();
_root.currtroops--;
_parent._parent.removeMovieClip();
Symbol 532 MovieClip Frame 58
stop();
_root.currtroops--;
_parent._parent.removeMovieClip();
Symbol 534 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 534 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 521 MovieClip "attackhold" in Symbol 534 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 533 MovieClip in Symbol 534 MovieClip Frame 3
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 551 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 21
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 553 MovieClip Frame 50
onClipEvent (load) {
_visible = false;
}
Symbol 559 MovieClip Frame 43
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 560 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 573 MovieClip Frame 1
stop();
Symbol 576 MovieClip Frame 21
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 578 MovieClip Frame 14
onClipEvent (load) {
_visible = false;
}
Symbol 585 MovieClip Frame 59
_root.currtroops--;
stop();
_parent._parent.removeMovieClip();
Symbol 591 MovieClip Frame 59
_root.currtroops--;
stop();
_parent._parent.removeMovieClip();
Symbol 593 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 593 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 592 MovieClip in Symbol 593 MovieClip Frame 3
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 615 MovieClip Frame 3
stop();
Symbol 619 MovieClip Frame 17
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 622 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Symbol 630 MovieClip Frame 43
_root.currtroops--;
stop();
_parent.removeMovieClip();
Symbol 631 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 648 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 652 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 653 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Symbol 660 MovieClip Frame 48
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 661 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 661 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 654 MovieClip "attackhold" in Symbol 661 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 677 MovieClip Frame 21
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 681 MovieClip Frame 14
onClipEvent (load) {
_visible = false;
}
Symbol 681 MovieClip Frame 45
gotoAndPlay (8);
Symbol 688 MovieClip Frame 48
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 689 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 710 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 37
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 775 MovieClip Frame 24
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 808 MovieClip Frame 21
onClipEvent (load) {
_visible = false;
}
Symbol 826 MovieClip Frame 1
head.gotoAndStop(2);
Symbol 826 MovieClip Frame 60
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 827 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 827 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 809 MovieClip "attackhold" in Symbol 827 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 851 MovieClip Frame 35
gotoAndPlay (1);
Symbol 859 MovieClip Frame 5
gotoAndPlay (1);
Symbol 862 MovieClip Frame 1
_root.sspell.play();
Instance of Symbol 284 MovieClip "attack" in Symbol 862 MovieClip Frame 45
onClipEvent (load) {
_visible = false;
}
Symbol 862 MovieClip Frame 98
gotoAndPlay (10);
Symbol 869 MovieClip Frame 42
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 870 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 870 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 886 MovieClip Frame 1
gotoAndStop(_parent._parent.hairstyle);
Symbol 886 MovieClip Frame 11
stop();
Symbol 887 MovieClip Frame 25
gotoAndPlay (1);
Symbol 897 MovieClip Frame 1
_root.sspell.play();
Instance of Symbol 284 MovieClip "attack" in Symbol 897 MovieClip Frame 35
onClipEvent (load) {
_visible = false;
}
Symbol 904 MovieClip Frame 48
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 905 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 905 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 898 MovieClip "attackhold" in Symbol 905 MovieClip Frame 2
onClipEvent (load) {
hairstyle = _parent.hairstyle;
}
Symbol 916 MovieClip Frame 1
stop();
Symbol 945 MovieClip Frame 28
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 955 MovieClip Frame 18
onClipEvent (load) {
_visible = false;
}
Symbol 955 MovieClip Frame 81
gotoAndPlay (1);
Symbol 974 MovieClip Frame 63
_root.currtroops--;
_parent.removeMovieClip();
stop();
Symbol 975 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 488 MovieClip "castleguard" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "castleguard") {
inactive = true;
}
hairstyle = random(11) + 1;
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 534 MovieClip "lightinfantry" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "lightinfantry") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving & (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack & (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
}
Instance of Symbol 560 MovieClip "archer" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "archer") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if ((_x > (_root.righttroops["enemy" + i]._x - 250)) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving & (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack & (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
}
Instance of Symbol 593 MovieClip "pikeman" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "pikeman") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving & (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack & (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
}
Instance of Symbol 631 MovieClip "dwarf" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "dwarf") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 661 MovieClip "orc" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "orc") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 689 MovieClip "lightcav" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "lightcav") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 827 MovieClip "gryphon" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "gryphon") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 870 MovieClip "wizard" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "wizard") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 905 MovieClip "priest" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "priest") {
inactive = true;
}
hairstyle = random(11) + 1;
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 975 MovieClip "royalcav" in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
if (_name == "royalcav") {
inactive = true;
}
}
onClipEvent (enterFrame) {
if (!inactive) {
i = 1;
while (i < (_root.numen + 1)) {
if (this.hitter.hitTest(_root.righttroops["enemy" + i].hitter) && (_root.righttroops["enemy" + i].death == false)) {
troophit = true;
if (this.hitTest(_root.righttroops["enemy" + i].attackhold.attacker.attack)) {
life = life - _root.righttroops["enemy" + i].attackpoints;
}
}
i++;
}
if (troophit) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x + speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if (!death) {
move = true;
attack = false;
}
troophit = false;
}
}
Instance of Symbol 284 MovieClip "attack" in Symbol 984 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Symbol 984 MovieClip Frame 17
_root.gubbe.gotoAndStop(1);
_root.gubbe.attack = false;
Instance of Symbol 284 MovieClip "attack" in Symbol 988 MovieClip Frame 9
onClipEvent (load) {
_visible = false;
}
Symbol 988 MovieClip Frame 15
_root.gubbe.gotoAndStop(1);
_root.gubbe.attack = false;
Symbol 993 MovieClip Frame 19
stop();
Symbol 998 MovieClip Frame 50
stop();
Symbol 1000 MovieClip Frame 1
stop();
_root.gubbe.attack = false;
Instance of Symbol 284 MovieClip "moving" in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
stop();
_visible = false;
}
Symbol 1000 MovieClip Frame 2
attack = false;
Symbol 1000 MovieClip Frame 3
_root.gubbe.attack = true;
Instance of Symbol 989 MovieClip "attackhold" in Symbol 1000 MovieClip Frame 3
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 1000 MovieClip Frame 4
Instance of Symbol 999 MovieClip in Symbol 1000 MovieClip Frame 4
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 1009 Button
on (release) {
_root.quit._visible = true;
}
Symbol 1039 MovieClip Frame 1
stop();
Symbol 1046 Button
on (rollOver) {
_parent.tt.gotoAndStop(2);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "1") {
if ((_root.money >= 20) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.lightinfantry.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(20) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 4;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 1;
_root.money = _root.money - 20;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1049 Button
on (rollOver) {
_parent.tt.gotoAndStop(3);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "2") {
if ((_root.money >= 50) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.archer.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 4;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 1;
_root.money = _root.money - 50;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1052 Button
on (rollOver) {
_parent.tt.gotoAndStop(4);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "3") {
if ((_root.money >= 60) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.castleguard.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 1 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 9;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 3;
_root.money = _root.money - 60;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1055 Button
on (rollOver) {
_parent.tt.gotoAndStop(5);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "4") {
if ((_root.money >= 100) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.pikeman.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 7;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 3;
_root.money = _root.money - 100;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1058 Button
on (rollOver) {
_parent.tt.gotoAndStop(6);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "5") {
if ((_root.money >= 150) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.dwarf.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 9;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 4;
_root.money = _root.money - 150;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1061 Button
on (rollOver) {
_parent.tt.gotoAndStop(7);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "6") {
if ((_root.money >= 60) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.orc.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 7;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 2;
_root.money = _root.money - 60;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1064 Button
on (rollOver) {
_parent.tt.gotoAndStop(8);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "7") {
if ((_root.money >= 50) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.lightcav.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(20) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 6;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 2;
_root.money = _root.money - 50;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1067 Button
on (rollOver) {
_parent.tt.gotoAndStop(9);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "8") {
if ((_root.money >= 200) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.gryphon.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 18;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 6;
_root.money = _root.money - 200;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1070 Button
on (rollOver) {
_parent.tt.gotoAndStop(10);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "9") {
if ((_root.money >= 75) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.wizard.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 1 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 5;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 7;
_root.money = _root.money - 75;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1073 Button
on (rollOver) {
_parent.tt.gotoAndStop(11);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release, keyPress "0") {
if ((_root.money >= 60) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.priest.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 1 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 5;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 6;
_root.money = _root.money - 60;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1076 Button
on (rollOver) {
_parent.tt.gotoAndStop(12);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
on (release) {
if ((_root.money >= 200) && (_root.currtroops < _root.maxtroops)) {
_root.alliesnum++;
i = _root.alliesnum;
_root.lefttroops.royalcav.duplicateMovieClip("ally" + i, _root.depthvar);
_root.depthvar++;
_root.lefttroops["ally" + i].speed = 2 + (random(10) / 10);
_root.lefttroops["ally" + i].death = false;
_root.lefttroops["ally" + i].life = 15;
_root.lefttroops["ally" + i]._x = -50 - random(100);
_root.lefttroops["ally" + i].id = i;
_root.lefttroops["ally" + i].inactive = false;
_root.lefttroops["ally" + i].attackpoints = 8;
_root.money = _root.money - 200;
_root.currtroops++;
} else {
_root.nomoney.play();
}
}
Symbol 1078 Button
on (rollOver) {
_parent.tt.gotoAndStop(2);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1080 Button
on (rollOver) {
_parent.tt.gotoAndStop(3);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1081 Button
on (rollOver) {
_parent.tt.gotoAndStop(4);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1082 Button
on (rollOver) {
_parent.tt.gotoAndStop(5);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1083 Button
on (rollOver) {
_parent.tt.gotoAndStop(7);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1084 Button
on (rollOver) {
_parent.tt.gotoAndStop(6);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1085 Button
on (rollOver) {
_parent.tt.gotoAndStop(8);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1086 Button
on (rollOver) {
_parent.tt.gotoAndStop(9);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1087 Button
on (rollOver) {
_parent.tt.gotoAndStop(10);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1088 Button
on (rollOver) {
_parent.tt.gotoAndStop(11);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1089 Button
on (rollOver) {
_parent.tt.gotoAndStop(12);
}
on (rollOut) {
_parent.tt.gotoAndStop(1);
}
Symbol 1090 MovieClip Frame 1
stop();
Symbol 1110 Button
on (release) {
qual.nextFrame();
}
Symbol 1118 MovieClip Frame 1
_root._quality = "HIGH";
Symbol 1118 MovieClip Frame 2
_root._quality = "MEDIUM";
Symbol 1118 MovieClip Frame 3
_root._quality = "LOW";
Symbol 1118 MovieClip Frame 4
gotoAndStop (1);
Symbol 1120 Button
on (release) {
_root.prevFrame();
}
Symbol 1121 Button
on (release) {
getURL ("http://armorgames.com", _blank);
}
Symbol 1124 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 1126 Button
on (release) {
_root.quit._visible = false;
}
Symbol 1155 MovieClip Frame 21
gotoAndPlay (1);
Symbol 1159 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1167 MovieClip Frame 1
_root.jeradx = 250;
_root.malcomx = 200;
_root.richardx = 505;
stagename = "Stage 2 \u2013 Facing a Friend";
stageintro = "Victorious in their first battle, Jerad and Malcom pursue the fleeing remnants of the enemy\u2019s vanguard. Eventually, the mountain path widens significantly and the two Princes encounter the rest of the Camis pass defense force. Consisting of mostly light infantry and specially trained light mountain cavalry, and commanded by Duncan Dunkeld\u2019s son Richard, Jerad and Malcom face their first true test\u2026";
briefing = "It appears that Richard has split his forces, leaving half his men here to face us while he takes the rest deeper into the mountains. This is a puzzling move, but whatever it is he is planning can wait until we defeat his holding force. Hopefully, our Pikemen will give us an advantage over the enemy\u2019s cavalry and grant us victory. To battle!";
line1 = new Array(4, "Richard", "Jerad. Malcom. My friends. I wish we could have met under more affable circumstances.");
line2 = new Array(2, "Jerad", "Richard! They told me you\u2019d taken part in the rebellion, but I had difficulty believing it.");
line3 = new Array(3, "Malcom", "What is so difficult to believe? He is simply following his father.");
line4 = new Array(2, "Jerad", "But why? You couldn\u2019t possibly believe in what he\u2019s doing, could you? This whole rebellion is ludicrous! What does he even want?");
line5 = new Array(4, "Richard", "\u2026 My Father\u2019s motives remain his own; I know nothing of his plans\u2026 But\u2026 I cannot abandon him, just as you would not be able to abandon the king.");
line6 = new Array(2, "Jerad", "\u2026Then we must fight? So be it!");
line7 = new Array(4, "Richard", "So be it.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
numlines = 7;
Symbol 1167 MovieClip Frame 20
stop();
Instance of Symbol 1155 MovieClip in Symbol 1167 MovieClip Frame 40
onClipEvent (load) {
diff = _x - _root.richardx;
speed = diff / 60;
}
onClipEvent (enterFrame) {
if (_x > _root.richardx) {
_x = (_x - speed);
}
}
Symbol 1167 MovieClip Frame 100
stop();
Instance of Symbol 174 MovieClip in Symbol 1167 MovieClip Frame 100
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1167 MovieClip Frame 102
stop();
line1 = new Array(3, "Malcom", "\u2026 When did Richard become such a prat?");
line2 = new Array(2, "Jerad", "I hope he regains his senses soon, and surrenders. He has to see this entire rebellion is pointless and unnecessary. Hell, we don\u2019t even know what it\u2019s about!");
line3 = new Array(3, "Malcom", "I\u2019d like to say it\u2019s simply a power grab on Duke Dunkeld\u2019s part\u2026 but it\u2019s too sloppy for him. Dunkeld has one of the finest minds in the Kingdom; he wouldn\u2019t suddenly start a rebellion with no support from the other nobles or the common people.");
line4 = new Array(2, "Jerad", "Then what is it, then?");
line5 = new Array(3, "Malcom", "How should I know? Let\u2019s just focus on the battle for now. Richard always uses his cavalry to excess, so we should counter with our Pikemen.");
line6 = new Array(2, "Jerad", "Sounds like a plan. Pikemen to the front! Everyone prepare for battle!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
numlines = 6;
Instance of Symbol 1155 MovieClip in Symbol 1167 MovieClip Frame 102
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Instance of Symbol 174 MovieClip in Symbol 1167 MovieClip Frame 102
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1167 MovieClip Frame 103
headshots.gotoAndStop(1);
Symbol 1167 MovieClip Frame 142
stop();
Symbol 1167 MovieClip Frame 162
_root.nextFrame();
stop();
Symbol 1178 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 28
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 1220 MovieClip Frame 18
onClipEvent (load) {
_visible = false;
}
Symbol 1220 MovieClip Frame 81
gotoAndPlay (1);
Symbol 1237 MovieClip Frame 63
stop();
Symbol 1238 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1238 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 332 MovieClip "enemy3" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy4" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy6" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1238 MovieClip "enemy7" in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Symbol 1254 MovieClip Frame 19
gotoAndPlay (1);
Symbol 1265 MovieClip Frame 1
_root.jeradx = 250;
_root.malcomx = 200;
_root.richardx = 505;
stagename = "Stage 3 \u2013 Old Faces";
stageintro = "Prince Jerad\u2019s victorious army continues their march through the mountains, passing by many dead rebel soldiers on the way. The origin of these bodies became clear as Jerad\u2019s army rounds a bend in the road and find themselves right in the middle of a skirmish between rebel forces and a unit of ferocious Dwarven Berserkers\u2026";
briefing = "The presence of Orcish Mercenaries in the enemy\u2019s ranks is worrying, but with the help of the Dwarven Berserkers we should have no problem pushing the enemy back. The berserkers are the most ferocious troops the Dwarves can field, driven by bloodlust and the love of battle. It is not hard to feel sorry for the poor soldier who must face their wrath.";
line1 = new Array(3, "Malcom", "Well, It seems we\u2019ve found the Dwarves, anyway.");
line2 = new Array(2, "Jerad", "Yeah, so let- wait a second, are those ORCS in the enemy ranks?");
line3 = new Array(3, "Malcom", "Orcs? What in the hell are you talk- Gods, those ARE Orcs.");
line4 = new Array(2, "Jerad", "What are Orcs doing all the way out here?");
line5 = new Array(3, "Malcom", "Hmm. They must be mercenaries. Dunkeld must be desperate for troops if he\u2019s hiring Orcish mercenaries. He hates the Orcs\u2026. We must be cautious here, brother.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
numlines = 5;
Symbol 1265 MovieClip Frame 20
stop();
Symbol 1265 MovieClip Frame 100
stop();
Instance of Symbol 174 MovieClip in Symbol 1265 MovieClip Frame 100
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Instance of Symbol 174 MovieClip in Symbol 1265 MovieClip Frame 101
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1265 MovieClip Frame 102
stop();
line1 = new Array(2, "Jerad", "Bah, I\u2019ll not hear it. The Dwarves need our help! Charge!");
line2 = new Array(3, "Malcom", "No! We can\u2019t just rush in! Damn it!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
numlines = 2;
Instance of Symbol 267 MovieClip in Symbol 1265 MovieClip Frame 102
onClipEvent (enterFrame) {
_x = (_x + 4);
}
Instance of Symbol 248 MovieClip in Symbol 1265 MovieClip Frame 102
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Instance of Symbol 174 MovieClip in Symbol 1265 MovieClip Frame 102
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1265 MovieClip Frame 103
headshots.gotoAndStop(1);
Symbol 1265 MovieClip Frame 142
stop();
Symbol 1265 MovieClip Frame 162
_root.nextFrame();
stop();
Symbol 1272 MovieClip Frame 48
stop();
Symbol 1273 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1273 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1266 MovieClip "attackhold" in Symbol 1273 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 332 MovieClip "enemy3" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy4" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy6" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy7" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy9" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy10" in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Symbol 1312 MovieClip Frame 29
gotoAndPlay (1);
Symbol 1330 MovieClip Frame 21
gotoAndPlay (1);
Symbol 1335 MovieClip Frame 29
gotoAndPlay (1);
Symbol 1338 MovieClip Frame 19
gotoAndPlay (1);
Symbol 1339 MovieClip Frame 1
stop();
Symbol 1345 MovieClip Frame 1
_root.jeradx = 250;
_root.malcomx = 200;
_root.richardx = 505;
_root.halasterx = 330;
_root.veronicax = 360;
stagename = "Stage 4 \u2013 Strange Visitors";
stageintro = "Emboldened by their victory, the Dwarves rush forward after the fleeing enemy and Jerad\u2019s army is not far behind. This careless charge proves to be a mistake however, as the supposedly vanquished enemy suddenly turns to face their pursuers and fresh enemy troops leap out from their hiding places behind the many nearby rocks. Surrounded on all sides, the Prince\u2019s army faces utter annihilation as arrows begin to fall upon them like a deadly rain\u2026";
briefing = "Princess Veronica and Lord Halaster\u2019s arrival has saved us all! We\u2019ll question the nature of their arrival later though, and focus on defeating this accursed ambush. The Royal Castle Guard is one of the most elite units in the Kingdom, and their help will be greatly appreciated.";
line1 = new Array(2, "Jerad", "Damn! He ambushed us! Richard actually ambushed us!");
line2 = new Array(3, "Malcom", "Of course he ambushed us, you buffoon! He\u2019s our enemy! Or did you expect him to just lie down and die?");
line3 = new Array(2, "Jerad", "After all we went through together\u2026 Running off to fight in the Orcish civil war, our monthly hunting trips, all those times we spent drinking till the early hours of the morning\u2026 and he doesn\u2019t even give me a fair fight.");
line4 = new Array(3, "Malcom", "And now we\u2019re all paying the price for your naivete.");
line5 = new Array(2, "Jerad", "Can you see a way out of this?");
line6 = new Array(3, "Malcom", "Perhaps if we head back the way we came, break through the enemy\u2026 No\u2026 look, more soldiers coming from the rear.");
line7 = new Array(2, "Jerad", "Then\u2026 It\u2019s over? It looks like I got us killed, brother.");
line8 = new Array(3, "Malcom", "Wait a moment\u2026 those soldiers are flying the royal banner! They\u2019re reinforcements! We may have a chance after all.");
line9 = new Array(2, "Jerad", "Err\u2026 what unit are they?");
line10 = new Array(3, "Malcom", "They\u2019re the\u2026 err\u2026 Royal Castle Guard?");
line11 = new Array(2, "Jerad", "What are they doing here? We\u2019re miles from the Capital.");
line12 = new Array(3, "Malcom", "\u2026 Oh no, the commander of the castle guard is-");
line13 = new Array(5, "Veronica", "Brothers! I\u2019ve come to rescue you!");
line14 = new Array(6, "Halaster", "You appear to be in a spot of bother, your highnesses.");
line15 = new Array(3, "Malcom", "Oh Gods, we\u2019re doomed.");
line16 = new Array(2, "Jerad", "Veronica? Halaster? What in all the heavens are you doing here?");
line17 = new Array(6, "Halaster", "Could we perhaps save this discussion for a less inconvenient time?");
line18 = new Array(5, "Veronica", "Or at least till those curs have stopped shooting at us!");
line19 = new Array(2, "Jerad", "Yeah, of course! Everyone, charge! Let\u2019s show \u2018em what we think of their ambush!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
lines[15] = line15;
lines[16] = line16;
lines[17] = line17;
lines[18] = line18;
lines[19] = line19;
numlines = 19;
Symbol 1345 MovieClip Frame 20
stop();
Instance of Symbol 174 MovieClip in Symbol 1345 MovieClip Frame 40
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Instance of Symbol 1312 MovieClip in Symbol 1345 MovieClip Frame 1171
onClipEvent (load) {
diff = _root.veronicax - _x;
speed = diff / 120;
}
onClipEvent (enterFrame) {
if (_x < _root.veronicax) {
_x = (_x + speed);
}
}
Instance of Symbol 1330 MovieClip in Symbol 1345 MovieClip Frame 1171
onClipEvent (load) {
diff = _root.halasterx - _x;
speed = diff / 120;
}
onClipEvent (enterFrame) {
if (_x < _root.halasterx) {
_x = (_x + speed);
}
}
Symbol 1345 MovieClip Frame 1289
stop();
Symbol 1345 MovieClip Frame 1290
headshots.gotoAndStop(1);
Symbol 1345 MovieClip Frame 1329
stop();
Symbol 1345 MovieClip Frame 1349
_root.nextFrame();
stop();
Instance of Symbol 332 MovieClip "enemy3" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy4" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy6" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy7" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy9" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy10" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy11" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy12" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy13" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy14" in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Symbol 1370 MovieClip Frame 1
_root.jeradx = 250;
_root.malcomx = 200;
_root.richardx = 505;
_root.halasterx = 330;
_root.veronicax = 360;
stagename = "Stage 5 \u2013 Like Old Times";
stageintro = "The ambush defeated, the enemy falls back into a position where they can easily observe Jerad\u2019s army, but takes no further action. Knowing that this brief respite would soon end, Jerad orders his soldiers to get as much rest as possible, so as to be fresh for the inevitable battle\u2026";
briefing = "This will not be an easy battle. Richard Dunkeld is an excellent commander and a powerful warrior though we now have the advantage in troop types and numbers. Victory here will secure the Camis pass for the Kingdom and allow us to continue our advance on Valis city. We cannot fail.";
line1 = new Array(3, "Malcom", "Well, now that we have some small measure of calm\u2026 Veronica? Halaster? WHAT IN THE HELLS WERE YOU THINKING?");
line2 = new Array(5, "Veronica", "You need to learn how to control that temper of yours.");
line3 = new Array(3, "Malcom", "Control my\u2026 Veronica, you may be a princess of the realm, but you can\u2019t just go gallivanting about the countryside with the Royal guard in tow.");
line4 = new Array(5, "Veronica", "Why not? I\u2019m the COMMANDER of the Royal Guard, or did you forget?");
line5 = new Array(3, "Malcom", "That was only meant to be a ceremonial position, you weren\u2019t supposed to actually go and\u2026 Oh, I told father it was a bad idea, but did he listen?");
line6 = new Array(5, "Veronica", "The Royal Guard is one of the most elite groups of soldiers in the kingdom; they should be on the front line.");
line7 = new Array(3, "Malcom", "They should be guarding Veidar City! That\u2019s what they do! The council must be livid.");
line8 = new Array(6, "Halaster", "Actually, I am part of the council, your highness.");
line9 = new Array(3, "Malcom", "Oh? And you won them all over? That must have been one hell of a stirring speech.");
line10 = new Array(6, "Halaster", "Well\u2026");
line11 = new Array(3, "Malcom", "\u2026 Or did you all just sneak out in the middle of the night?");
line12 = new Array(6, "Halaster", "It was more like two o\u2019clock, actually.");
line13 = new Array(3, "Malcom", "\u2026.Oh, Gods spare me\u2026");
line14 = new Array(2, "Jerad", "Are you done venting, Malcom? They\u2019re here now, and they saved our lives. We should be thanking them. Besides, this battle isn\u2019t over.");
line15 = new Array(3, "Malcom", "That isn\u2019t the point!");
line16 = new Array(6, "Halaster", "Sorry to interrupt again, your highnesses, but our good friend Richard appears to be heading this way. He\u2019s under a flag of truce\u2026 so we probably shouldn\u2019t shoot him. Probably.");
line17 = new Array(2, "Jerad", "I\u2019ll go talk to him.");
line18 = new Array(3, "Malcom", "Fine, but we\u2019re going to discuss all this later, believe me.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
lines[15] = line15;
lines[16] = line16;
lines[17] = line17;
lines[18] = line18;
numlines = 18;
Symbol 1370 MovieClip Frame 20
stop();
Symbol 1370 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1370 MovieClip Frame 158
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1370 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1370 MovieClip Frame 199
stop();
line1 = new Array(4, "Richard", "Jerad.");
line2 = new Array(2, "Jerad", "Richard.");
line3 = new Array(4, "Richard", "You survived my ambush. Good. I knew you would.");
line4 = new Array(2, "Jerad", "I\u2019m not happy about that. Not happy at all.");
line5 = new Array(4, "Richard", "Ah right, I\u2019d forgotten how much you hate \u2018underhanded\u2019 tactics like that. You were always one to charge right in and let fate and courage decide the day. I\u2019m sorry about that, Jerad. I promised my father I would do everything in my power to defend this pass\u2026 And I always keep my promises.");
line6 = new Array(2, "Jerad", "\u2026 I know.");
line7 = new Array(4, "Richard", "I\u2019m all out of tricks though \u2013 that was always Halaster or Malcom\u2019s department \u2013 so\u2026 your army against mine, Jerad. Just a straight up fight, the way you like it. How does that sound?");
line8 = new Array(2, "Jerad", "Better than an ambush.");
line9 = new Array(4, "Richard", "Heh, true. Let\u2019s say we begin\u2026 ten minutes from when we return to our lines. That\u2019s fair isn\u2019t it? Ha, It will be just like old times, when we used to spar as children.");
line10 = new Array(2, "Jerad", "I remember. I always won.");
line11 = new Array(4, "Richard", "Hahahaha\u2026 Good luck, Jerad.");
line12 = new Array(2, "Jerad", "Good luck, Richard.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
numlines = 12;
Instance of Symbol 174 MovieClip in Symbol 1370 MovieClip Frame 199
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1370 MovieClip Frame 200
headshots.gotoAndStop(1);
Symbol 1370 MovieClip Frame 239
stop();
Symbol 1370 MovieClip Frame 259
_root.nextFrame();
stop();
Instance of Symbol 284 MovieClip "attack" in Symbol 1377 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 1381 MovieClip Frame 9
onClipEvent (load) {
_visible = false;
}
Symbol 1387 MovieClip Frame 50
stop();
Symbol 1388 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1388 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1382 MovieClip "attackhold" in Symbol 1388 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 332 MovieClip "enemy3" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy4" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy6" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy7" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy9" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy10" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy11" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy12" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy13" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy14" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1238 MovieClip "enemy15" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 1388 MovieClip "enemy16" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 50;
attackpoints = 2;
}
Symbol 1409 MovieClip Frame 1
stagename = "Stage 5 \u2013 Aftermath";
stageintro = "";
briefing = "End of Chapter 1";
line1 = new Array(4, "Richard", "Hah.. It\u2026 appears that I have lost.");
line2 = new Array(2, "Jerad", "Are you okay, Richard?");
line3 = new Array(4, "Richard", "The only part of me that\u2019s wounded is my pride. Well, that is a lie.");
line4 = new Array(2, "Jerad", "It doesn\u2019t look like I did any serious damage.");
line5 = new Array(4, "Richard", "So it seems\u2026 well, I did all I could to defend this place, and though I failed\u2026 my promise to my father is fulfilled. I surrender, your highness. And await my execution.");
line6 = new Array(2, "Jerad", "Nah, I\u2019m not going to kill you, Richard. I\u2019d rather you joined us.");
line7 = new Array(4, "Richard", "You\u2019re asking me to fight my father?");
line8 = new Array(2, "Jerad", "Richard, if you help us defeat him it will reflect well on you. Hell, you might even convince my father and the council to spare him his life.");
line9 = new Array(4, "Richard", "That\u2019s awfully naive of you, Jerad\u2026 But, I\u2019ll accept. It will be good to fight alongside Halaster and yourself again. You know, sometimes I miss the Orcish Civil War.");
line10 = new Array(2, "Jerad", "Haha! Good man!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Symbol 1409 MovieClip Frame 20
stop();
Symbol 1409 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1409 MovieClip Frame 158
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1409 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1409 MovieClip Frame 198
stop();
Symbol 1409 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1457 MovieClip Frame 1
stop();
Symbol 1460 MovieClip Frame 19
gotoAndPlay (1);
Symbol 1482 MovieClip Frame 25
gotoAndPlay (1);
Symbol 1491 MovieClip Frame 21
gotoAndPlay (1);
Symbol 1497 MovieClip Frame 1
stagename = "Chapter 2 - Scorched Earth";
stageintro = "Valis Castle, stronghold of Duke Duncan Dunkeld";
briefing = "";
line1 = new Array(7, "Duncan", "\u2026 So Richard has joined the two princes? I suppose it was inevitable.");
line2 = new Array(8, "Gaspar", "For a son to betray his father\u2026 Unthinkable! Such a thing would never happen back in Greenleaf. ");
line3 = new Array(7, "Duncan", "He chose his Kingdom over his family\u2026 and I\u2019m glad for it.");
line4 = new Array(8, "Gaspar", "My Lord? He has betrayed you, he should be-");
line5 = new Array(7, "Duncan", "Enough, Elf! I\u2019ll hear no more about it. ");
line6 = new Array(8, "Gaspar", "\u2026Yes, My lord.");
line7 = new Array(7, "Duncan", "Go to the Western farmlands and delay their advance on the city as long as possible. I wish to see your new weapons in action.");
line8 = new Array(8, "Gaspar", "What about the king? He advances from the south with the main army, and then there is Duke Schultz in the east\u2026");
line9 = new Array(7, "Duncan", "I am taking\u2026 certain measures against Schultz and the king. Jerad, and that brat Malcom, are closer to the city and I need them stopped. Immediately.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
numlines = 9;
Symbol 1497 MovieClip Frame 20
stop();
Symbol 1497 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1497 MovieClip Frame 158
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Symbol 1497 MovieClip Frame 160
stop();
line1 = new Array(8, "Gaspar", "Your will is my command.");
line2 = new Array(7, "Duncan", "\u2026. Grisham? You can come out now.");
line3 = new Array(9, "Grisham", "Hmm. I see our Elven friend has departed. If I may say so, my liege, I do not trust that man. He is too selfish. Too ambitious.");
line4 = new Array(7, "Duncan", "Perhaps. Yet I trust him far more than I do you, Darkweaver.");
line5 = new Array(9, "Grisham", "You wound me, my liege.");
line6 = new Array(7, "Duncan", "I showed you great clemency in granting you asylum, Grisham. I trust that it will be repaid.");
line7 = new Array(9, "Grisham", "Of course, of course. Soon I will be able to call forth the ninth circle. The others will soon follow\u2026 and you shall have the invincible army you so desire.");
line8 = new Array(7, "Duncan", "\u2026Hmm.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
numlines = 8;
Instance of Symbol 174 MovieClip in Symbol 1497 MovieClip Frame 160
onClipEvent (load) {
_root.lineinit();
}
onClipEvent (enterFrame) {
_root.lineplay();
}
Instance of Symbol 1491 MovieClip in Symbol 1497 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 3);
}
Instance of Symbol 1482 MovieClip in Symbol 1497 MovieClip Frame 160
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 1);
}
}
Symbol 1497 MovieClip Frame 161
headshots.gotoAndStop(1);
Symbol 1497 MovieClip Frame 200
stop();
Symbol 1497 MovieClip Frame 220
_root.nextFrame();
stop();
Symbol 1513 MovieClip Frame 1
stagename = "Stage 6 - The True Face of War";
stageintro = "Having emerged from Camis pass with their numbers bolstered by the remnants of Richard\u2019s troops, The two princes march into the western farmlands of the Duchy of Valis. The sight is shocking to see. Rebel soldiers have rampaged through the area, setting fires and slaying farm animals, sending the few remaining farmers fleeing for their lives\u2026";
briefing = "While continuing though the farmlands we have encountered an enemy division setting fires. This disregard for the lives and property of the common people cannot go unpunished! They have with them a unit of Heavy Infantry but, with the help of the cavalry and Orcs we gained from Richard, victory should be ours!";
line1 = new Array(5, "Veronica", "This is\u2026 horrible.");
line2 = new Array(3, "Malcom", "It disturbs you, sister? It should, this is the true face of war.");
line3 = new Array(2, "Jerad", "They\u2019re destroying their own farmland\u2026 Have the rebels gone completely mad? What could they possibly gain?");
line4 = new Array(6, "Halaster", "That smell\u2026 of fire and death. It brings back some unpleasant memories.");
line5 = new Array(4, "Richard", "Indeed, it does. This must be Gaspar Malic\u2019s work. That arrogant bastard would do anything to win.");
line6 = new Array(3, "Malcom", "It makes sense. This rebellion was unpopular with the common people. We would have found many supporters here; by destroying the farms, he not only rids us of that support, but also the opportunity to re-supply ourselves. Scorched earth. A cruel, but effective tactic.");
line7 = new Array(2, "Jerad", "We\u2019re only two days march from the city and we\u2019ve got plenty of supplies, this isn\u2019t going to have any bloody effect!");
line8 = new Array(4, "Richard", "Then perhaps its cruelty for cruelty\u2019s sake. Gaspar claims to be the last surviving member of the Elven royal family, and if he\u2019s any indication of what they were like then its no surprise their own people rose up and killed them. He considers commoners to be less than sentient beings, especially humans. Maybe he was just looking for an excuse.");
line9 = new Array(6, "Halaster", "Charming. Let\u2019s go teach him a lesson then.");
line10 = new Array(2, "Jerad", "Oh, I\u2019d be happy to.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Symbol 1513 MovieClip Frame 20
stop();
Symbol 1513 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1513 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1513 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1513 MovieClip Frame 198
stop();
Symbol 1513 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1519 MovieClip Frame 75
stop();
Symbol 1520 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1520 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 481 MovieClip "attackhold" in Symbol 1520 MovieClip Frame 2
onClipEvent (load) {
hairstyle = _parent.hairstyle;
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 1526 MovieClip Frame 48
stop();
Symbol 1527 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1527 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy6" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy7" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy12" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy13" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy10" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy15" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy4" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy9" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy14" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy11" in Symbol 1528 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Symbol 1553 MovieClip Frame 1
stagename = "Stage 7 - Bad Elves";
stageintro = "The enemy flees, defeated, and with no sign of the main rebel army Prince Jerad calls for a halt. While the army rests, the prince sends out scouts to search for the rebels\u2026";
briefing = "We\u2019ve managed to ambush the vanguard of Gaspar Malic\u2019s army, and should easily outclass them. The enemy\u2019s force of Elven mercenaries is a battle-hardened bunch though, and seem unperturbed by our advantage. They are skillful foes, and must be handled with caution.";
line1 = new Array(6, "Halaster", "Veronica? Do you have a moment?");
line2 = new Array(5, "Veronica", "Oh! Lord Pitt? I-I didn\u2019t hear you there.");
line3 = new Array(6, "Halaster", "Lord Pitt? Why so formal? Are we suddenly back in the royal court?");
line4 = new Array(5, "Veronica", "Sorry, Halaster. I guess I\u2019m just nervous.");
line5 = new Array(6, "Halaster", "Just nervous? Your hands are shaking.");
line6 = new Array(5, "Veronica", "No, they\u2026 heh, I guess they are. It\u2019s\u2026 not what I expected. War.");
line7 = new Array(6, "Halaster", "Oh, It never is. The sight, the sound, the smell. It always hits you so hard. It isn\u2019t like in the stories, where it\u2019s all glory and no gristle.");
line8 = new Array(5, "Veronica", "Even in yours. Whenever you, Jerad and Richard speak of the Orcish Civil War, it\u2019s all mirth and laughter and heroic victories\u2026");
line9 = new Array(6, "Halaster", "We joke because we don\u2019t want to remember. We don\u2019t want to remember what it was really like. It was \u2013 and I\u2019m sure the others agree, even if Jerad would never admit it - the worst six months of my life. Barely a day goes by that I don\u2019t regret the three of us getting drunk that day and deciding we\u2019d all be war heroes.");
line10 = new Array(6, "Halaster", "All we did was get a lot of innocent people killed, and for what? Nothing. Nothing at all. \u2018Our\u2019 side lost the war, a new clan chief took command of the Black Deserts\u2026 and nothing changed. It all returned to the status quo. No renewing of hostilities, no apocalyptic re-enactment of the First Mountain War. Nothing. ");
line11 = new Array(5, "Veronica", "Halaster\u2026");
line12 = new Array(6, "Halaster", "Ah, well that was depressing. My apologies.");
line13 = new Array(5, "Veronica", "Don\u2019t worry about it, Hal\u2026");
line14 = new Array(6, "Halaster", "Something else on your mind?");
line15 = new Array(5, "Veronica", "Just the council, Malcom may have been right\u2026 They won\u2019t like the way we ran off. As a member of the royal family I\u2019ll be protected from their anger, but\u2026");
line16 = new Array(6, "Halaster", "Ah. The Council of Lords is just a group of sanctimonious old men pathetically clinging to the notion that they still actually matter. They\u2019re no problem.");
line17 = new Array(5, "Veronica", "Halaster. You\u2019re one of them.");
line18 = new Array(6, "Halaster", "Yes, but I\u2019m much cleverer than they are. Besides, I\u2019m the King\u2019s favorite.");
line19 = new Array(5, "Veronica", "Heh. You\u2019re my favorite too, Hal. ");
line20 = new Array(6, "Halaster", "Oh, I know. We should probably keep that to ourselves though. I mean, imagine the commotion if Malcom were to-");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
lines[15] = line15;
lines[16] = line16;
lines[17] = line17;
lines[18] = line18;
lines[19] = line19;
lines[20] = line20;
numlines = 20;
Symbol 1553 MovieClip Frame 20
stop();
Symbol 1553 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1553 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1553 MovieClip Frame 160
line1 = new Array(2, "Jerad", "Veronica! Halaster! Where are you?");
line2 = new Array(6, "Halaster", "\u2026Damn.");
line3 = new Array(2, "Jerad", "There you both are, I\u2019ve been running about like a- Oh? Did I\u2026 interrupt something?");
line4 = new Array(6, "Halaster", "Ah, no your highness. Not really. I was just\u2026 just examing the princess for\u2026. Injuries. Yes, injuries. Can\u2019t be too careful with a member of the royal family.");
line5 = new Array(5, "Veronica", "(Real smooth, Hal)");
line6 = new Array(2, "Jerad", "Heh, that so? Anyway, Malcom and Richard just got back with the scouts. There\u2019s a rebel army heading straight for us, and they\u2019ve got a bunch of Elven sell-swords in front. Richard reckons its Gaspar Malic, so we\u2019re gonna go intercept them. So\u2026 get ready to move in ten minutes.");
line7 = new Array(6, "Halaster", "At once, your Highness.");
line8 = new Array(2, "Jerad", "Good, I\u2019d better go get ready myself\u2026. Heheh\u2026 \u2018injuries\u2019\u2026");
line9 = new Array(6, "Halaster", "(You know, I think he believed me.)");
line10 = new Array(5, "Veronica", "\u2026 Just fetch me my shield, Halaster.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Instance of Symbol 174 MovieClip in Symbol 1553 MovieClip Frame 160
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1553 MovieClip Frame 206
stop();
Symbol 1553 MovieClip Frame 207
headshots.gotoAndStop(1);
Symbol 1553 MovieClip Frame 246
stop();
Symbol 1553 MovieClip Frame 266
_root.nextFrame();
stop();
Symbol 1577 MovieClip Frame 1
stop();
Symbol 1578 MovieClip Frame 17
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 1591 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 1608 MovieClip Frame 12
onClipEvent (load) {
_visible = false;
}
Symbol 1615 MovieClip Frame 75
stop();
stop();
Symbol 1616 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1616 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1609 MovieClip "attackhold" in Symbol 1616 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy6" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy7" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy12" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy13" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy10" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy15" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy4" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy9" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy14" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy11" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1616 MovieClip "enemy16" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1616 MovieClip "enemy17" in Symbol 1617 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Symbol 1637 MovieClip Frame 1
stagename = "Stage 8 - Of Birds and Spiders";
stageintro = "Jerad and Malic\u2019s armies now face each other directly across the battlefield. There is a tenseness in the air, as soldiers on both sides realize that a decisive battle is about to begin\u2026";
briefing = "With the help of Veidar\u2019s famous Gryphon riders, we should be able to counter the power of the Orcish Spider cavalry, even with the element of surprise, however, we cannot let ourselves believe that this will be an easy battle. Victory here is imperative.";
line1 = new Array(8, "Gaspar", "Prince Jerad! Prince Malcom! Princess Veronica! You are trespassing on the independent territory of the Duke of Valis, Duncan Dunkeld. Withdraw now and none of you will be harmed. Refuse, and face the wrath of General Gaspar Malic, King of the Elves!");
line2 = new Array(2, "Jerad", "He sure likes to hear himself talk\u2026. Malic! You are a rebel and a traitor to the Kingdom of Veidar! YOU surrender now and I\u2019ll be sure your execution is as painless as possible! ");
line3 = new Array(8, "Gaspar", "If you will not respond to sense, Jerad, perhaps you will respond to force! Spider cavalry to the front!");
line4 = new Array(2, "Jerad", "Spider Cavalry? They have spider cavalry? Only the most ferocious and noble orcish warriors ever get promoted to their ranks!");
line5 = new Array(3, "Malcom", "I wouldn\u2019t worry brother. We have a surprise ready and waiting for them.");
line6 = new Array(2, "Jerad", "What are you talking about?");
line7 = new Array(4, "Richard", "While we were out with the scouts\u2026 we encountered a unit of Gryphon riders. The council had dispatched them as reinforcements soon after discovering Veronica\u2019s little deception, but they had gotten lost.");
line8 = new Array(3, "Malcom", "We told them to take up a hidden position on the enemy\u2019s flank, and wait for our signal to attack.");
line9 = new Array(2, "Jerad", "We have Gryphons? Damn it, Malcom why didn\u2019t you tell me?");
line10 = new Array(3, "Malcom", "For all your strengths, Jerad\u2026 You lack a certain subtlety. We wanted this attack to be a complete surprise.");
line11 = new Array(2, "Jerad", "Ambushes again, eh? Malcom, I\u2019m the commander of this army, if you ever go above my head again\u2026");
line12 = new Array(3, "Malcom", "Just focus on the battle, Jerad.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
numlines = 12;
Symbol 1637 MovieClip Frame 20
stop();
Symbol 1637 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1637 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1637 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1637 MovieClip Frame 198
stop();
Symbol 1637 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1668 MovieClip Frame 13
gotoAndPlay (1);
Symbol 1679 MovieClip Frame 11
stop();
Instance of Symbol 284 MovieClip "attack" in Symbol 1695 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 1713 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Symbol 1728 MovieClip Frame 60
stop();
Symbol 1729 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1729 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1714 MovieClip "attackhold" in Symbol 1729 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy6" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy7" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy12" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy13" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy10" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy4" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy9" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy14" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy11" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1616 MovieClip "enemy16" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1616 MovieClip "enemy17" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1729 MovieClip "enemy18" in Symbol 1730 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Symbol 1750 MovieClip Frame 1
stagename = "Stage 9 - King of the Elves";
stageintro = "";
briefing = "We have absolutely no information at all on Malic\u2019s secret weapons. The capabilities, weaknesses and strengths of these \u2018Gunners\u2019 is a mystery to us. We must advance with the utmost caution.";
line1 = new Array(8, "Gaspar", "Gryphons? Damn\u2026 I had wanted to wait a little longer before deploying my secret weapon, but I suppose I have no other recourse. Gunners! To the front!");
line2 = new Array(2, "Jerad", "Gunners? The hell is he blabbering about? ");
line3 = new Array(8, "Gaspar", "I am the rightful King of Greenleaf, divinely appointed ruler of all the Elvish people! My family is as old as the Burning King himself! You pathetic human princes are nothing but another cobblestone on the road to my ascension \u2013 fit only to be trampled into the dirt! Prepare yourselves!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
numlines = 3;
Symbol 1750 MovieClip Frame 20
stop();
Symbol 1750 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1750 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1750 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1750 MovieClip Frame 198
stop();
Symbol 1750 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1768 MovieClip Frame 1
stop();
Symbol 1772 MovieClip Frame 29
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 1777 MovieClip Frame 55
onClipEvent (load) {
_visible = false;
}
Symbol 1777 MovieClip Frame 186
gotoAndPlay (28);
Symbol 1784 MovieClip Frame 62
stop();
Symbol 1785 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1785 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 1787 MovieClip Frame 35
onClipEvent (load) {
_visible = false;
}
Symbol 1787 MovieClip Frame 136
gotoAndPlay (19);
gotoAndPlay (19);
Symbol 1793 MovieClip Frame 98
stop();
Symbol 1794 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy1" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy2" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 332 MovieClip "enemy6" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy7" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy12" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy13" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy10" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy4" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy9" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy14" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy11" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1616 MovieClip "enemy16" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1616 MovieClip "enemy17" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1729 MovieClip "enemy18" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 1785 MovieClip "enemy15" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 80;
_root.money = _root.money + 80;
speed = 1 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 10;
}
Instance of Symbol 1785 MovieClip "enemy19" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 80;
_root.money = _root.money + 80;
speed = 1 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 10;
}
Instance of Symbol 1785 MovieClip "enemy20" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 80;
_root.money = _root.money + 80;
speed = 1 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 10;
}
Instance of Symbol 1794 MovieClip "enemy21" in Symbol 1795 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 100;
attackpoints = 15;
}
Symbol 1818 MovieClip Frame 1
stagename = "Stage 10 - The Horrors of War";
stageintro = "";
briefing = "Demons! Some foul fiend has let loose a horde of demons upon our army. They attack in swarms, furiously biting and scratching. We must stand our ground, or be consumed by the denizens of the Hells!";
line1 = new Array(8, "Gaspar", "\u2026We have done enough. Everyone withdraw!");
line2 = new Array(2, "Jerad", "They\u2019re retreating, Thank the Gods. Those weapons\u2026 What are our casualties?");
line3 = new Array(6, "Halaster", "Impossible to tell at this stage. I shall make a tour of the divisions and see if we can\u2019t get an approximate count\u2026");
line4 = new Array(5, "Veronica", "I\u2019ll go with you Halaster. Hopefully having a member of the Royal family around will improve morale\u2026");
line5 = new Array(2, "Jerad", "\u2026 Malcom, Richard. I want you to gather up as many of those accursed \u2018weapons\u2019 you can find and destroy them.");
line6 = new Array(3, "Malcom", "Destroy them? Are you insane, brother? We should take them and work out how to use them. If we face Malic again, unprepared\u2026");
line7 = new Array(2, "Jerad", "NO. I want to see those things destroyed. I won\u2019t descend to Malic\u2019s level! These aren\u2019t weapons of war\u2026 they\u2019re tools of\u2026 of\u2026 Murder.");
line8 = new Array(4, "Richard", "Some would say they are one and the same, Jerad. Now, I\u2019m sorry to interrupt but\u2026 does the sky look\u2026 dark\u2026. to you?");
line9 = new Array(2, "Jerad", "It\u2019s just smoke from the fires.");
line10 = new Array(3, "Malcom", "No\u2026 Richard\u2019s right. Something is wrong. I can feel it in my bones.");
line11 = new Array(5, "Veronica", "Brothers! Richard!");
line12 = new Array(6, "Halaster", "We have a problem.");
line13 = new Array(5, "Veronica", "The wounded\u2026 they\u2026 they won\u2019t stop screaming! Something\u2019s hurting them.");
line14 = new Array(6, "Halaster", "Can you feel that? The ground shakes underneath us!");
line15 = new Array(2, "Jerad", "What\u2019s going on?");
line16 = new Array(3, "Malcom", "Demons. It must be demons! The enemy has a Darkweaver!");
line17 = new Array(2, "Jerad", "Demons\u2026 Everyone who can stand, who can wield a sword! Prepare yourselves, this is going to be bad!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
lines[15] = line15;
lines[16] = line16;
lines[17] = line17;
numlines = 17;
Symbol 1818 MovieClip Frame 20
stop();
Symbol 1818 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1818 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1818 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1818 MovieClip Frame 198
stop();
Symbol 1818 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1833 MovieClip Frame 13
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 1839 MovieClip Frame 12
onClipEvent (load) {
_visible = false;
}
Symbol 1839 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 1846 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Symbol 1854 MovieClip Frame 45
stop();
Symbol 1855 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1855 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1847 MovieClip "attackhold" in Symbol 1855 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Symbol 1855 MovieClip Frame 3
stop();
Symbol 1869 MovieClip Frame 42
gotoAndPlay (1);
Symbol 1878 MovieClip Frame 11
stop();
Instance of Symbol 284 MovieClip "attack" in Symbol 1885 MovieClip Frame 25
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 1896 MovieClip Frame 30
onClipEvent (load) {
_visible = false;
}
Symbol 1907 MovieClip Frame 70
stop();
Symbol 1908 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 1908 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1897 MovieClip "attackhold" in Symbol 1908 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 1855 MovieClip "enemy1" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy2" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy3" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy4" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy5" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy6" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy7" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy8" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy9" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy10" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy11" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy12" in Symbol 1909 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Symbol 1929 MovieClip Frame 1
stagename = "Stage 10 - Aftermath";
stageintro = "";
briefing = "End Chapter 2";
line1 = new Array(3, "Malcom", "I think It\u2019s over.");
line2 = new Array(5, "Veronica", "Demons, Darkweavers\u2026 I can\u2019t believe it.");
line3 = new Array(4, "Richard", "The situation has become more serious than I\u2019d ever imagined\u2026 but who could have\u2026 Grisham!");
line4 = new Array(6, "Halaster", "Grisham?");
line5 = new Array(4, "Richard", "He was some beggar that father took in as a servant a few months ago. He had only one arm and one eye, and wasn\u2019t much use as a laborer\u2026 I had figured father was simply being kind to him by providing a job and a home\u2026 but\u2026 There was always something \u2018wrong\u2019 about Grisham\u2026 something that set me on edge\u2026");
line6 = new Array(3, "Malcom", "Hmm. You think he is a Darkweaver?");
line7 = new Array(4, "Richard", "Perhaps\u2026");
line8 = new Array(6, "Halaster", "Damn, a Darkweaver. Your highness, what\u2019s our next move?");
line9 = new Array(2, "Jerad", "\u2026 I\u2019m going to go have a drink.");
line10 = new Array(6, "Halaster", "Well\u2026 I suppose that\u2019s one option.");
line11 = new Array(3, "Malcom", "\u2026.Hmm");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
numlines = 11;
Symbol 1929 MovieClip Frame 20
stop();
Symbol 1929 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1929 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1929 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1929 MovieClip Frame 198
stop();
Symbol 1929 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1945 MovieClip Frame 1
stagename = "Chapter 3 - Broken City";
stageintro = "Valis Castle";
briefing = "";
line1 = new Array(9, "Grisham", "It seems Malic has fallen back to the city. His weapons were not as potent as he perhaps believed; Jerad continues his advance.");
line2 = new Array(7, "Duncan", "I cannot help but notice that your demons did little to stop him either, Grisham.");
line3 = new Array(9, "Grisham", "Ah, but that was just a test run, My liege. I still need more time and\u2026 resources to unleash the full power at my command\u2026. Hmm\u2026. If I may ask, my Liege, is there any particular reason I find you in full battle regalia this morn?");
line4 = new Array(7, "Duncan", "If Malic is as hard pressed as his reports suggest, he needs reinforcements. I intend to go myself.");
line5 = new Array(9, "Grisham", "Is this truly wise? Malic is a treacherous and ambitious man. He will not hesitate to betray you for his own gain. You know this.");
line6 = new Array(7, "Duncan", "But-");
line7 = new Array(9, "Grisham", "When my work is complete, you will have no need of Malic or the city. Let them continue to stall the enemy. Their deaths will not be in vain, I guarantee it.");
line8 = new Array(7, "Duncan", "Yes\u2026 you\u2019re right. I have to defend this castle, and the dwarves continue to advance from the north\u2026");
line9 = new Array(9, "Grisham", "I promise you, our victory shall soon be assured.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
numlines = 9;
Symbol 1945 MovieClip Frame 20
stop();
Symbol 1945 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1945 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1945 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1945 MovieClip Frame 198
stop();
Symbol 1945 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 1955 MovieClip Frame 53
gotoAndPlay (1);
Symbol 1967 MovieClip Frame 29
gotoAndPlay (1);
Symbol 1973 MovieClip Frame 1
stagename = "Stage 11 - It's My War and I'll Drink if I Want to";
stageintro = "After a hard days march Jerad\u2019s army find themselves overlooking the city of Valis, Capital of Duncan\u2019s territory. Not all are quite fit for battle, however\u2026";
briefing = "Prince Jerad has charged the enemy defensive line all by himself, and only our quickest units have been able to keep up. It\u2019s a lucky thing that this particular enemy division is lacking some of the more deadly enemy units.";
line1 = new Array(2, "Jerad", "Mmm\u2026 M-moornin Malcom\u2026 W-we\u2019re here are we?");
line2 = new Array(3, "Malcom", "Yes. And you, brother, are drunk as a dishonest barkeep. What were you thinking?");
line3 = new Array(2, "Jerad", "Ridonculous! I am perfectly sober and ready for blattle! Burp!");
line4 = new Array(3, "Malcom", "You just lie down and I\u2019ll command the battle today. We have Malic on the run now, and there doesn\u2019t appear to be anymore of those demons about. With proper caution we should be able to break their defensive line and advance into the city by even-");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
numlines = 4;
Symbol 1973 MovieClip Frame 20
stop();
Symbol 1973 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1973 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1973 MovieClip Frame 160
stop();
line1 = new Array(2, "Jerad", "CHAAAAAAARGE!");
line2 = new Array(3, "Malcom", "\u2026. Or you charge the enemy line all by yourself, you stupid moron. Everyone! To the Prince!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
numlines = 2;
Instance of Symbol 174 MovieClip in Symbol 1973 MovieClip Frame 160
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Instance of Symbol 1967 MovieClip in Symbol 1973 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 4);
}
Symbol 1973 MovieClip Frame 161
headshots.gotoAndStop(1);
Symbol 1973 MovieClip Frame 200
stop();
Symbol 1973 MovieClip Frame 220
_root.nextFrame();
stop();
Instance of Symbol 1616 MovieClip "enemy2" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy6" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy7" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy8" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy4" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy5" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1616 MovieClip "enemy1" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1520 MovieClip "enemy9" in Symbol 1974 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Symbol 1994 MovieClip Frame 1
stagename = "Stage 12 - Gaspar's Gambit";
stageintro = "";
briefing = "We\u2019ve been cut off from part of the army due to Jerad\u2019s reckless charge! If we cannot hold out until they arrive we could face the utter destruction of our army. Whatever happens, whatever the enemy may deploy, we must stand strong!";
line1 = new Array(2, "Jerad", "Hahahah! A-anyone else? Or is that- is that all you got?");
line2 = new Array(3, "Malcom", "Jerad, you fool!");
line3 = new Array(4, "Richard", "Slow down, Jerad or you\u2019ll-");
line4 = new Array(8, "Gaspar", "Hahahahhah! I can\u2019t believe it! They\u2019ve blundered right into my trap, like lambs to the slaughter! All units, attack! Keep up the pressure, and once reinforcements arrive we will destroy them to the last man! Hahahah! For this battle my name will live forever in the annals of history!");
line5 = new Array(4, "Richard", "Not if we have any say in it.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
numlines = 5;
Symbol 1994 MovieClip Frame 20
stop();
Symbol 1994 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 1994 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 1994 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 1994 MovieClip Frame 198
stop();
Symbol 1994 MovieClip Frame 218
_root.nextFrame();
stop();
Instance of Symbol 1616 MovieClip "enemy1" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1729 MovieClip "enemy12" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 1238 MovieClip "enemy13" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy4" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy9" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy10" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy11" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy6" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1616 MovieClip "enemy2" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1527 MovieClip "enemy7" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 1995 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Symbol 2029 MovieClip Frame 29
gotoAndPlay (1);
Symbol 2032 MovieClip Frame 31
gotoAndPlay (1);
Symbol 2041 MovieClip Frame 1
stagename = "Stage 13 - A Gift of Magic";
stageintro = "Malic was defeated once again, and retreated further into the city. The army came to halt, however, to allow Prince Jerad some time to recover from his condition. During this time, the famed Duke Gustav Schultz, leading a small group of weavers from the Magister\u2019s guild, suddenly appeared in camp...";
briefing = "As Malic falls back to the City\u2019s central square, he has left a division behind to slow our advance. Let\u2019s use Duke Schultz\u2019s weavers to make short work of them and continue on towards Malic himself!";
line1 = new Array(3, "Malcom", "Duke Schultz? What are you doing here?");
line2 = new Array(10, "Schultz", "Heh, had to go right through Malic\u2019s barricades to get \u2018ere and that\u2019s the welcome I get?");
line3 = new Array(3, "Malcom", "We were not expecting you, Gustav. I thought you were leading the eastern armies.");
line4 = new Array(10, "Schultz", "I was, least till I joined up with the King again two days ago. The southern and eastern portions of the city are already in our possession, but with that bastard Malic having barricaded so much of the city its getting\u2019 difficult to continue the advance. Hell, we haven\u2019t even been able to get a messenger out to you.");
line5 = new Array(5, "Veronica", "So the king sent you?");
line6 = new Array(10, "Schultz", "Eh? Veronica? The hell are you doing here?");
line7 = new Array(6, "Halaster", "That\u2019s no way to talk to a Princess, Duke Schultz! We were required to extricate the two Princes from a precarious situation.");
line8 = new Array(10, "Schultz", "\u2026 And the son of Captain Pitt. Yah, that explains a lot. Anyway, you\u2019re right, Princess, the King sent me and these damned wizards to help you out. The western sector of the city hasn\u2019t been entirely barricaded yet, but it does have the highest concentration of enemy soldiers.");
line9 = new Array(10, "Schultz", "It\u2019s gonna be a tough fight, but if you can take out Malic and let the rest of our troops past the barricades then the city, and the war, are ours.");
line10 = new Array(3, "Malcom", "Then what are we waiting for? I\u2019ll go wake Jerad\u2026 he should have recovered from his\u2026 fatigue by now.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Symbol 2041 MovieClip Frame 20
stop();
Symbol 2041 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2041 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2041 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2041 MovieClip Frame 198
stop();
Symbol 2041 MovieClip Frame 218
_root.nextFrame();
stop();
Instance of Symbol 1616 MovieClip "enemy1" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1729 MovieClip "enemy12" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 1238 MovieClip "enemy13" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 332 MovieClip "enemy5" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy4" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy9" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy10" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy11" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 332 MovieClip "enemy6" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1616 MovieClip "enemy2" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1527 MovieClip "enemy7" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy3" in Symbol 2042 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Symbol 2065 MovieClip Frame 25
gotoAndPlay (1);
Symbol 2067 MovieClip Frame 21
gotoAndPlay (1);
Symbol 2073 MovieClip Frame 1
stagename = "Stage 14 - Long Live the King";
stageintro = "While Malic has not had time to put up any barricades or other static defenses around the central square, he does have with him a large number of gunnery units expertly positioned to create as wide a killing field as possible. To attack now would be suicide, so Jerad\u2019s army sets up camp for the night, hoping that a suitable strategy would present itself the next morning\u2026";
briefing = "It seems that Prince Malcom was right! The enemy forces seem ill prepared for our attack, some don\u2019t even have enough will to lift their weapons! This is our chance to inflict a grievous blow against the rebels and slay Gaspar Malic! A victory here would shorten the war immensely. A group of local priests has volunteered to assist us, which should tip the battle even further in our favor.";
line1 = new Array(2, "Jerad", "Yawn! Morning brother!");
line2 = new Array(3, "Malcom", "Hmm\u2026 Morning.");
line3 = new Array(6, "Halaster", "You look exhausted, your highness. Trouble sleeping?");
line4 = new Array(3, "Malcom", "Ah, yes. You see, I was thinking over our battle plan\u2026");
line5 = new Array(4, "Richard", "Have you come up with a way to defeat Malic\u2019s gunners?");
line6 = new Array(5, "Veronica", "Or bypass them entirely?");
line7 = new Array(3, "Malcom", "No\u2026 I think we should attack them directly.");
line8 = new Array(6, "Halaster", "What?");
line9 = new Array(2, "Jerad", "Really?");
line10 = new Array(3, "Malcom", "It appears to me that the last few defeats have broken their spirit utterly, one final irresistible charge and I am confident their lines will collapse.");
line11 = new Array(10, "Schultz", "So just charge in there and kill \u2018em all? My kind of plan.");
line12 = new Array(2, "Jerad", "And mine. But not one I\u2019d expect from you, Malcom.");
line13 = new Array(3, "Malcom", "Brute force has its uses every now and then, Brother. You know that.");
line14 = new Array(2, "Jerad", "Fine, we\u2019ll go with that. Everyone! Move out!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
numlines = 14;
Symbol 2073 MovieClip Frame 20
stop();
Symbol 2073 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2073 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2073 MovieClip Frame 160
stop();
line1 = new Array(6, "Halaster", "\u2026Could I have a moment of your time, your highness?");
line2 = new Array(3, "Malcom", "Hmm? What is it?");
line3 = new Array(6, "Halaster", "Could you tell me the truth? Why we\u2019re really attacking head on?");
line4 = new Array(3, "Malcom", "Nothing slips by you, does it Halaster? Very well. Twenty-three years ago during the first mountain war, while my father was helping relieve the siege of Greenleaf, a team of Orcish saboteurs penetrated the camp of the Veidar forces one night and slipped a sleeping draught into their water supply.");
line5 = new Array(3, "Malcom", "Orcish honor prevented them from using anything more potent. I, on the other hand, had no such restrictions.");
line6 = new Array(6, "Halaster", "You poisoned their water supply? Jerad would not approve.");
line7 = new Array(3, "Malcom", "Which is why I haven\u2019t told him. And you won\u2019t either.");
line8 = new Array(6, "Halaster", "Why wouldn\u2019t I?");
line9 = new Array(3, "Malcom", "Well, I suppose there\u2019s nothing stopping you\u2026 but I\u2019m sure the council would be interested in learning that a certain one of their number was engaged in an illicit and forbidden relationship with a certain royal princess, hmm?");
line10 = new Array(6, "Halaster", "You\u2026 know about that?");
line11 = new Array(3, "Malcom", "Do you take me for a fool, Halaster? Now come on, or you\u2019ll miss the fight.");
line12 = new Array(6, "Halaster", "\u2026 Damn it.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
numlines = 12;
Instance of Symbol 174 MovieClip in Symbol 2073 MovieClip Frame 160
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Instance of Symbol 2065 MovieClip in Symbol 2073 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Instance of Symbol 2067 MovieClip in Symbol 2073 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 3);
}
Instance of Symbol 248 MovieClip in Symbol 2073 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Instance of Symbol 1312 MovieClip in Symbol 2073 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 3);
}
Symbol 2073 MovieClip Frame 161
headshots.gotoAndStop(1);
Symbol 2073 MovieClip Frame 200
stop();
Symbol 2073 MovieClip Frame 220
_root.nextFrame();
stop();
Instance of Symbol 1616 MovieClip "enemy2" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 2;
}
Instance of Symbol 1729 MovieClip "enemy3" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 7;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 7;
attackpoints = 4;
}
Instance of Symbol 1238 MovieClip "enemy4" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 7;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 7;
attackpoints = 4;
}
Instance of Symbol 1785 MovieClip "enemy7" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 80;
_root.money = _root.money + 80;
speed = 1 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 10;
}
Instance of Symbol 332 MovieClip "enemy8" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy5" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy9" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy10" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy11" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 3;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 3;
attackpoints = 1;
}
Instance of Symbol 1785 MovieClip "enemy12" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 80;
_root.money = _root.money + 80;
speed = 1 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 10;
}
Instance of Symbol 1616 MovieClip "enemy1" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy6" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy13" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 1794 MovieClip "enemy14" in Symbol 2074 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 100;
attackpoints = 15;
}
Symbol 2103 MovieClip Frame 1
stagename = "Stage 14 - Aftermath";
stageintro = "";
briefing = "End Chapter 3";
line1 = new Array(8, "Gaspar", "Ugh.. defeated.. how? I\u2019m the\u2026 the\u2026 King\u2026.");
line2 = new Array(2, "Jerad", "He\u2019s dead.");
line3 = new Array(3, "Malcom", "Hmm, a pity. We could have used him.");
line4 = new Array(10, "Schultz", "Nah, a piece of scum like him? He deserved his fate.");
line5 = new Array(2, "Jerad", "Malcom, organize a party to gather up all those\u2026 guns\u2026. And destroy them.");
line6 = new Array(3, "Malcom", "At once, brother. ");
line7 = new Array(10, "Schultz", "Huh, seems a pity to throw all that power away\u2026 but I can understand why you\u2019d do it. I think I\u2019ll go check up on the soldiers, then. \u2018Scuse me.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
numlines = 7;
Symbol 2103 MovieClip Frame 20
stop();
Symbol 2103 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2103 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2103 MovieClip Frame 160
stop();
line1 = new Array(5, "Veronica", "Now that we have the city\u2026. The war will be over soon, right brother?");
line2 = new Array(2, "Jerad", "With any luck. Duncan would be a fool to continue trying to hold out but\u2026 he still has that Darkweaver. Who knows what he\u2019ll do?");
line3 = new Array(5, "Veronica", "I think I\u2019m getting used to it\u2026 It\u2019s still horrible but\u2026 well, my hands don\u2019t shake like they used to.");
line4 = new Array(2, "Jerad", "Hmm. Mine still do sometimes.");
line5 = new Array(5, "Veronica", "They do?");
line6 = new Array(2, "Jerad", "Yup. But I\u2019ve got to stay strong in front of the men\u2026 especially after I went and got drunk like that. That was a mistake and a half.");
line7 = new Array(5, "Veronica", "Jerad\u2026");
line8 = new Array(2, "Jerad", "I\u2019m glad I have you and Malcom supporting me, sister. The Gods know I couldn\u2019t do this on my own.");
line9 = new Array(5, "Veronica", "\u2026Let\u2019s go meet father, and end this war.");
line10 = new Array(2, "Jerad", "Best idea I\u2019ve heard all day.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Instance of Symbol 174 MovieClip in Symbol 2103 MovieClip Frame 160
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Instance of Symbol 2065 MovieClip in Symbol 2103 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x - 5);
}
Instance of Symbol 267 MovieClip in Symbol 2103 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x - 5);
}
Symbol 2103 MovieClip Frame 161
headshots.gotoAndStop(1);
Symbol 2103 MovieClip Frame 200
stop();
Symbol 2103 MovieClip Frame 220
_root.nextFrame();
stop();
Symbol 2119 MovieClip Frame 1
stagename = "Chapter 4 - The Road to Victory";
stageintro = "Valis Castle";
briefing = "";
line1 = new Array(7, "Duncan", "The city has fallen, Malic is dead and the King marches on my fortress. The dwarves continue to harass us in the north so I can expect no more reinforcements. We are reaching an end.");
line2 = new Array(9, "Grisham", "Perhaps, perhaps. I still have a few tricks up my sleeve, My liege. The ritual is almost complete. Just a little more time.");
line3 = new Array(7, "Duncan", "Then I shall take the battle to the enemy, and should I fall, make sure my death is not in vain!");
line4 = new Array(9, "Grisham", "Of course, My liege. You go and do what you must, and I shall act in kind\u2026 heh.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
numlines = 4;
Symbol 2119 MovieClip Frame 20
stop();
Symbol 2119 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2119 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2119 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2119 MovieClip Frame 198
stop();
Symbol 2119 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 2150 MovieClip Frame 27
gotoAndPlay (1);
Symbol 2159 MovieClip Frame 1
stagename = "Stage 15 - All the King's Men";
stageintro = "";
briefing = "The Darkweaver has again called his demons to attack us! However, This time we are ready for them. With the King\u2019s mighty Royal cavalry, and the strength and bravery of all our veteran soldiers, we shall slaughter them like the vile beasts that they are!";
line1 = new Array(12, "King Vern", "And there it is, my children. Valis Castle. Our final battle awaits us.");
line2 = new Array(4, "Richard", "I was expecting father to surrender now that the city is lost. Why does he still resist; does he want to die?");
line3 = new Array(12, "King Vern", "All the years I have known Duncan, he never struck me as the sort of man to give up his chosen cause, whatever it may be. I still do not know what offence I caused him, but if it was severe enough to provoke rebellion\u2026 then I have no reason to suspect he won\u2019t follow it through to the bitter end. I am sorry, Richard.");
line4 = new Array(4, "Richard", "I understand, My liege.");
line5 = new Array(2, "Jerad", "Hopefully, this will all be over soon.");
line6 = new Array(12, "King Vern", "Yes, If the Gods give us luck.");
line7 = new Array(3, "Malcom", "Hmph. Oh, to share in your optimism. Look, the sky grows dark again, just like the last time.");
line8 = new Array(6, "Halaster", "Demons? Again? That\u2019s a fair indication of how our luck\u2019s been, actually.");
line9 = new Array(12, "King Vern", "I, too, have encountered these foul creatures before. But they will not have the advantage of surprise this time. Everyone, to arms!");
line10 = new Array(2, "Jerad", "At once, father!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Symbol 2159 MovieClip Frame 20
stop();
Symbol 2159 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2159 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2159 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2159 MovieClip Frame 198
stop();
Symbol 2159 MovieClip Frame 218
_root.nextFrame();
stop();
Instance of Symbol 1855 MovieClip "enemy1" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy2" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy3" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy4" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy5" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy6" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy7" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy8" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy9" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy10" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy11" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy12" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy13" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy14" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy15" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy16" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy17" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy18" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy19" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy20" in Symbol 2160 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Symbol 2173 MovieClip Frame 29
gotoAndPlay (1);
Symbol 2186 MovieClip Frame 1
stagename = "Stage 16 - Devastator";
stageintro = "";
briefing = "The enemy has charged out of the gates to meet us in honorable battle! At their head are the Devastators, the most powerful and elite Foot Knights in all the Kingdom. Clad head to toe in ebony steel that masks their gender and species, and wielding gigantic Two-handed Claymore swords, they are truly frightening opponents, but we cannot yield. Not here, not now.";
line1 = new Array(12, "King Vern", "Agh, blasted demons! Is that the last of them?");
line2 = new Array(2, "Jerad", "Yeah, looks like we ran \u2018em all off! Heh, I\u2019d like to see them try that again.");
line3 = new Array(5, "Veronica", "Huh? Father, you\u2019re wounded!");
line4 = new Array(12, "King Vern", "It\u2019s nothing.");
line5 = new Array(5, "Veronica", "It\u2019s not nothing, this cut is very deep.");
line6 = new Array(12, "King Vern", "It is but an arm; the Gods granted me two. We still have a war to win.");
line7 = new Array(2, "Jerad", "There\u2019s no way you could fight in this condition, Father. Give Malcom and I command of the army and I promise you this war will be over before you can blink.");
line8 = new Array(12, "King Vern", "But\u2026 Hmm\u2026 Jerad, Malcom, all of you. You have not failed me yet. I will grant this request. Duke Schultz, I want you to go with them.");
line9 = new Array(10, "Schultz", "\u2026 I was going to anyway.");
line10 = new Array(12, "King Vern", "Heh, of course. Your orders are simple Jerad: Defeat Duncan, and return peace to this land.");
line11 = new Array(2, "Jerad", "And they shall be fulfilled. All units, follow me!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
numlines = 11;
Symbol 2186 MovieClip Frame 20
stop();
Symbol 2186 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2186 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2186 MovieClip Frame 160
stop();
line1 = new Array(12, "King Vern", "\u2026 Veronica, Halaster. Could I have a moment of your time?");
line2 = new Array(5, "Veronica", "(Oh geez, I think we\u2019ve been found out, Hal)");
line3 = new Array(6, "Halaster", "(Were we that unsubtle?) Of course, what do you need, My King?");
line4 = new Array(12, "King Vern", "The two of you are playing a very dangerous game.");
line5 = new Array(5, "Veronica", "We know, father. And its not a game.");
line6 = new Array(12, "King Vern", "Hmm. There is a reason the Council of Lords must remain separate from the influence of the Royal family. They are the people\u2019s shield against any belligerent or cruel ruler. They keep us honest. If the council learns of your affair\u2026");
line7 = new Array(6, "Halaster", "Hmm.");
line8 = new Array(12, "King Vern", "Halaster, I love you like a son. But if the truth comes out I will not be able to protect you.");
line9 = new Array(6, "Halaster", "I know.");
line10 = new Array(12, "King Vern", "Good. Then you have my \u2013 unofficial \u2013 blessing. For now. Now go do your part, I need to have a rest.");
line11 = new Array(5, "Veronica", "Thank you, father. Come Halaster, let us rejoin the others and put a stop to this war.");
line12 = new Array(12, "King Vern", "\u2026 Good luck. You are going to need it.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
numlines = 12;
Instance of Symbol 174 MovieClip in Symbol 2186 MovieClip Frame 160
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Instance of Symbol 2065 MovieClip in Symbol 2186 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Instance of Symbol 267 MovieClip in Symbol 2186 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Instance of Symbol 248 MovieClip in Symbol 2186 MovieClip Frame 160
onClipEvent (enterFrame) {
_x = (_x + 5);
}
Symbol 2186 MovieClip Frame 161
headshots.gotoAndStop(1);
Symbol 2186 MovieClip Frame 200
stop();
Symbol 2186 MovieClip Frame 220
_root.nextFrame();
stop();
Symbol 2201 MovieClip Frame 45
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 2210 MovieClip Frame 21
onClipEvent (load) {
_visible = false;
}
Symbol 2210 MovieClip Frame 48
gotoAndPlay (84);
Symbol 2210 MovieClip Frame 132
gotoAndPlay (9);
Symbol 2217 MovieClip Frame 68
stop();
stop();
Symbol 2218 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 2218 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1729 MovieClip "enemy3" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 7;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 7;
attackpoints = 4;
}
Instance of Symbol 1238 MovieClip "enemy4" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 7;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 7;
attackpoints = 4;
}
Instance of Symbol 332 MovieClip "enemy7" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy5" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy9" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy10" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 3;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 3;
attackpoints = 1;
}
Instance of Symbol 1616 MovieClip "enemy1" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 2;
}
Instance of Symbol 2218 MovieClip "enemy2" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Instance of Symbol 2218 MovieClip "enemy6" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Instance of Symbol 2218 MovieClip "enemy11" in Symbol 2219 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Symbol 2239 MovieClip Frame 1
stagename = "Stage 17 - Duncan Dunkeld";
stageintro = "The enemy falls back slightly, but only, it is revealed, to allow Duke Duncan Dunkeld to ride to the head of the army. He salutes his opponents\u2026";
briefing = "Duncan Dunkeld is one of the finest warriors Veidar has ever produced, and with his Devastators at his back he will be most difficult to defeat. But we have come this far, so show them the strength of the Veidar Royal Family!";
line1 = new Array(7, "Duncan", "Prince Jerad, Prince Malcom, Princess Veronica, Duke Schultz, Lord Pitt and of course, my dear son Richard. You have done exceptionally well to reach this point, but you shall go no further.");
line2 = new Array(2, "Jerad", "Its over Duncan, you have to see that.");
line3 = new Array(7, "Duncan", "It is never over. Even if I die, my struggle will go on.");
line4 = new Array(4, "Richard", "And what struggle is that, Father? Why have you done these things?");
line5 = new Array(7, "Duncan", "My struggle? It is for the continued survival of our nation, it always has been.");
line6 = new Array(6, "Halaster", "How does a rebellion that costs thousands of Veidar lives help our country survive? It seems counter-productive to me.");
line7 = new Array(3, "Malcom", "The man is obviously mad. Let\u2019s just kill him and be done with it.");
line8 = new Array(7, "Duncan", "As always, you are the voice of reason, Prince Malcom. There is no more use for words. Only action.");
line9 = new Array(2, "Jerad", "If that\u2019s the way you want it, forward lads!");
line10 = new Array(10, "Schultz", "Jus\u2019 the way I like it, to battle!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
numlines = 10;
Symbol 2239 MovieClip Frame 20
stop();
Symbol 2239 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2239 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2239 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2239 MovieClip Frame 198
stop();
Symbol 2239 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 2244 MovieClip Frame 21
gotoAndPlay (1);
Instance of Symbol 284 MovieClip "attack" in Symbol 2251 MovieClip Frame 16
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 2255 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Symbol 2262 MovieClip Frame 55
stop();
Symbol 2263 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 2263 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 2256 MovieClip "attackhold" in Symbol 2263 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 1729 MovieClip "enemy3" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 7;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 7;
attackpoints = 4;
}
Instance of Symbol 1238 MovieClip "enemy4" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 7;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 7;
attackpoints = 4;
}
Instance of Symbol 332 MovieClip "enemy7" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 382 MovieClip "enemy5" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 2;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 2;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy8" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 1;
}
Instance of Symbol 1520 MovieClip "enemy9" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 1527 MovieClip "enemy10" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 3;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 3;
attackpoints = 1;
}
Instance of Symbol 1616 MovieClip "enemy1" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 4;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 4;
attackpoints = 2;
}
Instance of Symbol 2218 MovieClip "enemy2" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Instance of Symbol 2218 MovieClip "enemy6" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Instance of Symbol 2218 MovieClip "enemy11" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Instance of Symbol 2263 MovieClip "enemy12" in Symbol 2264 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 200;
attackpoints = 3;
}
Symbol 2284 MovieClip Frame 1
stagename = "Stage 17 - Aftermath";
stageintro = "End Chapter 4";
briefing = "Chapter 5 - From Hell";
line1 = new Array(7, "Duncan", "Ah\u2026 so death has come to claim me at last\u2026");
line2 = new Array(4, "Richard", "Father!");
line3 = new Array(7, "Duncan", "Richard? I am proud of you my son\u2026 you\u2026 you did what your heart told you you must\u2026 just as I did\u2026");
line4 = new Array(2, "Jerad", "Why did you rebel, Duncan?");
line5 = new Array(7, "Duncan", "Because\u2026 Veidar is not prepared. It is not prepared for what is coming. It took so much effort\u2026 Even with all the armies of Veidar at your back, it took so much effort to conquer a single rebelling Duchy\u2026 ");
line6 = new Array(7, "Duncan", "But there are worse things than me out there\u2026 The orcs, the elves\u2026. Even the dwarves\u2026 they will not always be our friends, mark my words\u2026. but worse\u2026 I have seen worse\u2026 in the north\u2026. Shadows\u2026.they\u2026 they\u2026");
line7 = new Array(3, "Malcom", "He\u2019s gone.");
line8 = new Array(2, "Jerad", "I\u2019m sorry, Richard.");
line9 = new Array(4, "Richard", "No, Its\u2026 its\u2026 lets just go home.");
line10 = new Array(5, "Veronica", "Richard\u2026");
line11 = new Array(6, "Halaster", "This isn\u2019t over. Look, up at the castle.");
line12 = new Array(2, "Jerad", "What in the nine hells is that light?");
line13 = new Array(4, "Richard", "Grisham!");
line14 = new Array(9, "Grisham", "Ladies and gentleman\u2026 Boys and girls\u2026. Welcome to Hell.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
numlines = 14;
Symbol 2284 MovieClip Frame 20
stop();
Symbol 2284 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2284 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2284 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2284 MovieClip Frame 198
stop();
Symbol 2284 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 2289 MovieClip Frame 178
gotoAndPlay (1);
Symbol 2472 MovieClip Frame 1
stagename = "Stage 18 - Grisham's Revenge";
stageintro = "The mysterious light faded, and Prince Jerad and his army found themselves in a place none recognized, but all feared. The castle was gone, Duncan was gone. In their place was a dark and barren wasteland\u2026 and a single black clad figure.";
briefing = "Grisham has summoned a horde of demons to do his foul work. Let us show him what we do to those who try to attack the great nation of Veidar!";
line1 = new Array(9, "Grisham", "\u2026 And so the Fool Duncan died, never having known how he was being used. Who would have thought that his was the last I would need?");
line2 = new Array(2, "Jerad", "What?");
line3 = new Array(9, "Grisham", "Souls, Dullard. Souls of those who died in anger, in hate and in fear. Souls of those who died in War. The denizens of the hells find them quite delectable. With them I have raised quite an army.");
line4 = new Array(2, "Jerad", "Tell me who you are and what you want!");
line5 = new Array(9, "Grisham", "Who am I? I am Vargas Grisham, once of the Darkweavers. Richard knows me well, or so he thinks. As for what I wanted? I wanted war, I wanted souls\u2026 and now I want what is yours. Veidar.");
line6 = new Array(6, "Halaster", "Well, well. Ambitious aren\u2019t we?");
line7 = new Array(9, "Grisham", "Twenty-three years ago, the Burning King promised me Veidar in return for my co-operation. In his eyes, you had turned away from the Gods, an unforgivable sin! I would have lead you into a glorious new age as your mortal leader, just as the Burning King would have tended to your wounded spirits. But it was not to be\u2026");
line8 = new Array(10, "Schultz", "I recognize you\u2026 You\u2019re that damn Darkweaver from the First Mountain War!");
line9 = new Array(9, "Grisham", "And I recognize you \u2018Duke.\u2019 A man who gained his position through the death of his superior; the lost and lamented Captain Pitt. Everything you have now would have been rightly his, and you\u2019ve been trying to live up to his example ever since. ");
line10 = new Array(10, "Schultz", "We beat you twenty-three years ago, we\u2019ll do it now.");
line11 = new Array(9, "Grisham", "That war cost me much. My arm. My eye. But not my ambition! I was promised the Kingdom of Veidar by the messenger of the Gods themselves! AND I SHALL HAVE IT!");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
numlines = 11;
Symbol 2472 MovieClip Frame 20
stop();
Symbol 2472 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2472 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2472 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2472 MovieClip Frame 198
stop();
Symbol 2472 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 2473 MovieClip Frame 33
gotoAndPlay (1);
Symbol 2478 MovieClip Frame 10
gotoAndPlay (1);
Symbol 2484 MovieClip Frame 23
stop();
Instance of Symbol 284 MovieClip "attack" in Symbol 2490 MovieClip Frame 34
onClipEvent (load) {
_visible = false;
}
Symbol 2494 MovieClip Frame 19
stop();
Symbol 2495 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 2495 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1855 MovieClip "enemy1" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy2" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy3" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy4" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy5" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy6" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy7" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy8" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy9" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy10" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy11" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy12" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy13" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy14" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy15" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy16" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy17" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy18" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy19" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy20" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 2495 MovieClip "enemy21" in Symbol 2496 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 0.3;
death = false;
life = 150;
attackpoints = 20;
}
Symbol 2516 MovieClip Frame 1
stagename = "Stage 19 - An Inconvenient Truth";
stageintro = "";
briefing = "Grisham has summoned to him the Demon, Kashnaru. King Vern fought Kashnaru twenty-three years ago and vanquished him utterly. We must do the same here! For Veidar!";
line1 = new Array(9, "Grisham", "I see the Royal family has lost none of its fighting spirit in the last two decades.");
line2 = new Array(2, "Jerad", "Give it up, Grisham! We are united against you, you cannot defeat our strength!");
line3 = new Array(9, "Grisham", "Strength? Duncan, too, thought he was strong. He wasn\u2019t. It was so easy to push his mind. I showed him things. Shadows. Things who wanted to destroy his beloved country; and just like that his mind became my plaything.");
line4 = new Array(4, "Richard", "You lied to him! Used him!");
line5 = new Array(9, "Grisham", "Used him? Certainly. Lied to him? Never. The shadows were real, there really are things out there determined to annihilate everything you care about. Lies have no power, not really. That\u2019s why it works, what I do. Because the truth is a very powerful weapon. Let me demonstrate\u2026 Prince Malcom?");
line6 = new Array(3, "Malcom", "I am not afraid of you.");
line7 = new Array(9, "Grisham", "No, you have no fear. I can see, in fact I can read you like an open book. What you do have is hate and anger, bubbling away just under the surface. And all for one man: Your brother. That bumbling buffoon who\u2019s had it so easy in life.");
line8 = new Array(9, "Grisham", "He hasn\u2019t had to work like you have. So stupid, depending on you for every decision. So irresponsible, running off to war like it was a game\u2026 And it will all be his. The Kingdom. The power. All of it. When it should be YOURS.");
line9 = new Array(3, "Malcom", "Spew your nonsense elsewhere, Darkweaver. My mind is my own.");
line10 = new Array(9, "Grisham", "So it is. You ARE strong, Malcom. But what of Jerad? On the surface he seems a simple man. A fighter, he hides behind his honor. No ambushes, no tricks. But there is no honor. Not really. It\u2019s all a facade, you see. Because behind the friendly grin and the shining armor\u2026. You enjoy the killing.");
line11 = new Array(2, "Jerad", "Shut up!");
line12 = new Array(9, "Grisham", "There\u2019s no need to be ashamed, Jerad. Simply admit that you enjoy the simpler pleasures of\u2026 watching an orc hamlet burn, for example. Hearing the women scream out in terror\u2026 the children\u2019s skin bubbling like wet tar\u2026 The feeling of power it must give you\u2026");
line13 = new Array(2, "Jerad", "Stop it! Get out of my mind!");
line14 = new Array(9, "Grisham", "Oh, but we\u2019re just getting started. I haven\u2019t even-");
line15 = new Array(5, "Veronica", "ENOUGH! Enough of your lies!");
line16 = new Array(9, "Grisham", "Oh, Veronica! The secrets in your mind! How I\u2019d love to share them with everybody\u2026 but, you\u2019re right. I\u2019m just wasting time. Kashnaru! Fiend of the fifth circle! Come forth! You failed me twenty-three years ago\u2026 Time to redeem yourself.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
lines[15] = line15;
lines[16] = line16;
numlines = 16;
Symbol 2516 MovieClip Frame 20
stop();
Symbol 2516 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2516 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2516 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2516 MovieClip Frame 198
stop();
Symbol 2516 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 2528 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 2529 MovieClip Frame 1
gotoAndPlay(random(14) + 2);
Symbol 2529 MovieClip Frame 24
gotoAndPlay(random(60) + 24);
Symbol 2589 MovieClip Frame 15
gotoAndPlay (3);
Instance of Symbol 284 MovieClip "attack" in Symbol 2607 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 2622 MovieClip Frame 12
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 284 MovieClip "attack" in Symbol 2627 MovieClip Frame 20
onClipEvent (load) {
_visible = false;
}
Symbol 2641 MovieClip Frame 250
stop();
Symbol 2642 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 2642 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 2628 MovieClip "attackhold" in Symbol 2642 MovieClip Frame 3
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 1855 MovieClip "enemy1" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy2" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy3" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy4" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy5" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy6" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy7" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy8" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy9" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy10" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy11" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy12" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy13" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1908 MovieClip "enemy14" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 50;
_root.money = _root.money + 50;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 10;
}
Instance of Symbol 1855 MovieClip "enemy15" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1855 MovieClip "enemy16" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 3 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 3 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 2495 MovieClip "enemy17" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 0.3;
death = false;
life = 150;
attackpoints = 20;
}
Instance of Symbol 2642 MovieClip "enemy18" in Symbol 2643 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack) && (!loading)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if ((moving && (!death)) && (!loading)) {
_x = (_x - speed);
gotoAndStop (2);
}
if ((attack && (!death)) && (!loading)) {
gotoAndStop (3);
}
if ((life <= 0) && (!loading)) {
gotoAndStop (4);
death = true;
}
if (loading) {
gotoAndStop (1);
if (this.revive._currentframe == 214) {
loading = false;
death = false;
}
}
if (((death && (_currentframe == 4)) && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 750;
_root.enemygold = _root.enemygold - 100;
_root.money = _root.money + 100;
speed = 2 + (random(20) / 10);
life = 50;
loading = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = true;
life = 50;
attackpoints = 5;
loading = true;
_x = 750;
}
Symbol 2710 MovieClip Frame 1
stagename = "Stage 20 - The Crucible II";
stageintro = "";
briefing = "This is it. The final Battle. We must defeat Grisham and his Demon allies here or our Kingdom will be in grave danger. Be brave, and advance always toward the enemy!";
line1 = new Array(9, "Grisham", "Heheheh\u2026 Kashnaru proves to be as useless as ever, so I suppose we have to move on to the main event.");
line2 = new Array(2, "Jerad", "Tsk, now what?");
line3 = new Array(9, "Grisham", "I call upon ADREMMALICH! Fiend of the FOURTH CIRCLE! King of the Darkness! Devourer of souls!");
line4 = new Array(3, "Malcom", "\u2026 This could be trouble.");
line5 = new Array(6, "Halaster", "You don\u2019t say?");
line6 = new Array(11, "Adremmalich", "PaTHETic DArkWEAvER, ARE These THE ONES WHOse SOULs YOU ProMIsed I?");
line7 = new Array(9, "Grisham", "These are indeed the ones, Great Adremmalich.");
line8 = new Array(11, "Adremmalich", "BuT TheY ARE STiLL BOUNd iN FLEsH.");
line9 = new Array(9, "Grisham", "So TAKE them!");
line10 = new Array(11, "Adremmalich", "I SHAll.");
line11 = new Array(2, "Jerad", "We\u2019ll give you nothing! And I\u2019ll kill your pathetic little Darkweaver too!");
line12 = new Array(11, "Adremmalich", "THe LIttLe HUman JESts I! I aM AMuseD BY hiS FooL BRAvERy! HiS DEATH wiLL BE SpeciaL. I HeaR THE CrY of THE SOULS YoU havE SLAIN LittLE HUman, SCREAMING FoR VEngEANCE. I SHALL GiVE it TO THeM. ");
line13 = new Array(2, "Jerad", "Bring it on!");
line14 = new Array(11, "Adremmalich", "THE BurNINg KINg Is DEAD. THE GodS ArE DEAD. THERE iS ONly I. AT the END THere IS OnLy I.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
lines[13] = line13;
lines[14] = line14;
numlines = 14;
Symbol 2710 MovieClip Frame 20
stop();
Symbol 2710 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2710 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2710 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2710 MovieClip Frame 198
stop();
Symbol 2710 MovieClip Frame 218
_root.nextFrame();
stop();
Symbol 2716 MovieClip Frame 40
gotoAndPlay (4);
Symbol 2730 MovieClip Frame 14
stop();
Instance of Symbol 284 MovieClip "attack" in Symbol 2732 MovieClip Frame 29
onClipEvent (load) {
_visible = false;
}
Symbol 2732 MovieClip Frame 52
_parent.nextFrame();
Instance of Symbol 284 MovieClip "attack" in Symbol 2746 MovieClip Frame 20
onClipEvent (load) {
_visible = false;
}
Symbol 2746 MovieClip Frame 34
_parent.prevFrame();
Symbol 2759 MovieClip Frame 165
stop();
Symbol 2760 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip "hitter" in Symbol 2760 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 2747 MovieClip "attackhold" in Symbol 2760 MovieClip Frame 2
onClipEvent (load) {
_currentframe = (random(_totalframes) + 1);
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 2495 MovieClip "enemy2" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
onClipEvent (load) {
speed = 0.3;
death = false;
life = 150;
attackpoints = 20;
}
Instance of Symbol 2218 MovieClip "enemy4" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 250;
_root.money = _root.money + 250;
speed = 1;
death = false;
life = 25;
}
troophit = false;
}
onClipEvent (load) {
speed = 1;
death = false;
life = 25;
attackpoints = 10;
}
Instance of Symbol 1616 MovieClip "enemy3" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 60;
_root.money = _root.money + 60;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 4;
}
Instance of Symbol 1729 MovieClip "enemy5" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 1238 MovieClip "enemy6" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 1500;
_root.enemygold = _root.enemygold - 200;
_root.money = _root.money + 200;
speed = 2 + (random(10) / 10);
death = false;
life = 15;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 15;
attackpoints = 8;
}
Instance of Symbol 1785 MovieClip "enemy8" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 200)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 80;
_root.money = _root.money + 80;
speed = 1 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 10;
}
Instance of Symbol 332 MovieClip "enemy9" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if ((_x < (_root.lefttroops["ally" + i]._x + 250)) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if ((this.hitTest(_root.gubbe.moving) || (troophit)) || (_x < 300)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 20;
_root.money = _root.money + 20;
speed = 2 + (random(10) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 5;
attackpoints = 2;
}
Instance of Symbol 382 MovieClip "enemy7" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 10;
_root.money = _root.money + 10;
speed = 2 + (random(20) / 10);
death = false;
life = 5;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 5;
attackpoints = 1;
}
Instance of Symbol 1273 MovieClip "enemy10" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 2 + (random(10) / 10);
death = false;
life = 8;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(10) / 10);
death = false;
life = 8;
attackpoints = 2;
}
Instance of Symbol 1520 MovieClip "enemy11" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 30;
_root.money = _root.money + 30;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
}
troophit = false;
}
onClipEvent (load) {
hairstyle = random(11) + 1;
speed = 1 + (random(10) / 10);
death = false;
life = 10;
attackpoints = 3;
}
Instance of Symbol 1527 MovieClip "enemy12" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
if ((death && (die._currentframe == die._totalframes)) && (_root.enemygold > 1)) {
_x = 900;
_root.enemygold = _root.enemygold - 25;
_root.money = _root.money + 25;
speed = 2 + (random(20) / 10);
death = false;
life = 6;
}
troophit = false;
}
onClipEvent (load) {
speed = 2 + (random(20) / 10);
death = false;
life = 6;
attackpoints = 2;
}
Instance of Symbol 2760 MovieClip "enemy13" in Symbol 2761 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.righttroops.enemy2.death) {
if (_root.gubbe._x > (_x - 75)) {
_root.gubbe._x = _x - 75;
}
i = 1;
while (i < (_root.alliesnum + 1)) {
if (this.hitter.hitTest(_root.lefttroops["ally" + i]) && (_root.lefttroops["ally" + i].death == false)) {
troophit = true;
}
if (this.hitTest(_root.lefttroops["ally" + i].attackhold.attacker.attack)) {
life = life - _root.lefttroops["ally" + i].attackpoints;
_root.money = _root.money + (_root.lefttroops["ally" + i].attackpoints * 3);
}
i++;
}
if (this.hitTest(_root.gubbe.attackhold.attacker.attack)) {
life = life - _root.gubbeattack;
_root.money = _root.money + (_root.gubbeattack * 2);
}
if (this.hitTest(_root.gubbe.moving) || (troophit)) {
moving = false;
attack = true;
} else {
moving = true;
attack = false;
}
if (moving && (!death)) {
_x = (_x - speed);
gotoAndStop (1);
}
if (attack && (!death)) {
gotoAndStop (2);
}
if (life <= 0) {
gotoAndStop (3);
death = true;
}
troophit = false;
}
}
onClipEvent (load) {
speed = 1 + (random(10) / 10);
death = false;
life = 500;
attackpoints = 5;
}
Symbol 2767 MovieClip Frame 1440
stop();
_root.play();
Symbol 2774 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 2787 MovieClip Frame 1
stagename = "Epilogue";
stageintro = "The Royal Palace, City of Veidar";
briefing = "THE END";
line1 = new Array(4, "Richard", "\u2026 I\u2019m afraid I must depart soon. Valis will not rebuild itself.");
line2 = new Array(3, "Malcom", "Unfortunate, but of course necessary. Valis must be strong if Duncan\u2019s fears ever come to pass.");
line3 = new Array(6, "Halaster", "And we still have our other project, I suppose.");
line4 = new Array(4, "Richard", "Ah yes, the guns. I had to pay quite a pretty penny, but I managed to secure some of them for my stock hold. Secretly, of course. Officially, they have been destroyed.");
line5 = new Array(6, "Halaster", "We have our own stock hold here at the capital, too.");
line6 = new Array(4, "Richard", "Hmm. Veronica wants those things destroyed as much as her brother and father, I\u2019m surprised you\u2019re going along with this, Halaster.");
line7 = new Array(6, "Halaster", "It hurts to go behind her back, but it isn\u2019t like I have much of a choice.");
line8 = new Array(3, "Malcom", "No, you don\u2019t. We will be prepared for any shadows, I swear upon my life.");
line9 = new Array(4, "Richard", "Even if we have the guns, They\u2019d never let us get away with using them.");
line10 = new Array(3, "Malcom", "Then we will have to force them to let us.");
line11 = new Array(6, "Halaster", "Hmm. How far are you willing to go with this, Malcom?");
line12 = new Array(3, "Malcom", "As always, Halaster, I will go as far as I must.");
lines = new Array();
lines[1] = line1;
lines[2] = line2;
lines[3] = line3;
lines[4] = line4;
lines[5] = line5;
lines[6] = line6;
lines[7] = line7;
lines[8] = line8;
lines[9] = line9;
lines[10] = line10;
lines[11] = line11;
lines[12] = line12;
numlines = 12;
Symbol 2787 MovieClip Frame 20
stop();
Symbol 2787 MovieClip Frame 158
stop();
Instance of Symbol 174 MovieClip in Symbol 2787 MovieClip Frame 158
onClipEvent (load) {
counter = 0;
i = 0;
changeover = true;
numframes = 0;
}
onClipEvent (enterFrame) {
if (changeover) {
i++;
numframes = _root.cutscene.lines[i][2].length + 30;
_root.cutscene.speech = _root.cutscene.lines[i][2];
_root.cutscene.speaker = _root.cutscene.lines[i][1];
_currentframe = _root.cutscene.lines[i][0];
_root.cutscene.headshot.gotoAndStop(_root.cutscene.lines[i][0]);
counter = 0;
changeover = false;
} else {
counter++;
if (counter > numframes) {
changeover = true;
}
}
if (i > _root.cutscene.numlines) {
_root.cutscene.play();
}
}
Symbol 2787 MovieClip Frame 159
headshots.gotoAndStop(1);
Symbol 2787 MovieClip Frame 198
stop();
Symbol 2787 MovieClip Frame 218
_root.gotoAndStop(2);
stop();
Symbol 2789 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 2791 Button
on (release) {
_currentframe = _root.currlevel;
_root.gotoAndStop(_root.currlevel);
}