Frame 1
var CPMStarPoolID = 1052;
var CPMStarSubPoolID = 9;
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
Stage.showMenu = eval (false)();
fscommand ("showMenu", false);
Stage.scaleMode = "exactFit";
stop();
Instance of Symbol 255 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.nextFrame();
}
}
Frame 2
stop();
playAsA = false;
Frame 3
gotoAndPlay ("skipToHere");
Frame 9
stop();
attachMovie("dog", "dog1", 1000);
attachMovie("dog", "dog2", 1001);
attachMovie("dog", "dogA", 1002);
attachMovie("dog", "dogB", 1003);
attachMovie("dog", "dogC", 1004);
attachMovie("dog", "dogX", 1005);
var my_sound1 = new Sound(_root.dogA);
var my_sound2 = new Sound(_root.dogB);
var my_sound3 = new Sound(_root.dogC);
music1 = new Sound(_root.dog1);
music2 = new Sound(_root.dog2);
soundCounter = 1;
musicCounter = 1;
musicCounter2 = 2;
musicSwitch = 0;
soundPlayArray = new Array();
soundPlayArray = ["song1", "song2"];
soundModeKrin = 0;
KrinSound = 1;
addSound = function (a, b) {
if (_root.KrinSound) {
if (a == "Effects") {
if (b != undefined) {
_root["my_sound" + soundCounter].attachSound(b);
_root["my_sound" + soundCounter].setVolume(30);
_root["my_sound" + soundCounter].start();
soundCounter++;
if (soundCounter == 4) {
soundCounter = 1;
}
}
}
if (a == "Music") {
if (_root.currentMusicTrack != b) {
_root.currentMusicTrack = b;
_root["music" + musicCounter].attachSound(b);
if (soundPlayCounter == 4) {
soundPlayCounter = 0;
}
_root["music" + musicCounter].setVolume(0);
if ((b == "song4") || (b == "song3")) {
if (b == "song3") {
_root["music" + musicCounter].start(1, 1);
} else {
_root["music" + musicCounter].start(0, 1);
}
} else {
_root["music" + musicCounter].start(0, 100);
}
if (b == "STOP") {
_root["music" + musicCounter].stop();
}
musicCounter++;
musicCounter2++;
musicSwitch = 1;
volUpRate = 0;
if (musicCounter == 3) {
musicCounter = 1;
}
if (musicCounter2 == 3) {
musicCounter2 = 1;
}
}
}
}
};
dogX.onEnterFrame = function () {
if (musicSwitch) {
if (volUpRate < 100) {
volUpRate = volUpRate + 5;
_root["music" + musicCounter2].setVolume(volUpRate);
_root["music" + musicCounter].setVolume(100 - volUpRate);
if (volUpRate == 100) {
_root["music" + musicCounter].stop();
musicSwitch = false;
}
}
}
};
Instance of Symbol 287 MovieClip in Frame 9
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 10
function AddUnit(a, a2, b, c, d, e, f, g, h, i, j, k) {
unitData[a] = new Array();
unitData[a][0] = a2;
unitData[a][1] = b;
unitData[a][2] = c;
unitData[a][3] = d;
unitData[a][4] = e;
unitData[a][5] = f;
unitData[a][6] = g;
unitData[a][7] = h;
unitData[a][8] = i;
unitData[a][9] = j;
unitData[a][10] = k;
}
unitData = new Object();
AddUnit("Knight", "Knight", 2, 50, 1, 17, 2, 1, false, 0, 1, 1);
AddUnit("Priest", "Priest", 2, 30, 6, 12, 6, 1, false, 0, 1, 3);
AddUnit("Royal Guard", "Royal Guard", 1, 120, 1, 15, 2, 1, false, 0, 1, 4);
AddUnit("Crusader", "Crusader", 4, 82, 1, 20, 4, 2, false, 0, 1, 5);
AddUnit("Hunter", "Hunter", 3, 35, 8, 6, 8, 1, false, 0, 1, 2);
AddUnit("Healing Blast", "Healing Blast", 1, 1, 1, 1, 1, 1, false, 1, 0, 6);
AddUnit("Defense Tower", "Defense Tower", 0, 270, 9, 7, 14, 1, false, 0, 2, 7);
AddUnit("Hero", "Knight", 2, 230, 1, 21, 4, 1, true, 1, 0, 0);
AddUnit("Captain Darcheal", "Crusader", 2, 400, 1, 50, 4, 2, true, 0, 1, 1);
AddUnit("Sgt. Burk", "Knight", 2, 300, 1, 30, 4, 1, true, 0, 1, 1);
AddUnit("Syrelix", "Pharoh", 1, 500, 1, 30, 4, 1, true, 0, 1, 1);
AddUnit("Bandit Jose", "Hunter", 2, 230, 4, 21, 4, 1, true, 0, 1, 0);
AddUnit("Viper", "Viper", 1, 12, 13, 6, 16, 1, false, 0, 1, 2);
AddUnit("Assassin", "Assassin", 4, 1, 1, 39, 20, 1, false, 0, 1, 4);
AddUnit("Pharoh", "Pharoh", 1, 100, 3, 23, 4, 1, false, 0, 1, 5);
AddUnit("Warrior", "Warrior", 1, 140, 2, 14, 4, 1, false, 0, 1, 3);
AddUnit("Risen", "Risen", 2, 60, 1, 13, 2, 1, false, 0, 1, 1);
AddUnit("Apocalypse", "Apocalypse", 1, 1, 1, 1, 1, 1, false, 1, 0, 6);
AddUnit("Ancient Shrine", "Ancient Shrine", 0, 100, 9, 3, 10, 1, false, 0, 2, 7);
Frame 11
gotoAndPlay ("Mode4");
Frame 12
loadVariablesNum ("details.txt", 0);
unitPool = new Array();
unitPool = ["None", "Knight", "Hunter", "Priest", "Crusader", "Royal Guard", "Healing Blast", "Defense Tower"];
Frame 19
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[((("lane2_" + i) + "_") + j) + "_set"] = new Array();
_root[((("lane_" + i) + "_") + j) + "_set"] = new Array();
_root[((("lane2_" + i) + "_") + j) + "_set"] = _root[("l" + i) + j].split("!");
for (k in _root[((("lane2_" + i) + "_") + j) + "_set"]) {
_root[((("lane_" + i) + "_") + j) + "_set"][k] = parseInt(_root[((("lane2_" + i) + "_") + j) + "_set"][k]);
}
j++;
}
i++;
}
gotoAndPlay ("MainMenu");
Frame 20
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[(("lane_" + i) + "_") + j] = new Array();
_root[((("lane_" + i) + "_") + j) + "_num"] = 0;
j++;
}
i++;
}
gotoAndStop ("Game");
Frame 31
loadVariablesNum ("details.txt", 0);
unitPool = new Array();
unitPool = ["None", "Knight", "Hunter", "Priest", "Crusader", "Royal Guard", "Healing Blast", "Defense Tower"];
Frame 38
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[((("lane2_" + i) + "_") + j) + "_set"] = new Array();
_root[((("lane_" + i) + "_") + j) + "_set"] = new Array();
_root[((("lane2_" + i) + "_") + j) + "_set"] = _root[("l" + i) + j].split("!");
for (k in _root[((("lane2_" + i) + "_") + j) + "_set"]) {
_root[((("lane_" + i) + "_") + j) + "_set"][k] = parseInt(_root[((("lane2_" + i) + "_") + j) + "_set"][k]);
}
j++;
}
i++;
}
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[(("lane_" + i) + "_") + j] = new Array();
_root[((("lane_" + i) + "_") + j) + "_num"] = 0;
for (k in _root[((("lane_" + i) + "_") + j) + "_set"]) {
_root[(("lane_" + i) + "_") + j][k] = unitPool[_root[((("lane_" + i) + "_") + j) + "_set"][k]];
}
j++;
}
i++;
}
gotoAndPlay ("MainMenu");
Frame 39
function allLanesReset() {
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[((("lane2_" + i) + "_") + j) + "_set"] = new Array();
_root[((("lane_" + i) + "_") + j) + "_set"] = new Array();
_root[((("lane2_" + i) + "_") + j) + "_set"] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
for (k in _root[((("lane2_" + i) + "_") + j) + "_set"]) {
_root[((("lane_" + i) + "_") + j) + "_set"][k] = 0;
}
j++;
}
i++;
}
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[(("lane_" + i) + "_") + j] = new Array();
_root[((("lane_" + i) + "_") + j) + "_num"] = 0;
for (k in _root[((("lane_" + i) + "_") + j) + "_set"]) {
_root[(("lane_" + i) + "_") + j][k] = unitPool[_root[((("lane_" + i) + "_") + j) + "_set"][k]];
}
j++;
}
i++;
}
}
function applyPremade() {
j = 1;
while (j < 4) {
_root["lane_1_" + j] = new Array();
_root[("lane_1_" + j) + "_num"] = 0;
for (k in _root[("lane_1_" + j) + "_set"]) {
_root["lane_1_" + j][k] = _root[("lane_1_" + j) + "_set"][k];
}
j++;
}
}
function fillPremadeLanes() {
shinker = 0;
_root.lane_1_1_set = new Array();
_root.lane_1_2_set = new Array();
_root.lane_1_3_set = new Array();
k = 0;
while (k < (_root.outerShellArray.length / 3)) {
_root.lane_1_1_set[k] = _root.outerShellArray[shinker];
shinker++;
_root.lane_1_2_set[k] = _root.outerShellArray[shinker];
shinker++;
_root.lane_1_3_set[k] = _root.outerShellArray[shinker];
shinker++;
k++;
}
}
function AItecher() {
if (player1.active == true) {
if (player1.nowTechDate == _root.totalDate) {
player1.nowTechDate = player1.nowTechDate + player1.techDateSpace;
p1checkertech = false;
p1UpAble = new Array();
i = 0;
while (i < 8) {
if (player1.upgrades[i] < upgradePoolLimits[i + (8 * player1.race)]) {
p1checkertech = true;
p1UpAble.push(i);
}
i++;
}
if (p1checkertech) {
thingo = random(p1UpAble.length - 1);
player1.upgrades[p1UpAble[thingo]]++;
}
}
}
if (player2.active == true) {
if (player2.nowTechDate == _root.totalDate) {
player2.nowTechDate = player2.nowTechDate + player2.techDateSpace;
p2checkertech = false;
p2UpAble = new Array();
i = 0;
while (i < 8) {
if (player2.upgrades[i] < upgradePoolLimits[i + (8 * player2.race)]) {
p2checkertech = true;
p2UpAble.push(i);
}
i++;
}
if (p2checkertech) {
thingo = random(p2UpAble.length - 1);
player2.upgrades[p2UpAble[thingo]]++;
}
}
}
if (player3.active == true) {
if (player3.nowTechDate == _root.totalDate) {
player3.nowTechDate = player3.nowTechDate + player3.techDateSpace;
p3checkertech = false;
p3UpAble = new Array();
i = 0;
while (i < 8) {
if (player3.upgrades[i] < upgradePoolLimits[i + (8 * player3.race)]) {
p3checkertech = true;
p3UpAble.push(i);
}
i++;
}
if (p3checkertech) {
thingo = random(p3UpAble.length - 1);
player3.upgrades[p3UpAble[thingo]]++;
}
}
}
}
function enemyLanesCreate(spawnLimit, player) {
includedEnemyFunction = new Array();
includedEnemyFunction2 = new Array();
EFnum = 1;
includedEnemyFunction[0] = 0;
includedEnemyFunction2[0] = 0;
i = 0;
while (i < _root[player].enemyFunction.length) {
if (_root[player].enemyFunction[i] > 0) {
includedEnemyFunction[EFnum] = _root[player].enemyFunction[i];
includedEnemyFunction2[EFnum] = i;
EFnum++;
}
i++;
}
bobber = 1;
bobber2 = 0;
k = 0;
while (k < spawnLimit) {
setChose = Math.random() * 100;
u = 0;
while (u < _root.includedEnemyFunction.length) {
if (setChose >= includedEnemyFunction[u]) {
if (setChose < includedEnemyFunction[u + 1]) {
_root[("lane_1_" + bobber) + "_set"][bobber2] = includedEnemyFunction2[u + 1];
bobber++;
if (bobber == 4) {
bobber2++;
bobber = 1;
}
}
}
u++;
}
k++;
}
j = 1;
while (j < 4) {
_root["lane_1_" + j] = new Array();
_root[("lane_1_" + j) + "_num"] = 0;
for (k in _root[("lane_1_" + j) + "_set"]) {
_root["lane_1_" + j][k] = unitPool[_root[("lane_1_" + j) + "_set"][k] + (_root[player].race * 8)];
}
j++;
}
}
function CoEFsSet(race, player) {
if (race == 0) {
z = _root[player].upgrades;
_root[player].CoEFs[1] = [1 + (0.1 * z[7]), (0 + (3 * z[0])) + (5 * z[6]), 1 + (0.1 * z[1]), 0 + (2 * z[0]), 0];
_root[player].CoEFs[2] = [1, 0 + (3 * z[0]), 1 + (0.1 * z[1]), (0 + (2 * z[0])) + (3 * z[3]), 0 + (1 * z[3])];
_root[player].CoEFs[3] = [1, 0 + (5 * z[2]), 1, ((0 + (2.7 * z[3])) + (0.8 * z[2])) + (4.1 * z[4]), 0 + (1 * z[3])];
_root[player].CoEFs[4] = [1 + (0.1 * z[7]), (0 + (3 * z[5])) + (5 * z[6]), 1 + (0.1 * z[1]), 0 + (3 * z[5]), 0];
_root[player].CoEFs[5] = [1 + (0.1 * z[7]), 0 + (3 * z[5]), 1 + (0.1 * z[1]), 0 + (3 * z[5]), 0];
_root[player].CoEFs[7] = [1 + (0.1 * z[7]), 0, 1 + (0.1 * z[1]), 0, 0];
}
if (race == 1) {
z = _root[player].upgrades;
_root[player].CoEFs[1] = [1, 0, 1, 0, 0];
_root[player].CoEFs[2] = [1, 0 + (8 * z[3]), 1, 0, 0 + (1 * z[0])];
_root[player].CoEFs[3] = [1 + (0.08 * z[6]), 0 + (8 * z[1]), 1 + (0.08 * z[7]), 0, 0];
_root[player].CoEFs[4] = [1, 0 + (6 * z[3]), 1, 0 + (6 * z[2]), 0];
_root[player].CoEFs[5] = [1 + (0.08 * z[6]), 0, 1 + (0.08 * z[7]), 0 + (3 * z[4]), 0];
_root[player].CoEFs[7] = [1, 0 + (15 * z[5]), 1, 0 + (1 * z[5]), 0];
}
}
unitPool = new Array();
_root.shifterCount = 8;
_root.shifterCount2 = 8;
unitPool = ["None", "Knight", "Hunter", "Priest", "Crusader", "Royal Guard", "Healing Blast", "Defense Tower", "None", "Risen", "Viper", "Warrior", "Assassin", "Pharoh", "Apocalypse", "Ancient Shrine"];
upgradePool = ["Infantry Tacticals", "Weaponry", "Spiritual Mastery", "Focus", "Overload", "Determination", "Vitality", "Cold Steel", "Sharp Eyes", "Granite Armor", "Deadly Blades", "Endurance", "Eclipse", "Improved Shrines", "Ancient Resilience", "Ancient Devestation"];
upgradePoolLimits = [3, 3, 5, 1, 3, 3, 3, 3, 1, 5, 3, 3, 5, 2, 3, 3];
allLanesReset();
Stage.scaleMode = "ExactFit";
gotoAndPlay ("MainMenu");
Frame 47
missionTitles = new Array();
missionTitles = ["Dark Hours", "Homeward Bound", "The Village of Mehlan", "Breakout!", "Old Friends", "Resting In Darkness", "Onslaught", "Path to the Temple", "Inner Sanctum", "Hounded"];
var slot1 = SharedObject.getLocal("slot1");
chosenMenu = "";
cutText = new Array();
d = 0;
cutText[d] = "So we've got some snobby nobleman in charge of us now, so what?";
d++;
cutText[d] = "Better than having no captain. I just want to get away from this valley of death!";
d++;
cutText[d] = "I'll bet he'll shout his orders from a mile away and watch us die!";
d++;
cutText[d] = "Shut yer traps! I don't like having some snot-nosed richman leading us either!";
d++;
cutText[d] = "But I especially don't like you lot crying in my earhole!";
d++;
cutText[d] = "Good evening, gentlemen. You will have heard that your old Captain has betrayed the Kingdom.";
d++;
cutText[d] = "I am Captain Darchael Cavalan. I will be taking his place.";
d++;
cutText[d] = "Hah! Family fortune doesn't make a leader, nobleman.";
d++;
cutText[d] = "We ain't prepared to take orders from no soft lad.";
d++;
cutText[d] = "We can discuss my right to rank now and join the dead.";
d++;
cutText[d] = "Or you can follow me into victory. It's your choice.";
d++;
cutText[d] = "Well done men, we pulled through.";
d++;
cutText[d] = "I suppose you want us to take defense in this piss stain of an outpost";
d++;
cutText[d] = "with no resources, eh?";
d++;
cutText[d] = "If my leadership annoys you, Burk, you may consider yourself dismissed.";
d++;
cutText[d] = "If you would however lose sight of your ignorance for a moment";
d++;
cutText[d] = "then I will tell you my plan.";
d++;
cutText[d] = "The enemy controls a mineral field up ahead.";
d++;
cutText[d] = "Defenses are light, so we can breach it and get through to the village of Derasmus.";
d++;
cutText[d] = "Hmph...Reckless, but I suppose it could work. ";
d++;
cutText[d] = "On your head, nobleman. Come on then you lot!";
d++;
cutText[d] = "More dead, even more wounded ";
d++;
cutText[d] = "and now playing house with petrified villagers.";
d++;
cutText[d] = "Still, you did well to call that charge, Darcheal.";
d++;
cutText[d] = "They have time to rest now, at least.";
d++;
cutText[d] = "Perhaps we will get most of them back home alive.";
d++;
cutText[d] = "Darcheal! Burk! The Greens have mobilized their elite in the North";
d++;
cutText[d] = "they will come down on us like a hammer.";
d++;
cutText[d] = "What?! How much time do we have?";
d++;
cutText[d] = "No more than a few hours sir!";
d++;
cutText[d] = "We have our orders, Darcheal. If we leave now";
d++;
cutText[d] = "we might have a chance of getting to General Sylvas";
d++;
cutText[d] = "and meet them head on.";
d++;
cutText[d] = "No, they will know we've been here.";
d++;
cutText[d] = "I'm certain they'll slaughter the villagers.";
d++;
cutText[d] = "You know I can't quite read you, richman.";
d++;
cutText[d] = "So be it. Call the men to arms!";
d++;
cutText[d] = "We'll defend these villagers or die alongside them.";
d++;
cutText[d] = "General Sylvas, thank God!";
d++;
cutText[d] = "I led the men as far as I could, sir.";
d++;
cutText[d] = "We have been defending this vi-";
d++;
cutText[d] = "Corporal Darcheal, your orders were to make your way to my men";
d++;
cutText[d] = "so that we could crush the Greens.";
d++;
cutText[d] = "Instead, you've risked the life of your men";
d++;
cutText[d] = "for the sake of a rundown village.";
d++;
cutText[d] = "This is unacceptable.";
d++;
cutText[d] = "In the name of the Queen";
d++;
cutText[d] = "I arrest and condemn you to hanging.";
d++;
cutText[d] = "Burk!";
d++;
cutText[d] = "Don't think I've gone all soft on you, nobleman.";
d++;
cutText[d] = "It's just that I can see you ain't the same as the others.";
d++;
cutText[d] = "Something's changed.";
d++;
cutText[d] = "Something is wrong with our Kingdom.";
d++;
cutText[d] = "What's left of the company is outside.";
d++;
cutText[d] = "Your men await your orders.";
d++;
cutText[d] = "Good... What of my wife and daughter?";
d++;
cutText[d] = "Are they outside as well?";
d++;
cutText[d] = "Damn it lad, I didn't want to be giving you more bad news now";
d++;
cutText[d] = "but they've...";
d++;
cutText[d] = "they've murdered your wife.";
d++;
cutText[d] = "They've taken your daughter prisoner.";
d++;
cutText[d] = "What?! What is this?!";
d++;
cutText[d] = "It's on you to find out what the hell is going on.";
d++;
cutText[d] = "Captain Betulve is stationed at the valley of fire.";
d++;
cutText[d] = "Now go! GO!";
d++;
cutText[d] = "Matteus Betulve! Old friend!";
d++;
cutText[d] = "Thank God I found you.";
d++;
cutText[d] = "Look, I need your help, I'm being hunted-";
d++;
cutText[d] = "You're not welcome here Darcheal.";
d++;
cutText[d] = "How could you betray the Kingdom?";
d++;
cutText[d] = "What? No, old friend, I've been framed";
d++;
cutText[d] = "for something I don't even understand!";
d++;
cutText[d] = "By order of the beloved Kingdom";
d++;
cutText[d] = "kill these traitors!";
d++;
cutText[d] = "Darchael...I...";
d++;
cutText[d] = "I f..failed.";
d++;
cutText[d] = "The Temple...";
d++;
cutText[d] = "The Temple of Eratamus...";
d++;
cutText[d] = "Edgar... has her.";
d++;
cutText[d] = "Temple of Eratmus?";
d++;
cutText[d] = "Matteus? Matteus!";
d++;
cutText[d] = "Damn it... ";
d++;
cutText[d] = "Forgive me, old friend.";
d++;
cutText[d] = "Well, this is Edgar's outpost.";
d++;
cutText[d] = "But it looks as though he's long gone.";
d++;
cutText[d] = "Sir, we have tracked Captain Betulve";
d++;
cutText[d] = "to the nearby village of Mehlan.";
d++;
cutText[d] = "The same village I was arrested in?";
d++;
cutText[d] = "What sort of game is he playing?";
d++;
cutText[d] = "Damn it, I just want some sense of all this!";
d++;
cutText[d] = "What the hell are these things?!";
d++;
cutText[d] = "Defend yourselves!";
d++;
cutText[d] = "As much as I don't want to admit it";
d++;
cutText[d] = "I have a feeling those creatures will be playing";
d++;
cutText[d] = "a larger role in this mess I'm in.";
d++;
cutText[d] = "Edgar! Show yourself, you coward!";
d++;
cutText[d] = "You're too late, Cavalan.";
d++;
cutText[d] = "Captain Betulve has already left for Eratamus.";
d++;
cutText[d] = "And you won't be following him anywhere.";
d++;
cutText[d] = "Let's see how much more information you'll share with me";
d++;
cutText[d] = "with my blade against your throat.";
d++;
cutText[d] = "I admire your courage, Darcheal.";
d++;
cutText[d] = "Your family have always been valiant nobles.";
d++;
cutText[d] = "How dare you speak to me of family, Edgar.";
d++;
cutText[d] = "Give me back my daughter!";
d++;
cutText[d] = "I'm afraid I can't, old friend.";
d++;
cutText[d] = "We need a noble sacrifice you see, and well...";
d++;
cutText[d] = "girls are generally easier to do that to.";
d++;
cutText[d] = "I will rip you apart!";
d++;
cutText[d] = "Murderer!";
d++;
cutText[d] = "Strong words, Cavalan.";
d++;
cutText[d] = "I'm afraid I will have to play mouse for a while longer, first.";
d++;
cutText[d] = "This is it.";
d++;
cutText[d] = "I don't know what we'll find in there, so I'll take a small unit with me.";
d++;
cutText[d] = "The rest of you stay here in case of an ambush.";
d++;
cutText[d] = "N-No... Ardia!";
d++;
cutText[d] = "Shame about the sacrifice, old friend.";
d++;
cutText[d] = "Still, all is fair in the name of our glorious Kingdom.";
d++;
cutText[d] = "My family have been murdered.";
d++;
cutText[d] = "My name has been tainted.";
d++;
cutText[d] = "My friends have become murderous traitors.";
d++;
cutText[d] = "This is not my Kingdom!";
d++;
cutText[d] = "Well fought, Cavalan. ";
d++;
cutText[d] = "Unfortunately, I have another engagement on the Northern Isles";
d++;
cutText[d] = "so I must leave you.";
d++;
cutText[d] = "But if you're that desperate to join your family";
d++;
cutText[d] = "then by all means";
d++;
cutText[d] = "I'll be waiting.";
d++;
cutText[d] = "Sir... more of those creatures are coming for us";
d++;
cutText[d] = "as well as Betulve's guards.";
d++;
cutText[d] = "We need to either flee or fight, and soon!";
d++;
cutText[d] = "Sir! What are your orders?!";
d++;
cutText[d] = "Gather the men.";
d++;
cutText[d] = "We will take one of these ships and go to the Northern Isles.";
d++;
cutText[d] = "We are few in number, but all of you have courage";
d++;
cutText[d] = "that speaks bounds for the truth";
d++;
cutText[d] = "in the Kingdom of Terradar.";
d++;
cutText[d] = "Prepare yourselves gentlemen...";
d++;
cutText[d] = "...for our final battle on the Southern Isles.";
d++;
cutText[d] = "I will find you, Edgar.";
d++;
cutText[d] = "I will have the answers I seek.";
d++;
cutText[d] = "And the Cavalan family will have its revenge.";
d++;
chosenMenu = "";
stop();
Instance of Symbol 389 MovieClip "BO" in Frame 47
onClipEvent (enterFrame) {
if (_root.chosenMenu != "") {
_alpha = (_alpha + 5);
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_alpha = 0;
}
if (_alpha >= 100) {
_root.gotoAndStop(_root.chosenMenu);
}
}
Frame 49
chosenMenu = "";
Frame 52
chosenMenu = "";
Frame 55
chosenMenu = "";
spacing = 45;
startspace = 17;
_root.specialCase = false;
i = 0;
while (i < (_root.progressGame + 1)) {
menuT.attachMovie("buttonER", "b" + i, i);
menuT["b" + i]._y = startspace + (spacing * i);
menuT["b" + i].missionGo = missionTitles[i];
menuT["b" + i].missionNumber = ("Mission " + (i + 1)) + ":";
menuT["b" + i].chosenMenu = "MOVIE_00" + (i + 1);
menuT["b" + i].missionNumNum = i;
menuT["b" + i].missionNumNum2 = i + 1;
if (_root.achDayArray[i] == true) {
menuT["b" + i].dayA.gotoAndStop("ACH");
} else {
menuT["b" + i].dayA.gotoAndStop(1);
}
if (_root.achHeroArray[i] == true) {
menuT["b" + i].heroA.gotoAndStop("ACH");
} else {
menuT["b" + i].heroA.gotoAndStop(1);
}
if (_root.achWinArray[i] == true) {
menuT["b" + i].winA.gotoAndStop("ACH");
} else {
menuT["b" + i].winA.gotoAndStop(1);
}
i++;
}
addSound("Music", "song2");
stop();
Instance of Symbol 417 MovieClip in Frame 55
onClipEvent (load) {
thing = 0;
i = 0;
while (i < 10) {
if (_root.achWinArray[i]) {
thing++;
}
i++;
}
if (thing == 10) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 450 MovieClip in Frame 55
onClipEvent (load) {
array = new Array();
array = ["SONNY", "AG", "ACH", "SONNY"];
num = random(3);
this.gotoAndStop(array[num]);
}
Instance of Symbol 455 MovieClip in Frame 55
onClipEvent (load) {
if (_root.ACHSHOW == "NONE") {
this._visible = false;
} else {
this.gotoAndStop(_root.ACHSHOW);
_root.ACHSHOW == "NONE";
thing = 0;
}
}
onClipEvent (enterFrame) {
if (thing == 150) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
} else {
thing++;
}
}
Instance of Symbol 389 MovieClip in Frame 55
onClipEvent (enterFrame) {
if (_root.chosenMenu != "") {
_alpha = (_alpha + 5);
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_alpha = 0;
}
if (_alpha >= 100) {
_root.gotoAndStop(_root.chosenMenu);
}
}
Frame 57
chosenMenu = "";
D = new Number();
D = -1;
texter = "";
Instance of Symbol 389 MovieClip "BO" in Frame 57
onClipEvent (enterFrame) {
if (_root.chosenMenu != "") {
_alpha = (_alpha + 5);
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_alpha = 0;
}
if (_alpha >= 100) {
_root.gotoAndStop(_root.chosenMenu);
}
}
Frame 71
chosenMenu = "";
D = 10;
texter = "";
Frame 85
chosenMenu = "";
D = 20;
texter = "";
Frame 98
chosenMenu = "";
_root.specialCase = true;
D = 37;
texter = "";
Frame 109
chosenMenu = "";
_root.specialCase = true;
D = 73;
texter = "";
Frame 120
chosenMenu = "";
_root.specialCase = true;
D = 91;
texter = "";
Frame 131
chosenMenu = "";
_root.specialCase = true;
D = 121;
texter = "";
Frame 143
chosenMenu = "";
_root.specialCase = true;
_root.specialCase2 = true;
D = 138;
texter = "";
Frame 154
chosenMenu = "";
D = 47;
texter = "";
Frame 166
chosenMenu = "";
D = 64;
texter = "";
Frame 177
chosenMenu = "";
D = 82;
texter = "";
Frame 192
chosenMenu = "";
D = 94;
texter = "";
Frame 206
chosenMenu = "";
D = 100;
texter = "";
Frame 219
chosenMenu = "";
D = 111;
texter = "";
Frame 232
chosenMenu = "";
D = 127;
texter = "";
Frame 249
addSound("Music", "song2");
if (specialCase == true) {
if (specialCase2 == true) {
gotoAndStop ("EndScreen");
} else {
gotoAndStop ("Mission Selector");
}
}
MissionOn = missionSelect;
chosenMenu = "";
Instance of Symbol 1434 MovieClip in Frame 249
onClipEvent (load) {
this.inner.gotoAndStop(_root.missionSelect);
missionNumber = _root.ewvwebrw;
missionOn = _root.swerbverbgdf;
numArray = new Array();
numArray = [2, 3, 3, 5, 4, 4, 4, 6, 4, 6];
numX = numArray[_root.MNUM];
thingerX = ("Beat this mission in less than " + numX) + " days, or without using a Hero.";
}
Instance of Symbol 389 MovieClip "BO" in Frame 249
onClipEvent (enterFrame) {
if (_root.chosenMenu != "") {
_alpha = (_alpha + 5);
} else if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_alpha = 0;
}
if (_alpha >= 100) {
_root.gotoAndStop(_root.chosenMenu);
}
}
Frame 251
_root.playerNone = new Object();
playerNone.colour = "0x000000";
timeUnit = 30;
totalDate = 0;
lifeOn = true;
firstRound = true;
playerTurn = true;
Erik = new Object();
activeOn = -1;
winCondition = 0;
earnCounter = 0;
enemyBaseCum = 0;
switchPlayer = false;
playerBaseCum = 0;
customU = new Array();
i = 0;
while (i < 18) {
customU[i] = 0;
i++;
}
PAYDAY = false;
autoLaneCreate = false;
_root.gotoAndPlay(MissionOn);
_root.tutKrin = false;
Frame 252
DayLimit = 0;
DayCond = 0;
Erik.t = 1;
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 500;
popul = 10;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x4E92D6";
player0.hero = "Syrelix";
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xFF9900";
player1.hero = "Bandit Jose";
player1.heroNum = 1;
player1.baseCount = 0;
player1.race = 0;
_root.player2 = new Object();
player2.XXcolour = "0x00FF00";
player2.baseCount = 0;
player2.race = 0;
_root.player3 = new Object();
player3.XXcolour = "0x66FF94";
player3.baseCount = 0;
player3.race = 0;
customU = new Array();
customU[1] = 15;
customU[2] = 15;
customU[3] = 15;
customU[4] = 5;
customU[5] = 5;
customU[6] = 5;
customU[7] = 5;
player1.ai = new Object();
player2.ai = new Object();
player3.ai = new Object();
player1.ai.attk = 2;
player1.ai.conq = 2;
player1.ai.iq = 0;
player2.ai.attk = 6;
player2.ai.conq = 2;
player2.ai.iq = 1;
player3.ai.attk = 10;
player3.ai.conq = 10;
player3.ai.iq = 1;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player2.CoEFs = new Array();
player3.CoEFs = new Array();
player1.upgrades = new Array();
player2.upgrades = new Array();
player0.upgrades = new Array();
player0.upgradesPre = new Array();
player3.upgrades = new Array();
player1.upgrades = [4, 3, 4, 1, 3, 3, 4, 4];
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
player2.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player3.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player2.CoEFs[i] = new Array();
player2.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player3.CoEFs[i] = new Array();
player3.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 263
DayLimit = 0;
DayCond = 0;
Erik.t = 1;
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 500;
popul = 10;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x4E92D6";
player0.hero = "Captain Darcheal";
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xCCFF00";
player1.baseCount = 0;
player1.race = 0;
player1.active = true;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
_root.player2 = new Object();
player2.XXcolour = "0xC52929";
player2.baseCount = 0;
player2.race = 0;
player2.active = true;
player2.techDateSpace = 2;
player2.nowTechDate = player2.techDateSpace;
_root.player3 = new Object();
player3.XXcolour = "0xC52929";
player3.baseCount = 0;
player3.race = 0;
player3.active = false;
player3.techDateSpace = 2;
player3.nowTechDate = player3.techDateSpace;
customU = new Array();
customU[1] = 15;
customU[2] = 15;
customU[3] = 15;
customU[4] = 5;
customU[5] = 5;
customU[6] = 5;
customU[7] = 5;
player1.ai = new Object();
player2.ai = new Object();
player3.ai = new Object();
player1.ai.attk = 1;
player1.ai.conq = 5;
player1.ai.iq = 1;
player2.ai.attk = 9;
player2.ai.conq = 2;
player2.ai.iq = 1;
player3.ai.attk = 9;
player3.ai.conq = 2;
player3.ai.iq = 1;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player2.CoEFs = new Array();
player3.CoEFs = new Array();
player1.upgrades = new Array();
player2.upgrades = new Array();
player0.upgrades = new Array();
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player2.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player3.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, 2, 4, 6, -1];
scriptDisplay = ["blah", "none", "none", "blah"];
scriptArray[0] = ["EVGEWV e4g4 g4g e4g4eg"];
scriptArray[1] = ["aerberber rehtr hteh tsrh trh bs"];
scriptArray[2] = ["aerberber rehtr hteh tsrh trh bs"];
scriptArray[3] = [""];
nextDate = -1;
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player2.CoEFs[i] = new Array();
player2.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player3.CoEFs[i] = new Array();
player3.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 276
achDay = 2;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = true;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, 2, -1];
scriptDisplay = ["none", "none"];
scriptArray[0] = ["Welcome Captain. You must destroy the Green enemy base to the East, but before you can attack it directly, you need to occupy the staging point in the middle (the grey circle). To occupy it, simply choose to attack it. Once you do, the base will turn Red, indicating that it now belongs to your team."];
scriptArray[1] = ["You will notice that each turn you are given four options, but the only one you need right now is 'Attack.' When you attack grey (unoccupied) bases, you conquer it. If you attack bases that belong to the enemy, you will engage in combat. You may only attack bases that are directly connected one of yours (as indicated by the grey lines)."];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 0;
popul = 0;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0xC52929";
player0.hero = "Sgt. Burk";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0x42A428";
player1.baseCount = 0;
player1.race = 0;
player1.active = false;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 50;
customU[2] = 0;
customU[3] = 0;
customU[4] = 0;
customU[5] = 0;
customU[6] = 0;
customU[7] = 0;
player1.ai = new Object();
player1.ai.attk = 0;
player1.ai.conq = 0;
player1.ai.iq = 0;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 290
achDay = 3;
DayLimit = 7;
DayCond = 1;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, 2, -1];
scriptDisplay = ["none", "none"];
scriptArray[0] = ["Towers and Royal Guards are very powerful defensive units. They can both absorb large amounts of damage before being destroyed, but they are expensive to build, so handle your defense strategy wisely."];
scriptArray[1] = ["Another good option to use during this mission is 'Fortify.' You can use it on damaged bases to repair them, so that they could possibly withstand further attacks. Your objective here is to survive, so play defensively."];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 999;
popul = 15;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0xC52929";
player0.hero = "Sgt. Burk";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0x42A428";
player1.baseCount = 0;
player1.race = 0;
player1.active = true;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 20;
customU[2] = 20;
customU[3] = 20;
customU[4] = 5;
customU[5] = 5;
customU[6] = 5;
customU[7] = 5;
player1.ai = new Object();
player1.ai.attk = 10;
player1.ai.conq = 7;
player1.ai.iq = 1;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [3, 3, 5, 1, 3, 3, 4, 4];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 305
achDay = 3;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, 1, 2, -1];
scriptDisplay = ["none", "none", "none"];
scriptArray[0] = ["If you want to win, you will need to recruit more soldiers. In this mission, you may now use the 'Build Units' option to create more units, manage your resources, or upgrade your army."];
scriptArray[1] = ["You may have noticed that under the 'Specials' category on your unit panel, you have a 'Hero' availiable. Heroes are powerful super-units that can only be used once per mission. You should, however, only use them in desparate situations, as you will recieve a trophy for each mission that you beat without having to use a 'Hero.'"];
scriptArray[2] = ["Another 'Special' unit availiable to you this Mission is the 'Healing Blast' spell. To use it, simply place it into one of the slots, just as if it were any other unit. The greatest aspect of this spell is that it isn't a physical unit, so you may use it from lanes that are physically blocked off."];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 300;
popul = 10;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0xC52929";
player0.hero = "Sgt. Burk";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0x42A428";
player1.baseCount = 0;
player1.race = 0;
player1.active = false;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 25;
customU[2] = 15;
customU[3] = 15;
customU[4] = 0;
customU[5] = 0;
customU[6] = 5;
customU[7] = 0;
player1.ai = new Object();
player1.ai.attk = 7;
player1.ai.conq = 7;
player1.ai.iq = 1;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 322
achDay = 5;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, 6, 8, -1];
scriptDisplay = ["none", "none"];
scriptArray[0] = ["In this mission, your faction is now represented by the blue color. Your former Empire (the red team) are now your enemies. You have a limited 'squad' of units to use against the enemy. Make sure you use the right counter-unit against each of the enemy's soldiers. Hunters beat Royal Guards. Royal Guards beat Crusaders. Crusaders beat Hunters."];
scriptArray[1] = ["Once you take over the Red Imperial base, you will start recieving a good resource income from it, and can use it to build more units."];
scriptArray[2] = ["If you are running low on resources, the 'Cultivate' option will let you skip a turn, but will increase your resource income by 50% for the next turn."];
nextDate = scriptDate[0];
b1 = "Farm Land";
b2 = "Armory";
b3 = "Royal Keep";
b4 = "Crusader's Camp";
gold = 0;
popul = 0;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xC52929";
player1.baseCount = 0;
player1.race = 0;
player1.active = false;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
_root.player2 = new Object();
player2.XXcolour = "0xFFCC00";
player2.baseCount = 0;
player2.race = 0;
player2.active = true;
player2.techDateSpace = 4;
player2.nowTechDate = player1.techDateSpace;
_root.player3 = new Object();
player3.XXcolour = "0xF76200";
player3.baseCount = 0;
player3.race = 0;
player3.active = true;
player3.techDateSpace = 4;
player3.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 0;
customU[2] = 30;
customU[3] = 0;
customU[4] = 30;
customU[5] = 30;
customU[6] = 15;
customU[7] = 0;
player1.ai = new Object();
player1.ai.attk = 4;
player1.ai.conq = 0;
player1.ai.iq = 1;
player2.ai = new Object();
player2.ai.attk = 5;
player2.ai.conq = 5;
player2.ai.iq = 1;
player3.ai = new Object();
player3.ai.attk = 5;
player3.ai.conq = 5;
player3.ai.iq = 1;
player1.CoEFs = new Array();
player2.CoEFs = new Array();
player3.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player2.upgrades = new Array();
player3.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [3, 3, 0, 1, 0, 3, 3, 3];
player2.upgrades = [3, 3, 0, 0, 0, 3, 3, 3];
player3.upgrades = [3, 3, 5, 1, 3, 0, 0, 3];
player0.upgradesPre = new Array();
player0.upgrades = [3, 3, 0, 1, 0, 3, 3, 3];
player0.upgradesPre = [3, 3, 0, 1, 0, 3, 3, 3];
if (Erik.t == 1) {
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
}
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player2.CoEFs[i] = new Array();
player2.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player3.CoEFs[i] = new Array();
player3.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 336
achDay = 4;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [-1];
scriptDisplay = ["none", "none"];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 0;
popul = 0;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xC52929";
player1.baseCount = 0;
player1.race = 0;
_root.player2 = new Object();
player2.XXcolour = "0xCEC46C";
player2.baseCount = 0;
player2.race = 0;
player1.active = true;
player1.techDateSpace = 4;
player1.nowTechDate = player1.techDateSpace;
player2.active = true;
player2.techDateSpace = 4;
player2.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 15;
customU[2] = 15;
customU[3] = 15;
customU[4] = 10;
customU[5] = 10;
customU[6] = 15;
customU[7] = 10;
player1.ai = new Object();
player1.ai.attk = 4;
player1.ai.conq = 2;
player1.ai.iq = 1;
player2.ai = new Object();
player2.ai.attk = 8;
player2.ai.conq = 8;
player2.ai.iq = 1;
player1.CoEFs = new Array();
player2.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player2.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player2.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player2.CoEFs[i] = new Array();
player2.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 352
achDay = 4;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [-1];
scriptDisplay = ["none", "none"];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 800;
popul = 15;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0x86518C";
player1.baseCount = 0;
player1.race = 1;
player1.active = true;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 5;
customU[2] = 5;
customU[3] = 5;
customU[4] = 5;
customU[5] = 5;
customU[6] = 5;
customU[7] = 5;
player1.ai = new Object();
player1.ai.attk = 8;
player1.ai.conq = 8;
player1.ai.iq = 1;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 369
achDay = 6;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [-1];
scriptDisplay = ["none", "none"];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 700;
popul = 10;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xC52929";
player1.baseCount = 0;
player1.race = 0;
_root.player2 = new Object();
player2.XXcolour = "0x86518C";
player2.baseCount = 0;
player2.race = 1;
player1.active = true;
player1.techDateSpace = 4;
player1.nowTechDate = player1.techDateSpace;
player2.active = true;
player2.techDateSpace = 4;
player2.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 15;
customU[2] = 15;
customU[3] = 15;
customU[4] = 10;
customU[5] = 10;
customU[6] = 15;
customU[7] = 10;
player1.ai = new Object();
player1.ai.attk = 4;
player1.ai.conq = 2;
player1.ai.iq = 1;
player2.ai = new Object();
player2.ai.attk = 8;
player2.ai.conq = 8;
player2.ai.iq = 1;
player1.CoEFs = new Array();
player2.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player2.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player2.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player2.CoEFs[i] = new Array();
player2.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 384
achDay = 4;
DayLimit = 6;
DayCond = 2;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, -1];
scriptDisplay = ["none", "none"];
scriptArray[0] = ["You have a very limited pool of troops that you can use to beat this mission, so try to use as little as possible units per battle, but that will still guarentee you victory. You may not build additional units in this mission, and you only have 6 days to fight your way to the enemy's main base."];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 0;
popul = 0;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0x86518C";
player1.baseCount = 0;
player1.race = 1;
player1.active = true;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 6;
customU[2] = 4;
customU[3] = 3;
customU[4] = 6;
customU[5] = 6;
customU[6] = 4;
customU[7] = 0;
player1.ai = new Object();
player1.ai.attk = 0;
player1.ai.conq = 0;
player1.ai.iq = 0;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [1, 5, 3, 3, 5, 2, 3, 3];
player0.upgradesPre = new Array();
player0.upgrades = [3, 3, 5, 1, 3, 3, 3, 3];
player0.upgradesPre = [3, 3, 5, 1, 3, 3, 3, 3];
if (Erik.t == 1) {
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
}
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 398
achDay = 6;
DayLimit = 1;
DayCond = 0;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [0, -1];
scriptDisplay = ["none", "none"];
scriptArray[0] = ["The Empire's unstoppable army approaches from the East, and you must destroy both Ancient bases before they overrun you completely. You will lose the mission if you have zero 'silver' bases left."];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 700;
popul = 10;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xC52929";
player1.baseCount = 0;
player1.race = 0;
_root.player2 = new Object();
player2.XXcolour = "0x86518C";
player2.baseCount = 0;
player2.race = 1;
player1.active = true;
player1.techDateSpace = 4;
player1.nowTechDate = player1.techDateSpace;
player2.active = true;
player2.techDateSpace = 3;
player2.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 15;
customU[2] = 15;
customU[3] = 15;
customU[4] = 10;
customU[5] = 10;
customU[6] = 15;
customU[7] = 10;
player1.ai = new Object();
player1.ai.attk = 4;
player1.ai.conq = 2;
player1.ai.iq = 1;
player2.ai = new Object();
player2.ai.attk = 4;
player2.ai.conq = 4;
player2.ai.iq = 1;
player1.CoEFs = new Array();
player2.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player2.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [4, 4, 6, 1, 4, 3, 4, 4];
player2.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player2.CoEFs[i] = new Array();
player2.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 411
achDay = 4;
DayLimit = 7;
DayCond = 2;
_root.tutKrin = false;
if (playAsA == true) {
Erik.t = 1;
} else {
Erik.t = 0;
}
afterTurn = undefined;
buildingAv = new Array();
buildingAv = ["Blank", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
scriptArray = new Array();
scriptDate = new Array();
scriptDisplay = new Array();
scriptNow = 0;
scriptDate = [-1];
scriptDisplay = ["none", "none"];
nextDate = scriptDate[0];
b1 = "None";
b2 = "None";
b3 = "None";
b4 = "None";
gold = 999;
popul = 15;
cultConstantSave = 1;
cultConstant = cultConstantSave;
Day = 1;
DayTime = 0;
_root.player0 = new Object();
player0.colour = "0x3399FF";
player0.hero = "Captain Darcheal";
if (Erik.t == 1) {
player0.hero = "Syrelix";
}
player0.heroNum = 1;
_root.player1 = new Object();
player1.XXcolour = "0xC52929";
player1.baseCount = 0;
player1.race = 0;
player1.active = true;
player1.techDateSpace = 2;
player1.nowTechDate = player1.techDateSpace;
customU = new Array();
customU[1] = 20;
customU[2] = 20;
customU[3] = 20;
customU[4] = 5;
customU[5] = 5;
customU[6] = 5;
customU[7] = 5;
player1.ai = new Object();
player1.ai.attk = 1;
player1.ai.conq = 7;
player1.ai.iq = 1;
player1.CoEFs = new Array();
player0.CoEFs = new Array();
player1.upgrades = new Array();
player0.upgrades = new Array();
player1.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = new Array();
player0.upgrades = [0, 0, 0, 0, 0, 0, 0, 0];
player0.upgradesPre = [0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
while (i < 10) {
player0.CoEFs[i] = new Array();
player0.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
i = 0;
while (i < 10) {
player1.CoEFs[i] = new Array();
player1.CoEFs[i] = [1, 0, 1, 0, 0];
i++;
}
_root.gotoAndStop("StartHere");
Frame 426
function resetC(tar, clr) {
co = new Color(tar.col);
co.setRGB(clr);
}
function getTarget1(player) {
getter1 = new Array();
getterH = new Array();
i = 0;
while (i < mapz.baseNum) {
if (mapz["i" + i].player == player) {
getter1.push(i);
}
i++;
}
for (i in getter1) {
if (mapz["i" + getter1[i]].life < mapz["i" + getter1[i]].maxLife) {
getterH.push(getter1[i]);
}
}
}
function getTarget2() {
getter2 = new Array();
getter2X = new Array();
for (i in getter1) {
for (j in mapz["i" + getter1[i]].connectedTo) {
getter2.push(mapz["i" + getter1[i]].connectedTo[j]);
getter2X.push(getter1[i]);
}
}
}
function getTarget3(playerHere) {
getter3 = new Array();
getter4 = new Array();
getter4X = new Array();
_root.canAttack = true;
for (i in getter2) {
if (mapz["i" + getter2[i]].player != playerHere) {
if (mapz["i" + getter2[i]].player == "playerNone") {
getter3.push(getter2[i]);
} else if (mapz["i" + getter2[i]].player == "player0") {
getter4.push(getter2[i]);
getter4X.push(getter2X[i]);
}
}
}
if ((getter4X.length == 0) && (getter3.length == 0)) {
_root.canAttack = false;
}
}
function saveAll() {
i = 0;
while (i < mapz.baseNum) {
_root.baseLifeSt[i] = mapz["i" + i].life;
_root.basePlayerSt[i] = mapz["i" + i].player;
_root.prevPlay[i] = mapz["i" + i].prevPlayer;
i++;
}
}
stop();
autoLaneCreate = true;
decision = "None";
allLanesReset();
CoEFsSet(Erik.t, "player0");
CoEFsSet(player1.race, "player1");
CoEFsSet(player2.race, "player2");
CoEFsSet(player3.race, "player3");
player1.colour = player1.XXcolour;
player2.colour = player2.XXcolour;
player3.colour = player3.XXcolour;
if (_root.afterTurn != undefined) {
if (_root.afterTurn == "player0") {
switchPlayer = false;
playerTurn = true;
currentPlayer = "player0";
_root.afterTurn = undefined;
}
if (_root.afterTurn == "player1") {
currentPlayer = "player1";
switchPlayer = true;
playerTurn = true;
gotoAndStop ("Wait");
_root.afterTurn = undefined;
waitText = "Please Wait...";
}
} else {
currentPlayer = "player0";
}
blankSlot = "0x000000";
sta = 9;
bordSize = 8;
if ((_root.totalDate >= _root.nextDate) && (_root.nextDate != -1)) {
gotoAndStop ("Wait");
waitText = "";
blackerInfo._visible = true;
blackerInfo.textIn = _root.scriptArray[_root.scriptNow];
blackerInfo.inner2.gotoAndStop(_root.scriptDisplay[_root.scriptNow]);
_root.scriptNow++;
nextDate = _root.scriptDate[_root.scriptNow];
} else {
blackerInfo._visible = false;
}
Instance of Symbol 1536 MovieClip "mapz" in Frame 426
onClipEvent (load) {
this.gotoAndStop(_root.MissionOn);
}
Instance of Symbol 1621 MovieClip "unitButton1" in Frame 426
onClipEvent (load) {
unum = 1;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton2" in Frame 426
onClipEvent (load) {
unum = 2;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton3" in Frame 426
onClipEvent (load) {
unum = 3;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton4" in Frame 426
onClipEvent (load) {
unum = 4;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton5" in Frame 426
onClipEvent (load) {
unum = 5;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton8" in Frame 426
onClipEvent (load) {
unit = _root.player0.hero;
num = _root.player0.heroNum;
this.gotoAndStop("Hero" + _root.Erik.t);
if (num == 0) {
num = "";
hider.gotoAndStop(3);
}
}
Instance of Symbol 1621 MovieClip "unitButton6" in Frame 426
onClipEvent (load) {
unum = 6;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton7" in Frame 426
onClipEvent (load) {
unum = 7;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton9" in Frame 426
onClipEvent (load) {
unum = 0;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1624 MovieClip in Frame 426
onClipEvent (load) {
textWrite = "Units";
}
Instance of Symbol 1624 MovieClip in Frame 426
onClipEvent (load) {
textWrite = "Specials";
}
Instance of Symbol 1624 MovieClip in Frame 426
onClipEvent (load) {
textWrite = "Passive Upgrades";
}
Instance of Symbol 1621 MovieClip "unitButton10" in Frame 426
onClipEvent (load) {
unum = 1;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton11" in Frame 426
onClipEvent (load) {
unum = 2;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton12" in Frame 426
onClipEvent (load) {
unum = 3;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton13" in Frame 426
onClipEvent (load) {
unum = 4;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton14" in Frame 426
onClipEvent (load) {
unum = 5;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton15" in Frame 426
onClipEvent (load) {
unum = 6;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton16" in Frame 426
onClipEvent (load) {
unum = 7;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1441 MovieClip in Frame 426
onClipEvent (load) {
timeWait = 30;
}
onClipEvent (enterFrame) {
if (_root.PAYDAY == true) {
_root.PAYDAY = false;
i = 0;
while (i < _root.mapz.baseNum) {
if (_root.mapz["i" + i].player == "player0") {
_root.mapz["i" + i].innerEarn2.play();
if (_root.mapz["i" + i].rtype) {
_root.mapz["i" + i].innerEarn2.innerEarn.innerGold = "+" + Math.round(((_root.mapz["i" + i].occ * 2.7) * _root.mapz["i" + i].resoruce) * _root.cultConstant);
_root.gold = _root.gold + Math.round(((_root.mapz["i" + i].occ * 2.7) * _root.mapz["i" + i].resoruce) * _root.cultConstant);
} else {
_root.mapz["i" + i].innerEarn2.innerEarn.innerPop = "+" + Math.round(((_root.mapz["i" + i].occ * _root.mapz["i" + i].resoruce) * _root.cultConstant) / 10);
_root.popul = _root.popul + Math.round(((_root.mapz["i" + i].occ * _root.mapz["i" + i].resoruce) * _root.cultConstant) / 10);
}
}
i++;
}
_root.cultConstant = _root.cultConstantSave;
}
if (_root.winCondition != 0) {
_root.gotoAndStop("Win");
} else {
_root.addSound("Music", "song2");
}
if (notYetImplied) {
if (_root.playerTurn == false) {
if (startTime != true) {
startTime = true;
time = 0;
}
if (startTime == true) {
time++;
if (time == timeWait) {
startTime = false;
_root.switchPlayer = true;
}
}
}
}
if (_root.switchPlayer == true) {
_root.DayTime++;
_root.totalDate++;
_root.AItecher();
_root.CoEFsSet(player1.race, "player1");
_root.CoEFsSet(player2.race, "player2");
_root.CoEFsSet(player3.race, "player3");
i = 0;
while (i < _root.mapz.baseNum) {
if (_root.mapz["i" + i].player == "player0") {
_root.mapz["i" + i].innerEarn2.play();
if (_root.mapz["i" + i].rtype) {
_root.mapz["i" + i].innerEarn2.innerEarn.innerGold = "+" + Math.round(((_root.mapz["i" + i].occ * 2.7) * _root.mapz["i" + i].resoruce) * _root.cultConstant);
_root.gold = _root.gold + Math.round(((_root.mapz["i" + i].occ * 2.7) * _root.mapz["i" + i].resoruce) * _root.cultConstant);
} else {
_root.mapz["i" + i].innerEarn2.innerEarn.innerPop = "+" + Math.round(((_root.mapz["i" + i].occ * _root.mapz["i" + i].resoruce) * _root.cultConstant) / 10);
_root.popul = _root.popul + Math.round(((_root.mapz["i" + i].occ * _root.mapz["i" + i].resoruce) * _root.cultConstant) / 10);
}
}
i++;
}
_root.cultConstant = _root.cultConstantSave;
if (_root.DayTime == 4) {
_root.Day++;
_root.DayTime = 0;
}
if (_root.Day == _root.DayLimit) {
_root.winCondition = _root.DayCond;
}
_root.switchBack = true;
if (_root.playerTurn == true) {
checkerForBases = 0;
while (checkerForBases == 0) {
if (_root.activeOn < (_root.activeCounter.length - 1)) {
_root.activeOn++;
if (_root[_root.activeCounter[_root.activeOn]].baseCount > 0) {
checkerForBases = 1;
}
} else {
_root.activeOn = 0;
if (_root[_root.activeCounter[_root.activeOn]].baseCount > 0) {
checkerForBases = 1;
}
}
}
_root.currentPlayer = _root.activeCounter[_root.activeOn];
_root.getTarget1(_root.activeCounter[_root.activeOn]);
fight = true;
_root.getTarget2();
_root.getTarget3(_root.activeCounter[_root.activeOn]);
if (_root.canAttack == false) {
fight = false;
}
if ((_root.getterH.length >= 1) || (_root[_root.activeCounter[_root.activeOn]].ai.iq == 0)) {
rt = Math.random() * 10;
if (_root[_root.activeCounter[_root.activeOn]].ai.attk <= rt) {
fight = false;
}
}
if (fight) {
conq = true;
if (_root.getter4.length >= 1) {
conq = false;
}
if (_root.getter3.length >= 1) {
rt = Math.random() * 10;
if (_root[_root.activeCounter[_root.activeOn]].ai.conq >= rt) {
conq = true;
}
}
if (conq) {
objectToAI = _root.getter3[random(_root.getter3.length - 1)];
_root.mapz["i" + objectToAI].conquer.play();
} else {
tar = random(_root.getter4.length - 1);
objectToAI = _root.getter4[tar];
objectFromAI = _root.getter4X[tar];
_root.attacking2Target = _root.mapz["i" + objectToAI];
_root.attacking2Target = _root.mapz["i" + objectToAI].id;
_root.attacking2TargetName = _root.mapz["i" + objectToAI].post;
_root.attacking2TargetPlayer = _root.mapz["i" + objectToAI].player;
_root.idi0 = _root.mapz["i" + objectToAI].id;
if (_root.mapz["i" + objectFromAI].occ > 0) {
_root.attacking2TargetCap = _root.mapz["i" + objectToAI].occ;
} else {
_root.attacking2TargetCap = "Unlimited";
}
_root.attacking2TargetLife = _root.mapz["i" + objectToAI].life;
_root.attacking2TargetLifeM = _root.mapz["i" + objectToAI].maxLife;
_root.attackingTarget = _root.mapz["i" + objectFromAI];
_root.attackingTargetName = _root.mapz["i" + objectFromAI].post;
_root.attackingTargetPlayer = _root.mapz["i" + objectFromAI].player;
_root.idi1 = _root.mapz["i" + objectFromAI].id;
if (_root.mapz["i" + objectFromAI].occ > 0) {
_root.attackingTargetCap = _root.mapz["i" + objectFromAI].occ;
} else {
_root.attackingTargetCap = "Unlimited";
}
_root.attackingTargetLife = _root.mapz["i" + objectFromAI].life;
_root.attackingTargetLifeM = _root.mapz["i" + objectFromAI].maxLife;
_root.mapz["i" + objectToAI].conquer2.play();
}
} else if (_root.getterH.length >= 1) {
objectToAI = _root.getterH[random(_root.getterH.length - 1)];
_root.mapz["i" + objectToAI].healer.play();
} else {
objectToAI = _root.getter1[random(_root.getter1.length - 1)];
_root.mapz["i" + objectToAI].healer.play();
}
}
}
if (_root.switchBack == true) {
_root.switchPlayer = false;
_root.switchBack = false;
if (_root.playerTurn == false) {
_root.playerTurn = true;
_root.currentPlayer = "player0";
_root.cultConstant = 1;
} else {
_root.playerTurn = false;
_root.currentPlayer = _root.activeCounter[_root.activeOn];
}
if (_root.playerTurn == true) {
if ((_root.totalDate >= _root.nextDate) && (_root.nextDate != -1)) {
_root.gotoAndStop("Wait");
_root.waitText = "";
_root.blackerInfo._visible = true;
_root.blackerInfo.textIn = _root.scriptArray[_root.scriptNow];
_root.blackerInfo.inner2.gotoAndStop(_root.scriptDisplay[_root.scriptNow]);
_root.scriptNow++;
_root.nextDate = _root.scriptDate[_root.scriptNow];
} else {
_root.gotoAndStop("StartHere");
}
}
}
}
Instance of Symbol 1645 MovieClip in Frame 426
onClipEvent (load) {
nooners = new Array();
nooners = ["Dawn", "Day", "Noon", "Night"];
}
onClipEvent (enterFrame) {
framer = nooners[_root.DayTime];
this.gotoAndStop(framer);
}
Instance of Symbol 1653 MovieClip in Frame 426
onClipEvent (load) {
musicBe = "song2";
}
Instance of Symbol 1662 MovieClip "bo" in Frame 426
onClipEvent (load) {
_root.blackOut = false;
}
onClipEvent (enterFrame) {
if (_root.blackOut == false) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
_alpha = 0;
}
}
if (_root.blackOut == true) {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
_root.blackOut == false;
_root.gotoAndStop(this.gotoW);
}
}
}
Instance of Symbol 1683 MovieClip in Frame 453
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.winCondition != 0) {
if (_alpha < 100) {
_alpha = (_alpha + 2);
}
if (_root.winCondition == 1) {
this.gotoAndStop("VICTORY");
}
if (_root.winCondition == 2) {
this.gotoAndStop("DEFEAT");
}
}
}
Frame 460
if (winCondition == 1) {
winText = "Congratulations! You have won!";
addSound("Music", "song3");
} else {
winText = "You have been defeated...";
addSound("Music", "song4");
}
Frame 468
function addBuilding(n, g, p, t) {
raceBuildings.push([n, g, p, t]);
}
function errorPlay(m) {
_root.labeler.gotoAndPlay("error");
_root.labeler.errorMsg = m;
}
stop();
raceBuildings = new Array();
addBuilding("None", 0, 0, 0);
addBuilding("Farm Land", 0, 1, 1);
addBuilding("Armory", 100, 0, 1);
addBuilding("Cathedral", 155, 0, 1);
addBuilding("Royal Keep", 190, 1, 1);
addBuilding("Crusader's Camp", 190, 1, 1);
addBuilding("Fortress", 150, 1, 1);
addBuilding("Slave Chamber", 0, 0, 1);
addBuilding("Tomb", 200, 0, 1);
addBuilding("Snake Pit", 310, 0, 1);
addBuilding("Pyramid", 390, 0, 1);
addBuilding("Blade Halls", 400, 0, 1);
addBuilding("Royal Throne", 350, 0, 1);
Instance of Symbol 1621 MovieClip "unitButton1" in Frame 468
onClipEvent (load) {
unum = 1;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
}
onClipEvent (enterFrame) {
if (num == 0) {
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Infantry Melee Unit";
_root.explainHere2 = unit;
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.carryUnit.targeted = this;
_root.presser[0] = true;
} else {
_root.presser[0] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton2" in Frame 468
onClipEvent (load) {
unum = 2;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
}
onClipEvent (enterFrame) {
if (num == 0) {
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Light Ranged Unit";
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[1] = true;
} else {
_root.presser[1] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton3" in Frame 468
onClipEvent (load) {
unum = 3;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
}
onClipEvent (enterFrame) {
if (num == 0) {
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Light Ranged Unit";
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[2] = true;
} else {
_root.presser[2] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton4" in Frame 468
onClipEvent (load) {
unum = 4;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
}
onClipEvent (enterFrame) {
if (num == 0) {
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Infantry Melee Unit";
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[3] = true;
} else {
_root.presser[3] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton5" in Frame 468
onClipEvent (load) {
unum = 5;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
}
onClipEvent (enterFrame) {
if (num == 0) {
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Heavy Melee Unit";
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[4] = true;
} else {
_root.presser[4] = false;
}
}
Instance of Symbol 1621 MovieClip in Frame 468
onClipEvent (load) {
unit = _root.player0.hero;
num = _root.player0.heroNum;
this.gotoAndStop("Hero" + _root.Erik.t);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.carryUnit.targeted = this;
_root.presser[5] = true;
} else {
_root.presser[5] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton6" in Frame 468
onClipEvent (load) {
unum = 6;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.carryUnit.targeted = this;
_root.presser[6] = true;
} else {
_root.presser[6] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton7" in Frame 468
onClipEvent (load) {
unum = 7;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.carryUnit.targeted = this;
_root.presser[7] = true;
} else {
_root.presser[7] = false;
}
}
Instance of Symbol 1727 MovieClip in Frame 468
onClipEvent (load) {
num = 2;
this.gotoAndStop(num + (6 * _root.Erik.t));
buildingName = _root.raceBuildings[num + (6 * _root.Erik.t)][0];
buildGold = _root.raceBuildings[num + (6 * _root.Erik.t)][1];
buildPop = _root.raceBuildings[num + (6 * _root.Erik.t)][2];
buildTime = _root.raceBuildings[num + (6 * _root.Erik.t)][3];
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this.appearer._alpha < 100) {
this.appearer._alpha = this.appearer._alpha + 34;
}
} else if (this.appearer._alpha > 0) {
this.appearer._alpha = this.appearer._alpha - 10;
}
}
Instance of Symbol 1727 MovieClip in Frame 468
onClipEvent (load) {
num = 3;
this.gotoAndStop(num + (6 * _root.Erik.t));
buildingName = _root.raceBuildings[num + (6 * _root.Erik.t)][0];
buildGold = _root.raceBuildings[num + (6 * _root.Erik.t)][1];
buildPop = _root.raceBuildings[num + (6 * _root.Erik.t)][2];
buildTime = _root.raceBuildings[num + (6 * _root.Erik.t)][3];
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this.appearer._alpha < 100) {
this.appearer._alpha = this.appearer._alpha + 34;
}
} else if (this.appearer._alpha > 0) {
this.appearer._alpha = this.appearer._alpha - 10;
}
}
Instance of Symbol 1727 MovieClip in Frame 468
onClipEvent (load) {
num = 4;
this.gotoAndStop(num + (6 * _root.Erik.t));
buildingName = _root.raceBuildings[num + (6 * _root.Erik.t)][0];
buildGold = _root.raceBuildings[num + (6 * _root.Erik.t)][1];
buildPop = _root.raceBuildings[num + (6 * _root.Erik.t)][2];
buildTime = _root.raceBuildings[num + (6 * _root.Erik.t)][3];
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this.appearer._alpha < 100) {
this.appearer._alpha = this.appearer._alpha + 34;
}
} else if (this.appearer._alpha > 0) {
this.appearer._alpha = this.appearer._alpha - 10;
}
}
Instance of Symbol 1727 MovieClip in Frame 468
onClipEvent (load) {
num = 5;
this.gotoAndStop(num + (6 * _root.Erik.t));
buildingName = _root.raceBuildings[num + (6 * _root.Erik.t)][0];
buildGold = _root.raceBuildings[num + (6 * _root.Erik.t)][1];
buildPop = _root.raceBuildings[num + (6 * _root.Erik.t)][2];
buildTime = _root.raceBuildings[num + (6 * _root.Erik.t)][3];
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this.appearer._alpha < 100) {
this.appearer._alpha = this.appearer._alpha + 34;
}
} else if (this.appearer._alpha > 0) {
this.appearer._alpha = this.appearer._alpha - 10;
}
}
Instance of Symbol 1727 MovieClip in Frame 468
onClipEvent (load) {
num = 6;
this.gotoAndStop(num + (6 * _root.Erik.t));
buildingName = _root.raceBuildings[num + (6 * _root.Erik.t)][0];
buildGold = _root.raceBuildings[num + (6 * _root.Erik.t)][1];
buildPop = _root.raceBuildings[num + (6 * _root.Erik.t)][2];
buildTime = _root.raceBuildings[num + (6 * _root.Erik.t)][3];
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this.appearer._alpha < 100) {
this.appearer._alpha = this.appearer._alpha + 34;
}
} else if (this.appearer._alpha > 0) {
this.appearer._alpha = this.appearer._alpha - 10;
}
}
Instance of Symbol 1727 MovieClip in Frame 468
onClipEvent (load) {
num = 1;
this.gotoAndStop(num + (6 * _root.Erik.t));
buildingName = _root.raceBuildings[num + (6 * _root.Erik.t)][0];
buildGold = _root.raceBuildings[num + (6 * _root.Erik.t)][1];
buildPop = _root.raceBuildings[num + (6 * _root.Erik.t)][2];
buildTime = _root.raceBuildings[num + (6 * _root.Erik.t)][3];
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this.appearer._alpha < 100) {
this.appearer._alpha = this.appearer._alpha + 34;
}
} else if (this.appearer._alpha > 0) {
this.appearer._alpha = this.appearer._alpha - 10;
}
}
Instance of Symbol 1757 MovieClip "empt0" in Frame 468
onClipEvent (load) {
building_id = "b1";
if (_root[building_id] == "None") {
stat = false;
} else {
stat = true;
}
nameLabel = _root[building_id];
if (_root[building_id] != "None") {
this.gotoAndStop("BuildSlot");
this.IconBar.gotoAndStop(_root[building_id]);
}
}
Instance of Symbol 1757 MovieClip "empt1" in Frame 468
onClipEvent (load) {
building_id = "b2";
if (_root[building_id] == "None") {
stat = false;
} else {
stat = true;
}
nameLabel = _root[building_id];
if (_root[building_id] != "None") {
this.gotoAndStop("BuildSlot");
this.IconBar.gotoAndStop(_root[building_id]);
}
}
Instance of Symbol 1757 MovieClip "empt2" in Frame 468
onClipEvent (load) {
building_id = "b3";
if (_root[building_id] == "None") {
stat = false;
} else {
stat = true;
}
nameLabel = _root[building_id];
if (_root[building_id] != "None") {
this.gotoAndStop("BuildSlot");
this.IconBar.gotoAndStop(_root[building_id]);
}
}
Instance of Symbol 1757 MovieClip "empt3" in Frame 468
onClipEvent (load) {
building_id = "b4";
if (_root[building_id] == "None") {
stat = false;
} else {
stat = true;
}
nameLabel = _root[building_id];
if (_root[building_id] != "None") {
this.gotoAndStop("BuildSlot");
this.IconBar.gotoAndStop(_root[building_id]);
}
}
Instance of Symbol 1953 MovieClip "labeler" in Frame 468
onClipEvent (load) {
_alpha = 0;
appear = false;
startDrag (this, true);
}
onClipEvent (enterFrame) {
if (appear == true) {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
} else if (this._alpha > 0) {
this._alpha = this._alpha - 20;
}
}
Instance of Symbol 1624 MovieClip in Frame 468
onClipEvent (load) {
textWrite = "Units";
}
Instance of Symbol 1624 MovieClip in Frame 468
onClipEvent (load) {
textWrite = "Specials";
}
Instance of Symbol 1624 MovieClip in Frame 468
onClipEvent (load) {
textWrite = "Passive Upgrades";
}
Instance of Symbol 1621 MovieClip "unitButton9" in Frame 468
onClipEvent (load) {
unum = 0;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton10" in Frame 468
onClipEvent (load) {
unum = 1;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton11" in Frame 468
onClipEvent (load) {
unum = 2;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton12" in Frame 468
onClipEvent (load) {
unum = 3;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton13" in Frame 468
onClipEvent (load) {
unum = 4;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton14" in Frame 468
onClipEvent (load) {
unum = 5;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton15" in Frame 468
onClipEvent (load) {
unum = 6;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1621 MovieClip "unitButton16" in Frame 468
onClipEvent (load) {
unum = 7;
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
Instance of Symbol 1653 MovieClip in Frame 468
onClipEvent (load) {
musicBe = "song2";
}
Frame 469
stop();
jRound = 0;
player1.healing = 0;
player0.healing = 0;
player1.curse = 0;
player0.curse = 0;
BGSET = 0;
if (attackingAdvantage == 0) {
player0.attacking = 1;
player1.attacking = 0;
} else {
player0.attacking = 0;
player1.attacking = 1;
}
DayCoF = new Array();
DayCoF = [1, 1.05, 1, 0.95, 0.95, 1, 1.05, 1];
player0.C = attacking2TargetPlayer;
player1.C = attackingTargetPlayer;
player1.colour = _root[player1.C].XXcolour;
player1.degen = 0.04 * [player1.C].upgrades[4];
player0.degen = 0.04 * player0.upgrades[4];
player0.racer = Erik.t;
player1.racer = _root[player1.C].race;
curseArray = new Array();
curseArray = ["Curse", "Meteor", "Curse"];
player0.curseType = curseArray[player1.racer];
player1.curseType = curseArray[player0.racer];
player0.dayCoF = DayCoF[(player0.racer * 4) + DayTime];
player1.dayCoF = DayCoF[(player1.racer * 4) + DayTime];
_root.popCap0 = attacking2TargetCap;
popCapSim = popCap0;
_root.popCap1 = attackingTargetCap;
_root.points0 = attacking2TargetLife;
_root.points1 = attackingTargetLife;
_root.pointsM0 = attacking2TargetLifeM;
_root.pointsM1 = attackingTargetLifeM;
i = 0;
while (i < 2) {
j = 1;
while (j < 4) {
_root[((("lane_" + i) + "_") + j) + "_num"] = 0;
j++;
}
i++;
}
if (autoLaneCreate) {
enemyLanesCreate(_root.popCap1, _root.attackingTargetPlayer);
} else {
applyPremade();
}
addSound("Music", "song1");
endStatus = "None";
DPSCOUNT = 2300;
_root.clockCount = 150;
box = new Object();
box.Rownumber = 18;
_root.onTheField = 0;
testingBox = false;
endGameOver = false;
presser = new Array();
i = 0;
while (i < 16) {
presser[i] = false;
i++;
}
presser2 = new Array();
i = 0;
while (i < 3) {
presser2[i] = false;
i++;
}
box.Row1x = 80;
box.Row1y = 265;
box.Row1Dimension = 30;
box.Row1Depth = -400;
box.Row2x = 107;
box.Row2y = 185;
box.Row2Dimension = 27;
box.Row2Depth = -450;
box.Row3x = 125;
box.Row3y = 115;
box.Row3Dimension = 25;
box.Row3Depth = -500;
i = 0;
while (i < box.Rownumber) {
box.Name = "Guide1Box" + i;
_root.attachMovie("GuideBox", box.Name, box.Row1Depth + i);
_root[box.Name]._x = box.Row1x + (box.Row1Dimension * i);
_root[box.Name]._y = box.Row1y;
_root[box.Name].occupied = false;
_root[box.Name].exist = true;
_root[box.Name].occupiedBy = "None";
_root[box.Name].onEnterFrame = function () {
if (this.occupied == true) {
if (testingBox == true) {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
this.occupiedBy = "None";
}
};
box.Row2Name = "Guide2Box" + i;
_root.attachMovie("GuideBox2", box.Row2Name, box.Row2Depth + i);
_root[box.Row2Name]._x = box.Row2x + (box.Row2Dimension * i);
_root[box.Row2Name]._y = box.Row2y;
_root[box.Row2Name].occupied = false;
_root[box.Row2Name].exist = true;
_root[box.Row2Name].occupiedBy = "None";
_root[box.Row2Name].onEnterFrame = function () {
if (this.occupied == true) {
if (testingBox == true) {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
this.occupiedBy = "None";
}
};
box.Row3Name = "Guide3Box" + i;
_root.attachMovie("GuideBox3", box.Row3Name, box.Row3Depth + i);
_root[box.Row3Name]._x = box.Row3x + (box.Row3Dimension * i);
_root[box.Row3Name]._y = box.Row3y;
_root[box.Row3Name].occupied = false;
_root[box.Row3Name].exist = true;
_root[box.Row3Name].occupiedBy = "None";
_root[box.Row3Name].onEnterFrame = function () {
if (this.occupied == true) {
if (testingBox == true) {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
this.occupiedBy = "None";
}
};
i++;
}
timeUnit = 30;
unitNumber = 0;
unitMax = 20;
createUnit = function (unitType, lane, side) {
if (_root.unitData[unitType][9] == 0) {
if (unitType == "Healing Blast") {
_root["HealingBlast" + side].play();
}
if (unitType == "Curse") {
_root["Curse" + side].gotoAndPlay(1);
}
if (unitType == "Apocalypse") {
_root["Apoc" + side].gotoAndPlay(1);
}
} else {
if ((unitType != "None") && (_root.unitData[unitType][9] == 1)) {
_root.onTheField++;
}
unitNumber++;
if (side == 0) {
dir = 1;
} else {
dir = -1;
}
if (unitNumber > unitmax) {
unitNumber = 0;
}
a = ("Row" + lane) + "x";
b = ("Row" + lane) + "y";
c = ("Row" + lane) + "Dimension";
unitName = "unit" + unitNumber;
unitDepth = (lane * -100) + unitNumber;
_root.attachMovie(_root.unitData[unitType][0], unitName, unitDepth);
if (_root.unitData[unitType][9] == 1) {
_root[unitName]._y = ((random(50) - 25) + box[b]) + (box[c] / 1.2);
_root[unitName]._x = box[a] + ((side * box[c]) * box.Rownumber);
} else {
_root[unitName]._y = box[b] + (box[c] / 1.2);
_root[unitName]._x = (box[a] + ((side * box[c]) * box.Rownumber)) + ((0.5 * box[c]) * dir);
}
_root[unitName]._xscale = _root[unitName]._xscale * ((1.1 * (box[c] / box.Row1Dimension)) * dir);
_root[unitName]._yscale = _root[unitName]._yscale * (1.1 * (box[c] / box.Row1Dimension));
_root[unitName].boxDim = box[c];
_root[unitName].guideBoxLabel = ("Guide" + lane) + "Box";
_root[unitName].q = _root[unitName]._x;
_root[unitName].dir = dir;
_root[unitName].side = side;
if (side == 0) {
_root[unitName].enemySide = 1;
} else {
_root[unitName].enemySide = 0;
}
_root[unitName].player = "player" + side;
_root[unitName].playerC = _root["player" + side].C;
_root[unitName].formerBox = false;
_root[unitName].blocked = false;
_root[unitName].hero = _root.unitData[unitType][7];
if (_root[unitName].hero) {
_root[_root[unitName].player].heroNum = 0;
}
if (side != 0) {
assume = attackingTargetPlayer;
} else {
assume = "player0";
}
_root[unitName].unitType = unitType;
_root[unitName].life = Math.round(((_root.unitData[unitType][2] + _root[assume].CoEFs[_root.unitData[unitType][10]][1]) * _root[assume].CoEFs[_root.unitData[unitType][10]][0]) * _root["player" + side].dayCoF);
_root[unitName].lifeMax = _root[unitName].life;
_root[unitName].range = _root.unitData[unitType][3] + _root[assume].CoEFs[_root.unitData[unitType][10]][4];
_root[unitName].attack = Math.round(((_root.unitData[unitType][4] + _root[assume].CoEFs[_root.unitData[unitType][10]][3]) * _root[assume].CoEFs[_root.unitData[unitType][10]][2]) * _root["player" + side].dayCoF);
_root[unitName].attackRate = _root.unitData[unitType][5] + _root["player" + side].attacking;
_root[unitName].si = _root.unitData[unitType][6];
_root[unitName].shanit = _root.unitData[unitType][9];
_root[unitName].attackCoolDownMax = 0.37;
_root[unitName].attackTurn = false;
_root[unitName].attackStart = false;
_root[unitName].fighting = false;
_root[unitName].inCombat = false;
_root[unitName].enemy = "None";
_root[unitName].boxInit = box[a];
_root[unitName].nameLabel = unitName;
if (side == 0) {
_root[unitName].team = "blue";
} else {
_root[unitName].team = "red";
}
_root[unitName].speed = (((dir * _root.unitData[unitType][1]) * 2) * box[c]) / timeUnit;
_root[unitName].onEnterFrame = function () {
if (_root.endGameOver == true) {
this.gotoAndStop("Stand");
} else {
if (this.shanit == 1) {
if ((this.life > 0) && (_root[this.player].healing > 0)) {
if ((this.life + _root[this.player].healing) >= this.lifeMax) {
this.life = this.lifeMax;
} else {
this.life = this.life + _root[this.player].healing;
}
this.healWave.play();
}
if ((this.life > 0) && (_root[this.player].curse > 0)) {
if ((this.life - _root[this.player].curse) <= 0) {
this.life = 1;
} else {
this.life = this.life - _root[this.player].curse;
}
this.curseWave.gotoAndPlay(_root[this.player].curseType);
}
if (this.unitType == "Priest") {
if ((this.life > 0) && (_root[this.player].degen > 0)) {
if ((this.life - _root[this.player].degen) <= 0) {
this.life = 0;
if (this.enemy != "None") {
_root[this.enemy].attackTurn = false;
_root[this.enemy].attackStart = false;
_root[this.enemy].inCombat = false;
_root[this.enemy].attackCoolDown = 0;
_root[this.enemy].enemy = "None";
}
this.attackTurn = false;
this.gotoAndStop("Die");
this.dying = true;
} else {
this.life = this.life - _root[this.player].degen;
}
}
}
}
if (this.dead == true) {
i = 1;
while (i <= this.si) {
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber - ((i - 1) * this.dir)))].occupied = false;
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber - ((i - 1) * this.dir)))].occupiedBy = "None";
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber - ((i - 1) * this.dir)))].occupiedUnit = "None";
i++;
}
_root[this.enemy].attackStart = false;
_root[this.enemy].fighting = false;
if (this.shanit == 1) {
_root.onTheField--;
}
unloadMovie (this);
} else {
this.stopper = 0;
i = 1;
while (i < (this.range + 1)) {
if (_root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) + (i * this.dir))].occupied == true) {
if ((_root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) + (i * this.dir))].occupiedBy != this.player) or (i == 1)) {
this.stopper++;
}
}
i++;
}
if (this.stopper > 0) {
this.blocked = true;
} else {
this.blocked = false;
if ((this.attacking != true) && (this.dying != true)) {
this.gotoAndStop("Run");
}
}
if (this.blocked == false) {
if (this.dying != true) {
this._x = this._x + this.speed;
}
this.boxIDnumber = Math.floor((this._x - this.q) / this.boxDim);
if ((this.side == 1) and (this.boxIDnumber == 0)) {
this.boxIDnumber = -1;
}
if ((this.boxIDnumber - (this.si * this.dir)) == this.formerBox) {
_root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) - (this.si * this.dir))].occupied = false;
}
this.formerBox = this.boxIDnumber - ((this.si - 1) * this.dir);
i = 1;
while (i <= this.si) {
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber + ((1 - i) * this.dir)))].occupied = true;
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber + ((1 - i) * this.dir)))].occupiedBy = this.player;
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber + ((1 - i) * this.dir)))].occupiedUnit = this.nameLabel;
i++;
}
} else {
this.k = false;
i = this.range;
while (i > 0) {
if (_root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) + (i * this.dir))].occupiedBy == this.player) {
this.k = true;
}
i--;
}
if (this.k == false) {
i = 1;
while (i < (this.range + 1)) {
if ((_root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) + (i * this.dir))].occupiedBy != this.player) && (_root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) + (i * this.dir))].occupiedBy != "None")) {
this.f = _root[this.guideBoxLabel + (((_root.box.Rownumber * this.side) + this.boxIDnumber) + (i * this.dir))].occupiedUnit;
if (((_root[this.f].fighting == false) && (this.k == false)) && (this.inCombat == false)) {
this.inCombat = true;
this.enemy = this.f;
_root[this.enemy].fighting = true;
}
}
i++;
}
}
if (this.enemy != "None") {
if (this.attackTurn == true) {
if (this.attackCoolDown < (this.attackCoolDownMax * _root.timeUnit)) {
this.attackCoolDown++;
}
if ((this.attackCoolDown >= (this.attackCoolDownMax * _root.timeUnit)) && (this.dying != true)) {
this.gotoAndStop("Attack");
this.attacking = true;
}
if (this.attacked == true) {
this.attacked = false;
_root[this.enemy].life = _root[this.enemy].life - this.attack;
_root.attachMovie("DPS", "DPS" + _root.DPSCOUNT, _root.DPSCOUNT);
_root["DPS" + _root.DPSCOUNT]._x = _root[this.enemy]._x;
_root["DPS" + _root.DPSCOUNT]._y = _root[this.enemy]._y - 30;
_root["DPS" + _root.DPSCOUNT].DPS.numberDMG = this.attack;
_root.DPSCOUNT++;
if (_root.DPSCOUNT > 2340) {
_root.DPSCOUNT = 2300;
}
_root[this.enemy].gotoAndStop("Hit");
_root[this.enemy].dying = true;
if (_root[this.enemy].life <= 0) {
_root[this.enemy].life = 0;
this.attackTurn = false;
this.attackStart = false;
_root[this.enemy].attackTurn = false;
_root[this.enemy].gotoAndStop("Die");
_root[this.enemy].dying = true;
this.inCombat = false;
this.attackCoolDown = 0;
this.enemy = "None";
} else {
this.attackCoolDown = 0;
if (this.fighting == true) {
this.attackTurn = false;
_root[this.enemy].attackTurn = true;
}
}
}
}
if (this.attackStart == false) {
if (this.attackRate > _root[this.enemy].attackRate) {
this.attackStart = true;
_root[this.enemy].attackStart = true;
this.attackTurn = true;
_root[this.enemy].attackTurn = false;
this.attackCoolDown = 0;
_root[this.enemy].attackCoolDown = 0;
}
}
}
this.h = ((((_root.box.Rownumber * this.side) + this.boxIDnumber) * this.boxDim) + this.boxInit) + ((1 * this.boxDim) / 2);
if (this._x == this.h) {
if ((this.attacking != true) && (this.dying != true)) {
this.gotoAndStop("Stand");
}
} else if (this._x > this.h) {
if ((this._x - this.h) < 1) {
this._x = h;
if ((this.attacking != true) && (this.dying != true)) {
this.gotoAndStop("Stand");
}
} else {
this._x--;
}
} else if (this._x < this.h) {
if (((-this._x) + this.h) < 1) {
this._x = h;
if ((this.attacking != true) && (this.dying != true)) {
this.gotoAndStop("Stand");
}
} else {
this._x++;
}
}
}
}
if (_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + this.boxIDnumber)].exist != true) {
i = 1;
while (i <= this.si) {
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber - ((i - 1) * this.dir)))].occupied = false;
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber - ((i - 1) * this.dir)))].occupiedBy = "None";
_root[this.guideBoxLabel + ((_root.box.Rownumber * this.side) + (this.boxIDnumber - ((i - 1) * this.dir)))].occupiedUnit = "None";
i++;
}
_root["points" + this.enemySide]--;
if (this.hero) {
_root["points" + this.enemySide] = _root["points" + this.enemySide] - 5;
}
perC = (_root["points" + this.enemySide] / _root["pointsM" + this.enemySide]) * 100;
_root["pointsBar" + this.enemySide].gotoAndStop(Math.round(perC));
if (_root["points" + this.enemySide] <= 0) {
_root["points" + this.enemySide] = 0;
_root["pointsBar" + this.enemySide].gotoAndStop(101);
}
unloadMovie (this);
_root.shaker.play();
_root.onTheField--;
}
}
};
}
};
roundClock = 1.66;
uniClock = -1 * timeUnit;
inGame = true;
j = 1;
onEnterFrame = function () {
checkIfZeroD = false;
i = 1;
while (i < 20) {
if (_root["unitButton" + i].num > 0) {
checkIfZeroD = true;
}
i++;
}
if ((checkIfZeroD == false) && (_root.carryUnit.unit == "None")) {
_root.popCap0 = 0;
_root.goYet = true;
}
if (endGameOver == false) {
if ((((points0 <= 0) || (points1 <= 0)) || (((onTheField + popCap0) + popCap1) == 0)) || (_root.customEnd == true)) {
inGame = false;
jRound = 100;
endGameOver = true;
if (points0 <= 0) {
endStatus = "Defeat";
_root.baseLifeSt[_root.idi0] = 0;
_root.baseLifeSt[_root.idi1] = points1;
_root.basePlayerSt[_root.idi0] = "playerNone";
} else if (points1 <= 0) {
endStatus = "Victory";
_root.baseLifeSt[_root.idi0] = points0;
_root.baseLifeSt[_root.idi1] = "fill";
_root.basePlayerSt[_root.idi1] = "playerNone";
} else if (((((onTheField + popCap0) + popCap1) == 0) && (points0 > 0)) && (points1 > 0)) {
endStatus = "Stalemate";
_root.baseLifeSt[_root.idi0] = points0;
_root.baseLifeSt[_root.idi1] = points1;
} else if (_root.customEnd == true) {
endStatus = "Stalemate";
_root.baseLifeSt[_root.idi0] = points0;
_root.baseLifeSt[_root.idi1] = points1;
}
if ((points0 <= 0) && (points1 <= 0)) {
endStatus = "Stalemate2";
_root.baseLifeSt[_root.idi0] = 0;
_root.baseLifeSt[_root.idi1] = 0;
_root.basePlayerSt[_root.idi0] = "playerNone";
_root.basePlayerSt[_root.idi1] = "playerNone";
}
winLose.gotoAndStop(endStatus);
}
}
checkerClear = true;
i = 0;
while (i < 16) {
if (presser[i] == true) {
checkerClear = false;
}
i++;
}
if (checkerClear == true) {
explainHere = "";
explainHere2 = "";
if (_root.textBacker._alpha > 0) {
_root.textBacker._alpha = _root.textBacker._alpha - 5;
}
}
if (inGame == true) {
((tKrin == true) ? ((time = getTimer())) : ((timer = int(1000 / (getTimer() - time)))));
tKrin = !tKrin;
_root.frameRateNowKrin = timer;
if (_root.goYet == true) {
if (_root.frameRateNowKrin > 5) {
uniClock = uniClock + (30 / _root.frameRateNowKrin);
}
}
if (uniClock >= (roundClock * timeUnit)) {
uniClock = uniClock - (roundClock * timeUnit);
i = 1;
while (i < 2) {
if ((_root["popCap" + i] > 0) || (_root["popCap" + i] == "Unlimited")) {
if (_root["popCap" + i] != "Unlimited") {
_root["popCap" + i]--;
}
if ((_root.unitData[_root[(("lane_" + i) + "_") + j][_root[((("lane_" + i) + "_") + j) + "_num"]]][8] == 1) || (_root[(("Guide" + j) + "Box") + ((_root.box.Rownumber - 1) * i)].occupied == false)) {
_root.createUnit(_root[(("lane_" + i) + "_") + j][_root[((("lane_" + i) + "_") + j) + "_num"]], j, i);
_root[((("lane_" + i) + "_") + j) + "_num"]++;
}
}
i++;
}
j++;
jRound++;
if (j > 3) {
j = 1;
}
}
}
};
Instance of Symbol 1963 MovieClip in Frame 469
onClipEvent (load) {
nooners = new Array();
nooners = ["Dawn", "Day", "Noon", "Night"];
}
onClipEvent (enterFrame) {
framer = nooners[_root.DayTime];
this.gotoAndStop(framer);
}
Instance of Symbol 1974 MovieClip in Frame 469
onClipEvent (load) {
this.gotoAndStop(_root.MAPBG);
}
Instance of Symbol 1979 MovieClip "tutterK" in Frame 469
onClipEvent (load) {
_root.goYet = false;
}
Instance of Symbol 1984 MovieClip in Frame 469
onClipEvent (load) {
_root.customEnd = false;
}
onClipEvent (enterFrame) {
if (((_root.onTheField + _root.popCap1) == 0) && (_root.endStatus == "None")) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1994 MovieClip "pointsBar0" in Frame 469
onClipEvent (load) {
CalcW = _root.pointsM0 * 10;
if (CalcW > 300) {
CalcW = 300;
}
_width = CalcW;
perC = (_root.points0 / _root.pointsM0) * 100;
this.gotoAndStop(Math.round(perC));
}
Instance of Symbol 1994 MovieClip "pointsBar1" in Frame 469
onClipEvent (load) {
CalcW = _root.pointsM1 * 10;
if (CalcW > 300) {
CalcW = 300;
}
_width = CalcW;
perC = (_root.points1 / _root.pointsM1) * 100;
this.gotoAndStop(Math.round(perC));
}
Instance of Symbol 74 MovieClip [Healing Blast] "HealingBlast0" in Frame 469
onClipEvent (load) {
player = "player0";
}
Instance of Symbol 74 MovieClip [Healing Blast] "HealingBlast1" in Frame 469
onClipEvent (load) {
player = "player1";
}
Instance of Symbol 1997 MovieClip "Curse0" in Frame 469
onClipEvent (load) {
player = "player1";
}
Instance of Symbol 1997 MovieClip "Curse1" in Frame 469
onClipEvent (load) {
player = "player0";
}
Instance of Symbol 1998 MovieClip "Apoc0" in Frame 469
onClipEvent (load) {
player = "player1";
caster = _root.player0.upgrades[4];
}
Instance of Symbol 1998 MovieClip "Apoc1" in Frame 469
onClipEvent (load) {
player = "player0";
caster = _root[_root.attackingTargetPlayer].upgrades[4];
}
Instance of Symbol 2013 MovieClip "CharHolder1" in Frame 469
onClipEvent (load) {
lane = 1;
clockCount = 0;
unit = "None";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.carryUnit.targeted = this;
_root.TN = lane;
_root.presser2[2] = true;
} else {
_root.presser2[2] = false;
}
if (clockCount > 0) {
clockCount = clockCount - (30 / _root.frameRateNowKrin);
if (clockCount < 0) {
clockCount = 0;
}
}
if (clockCount == 0) {
gotoAndStop ("open");
melchett._visible = true;
} else {
melchett._visible = false;
if (showAgain == 1) {
gotoAndStop ("closed");
showNum = Math.round(clockCount / 30);
}
}
if (_root.popCap0 == 0) {
gotoAndStop ("stopped");
} else if (_root.Guide1Box0.occupied == true) {
if ((showAgain == 1) && (clockCount == 0)) {
gotoAndPlay ("send2");
}
}
}
Instance of Symbol 2013 MovieClip "CharHolder2" in Frame 469
onClipEvent (load) {
lane = 2;
clockCount = 0;
unit = "None";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.carryUnit.targeted = this;
_root.TN = lane;
_root.presser2[1] = true;
} else {
_root.presser2[1] = false;
}
if (clockCount > 0) {
clockCount = clockCount - (30 / _root.frameRateNowKrin);
if (clockCount < 0) {
clockCount = 0;
}
}
if (clockCount == 0) {
gotoAndStop ("open");
melchett._visible = true;
} else {
if (showAgain == 1) {
gotoAndStop ("closed");
showNum = Math.round(clockCount / 30);
}
melchett._visible = false;
}
if (_root.popCap0 == 0) {
gotoAndStop ("stopped");
} else if (_root.Guide2Box0.occupied == true) {
if ((showAgain == 1) && (clockCount == 0)) {
gotoAndPlay ("send2");
}
}
}
Instance of Symbol 2013 MovieClip "charHolder3" in Frame 469
onClipEvent (load) {
lane = 3;
clockCount = 0;
unit = "None";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.carryUnit.targeted = this;
_root.TN = lane;
_root.presser2[0] = true;
} else {
_root.presser2[0] = false;
}
if (clockCount > 0) {
clockCount = clockCount - (30 / _root.frameRateNowKrin);
if (clockCount < 0) {
clockCount = 0;
}
}
if (clockCount == 0) {
gotoAndStop ("open");
melchett._visible = true;
} else {
melchett._visible = false;
if (showAgain == 1) {
gotoAndStop ("closed");
showNum = Math.round(clockCount / 30);
}
}
if (_root.popCap0 == 0) {
gotoAndStop ("stopped");
} else if (_root.Guide3Box0.occupied == true) {
if ((showAgain == 1) && (clockCount == 0)) {
gotoAndPlay ("send2");
}
}
}
Instance of Symbol 2013 MovieClip in Frame 469
onClipEvent (load) {
unit = "None";
lane = 1;
maxRound = _root.popCap1 - 2;
gotoAndStop ("enemyHole");
}
onClipEvent (enterFrame) {
if (maxRound > _root.jRound) {
if (_root.j == lane) {
unit = _root["lane_1_" + lane][_root[("lane_1_" + lane) + "_num"]];
unitGuy.gotoAndStop(unit);
_visible = true;
} else {
_visible = false;
}
} else {
_visible = false;
}
}
Instance of Symbol 2013 MovieClip in Frame 469
onClipEvent (load) {
unit = "None";
lane = 2;
maxRound = _root.popCap1 - 1;
gotoAndStop ("enemyHole");
}
onClipEvent (enterFrame) {
if (maxRound > _root.jRound) {
if (_root.j == lane) {
unit = _root["lane_1_" + lane][_root[("lane_1_" + lane) + "_num"]];
unitGuy.gotoAndStop(unit);
_visible = true;
} else {
_visible = false;
}
} else {
_visible = false;
}
}
Instance of Symbol 2013 MovieClip in Frame 469
onClipEvent (load) {
unit = "None";
lane = 3;
maxRound = _root.popCap1;
gotoAndStop ("enemyHole");
}
onClipEvent (enterFrame) {
if (maxRound > _root.jRound) {
if (_root.j == lane) {
unit = _root["lane_1_" + lane][_root[("lane_1_" + lane) + "_num"]];
unitGuy.gotoAndStop(unit);
_visible = true;
} else {
_visible = false;
}
} else {
_visible = false;
}
}
Instance of Symbol 1621 MovieClip "carryUnit" in Frame 469
onClipEvent (load) {
_alpha = 0;
this.swapDepths(90000);
num = "";
unit = "None";
targeted = "None";
hider.gotoAndStop(2);
hasTarget2 = false;
}
onClipEvent (enterFrame) {
startDrag (this, true);
if (_root.endGameOver == true) {
i = 1;
while (i < 20) {
if (_root["unitButton" + i].unit == unit) {
unit = "None";
_root["unitButton" + i].num++;
_root["unitButton" + i].hider.gotoAndStop(1);
_alpha = 0;
}
i++;
}
}
}
onClipEvent (keyDown) {
if (Key.isDown(49)) {
keyCode = _root.unitButton1;
}
if (Key.isDown(50)) {
keyCode = _root.unitButton2;
}
if (Key.isDown(51)) {
keyCode = _root.unitButton3;
}
if (Key.isDown(52)) {
keyCode = _root.unitButton4;
}
if (Key.isDown(53)) {
keyCode = _root.unitButton5;
}
if (Key.isDown(54)) {
keyCode = _root.unitButton8;
}
if (Key.isDown(55)) {
keyCode = _root.unitButton6;
}
if (Key.isDown(56)) {
keyCode = _root.unitButton7;
}
if (unit != "None") {
i = 1;
while (i < 20) {
if (_root["unitButton" + i].unit == unit) {
unit = "None";
_root["unitButton" + i].num++;
_root["unitButton" + i].hider.gotoAndStop(1);
_alpha = 0;
}
i++;
}
}
sender = keyCode;
if (sender.num > 0) {
sender.num--;
if (sender.num == 0) {
sender.hider.gotoAndStop(3);
}
_alpha = 80;
unit = sender.unit;
if (sender.heroUnit == true) {
unitGoto = "Hero" + _root.Erik.t;
} else {
unitGoto = unit;
}
this.gotoAndStop(unitGoto);
}
}
onClipEvent (mouseDown) {
if (_root.endGameOver == false) {
hasTarget2 = false;
i = 0;
while (i < 3) {
if (_root.presser2[i] == true) {
hasTarget2 = true;
}
i++;
}
if (hasTarget2 == true) {
sender2 = targeted;
if (((_root.popCap0 != 0) && (sender2.clockCount == 0)) && (unit != "None")) {
if ((_root.unitData[unit][8] == 1) || (_root[(("Guide" + _root.TN) + "Box") + ((_root.box.Rownumber - 1) * 0)].occupied == false)) {
if ((_root.popCap0 > 0) || (_root.popCap0 == "Unlimited")) {
if (_root.popCap0 != "Unlimited") {
_root.popCap0--;
}
_root.createUnit(unit, _root.TN, 0);
sender2.gotoAndPlay("send");
sender2.showAgain = 0;
sender2.clockCount = _root.clockCount;
_root.goYet = true;
_root.tutterK._visible = false;
unit = "None";
_alpha = 80;
this.gotoAndStop(unitSaveGoto);
if (unit == "None") {
_alpha = 0;
}
}
}
}
}
if ((unit != "None") && (hasTarget2 == false)) {
i = 1;
while (i < 20) {
if (_root["unitButton" + i].unit == unit) {
unit = "None";
_root["unitButton" + i].num++;
_root["unitButton" + i].hider.gotoAndStop(1);
_alpha = 0;
}
i++;
}
}
hasTarget = false;
i = 0;
while (i < 8) {
if (_root.presser[i] == true) {
hasTarget = true;
}
i++;
}
if (hasTarget == true) {
sender = targeted;
if (sender.num > 0) {
sender.num--;
if (sender.num == 0) {
sender.hider.gotoAndStop(3);
}
_alpha = 80;
unit = sender.unit;
if (sender.heroUnit == true) {
unitGoto = "Hero" + _root.Erik.t;
} else {
unitGoto = unit;
}
this.gotoAndStop(unitGoto);
}
}
}
}
Instance of Symbol 1621 MovieClip "unitButton1" in Frame 469
onClipEvent (load) {
unum = 1;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Melee Infantry Unit (HotKey: 1)";
}
if (_root.Erik.t == 1) {
_root.explainHere = "Melee Assault Unit";
}
if (_root.Erik.t == 2) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.Erik.t == 3) {
_root.explainHere = "Light Ranged Unit";
}
_root.explainHere2 = unit;
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.carryUnit.targeted = this;
_root.presser[0] = true;
} else {
_root.presser[0] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton2" in Frame 469
onClipEvent (load) {
unum = 2;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Ranged Rush Unit (HotKey: 2)";
}
if (_root.Erik.t == 1) {
_root.explainHere = "Ranged Sniper Unit";
}
if (_root.Erik.t == 2) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.Erik.t == 3) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[1] = true;
} else {
_root.presser[1] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton3" in Frame 469
onClipEvent (load) {
unum = 3;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Ranged Infantry Unit (HotKey: 3)";
}
if (_root.Erik.t == 1) {
_root.explainHere = "Heavy Tank Unit";
}
if (_root.Erik.t == 2) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.Erik.t == 3) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[2] = true;
} else {
_root.presser[2] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton4" in Frame 469
onClipEvent (load) {
unum = 4;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Melee Rush Unit (HotKey: 4)";
}
if (_root.Erik.t == 1) {
_root.explainHere = "Melee Tactical Unit";
}
if (_root.Erik.t == 2) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.Erik.t == 3) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[3] = true;
} else {
_root.presser[3] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton5" in Frame 469
onClipEvent (load) {
unum = 5;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Melee Tank Unit (HotKey: 5)";
}
if (_root.Erik.t == 1) {
_root.explainHere = "Ranged Assault Unit";
}
if (_root.Erik.t == 2) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.Erik.t == 3) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[4] = true;
} else {
_root.presser[4] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton8" in Frame 469
onClipEvent (load) {
unit = _root.player0.hero;
num = _root.player0.heroNum;
heroUnit = true;
this.gotoAndStop("Hero" + _root.Erik.t);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Hero Unit (HotKey: 6)";
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[5] = true;
} else {
_root.presser[5] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton6" in Frame 469
onClipEvent (load) {
unum = 6;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Heal all your units in battle. (HotKey: 7)";
}
if (_root.Erik.t == 1) {
_root.explainHere = "Damages all enemy units in battle.";
}
if (_root.Erik.t == 2) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.Erik.t == 3) {
_root.explainHere = "Light Ranged Unit";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[6] = true;
} else {
_root.presser[6] = false;
}
}
Instance of Symbol 1621 MovieClip "unitButton7" in Frame 469
onClipEvent (load) {
unum = 7;
unit = _root.unitPool[unum + (_root.shifterCount * _root.Erik.t)];
num = _root.customU[unum];
this.gotoAndStop(unit);
if (num == 0) {
hider.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.explainHere = "Defensive Structure (HotKey: 8)";
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.carryUnit.targeted = this;
_root.presser[7] = true;
} else {
_root.presser[7] = false;
}
}
Instance of Symbol 1624 MovieClip in Frame 469
onClipEvent (load) {
textWrite = "Units";
}
Instance of Symbol 1624 MovieClip in Frame 469
onClipEvent (load) {
textWrite = "Specials";
}
Instance of Symbol 1624 MovieClip in Frame 469
onClipEvent (load) {
textWrite = "Passive Upgrades";
}
Instance of Symbol 2015 MovieClip "textBacker" in Frame 469
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 2023 MovieClip "winLose" in Frame 469
onClipEvent (load) {
this._alpha = 0;
this.swapDepths(8001);
thing = false;
}
onClipEvent (enterFrame) {
if (_root.endGameOver == true) {
thing = true;
_root.endGameOver = false;
_root.customU[1] = _root.unitButton1.num;
_root.customU[2] = _root.unitButton2.num;
_root.customU[3] = _root.unitButton3.num;
_root.customU[4] = _root.unitButton4.num;
_root.customU[5] = _root.unitButton5.num;
_root.customU[6] = _root.unitButton6.num;
_root.customU[7] = _root.unitButton7.num;
}
if (thing == true) {
if (this._alpha < 100) {
_alpha = (_alpha + 5);
} else {
_root.BO._alpha = _root.BO._alpha + 5;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton9" in Frame 469
onClipEvent (load) {
unum = 0;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ((("Knights and Hunters recieve: +" + (3 * something)) + " life and +") + (2 * something)) + " attack.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[8] = true;
} else {
_root.presser[8] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton10" in Frame 469
onClipEvent (load) {
unum = 1;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ("All units except Priests recieve " + (10 * something)) + "% extra damage.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[9] = true;
} else {
_root.presser[9] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton11" in Frame 469
onClipEvent (load) {
unum = 2;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ((("Priests recieve: +" + (5 * something)) + " life and +") + (1 * something)) + " attack.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[10] = true;
} else {
_root.presser[10] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton12" in Frame 469
onClipEvent (load) {
unum = 3;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = "Priests and Hunters recieve: +3 attack and 10m extra range.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[11] = true;
} else {
_root.presser[11] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton13" in Frame 469
onClipEvent (load) {
unum = 4;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ("Priests gain " + (something * 4)) + " attack, but lose health over time.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[12] = true;
} else {
_root.presser[12] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton14" in Frame 469
onClipEvent (load) {
unum = 5;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ((("Royal Guards and Crusaders recieve: +" + (3 * something)) + " life and +") + (3 * something)) + " attack.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[13] = true;
} else {
_root.presser[13] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton15" in Frame 469
onClipEvent (load) {
unum = 6;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ("Knights and Royal Guards recieve: +" + (5 * something)) + " life.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[14] = true;
} else {
_root.presser[14] = false;
}
}
}
Instance of Symbol 1621 MovieClip "unitButton16" in Frame 469
onClipEvent (load) {
unum = 7;
something = _root.player0.upgrades[unum];
unit = _root.upgradePool[unum + (_root.shifterCount2 * _root.Erik.t)];
num = _root.player0.upgrades[unum];
this.gotoAndStop(unit);
if ((num == 0) || (num == "")) {
num = "";
hider.gotoAndStop(3);
} else {
hider.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.player0.upgrades[unum] > 0) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if (_root.Erik.t == 0) {
_root.explainHere = ("Knights, Royal Guards, and Crusaders recieve " + (10 * something)) + "% extra health.";
}
if (_root.Erik.t == 1) {
_root.explainHere = "";
}
if (_root.textBacker._alpha < 100) {
_root.textBacker._alpha = _root.textBacker._alpha + 5;
}
_root.explainHere2 = unit;
_root.presser[15] = true;
} else {
_root.presser[15] = false;
}
}
}
Instance of Symbol 389 MovieClip "BO" in Frame 469
onClipEvent (load) {
this._alpha = 0;
this.swapDepths(8000);
wait = 0;
}
onClipEvent (enterFrame) {
if (this._alpha >= 100) {
wait++;
if (wait >= 48) {
_root.DayTime++;
_root.totalDate++;
_root.AItecher();
_root.CoEFsSet(player1.race, "player1");
_root.CoEFsSet(player2.race, "player2");
_root.CoEFsSet(player3.race, "player3");
if (_root.DayTime == 4) {
_root.Day++;
_root.DayTime = 0;
}
_root.PAYDAY = true;
removeMovieClip(this);
removeMovieClip(_root.winLose);
removeMovieClip(_root.carryUnit);
_root.gotoAndStop("StartHere");
}
}
}
Instance of Symbol 1653 MovieClip in Frame 469
onClipEvent (load) {
musicBe = "song1";
}
Symbol 6 MovieClip [GuideBox3] Frame 1
stop();
Symbol 8 MovieClip [GuideBox2] Frame 1
stop();
Symbol 10 MovieClip [GuideBox] Frame 1
stop();
Symbol 22 MovieClip Frame 7
_parent.dying = false;
Symbol 25 MovieClip Frame 7
_parent.attacked = true;
_root.addSound("Effects", "magic1");
Symbol 25 MovieClip Frame 17
_parent.attacking = false;
stop();
Symbol 41 MovieClip Frame 21
stop();
Symbol 42 MovieClip Frame 1
_root.addSound("Effects", "collapse");
Symbol 42 MovieClip Frame 33
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 43 MovieClip [Defense Tower] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Symbol 54 Button
on (release) {
_root.chosenMenu = chosenMenu;
_root.missionSelect = missionGo;
_root.ewvwebrw = missionNumber;
_root.swerbverbgdf = missionGo;
_root.MNUM = missionNumNum;
_root.MNUM2 = missionNumNum2;
_root.addSound("Music", "STOP");
_root.nextFrame();
}
Symbol 73 MovieClip [DPS] Frame 37
unloadMovie (this);
Symbol 74 MovieClip [Healing Blast] Frame 1
stop();
Symbol 74 MovieClip [Healing Blast] Frame 2
_root[this.player].healing = _root[this.player].healing + 1;
Symbol 74 MovieClip [Healing Blast] Frame 30
_root[this.player].healing = _root[this.player].healing - 1;
Symbol 80 MovieClip Frame 25
_root[_parent.player].healing = _root[_parent.player].healing + (1 + _root[_parent.player].upgrades[5]);
Symbol 80 MovieClip Frame 26
_root[_parent.player].healing = _root[_parent.player].healing - (1 + _root[_parent.player].upgrades[5]);
Symbol 81 MovieClip Frame 7
_parent.dying = false;
Symbol 82 MovieClip Frame 6
_parent.attacked = true;
_root.addSound("Effects", "laser");
Symbol 82 MovieClip Frame 17
_parent.attacking = false;
stop();
Symbol 83 MovieClip Frame 4
_root.addSound("Effects", "collapse");
Symbol 83 MovieClip Frame 43
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 84 MovieClip [Ancient Shrine] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 87 MovieClip in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.player;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 99 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 106 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 26
gotoAndStop (1);
Symbol 111 MovieClip Frame 51
gotoAndStop (1);
Symbol 112 MovieClip Frame 1
stop();
Instance of Symbol 89 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 114 MovieClip Frame 7
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 117 MovieClip Frame 7
_parent.attacked = true;
_root.addSound("Effects", "Sword4");
Symbol 117 MovieClip Frame 15
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 119 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 119 MovieClip Frame 5
_root.addSound("Effects", "die1");
Symbol 119 MovieClip Frame 55
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 120 MovieClip [Royal Guard] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 132 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 134 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 146 MovieClip Frame 7
_parent.dying = false;
Symbol 148 MovieClip Frame 1
_root.addSound("Effects", "magic2");
Instance of Symbol 89 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 148 MovieClip Frame 5
_parent.attacked = true;
Symbol 148 MovieClip Frame 10
_parent.attacking = false;
stop();
Symbol 149 MovieClip Frame 1
_root.addSound("Effects", "die2");
Instance of Symbol 89 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 149 MovieClip Frame 15
_root.addSound("Effects", "heal");
Symbol 149 MovieClip Frame 16
_root[_parent.player].healing = _root[_parent.player].healing + _root[_parent.player].upgrades[2];
Symbol 149 MovieClip Frame 21
_root[_parent.player].healing = _root[_parent.player].healing - _root[_parent.player].upgrades[2];
Symbol 149 MovieClip Frame 27
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 150 MovieClip [Priest] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 158 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 164 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 173 MovieClip Frame 7
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 174 MovieClip Frame 5
_parent.attacked = true;
_root.addSound("Effects", "arrow");
Symbol 174 MovieClip Frame 10
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 175 MovieClip Frame 5
_root.addSound("Effects", "die3");
Symbol 175 MovieClip Frame 23
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 176 MovieClip [Hunter] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 178 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 197 MovieClip in Symbol 199 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 132 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 210 MovieClip Frame 9
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 212 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 212 MovieClip Frame 11
_parent.attacked = true;
_root.addSound("Effects", "polearm");
Symbol 212 MovieClip Frame 18
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 213 MovieClip Frame 5
_root.addSound("Effects", "die2");
Symbol 213 MovieClip Frame 35
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 214 MovieClip [Crusader] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 197 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 132 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 229 MovieClip Frame 7
_parent.dying = false;
Symbol 230 MovieClip Frame 1
_root.addSound("Effects", "Sword5");
Instance of Symbol 89 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 230 MovieClip Frame 6
_parent.attacked = true;
_root.addSound("Effects", "Sword2");
Symbol 230 MovieClip Frame 11
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 231 MovieClip Frame 5
_root.addSound("Effects", "die1");
Symbol 231 MovieClip Frame 27
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 232 MovieClip [Knight] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Symbol 237 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Instance of Symbol 249 MovieClip "Bar" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
widthkeep = _width;
heightkeep = _height;
}
onClipEvent (enterFrame) {
_width = (widthkeep * (_root.getBytesLoaded() / _root.getBytesTotal()));
_height = heightkeep;
}
Symbol 259 Button
on (release) {
removeMovieClip(adBox);
play();
}
Symbol 287 MovieClip Frame 126
_root.play();
Instance of Symbol 294 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 303 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 304 MovieClip Frame 1
stop();
Instance of Symbol 89 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 306 MovieClip Frame 7
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 307 MovieClip Frame 9
_parent.attacked = true;
_root.addSound("Effects", "laser");
Symbol 307 MovieClip Frame 19
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 308 MovieClip Frame 5
_root.addSound("Effects", "die1");
Symbol 308 MovieClip Frame 25
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 309 MovieClip [Warrior] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 316 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 325 MovieClip Frame 7
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 326 MovieClip Frame 9
_parent.attacked = true;
_root.addSound("Effects", "Sword1");
Symbol 326 MovieClip Frame 17
_parent.attacking = false;
stop();
Symbol 327 MovieClip Frame 1
addSound("Effects", "die2");
Instance of Symbol 89 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 327 MovieClip Frame 35
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 328 MovieClip [Assassin] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 330 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 336 MovieClip Frame 7
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 337 MovieClip Frame 7
_parent.attacked = true;
_root.addSound("Effects", "Sword1");
Symbol 337 MovieClip Frame 15
_parent.attacking = false;
stop();
Symbol 338 MovieClip Frame 1
addSound("Effects", "die1");
Instance of Symbol 89 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 338 MovieClip Frame 35
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 339 MovieClip [Risen] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 348 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 355 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 355 MovieClip Frame 7
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 356 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 356 MovieClip Frame 7
_parent.attacked = true;
_root.addSound("Effects", "magic1");
Symbol 356 MovieClip Frame 15
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 357 MovieClip Frame 5
addSound("Effects", "collaspe");
Symbol 357 MovieClip Frame 43
_parent.dead = true;
Instance of Symbol 15 MovieClip in Symbol 358 MovieClip [Pharoh] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 362 MovieClip in Symbol 364 MovieClip Frame 1
onClipEvent (load) {
player = _parent._parent._parent.playerC;
co = new Color(this);
co.setRGB(_root[player].colour);
}
Instance of Symbol 89 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 89 MovieClip in Symbol 373 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 373 MovieClip Frame 3
_parent.attacked = true;
_root.addSound("Effects", "arrow");
Symbol 373 MovieClip Frame 5
_parent.attacking = false;
stop();
Instance of Symbol 89 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 374 MovieClip Frame 5
_parent.dying = false;
Instance of Symbol 89 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Symbol 375 MovieClip Frame 4
_root.addSound("Effects", "die2");
Symbol 375 MovieClip Frame 37
_parent.dead = true;
Instance of Symbol 89 MovieClip in Symbol 376 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hero != true) {
this._visible = false;
}
}
Instance of Symbol 15 MovieClip in Symbol 377 MovieClip [Viper] Frame 1
onClipEvent (load) {
this.gotoAndStop(100);
}
onClipEvent (enterFrame) {
if (_root.lifeOn == true) {
this._visible = true;
} else {
this._visible = false;
}
perC = (_parent.life / _parent.lifeMax) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Symbol 383 Button
on (release) {
if (_root.slot1.data.progressGame > 0) {
_root.chosenMenu = "Mission Selector";
_root.progressGame = _root.slot1.data.progressGame;
achDayArray = new Array();
achHeroArray = new Array();
achWinArray = new Array();
for (i in _root.slot1.data.achDayArray) {
achDayArray[i] = _root.slot1.data.achDayArray[i];
achHeroArray[i] = _root.slot1.data.achHeroArray[i];
achWinArray[i] = _root.slot1.data.achWinArray[i];
}
_root.slot1.flush();
_root.ACHSHOW = "NONE";
_root.nextFrame();
} else {
_root.chosenMenu = "IntroScreen";
_root.missionSelect = _root.missionTitles[0];
_root.progressGame = 0;
_root.MNUM2 = 1;
_root.MNUM = 0;
_root.ACHSHOW = "NONE";
achHeroArray = new Array();
achDayArray = new Array();
achWinArray = new Array();
achHeroArray = [false, false, false, false, false, false, false, false, false, false];
achDayArray = [false, false, false, false, false, false, false, false, false, false];
achWinArray = [false, false, false, false, false, false, false, false, false, false];
_root.slot1.data.achDayArray = new Array();
_root.slot1.data.achHeroArray = new Array();
_root.slot1.data.achWinArray = new Array();
for (i in achDayArray) {
_root.slot1.data.achDayArray[i] = achDayArray[i];
_root.slot1.data.achHeroArray[i] = achHeroArray[i];
_root.slot1.data.achWinArray[i] = achWinArray[i];
}
_root.slot1.data.progressGame = 0;
_root.slot1.flush();
_root.ewvwebrw = "Mission 1:";
_root.swerbverbgdf = _root.missionSelect;
_root.nextFrame();
}
}
Symbol 384 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 393 Button
on (release) {
nextFrame();
}
Symbol 399 Button
on (release) {
_root.chosenMenu = "MOVIE_001";
nextFrame();
}
Symbol 406 Button
on (release) {
_root.chosenMenu = "Mission Selector";
nextFrame();
}
Symbol 411 Button
on (release) {
_root.chosenMenu = "MainMenu";
_root.addSound("Music", "STOP");
_root.nextFrame();
}
Symbol 413 Button
on (release) {
_root.playAsA = true;
}
Symbol 415 Button
on (release) {
_root.playAsA = false;
}
Symbol 433 Button
on (release) {
getURL ("http://armorgames.com/play/505/sonny", "_blank");
}
Symbol 446 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 482 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 485 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 562 MovieClip Frame 29
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 166
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 284
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 385
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 526
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 653
_root.texter = "";
Symbol 562 MovieClip Frame 679
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 828
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 950
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 1060
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 1159
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 1242
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 562 MovieClip Frame 1333
_root.texter = "";
Symbol 562 MovieClip Frame 1850
stop();
_root.chosenMenu = "Mission Briefing";
stop();
Symbol 647 MovieClip Frame 167
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 222
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 365
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 429
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 543
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 638
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 696
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 773
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 894
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 1031
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 647 MovieClip Frame 1152
_root.texter = "";
Symbol 647 MovieClip Frame 1240
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 663 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 668 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 727 MovieClip Frame 84
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 155
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 265
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 372
_root.texter = "";
Symbol 727 MovieClip Frame 391
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 444
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 534
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 660
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 718
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 780
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 823
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 913
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 967
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 1026
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 1094
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 1142
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 1231
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 1306
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 727 MovieClip Frame 1405
_root.texter = "";
Symbol 727 MovieClip Frame 1418
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 735 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 737 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 861 MovieClip Frame 144
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 194
_root.texter = "";
Symbol 861 MovieClip Frame 275
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 332
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 367
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 483
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 545
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 611
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 687
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 738
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 789
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 861 MovieClip Frame 871
_root.texter = "";
Symbol 861 MovieClip Frame 906
stop();
_root.chosenMenu = "Mission Selector";
Symbol 870 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 872 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 884 MovieClip Frame 74
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 132
_root.texter = "";
Symbol 884 MovieClip Frame 172
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 230
_root.texter = "";
Symbol 884 MovieClip Frame 271
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 317
_root.texter = "";
Symbol 884 MovieClip Frame 351
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 431
_root.texter = "";
Symbol 884 MovieClip Frame 476
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 563
_root.texter = "";
Symbol 884 MovieClip Frame 621
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 670
_root.texter = "";
Symbol 884 MovieClip Frame 701
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 763
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 848
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 884 MovieClip Frame 899
stop();
_root.chosenMenu = "Mission Selector";
Symbol 890 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 892 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 896 MovieClip Frame 27
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 896 MovieClip Frame 80
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 896 MovieClip Frame 132
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 896 MovieClip Frame 188
_root.texter = "";
Symbol 896 MovieClip Frame 202
stop();
_root.chosenMenu = "Mission Selector";
Symbol 902 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 904 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 911 MovieClip Frame 23
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 911 MovieClip Frame 69
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 911 MovieClip Frame 166
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 911 MovieClip Frame 206
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 911 MovieClip Frame 288
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 911 MovieClip Frame 347
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 911 MovieClip Frame 398
_root.texter = "";
Symbol 911 MovieClip Frame 563
stop();
_root.chosenMenu = "Mission Selector";
Symbol 916 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 918 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 926 MovieClip Frame 24
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 926 MovieClip Frame 90
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 926 MovieClip Frame 195
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 926 MovieClip Frame 307
_root.texter = "";
Symbol 926 MovieClip Frame 432
stop();
_root.chosenMenu = "EndScreen";
Symbol 934 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 936 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1062 MovieClip Frame 453
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 475
_root.texter = "";
Symbol 1062 MovieClip Frame 478
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 562
_root.texter = "";
Symbol 1062 MovieClip Frame 572
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 665
_root.texter = "";
Symbol 1062 MovieClip Frame 677
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 720
_root.texter = "";
Symbol 1062 MovieClip Frame 768
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 833
_root.texter = "";
Symbol 1062 MovieClip Frame 853
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 932
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 979
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1028
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1059
_root.texter = "";
Symbol 1062 MovieClip Frame 1073
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1179
_root.texter = "";
Symbol 1062 MovieClip Frame 1201
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1243
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1293
_root.texter = "";
Symbol 1062 MovieClip Frame 1317
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1379
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1445
_root.texter = "";
Symbol 1062 MovieClip Frame 1522
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1609
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1703
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1062 MovieClip Frame 1766
_root.texter = "";
Symbol 1062 MovieClip Frame 1861
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1069 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1071 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1127 MovieClip Frame 129
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 238
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 284
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 332
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 374
_root.texter = "";
Symbol 1127 MovieClip Frame 411
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 462
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 539
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 602
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 682
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1127 MovieClip Frame 734
_root.texter = "";
Symbol 1127 MovieClip Frame 826
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1134 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1136 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1209 MovieClip Frame 36
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 90
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 158
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 213
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 267
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 335
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 398
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 480
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 527
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1209 MovieClip Frame 582
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1218 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1220 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1241 MovieClip Frame 73
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1241 MovieClip Frame 137
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1241 MovieClip Frame 196
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1241 MovieClip Frame 284
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1241 MovieClip Frame 358
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1241 MovieClip Frame 424
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1241 MovieClip Frame 488
_root.texter = "";
Symbol 1241 MovieClip Frame 523
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1251 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1253 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1286 MovieClip Frame 52
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 117
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 210
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 278
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 323
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 379
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 472
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 559
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 624
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 657
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 708
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1286 MovieClip Frame 825
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1303 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1305 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1355 MovieClip Frame 39
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 84
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 187
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 256
_root.texter = "";
Symbol 1355 MovieClip Frame 319
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 387
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 453
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 568
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 650
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 748
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 860
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1355 MovieClip Frame 945
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1368 Button
on (press) {
_root.chosenMenu = "Mission Briefing";
}
Symbol 1370 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1389 MovieClip Frame 38
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 110
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 155
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 239
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 295
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 335
_root.texter = "";
Symbol 1389 MovieClip Frame 343
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 443
_root.texter = "";
Symbol 1389 MovieClip Frame 462
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 527
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 572
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 632
_root.texter = "";
Symbol 1389 MovieClip Frame 649
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 694
_root.texter = "";
Symbol 1389 MovieClip Frame 705
_root.D++;
_root.texter = _root.cutText[_root.D];
Symbol 1389 MovieClip Frame 791
_root.texter = "";
Symbol 1389 MovieClip Frame 800
stop();
_root.chosenMenu = "Mission Briefing";
Symbol 1436 Button
on (release) {
_root.chosenMenu = "SetupTheMission";
_root.nextFrame();
}
Symbol 1441 MovieClip Frame 2
_root.firstRound = false;
stop();
Symbol 1443 MovieClip Frame 1
stop();
Symbol 1447 MovieClip Frame 1
stop();
Symbol 1449 MovieClip Frame 1
stop();
Symbol 1454 MovieClip Frame 1
stop();
Symbol 1458 Button
on (release) {
if (_root.decision == "Defend") {
healer.play();
_root.gotoAndStop("Wait");
_root.decision = "None";
_root.waitText = ("Fortifying defenses at " + post) + ".";
}
if ((_root.decision == "Attack") && (player == "playerNone")) {
conquer.play();
_root.gotoAndStop("Wait");
_root.decision = "None";
_root.waitText = ("Taking over " + post) + "!";
}
if (_root.decision == "Choose") {
_root.attackingTarget.conquer2.play();
_root.gotoAndStop("Wait");
_root.decision = "None";
_root.waitText = ("Attacking " + _root.attackingTarget.post) + "!";
_root.attacking2Target = this;
_root.attacking2id = id;
_root.attacking2TargetName = post;
_root.attacking2TargetPlayer = player;
_root.idi0 = id;
if (occ > 0) {
_root.attacking2TargetCap = occ;
} else {
_root.attacking2TargetCap = "Unlimited";
}
_root.attacking2TargetLife = life;
_root.attacking2TargetLifeM = maxLife;
}
if (((_root.decision == "Attack") && (player != "playerNone")) && (player != "player0")) {
checkLink = 0;
_root.attackingTarget = this;
_root.attackingid = id;
_root.attackingTargetName = post;
_root.attackingTargetPlayer = player;
if (occ > 0) {
_root.attackingTargetCap = occ;
} else {
_root.attackingTargetCap = "Unlimited";
}
_root.attackingTargetLife = life;
_root.attackingTargetLifeM = maxLife;
_root.idi1 = id;
for (i in connectedTo) {
if (_parent["i" + connectedTo[i]].player == "player0") {
checkLink++;
playerFrom = _parent["i" + connectedTo[i]];
}
}
if (checkLink == 1) {
conquer2.play();
_root.gotoAndStop("Wait");
_root.decision = "None";
_root.waitText = ("Attacking " + post) + "!";
_root.attacking2Target = playerFrom;
_root.attacking2id = playerFrom.id;
_root.attacking2TargetName = playerFrom.post;
_root.attacking2TargetPlayer = playerFrom.player;
if (playerFrom.occ > 0) {
_root.attacking2TargetCap = playerFrom.occ;
} else {
_root.attacking2TargetCap = "Unlimited";
}
_root.attacking2TargetLife = playerFrom.life;
_root.attacking2TargetLifeM = playerFrom.maxLife;
_root.idi0 = playerFrom.id;
} else {
_root.decision = "Choose";
_root.gotoAndStop("Attack2");
for (i in connectedTo) {
if (_parent["i" + connectedTo[i]].player == "player0") {
_parent["i" + connectedTo[i]].but._visible = true;
_parent["i" + connectedTo[i]].uber.gotoAndStop(1);
}
}
}
}
}
Symbol 1463 MovieClip Frame 1
stop();
Symbol 1463 MovieClip Frame 2
if (_parent.life < _parent.maxLife) {
_parent.life++;
}
Symbol 1463 MovieClip Frame 11
if (_parent.life < _parent.maxLife) {
_parent.life++;
}
Symbol 1463 MovieClip Frame 21
if (_parent.life < _parent.maxLife) {
_parent.life++;
}
Symbol 1463 MovieClip Frame 30
if (_parent.life < _parent.maxLife) {
_parent.life++;
}
Symbol 1463 MovieClip Frame 37
_root.waitText = "Please wait...";
_root.switchPlayer = true;
Symbol 1466 MovieClip Frame 1
stop();
Symbol 1466 MovieClip Frame 31
stop();
_root.saveAll();
if (_root.currentPlayer == "player0") {
_root.theVictimPlayer = "player1";
_root.attackingAdvantage = 0;
} else {
_root.theVictimPlayer = "player0";
_root.attackingAdvantage = 1;
}
_root.blackOut = true;
_root.bo.gotoW = "Game";
_root.battleAt = _parent.post;
if (_parent.premade) {
_root.outerShellArray = new Array();
for (i in _parent.laneArray) {
_root.outerShellArray[i] = _parent.laneArray[i];
}
_root.outerShellArray = _parent.laneArray;
_root.autoLaneCreate = false;
_root.fillPremadeLanes();
}
if (_parent.MAPPER != undefined) {
_root.MAPBG = _parent.MAPPER;
} else {
_root.MAPBG = _root.defaultMapBG;
}
Symbol 1468 MovieClip Frame 1
stop();
Symbol 1468 MovieClip Frame 2
_parent.player = _root.currentPlayer;
if (_parent.prevPlayer == 0) {
_parent.prevPlayer = _root.currentPlayer;
if (_root.currentPlayer == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
}
}
_parent.life = _parent.maxLife;
_root.resetC(_parent, _root[_parent.player].colour);
_root.basePlayerSt[_parent.id] = _root.currentPlayer;
Symbol 1468 MovieClip Frame 36
_root.waitText = "Please wait...";
_root.switchPlayer = true;
Symbol 1473 MovieClip Frame 1
stop();
innerEarn.innerGold = "";
innerEarn.innerPop = "";
Instance of Symbol 1443 MovieClip in Symbol 1474 MovieClip Frame 1
onClipEvent (load) {
_xscale = (_xscale * _parent.newSize);
_yscale = (_yscale * _parent.newSize);
if (_xscale <= 50) {
_xscale = 50;
}
if (_yscale <= 50) {
_yscale = 50;
}
if (_parent.resoruce > 1) {
this.gotoAndStop("GOLD");
}
if (_parent.rtype == 0) {
this.gotoAndStop("PEOPLE");
}
}
Instance of Symbol 1451 MovieClip "col" in Symbol 1474 MovieClip Frame 1
onClipEvent (load) {
_parent.namer.labeler = _parent.post;
for (i in _parent.connectedTo) {
_parent._parent.lines.moveTo(_parent._x, _parent._y);
_parent._parent.lines.lineStyle(8, "0x000000", 60);
_parent._parent.lines.lineTo(_parent._parent["i" + _parent.connectedTo[i]]._x, _parent._parent["i" + _parent.connectedTo[i]]._y);
_parent._parent.lines.moveTo(_parent._x, _parent._y);
_parent._parent.lines.lineStyle(6, "0x333333", 60);
_parent._parent.lines.lineTo(_parent._parent["i" + _parent.connectedTo[i]]._x, _parent._parent["i" + _parent.connectedTo[i]]._y);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_parent.namer._visible = true;
} else {
_parent.namer._visible = false;
}
checked = false;
for (i in _parent.connectedTo) {
if (_parent._parent["i" + _parent.connectedTo[i]].player == "player0") {
checked = true;
}
}
if (((checked == true) && (_root.decision == "Attack")) && ((_parent.player != "player0") || (_parent.player == "playerNone"))) {
_parent.but._visible = true;
_parent.uber.gotoAndStop(1);
} else if ((_root.decision == "Defend") && (_parent.player == "player0")) {
_parent.but._visible = true;
_parent.uber.gotoAndStop(1);
} else if ((_root.decision == "Choose") && (_parent.player == "player0")) {
} else {
_parent.but._visible = false;
_parent.uber.gotoAndStop(2);
}
if (_root.decision == "None") {
_parent.uber.gotoAndStop(1);
}
}
Instance of Symbol 15 MovieClip "bar" in Symbol 1474 MovieClip Frame 1
onClipEvent (load) {
this._width = _parent.maxLife * 3;
perC = (_parent.life / _parent.maxLife) * 100;
this.gotoAndStop(Math.round(perC));
this._y = (_parent.backer._height / 2) + 8;
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
onClipEvent (enterFrame) {
perC = (_parent.life / _parent.maxLife) * 100;
this.gotoAndStop(Math.round(perC));
if (_parent.life <= 0) {
this.gotoAndStop(101);
}
}
Instance of Symbol 1461 MovieClip "namer" in Symbol 1474 MovieClip Frame 1
onClipEvent (load) {
this._y = ((-_parent.backer._height) / 2) - 12;
_visible = false;
}
Symbol 1536 MovieClip Frame 1
baseNum = 15;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1", "player2", "player3"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 40, 0, 50, 60, 75, 90, 100];
_root.player2.enemyFunction = new Array();
_root.player2.enemyFunction = [0, 40, 60, 80, 0, 0, 100, 0, 0, 0];
_root.player3.enemyFunction = new Array();
_root.player3.enemyFunction = [0, 50, 100, 0, 0, 0, 0, 0, 0];
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Inselheim Stadt";
maxLife = 20;
occ = 21;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1, 12];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Eden Citadel";
maxLife = 5;
occ = 21;
id = 4;
resoruce = 1;
rtype = 0;
connectedTo = new Array();
connectedTo = [3, 5, 6];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root.enemyBaseCum--;
_root[prevPlayer].baseCount--;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
prevPlayer = 0;
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Oberursel Camp";
maxLife = 15;
occ = 15;
id = 1;
resoruce = 2;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Waterpost Outlook";
maxLife = 5;
occ = 6;
id = 2;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 3];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Maroon Towerpoint";
maxLife = 5;
occ = 6;
id = 3;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [2, 4];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i8" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Sunset Field";
maxLife = 20;
occ = 15;
id = 8;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [9, 1];
MAPPER = "Dark";
if (_root.firstRound == true) {
life = maxLife;
player = "player3";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i12" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Ye Olde Crowe";
maxLife = 15;
occ = 9;
id = 12;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 11];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i9" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Cliffdeep Mine";
maxLife = 10;
occ = 9;
id = 9;
resoruce = 2;
rtype = 1;
connectedTo = new Array();
connectedTo = [8, 10, 11];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i11" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Highland Crossroads";
maxLife = 10;
occ = 12;
id = 11;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [9, 12, 13];
premade = true;
laneArray = ["Syrelix", "Warrior", "Syrelix", "Syrelix", "Syrelix", "Syrelix"];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i13" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Sunken Mines";
maxLife = 5;
occ = 3;
id = 13;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [11];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i10" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Central State";
maxLife = 8;
occ = 24;
id = 10;
resoruce = 1;
rtype = 0;
connectedTo = new Array();
connectedTo = [7, 9, 14];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Der Alte Schule";
maxLife = 5;
occ = 18;
id = 7;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [6, 10];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Nelson's Rest";
maxLife = 15;
occ = 15;
id = 6;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 5, 7];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "Perrylode Mine";
maxLife = 3;
occ = 3;
id = 5;
resoruce = 3;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 6];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i14" in Symbol 1536 MovieClip Frame 1
onClipEvent (load) {
post = "The Eastern Bloc";
maxLife = 30;
occ = 21;
id = 14;
resoruce = 1;
rtype = 0;
connectedTo = new Array();
connectedTo = [10];
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 7
baseNum = 8;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1", "player2"];
_root.enemyBaseLim = 1;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 20, 0, 40, 70, 100, 0, 0];
_root.player2.enemyFunction = new Array();
_root.player2.enemyFunction = [0, 40, 60, 80, 0, 0, 90, 100];
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Infrarift Base";
maxLife = 18;
occ = 12;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1, 5];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Woodcloak Fort";
maxLife = 12;
occ = 15;
id = 6;
resoruce = 1;
rtype = 0;
connectedTo = new Array();
connectedTo = [2];
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root.enemyBaseCum--;
_root[prevPlayer].baseCount--;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
prevPlayer = 0;
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Waterpost Outlook";
maxLife = 5;
occ = 12;
id = 3;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 1];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Bridge Guard";
maxLife = 5;
occ = 12;
id = 4;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [7, 3];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Nelson's Rest";
maxLife = 10;
occ = 18;
id = 1;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 0];
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Laan";
maxLife = 15;
occ = 15;
id = 2;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [5, 6];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Eastcrowe Mine";
maxLife = 5;
occ = 12;
id = 5;
resoruce = 3;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 7
onClipEvent (load) {
post = "Imperial Elite Camp";
maxLife = 12;
occ = 12;
id = 7;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [4];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 17
baseNum = 4;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [15, 100, 0, 0, 0, 0, 0, 0];
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 17
onClipEvent (load) {
post = "Enemy Camp";
maxLife = 3;
occ = 9;
id = 3;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [2];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 17
onClipEvent (load) {
post = "Angel's Bridge";
maxLife = 15;
occ = 15;
id = 2;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 3];
MAPPER = "Sunset";
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 17
onClipEvent (load) {
post = "Imperial Colony";
maxLife = 12;
occ = 25;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [2];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 36
baseNum = 4;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [15, 40, 60, 80, 0, 0, 90, 100];
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 36
onClipEvent (load) {
post = "Enemy Base";
maxLife = 15;
occ = 15;
id = 3;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 36
onClipEvent (load) {
post = "The Purple Mines";
maxLife = 5;
occ = 5;
id = 2;
resoruce = 20;
rtype = 1;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 36
onClipEvent (load) {
post = "Outskirts";
maxLife = 10;
occ = 15;
id = 1;
resoruce = 0;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2, 3];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 36
onClipEvent (load) {
post = "Imperial Camp";
maxLife = 25;
occ = 25;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 59
baseNum = 6;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 25, 50, 70, 85, 100, 0, 0];
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 59
onClipEvent (load) {
post = "Mehlan";
maxLife = 5;
occ = 9;
id = 3;
resoruce = 4;
rtype = 0;
connectedTo = new Array();
connectedTo = [4];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 59
onClipEvent (load) {
post = "Island Blockade";
maxLife = 5;
occ = 9;
id = 4;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 5];
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 59
onClipEvent (load) {
post = "Cliffside Outpost";
maxLife = 15;
occ = 15;
id = 1;
resoruce = 3;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 59
onClipEvent (load) {
post = "The Green Hammer";
maxLife = 12;
occ = 12;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 59
onClipEvent (load) {
post = "Imperial Barricade";
maxLife = 12;
occ = 9;
id = 5;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 2];
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 59
onClipEvent (load) {
post = "Ravenscar";
maxLife = 15;
occ = 12;
id = 2;
resoruce = 3;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 5];
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Symbol 1536 MovieClip Frame 78
baseNum = 9;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1", "player2", "player3"];
_root.enemyBaseLim = 1;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 0, 33, 0, 66, 100, 0, 0];
_root.player2.enemyFunction = new Array();
_root.player2.enemyFunction = [0, 30, 0, 0, 50, 70, 85, 100];
_root.player3.enemyFunction = new Array();
_root.player3.enemyFunction = [0, 30, 60, 100, 0, 0, 0, 0];
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Imperial Prison";
maxLife = 3;
occ = 9;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
MAPPER = "City";
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Terradar Square";
maxLife = 3;
occ = 9;
id = 1;
resoruce = 0;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
MAPPER = "City";
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Bridge Guard";
maxLife = 4;
occ = 9;
id = 2;
resoruce = 0;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 3];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Imperial Base Camp";
maxLife = 5;
occ = 9;
id = 4;
resoruce = 20;
rtype = 1;
connectedTo = new Array();
connectedTo = [7, 5, 3];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i8" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Crisis Committee";
maxLife = 5;
occ = 9;
id = 8;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [7];
if (_root.firstRound == true) {
life = maxLife;
player = "player3";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Kingdom Defense";
maxLife = 5;
occ = 9;
id = 6;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [5];
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "City Gardens";
maxLife = 4;
occ = 9;
id = 3;
resoruce = 0;
rtype = 1;
connectedTo = new Array();
connectedTo = [2, 4];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Forest Edge";
maxLife = 5;
occ = 9;
id = 5;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [6, 4];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 78
onClipEvent (load) {
post = "Forest Edge";
maxLife = 5;
occ = 9;
id = 7;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [8, 4];
if (_root.firstRound == true) {
player = "player3";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Symbol 1536 MovieClip Frame 95
baseNum = 9;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1", "player2"];
_root.enemyBaseLim = 1;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 20, 40, 60, 90, 0, 100, 0];
_root.player2.enemyFunction = new Array();
_root.player2.enemyFunction = [0, 40, 0, 0, 0, 70, 85, 100];
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Bridge Outpost";
maxLife = 5;
occ = 12;
id = 5;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 6];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Ashen Fields";
maxLife = 5;
occ = 9;
id = 6;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [5, 7];
MAPPER = "Dust";
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Darcheal's Camp";
maxLife = 5;
occ = 9;
id = 3;
resoruce = 4;
rtype = 0;
connectedTo = new Array();
connectedTo = [1, 5, 4];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Cliff Clearing";
maxLife = 5;
occ = 6;
id = 1;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2, 3];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "West Plateau";
maxLife = 5;
occ = 9;
id = 2;
resoruce = 6;
rtype = 1;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Imperial Strike Force";
maxLife = 20;
occ = 12;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "East Plateau";
maxLife = 5;
occ = 6;
id = 4;
resoruce = 12;
rtype = 1;
connectedTo = new Array();
connectedTo = [3];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Valley of Fire";
maxLife = 5;
occ = 12;
id = 7;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [6, 8];
MAPPER = "Dust";
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i8" in Symbol 1536 MovieClip Frame 95
onClipEvent (load) {
post = "Matteus' Base";
maxLife = 8;
occ = 12;
id = 8;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [7];
MAPPER = "Dust";
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 110
baseNum = 8;
_root.defaultMapBG = "Dark";
_root.activeCounter = new Array();
_root.activeCounter = ["player1"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 0, 25, 50, 80, 90, 100, 0];
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Cloaked Valley";
maxLife = 5;
occ = 9;
id = 3;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [2, 4];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Lost Alley";
maxLife = 5;
occ = 6;
id = 1;
resoruce = 2;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Haunted Mines";
maxLife = 5;
occ = 6;
id = 0;
resoruce = 12;
rtype = 1;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Darcheal's Camp";
maxLife = 5;
occ = 6;
id = 2;
resoruce = 8;
rtype = 0;
connectedTo = new Array();
connectedTo = [1, 3];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "The Iron Gates";
maxLife = 5;
occ = 9;
id = 4;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 5, 6];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Shallow Graves";
maxLife = 7;
occ = 12;
id = 6;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [7, 4];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Tainted Gardens";
maxLife = 7;
occ = 12;
id = 5;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 7];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 110
onClipEvent (load) {
post = "Mel'Kir Outpost";
maxLife = 10;
occ = 15;
id = 7;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [5, 6];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 127
baseNum = 6;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 25, 50, 70, 85, 90, 0, 100];
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 127
onClipEvent (load) {
post = "Mehlan";
maxLife = 5;
occ = 9;
id = 3;
resoruce = 4;
rtype = 0;
connectedTo = new Array();
connectedTo = [4];
premade = true;
laneArray = ["Royal Guard", "Royal Guard", "Royal Guard", "Healing Blast", "Crusader", "Defense Tower", "Healing Blast", "Crusader", "Healing Blast"];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 127
onClipEvent (load) {
post = "Island Blockade";
maxLife = 5;
occ = 9;
id = 4;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 5];
premade = true;
laneArray = ["Royal Guard", "Royal Guard", "Royal Guard", "Defense Tower", "Healing Blast", "Defense Tower", "Healing Blast", "Defense Tower", "Healing Blast"];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 127
onClipEvent (load) {
post = "Cliffside Outpost";
maxLife = 8;
occ = 15;
id = 1;
resoruce = 3;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 127
onClipEvent (load) {
post = "The Blue Hammer";
maxLife = 12;
occ = 15;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 127
onClipEvent (load) {
post = "Imperial Blockade";
maxLife = 5;
occ = 9;
id = 5;
resoruce = 4;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 2];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 127
onClipEvent (load) {
post = "Ravenscar";
maxLife = 7;
occ = 12;
id = 2;
resoruce = 3;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 5];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Symbol 1536 MovieClip Frame 143
baseNum = 9;
_root.defaultMapBG = "Sunset";
_root.activeCounter = new Array();
_root.activeCounter = ["player1", "player2"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 18, 26, 54, 67, 75, 83, 100];
_root.player2.enemyFunction = new Array();
_root.player2.enemyFunction = [0, 0, 20, 40, 65, 74, 87, 100];
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Imperial Defense";
maxLife = 5;
occ = 12;
id = 2;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i8" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "The Overlook";
maxLife = 5;
occ = 9;
id = 8;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [5];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Cliff Base";
maxLife = 5;
occ = 9;
id = 1;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Back Plains";
maxLife = 5;
occ = 12;
id = 0;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 3];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Darcheal's Base";
maxLife = 5;
occ = 9;
id = 3;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [0, 4];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Temple Pathway";
maxLife = 5;
occ = 9;
id = 4;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 5];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Southern Valley";
maxLife = 5;
occ = 9;
id = 6;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [5];
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Temple of Eratamus";
maxLife = 15;
occ = 12;
id = 7;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [5];
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 143
onClipEvent (load) {
post = "Center Ground";
maxLife = 5;
occ = 12;
id = 5;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 6, 7, 8];
if (_root.firstRound == true) {
player = "playerNone";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Symbol 1536 MovieClip Frame 159
baseNum = 5;
_root.defaultMapBG = "Sanctum";
_root.activeCounter = new Array();
_root.activeCounter = ["player1"];
_root.enemyBaseLim = 0;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [15, 100, 0, 0, 0, 0, 0, 0];
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 159
onClipEvent (load) {
post = "East Platform";
maxLife = 3;
occ = 9;
id = 1;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
premade = true;
laneArray = ["Risen", "Risen", "Viper", "Ancient Shrine", "Viper", "Risen", "Assassin", "Pharoh", "Warrior"];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 159
onClipEvent (load) {
post = "Center Hall";
maxLife = 3;
occ = 9;
id = 2;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 3];
premade = true;
laneArray = ["Viper", "Viper", "Warrior", "Assassin", "Assassin", "Apocalypse", "Ancient Shrine", "Risen", "Risen"];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 159
onClipEvent (load) {
post = "Final Ground";
maxLife = 3;
occ = 9;
id = 3;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [2, 4];
premade = true;
laneArray = ["Warrior", "Pharoh", "Warrior", "Ancient Shrine", "Ancient Shrine", "Ancient Shrine", "Apocalypse", "Apocalypse", "Apocalypse"];
if (_root.firstRound == true) {
player = "player1";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 159
onClipEvent (load) {
post = "Circle of Sacrifice";
maxLife = 3;
occ = 9;
id = 4;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [3];
premade = true;
laneArray = ["Assassin", "Syrelix", "Assassin", "Viper", "Ancient Shrine", "Risen", "Assassin", "Apocalypse", "Viper"];
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 159
onClipEvent (load) {
post = "Temple Entrance";
maxLife = 3;
occ = 9;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Symbol 1536 MovieClip Frame 175
baseNum = 10;
_root.defaultMapBG = "Beach";
_root.activeCounter = new Array();
_root.activeCounter = ["player1", "player2"];
_root.enemyBaseLim = 1;
if (_root.firstRound == true) {
_root.baseLifeSt = new Array();
_root.basePlayerSt = new Array();
_root.prevPlay = new Array();
i = 0;
while (i < baseNum) {
_root.baseLifeSt[i] = 0;
_root.basePlayerSt[i] = 0;
_root.prevPlay[i] = 0;
i++;
}
}
_root.player1.enemyFunction = new Array();
_root.player1.enemyFunction = [0, 17, 35, 55, 70, 80, 100, 0];
_root.player2.enemyFunction = new Array();
_root.player2.enemyFunction = [0, 5, 30, 50, 65, 80, 90, 100];
Instance of Symbol 1474 MovieClip "i7" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Pamsdale";
maxLife = 5;
occ = 15;
id = 7;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [2, 6];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i6" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Beach Plains";
maxLife = 10;
occ = 18;
id = 6;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [5, 7];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i5" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Southern Port";
maxLife = 15;
occ = 18;
id = 5;
resoruce = 4;
rtype = 0;
connectedTo = new Array();
connectedTo = [6];
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i0" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Northen Port";
maxLife = 10;
occ = 15;
id = 0;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [1];
if (_root.firstRound == true) {
life = maxLife;
player = "player2";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i3" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Darcheal's Base";
maxLife = 10;
occ = 15;
id = 3;
resoruce = 1;
rtype = 0;
connectedTo = new Array();
connectedTo = [2, 4];
if (_root.firstRound == true) {
life = maxLife;
player = "player0";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i4" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Supplies Base";
maxLife = 10;
occ = 15;
id = 4;
resoruce = 20;
rtype = 1;
connectedTo = new Array();
connectedTo = [3, 8];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i8" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Barricade";
maxLife = 15;
occ = 12;
id = 8;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [4, 9];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i9" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Imperial Offensive";
maxLife = 25;
occ = 12;
id = 9;
resoruce = 2;
rtype = 0;
connectedTo = new Array();
connectedTo = [8];
MAPPER = "Beach";
if (_root.firstRound == true) {
life = maxLife;
player = "player1";
prevPlayer = player;
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
_root.prevPlay[id] = prevPlayer;
if (player == "player0") {
_root.playerBaseCum++;
} else {
_root.enemyBaseCum++;
_root[player].baseCount++;
}
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
prevPlayer = _root.prevPlay[id];
if (life == "fill") {
life = maxLife;
}
if (player == "playerNone") {
life = 0;
if (prevPlayer == "player0") {
_root.playerBaseCum--;
prevPlayer = 0;
if (_root.playerBaseCum == 0) {
_root.winCondition = 2;
}
} else if (prevPlayer != 0) {
_root[prevPlayer].baseCount--;
_root.enemyBaseCum--;
prevPlayer = 0;
if (_root.enemyBaseCum == _root.enemyBaseLim) {
_root.winCondition = 1;
}
}
}
}
this.backer.gotoAndStop("base");
_root.resetC(this, _root[player].colour);
}
Instance of Symbol 1474 MovieClip "i2" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Blue Offensive";
maxLife = 15;
occ = 12;
id = 2;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [1, 3, 7];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "player0";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Instance of Symbol 1474 MovieClip "i1" in Symbol 1536 MovieClip Frame 175
onClipEvent (load) {
post = "Axeton";
maxLife = 5;
occ = 15;
id = 1;
resoruce = 1;
rtype = 1;
connectedTo = new Array();
connectedTo = [0, 2];
MAPPER = "Beach";
if (_root.firstRound == true) {
player = "player2";
if (player != "playerNone") {
life = maxLife;
}
_root.baseLifeSt[id] = life;
_root.basePlayerSt[id] = player;
} else {
life = _root.baseLifeSt[id];
player = _root.basePlayerSt[id];
if (life == "fill") {
life = maxLife;
}
}
if (player == "playerNone") {
life = 0;
}
_root.resetC(this, _root[player].colour);
newSize = occ / _root.sta;
this.uber._xscale = this.uber._xscale * newSize;
this.uber._yscale = this.uber._yscale * newSize;
this.col._xscale = this.col._xscale * newSize;
this.col._yscale = this.col._yscale * newSize;
this.but._xscale = this.but._xscale * newSize;
this.but._yscale = this.but._yscale * newSize;
this.backer._width = this.col._width + _root.bordSize;
this.backer._height = this.col._height + _root.bordSize;
}
Symbol 1542 MovieClip Frame 1
stop();
Symbol 1547 MovieClip Frame 1
stop();
Symbol 1627 Button
on (release) {
if (_root.blackOut != true) {
if (winCondition == 0) {
decision = "Attack";
gotoAndStop ("Attack");
saveAll();
}
}
}
Symbol 1629 Button
on (release) {
if (_root.blackOut != true) {
if (winCondition == 0) {
decision = "Defend";
gotoAndStop ("Fortify");
}
}
}
Symbol 1631 Button
on (release) {
if (_root.blackOut != true) {
if (_root.playerTurn == true) {
if (winCondition == 0) {
_root.blackOut = true;
_root.bo.gotoW = "GameMenu";
_root.waitText = "Building Units...";
saveAll();
gotoAndStop ("Wait");
}
}
}
}
Symbol 1633 Button
on (release) {
if (_root.blackOut != true) {
_root.waitText = "Please wait...";
_root.switchPlayer = true;
_root.cultConstant = 1.5;
}
}
Symbol 1641 MovieClip Frame 1
stop();
Symbol 1649 Button
on (release) {
if (_root.KrinSound == 1) {
_root.addSound("Music", "STOP");
_root.KrinSound = 0;
} else {
_root.KrinSound = 1;
_root.addSound("Music", musicBe);
}
}
Symbol 1650 Button
on (press) {
if (_root._quality == "LOW") {
_root._quality = "HIGH";
} else {
_root._quality = "LOW";
}
}
Symbol 1651 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 1652 Button
on (release) {
_root.addSound("Music", "STOP");
removeMovieClip(_root.BO);
removeMovieClip(_root.carryUnit);
removeMovieClip(_root.winLose);
_root.gotoAndStop("MainMenu");
}
Symbol 1657 Button
on (release) {
_visible = false;
_root.gotoAndStop("StartHere");
}
Symbol 1665 Button
on (release) {
decision = "None";
gotoAndStop ("StartHere");
}
Symbol 1675 Button
on (release) {
_root.blackOut = true;
_root.bo.gotoW = "GameMenu";
_root.waitText = "Building Units...";
gotoAndStop ("Wait");
}
Symbol 1683 MovieClip Frame 1
stop();
Symbol 1686 Button
on (release) {
_root.specialCase = false;
_root.specialCase2 = false;
_root.ACHSHOW = "NONE";
if (winCondition == 1) {
if (player0.heroNum > 0) {
achHeroArray[_root.MNUM] = true;
_root.ACHSHOW = "heroA";
}
if (Day < achDay) {
achDayArray[_root.MNUM] = true;
_root.ACHSHOW = "dayA";
if (player0.heroNum > 0) {
achWinArray[_root.MNUM] = true;
_root.ACHSHOW = "winA";
}
}
for (i in achDayArray) {
_root.slot1.data.achDayArray[i] = achDayArray[i];
_root.slot1.data.achHeroArray[i] = achHeroArray[i];
_root.slot1.data.achWinArray[i] = achWinArray[i];
}
if (_root.progressGame < 9) {
if (_root.MNUM == _root.progressGame) {
_root.progressGame++;
_root.slot1.data.progressGame = _root.progressGame;
_root.slot1.flush();
}
}
}
_root.blackOut = true;
if (winCondition == 1) {
if (MNUM == 2) {
_root.bo.gotoW = "MOVIE_X1";
stopAllSounds();
} else if (MNUM == 4) {
_root.bo.gotoW = "MOVIE_X2";
stopAllSounds();
} else if (MNUM == 5) {
_root.bo.gotoW = "MOVIE_X3";
stopAllSounds();
} else if (MNUM == 8) {
_root.bo.gotoW = "MOVIE_X4";
stopAllSounds();
} else if (MNUM == 9) {
_root.bo.gotoW = "MOVIE_X5";
stopAllSounds();
} else {
_root.bo.gotoW = "Mission Selector";
}
} else {
_root.bo.gotoW = "Mission Selector";
}
_root.waitText = "";
gotoAndStop ("Wait");
}
Symbol 1702 Button
on (rollOver) {
if (_root.buildingAv[num + (6 * _root.Erik.t)] == 1) {
_parent.expl.gotoAndStop(_currentframe + 2);
} else {
_parent.expl.gotoAndStop("Un");
}
_root.labeler.appear = true;
_root.labeler.gotoAndStop(1);
_root.labeler.nameLabel = buildingName;
_parent.expl.g = buildGold;
_parent.expl.p = buildPop;
}
on (rollOut) {
_parent.expl.gotoAndStop(1);
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
}
on (release) {
if (_root.buildingAv[num + (6 * _root.Erik.t)] == 1) {
if (_root.gold >= buildGold) {
if (_root.popul >= buildPop) {
done = false;
i = 0;
while (i < 4) {
if ((done == false) && (_root["empt" + i].stat == false)) {
done = true;
_root.gold = _root.gold - buildGold;
_root.popul = _root.popul - buildPop;
_root["empt" + i].stat = true;
_root["empt" + i].g = buildGold;
_root["empt" + i].p = buildPop;
_root["empt" + i].nameLabel = buildingName;
_root["empt" + i].timeMax = _root.timeUnit * buildTime;
_root["empt" + i].gotoAndStop("loading");
}
i++;
}
if (done == false) {
_root.errorPlay("Not enough space");
}
} else {
_root.errorPlay("Not enough people");
}
} else {
_root.errorPlay("Not enough gold");
}
} else {
_root.errorPlay("Currently Unavailible");
}
}
Instance of Symbol 1696 MovieClip "appearer" in Symbol 1727 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 1701 MovieClip "hider2" in Symbol 1727 MovieClip Frame 1
onClipEvent (load) {
if (_root.buildingAv[_parent.num + (6 * _root.Erik.t)] == 1) {
_visible = false;
}
}
Instance of Symbol 1733 MovieClip in Symbol 1734 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 1733 MovieClip in Symbol 1734 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (30);
}
Symbol 1744 MovieClip Frame 1
stop();
Symbol 1745 Button
on (rollOver) {
_root.labeler.appear = true;
_root.labeler.gotoAndStop(1);
_root.labeler.nameLabel = "Cancel";
}
on (rollOut) {
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
}
on (release) {
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
_root.gold = _root.gold + g;
_root.popul = _root.popul + p;
stat = false;
gotoAndStop ("empty");
}
Symbol 1749 Button
on (rollOver) {
_root.labeler.appear = true;
_root.labeler.gotoAndStop(1);
_root.labeler.nameLabel = "Cancel";
}
on (rollOut) {
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
}
on (release) {
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
_root.gold = _root.gold + g;
_root.popul = _root.popul + p;
if (upID != "None") {
_root.player0.upgradesPre[upID]--;
}
gotoAndStop ("buildSlot");
}
Symbol 1752 Button
on (rollOver) {
_root.expl.gotoAndStop(n);
_root.labeler.appear = true;
_root.labeler.gotoAndStop(1);
_root.labeler.nameLabel = n;
_root.expl.attack = _root.unitData[n][4];
_root.expl.life = _root.unitData[n][2];
_root.expl.g = g;
_root.expl.p = p;
}
on (rollOut) {
_root.expl.gotoAndStop(1);
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
}
on (release) {
if ((upgradeType != 1) || (_root.player0.upgradesPre[upgradeId] < _root.upgradePoolLimits[upgradeId + (_root.Erik.t * 8)])) {
if (upgradeType == 1) {
_parent._parent.upID = upgradeId;
} else {
_parent._parent.upID = "None";
}
if (_root.gold >= g) {
if (_root.popul >= p) {
_root.gold = _root.gold - g;
_root.popul = _root.popul - p;
_parent._parent.timeMax = _root.timeUnit * t;
_parent._parent.tellText = u;
_parent._parent.unit = n;
_parent._parent.id = i;
_parent._parent.g = g;
_parent._parent.p = p;
_parent._parent.gg = gg;
_parent._parent.pg = pg;
if (upgradeType) {
_parent._parent.upgradeType2 = 1;
_parent._parent.upgradeId = upgradeId;
_root.player0.upgradesPre[upgradeId]++;
} else {
_parent._parent.upgradeType2 = 0;
}
_root.expl.gotoAndStop(1);
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
_parent._parent.gotoAndStop("buildSlot2");
} else {
_root.errorPlay("Not enough people");
}
} else {
_root.errorPlay("Not enough gold");
}
} else {
_root.errorPlay("Cannot Upgrade Further");
}
}
Instance of Symbol 1621 MovieClip in Symbol 1753 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.n);
hider.gotoAndStop(2);
num = "";
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 2
onClipEvent (load) {
n = "Food Production";
g = 0;
p = 1;
t = 1;
u = "Farming Food";
i = 0;
gg = 50;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 2
onClipEvent (load) {
n = "Expansion";
g = 100;
p = 0;
t = 1;
u = "Expanding Settlements";
i = 0;
gg = 0;
pg = 1;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 2
onClipEvent (load) {
n = "Collective Farming";
g = 0;
p = 5;
t = 1;
u = "Collective farming...";
i = 0;
gg = 250;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 9
onClipEvent (load) {
n = "Infantry Tacticals";
g = 250;
p = 3;
t = 0.5;
u = "Developing Infantry Tacticals";
i = 9;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 9
onClipEvent (load) {
n = "Knight";
g = 54;
p = 1;
t = 0.5;
u = "Recruiting Knight";
i = 1;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 9
onClipEvent (load) {
n = "Hunter";
g = 32;
p = 1;
t = 0.5;
u = "Recruiting Hunter";
i = 2;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 15
onClipEvent (load) {
n = "Overload";
g = 240;
p = 1;
t = 0.5;
u = "Developing " + n;
i = 13;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 4;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 15
onClipEvent (load) {
n = "Focus";
g = 400;
p = 2;
t = 0.5;
u = "Developing " + n;
i = 12;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 3;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 15
onClipEvent (load) {
n = "Spiritual Mastery";
g = 150;
p = 1;
t = 0.5;
u = "Developing " + n;
i = 11;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 2;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 15
onClipEvent (load) {
n = "Healing Blast";
g = 35;
p = 0;
t = 0.5;
u = "Charging Healing Blast";
i = 6;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 15
onClipEvent (load) {
n = "Priest";
g = 40;
p = 1;
t = 0.5;
u = "Recruiting Priest";
i = 3;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 22
onClipEvent (load) {
n = "Royal Guard";
g = 121;
p = 1;
t = 0.5;
u = "Recruiting Royal Guard";
i = 5;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 22
onClipEvent (load) {
n = "Vitality";
g = 400;
p = 2;
t = 0.5;
u = "Developing " + n;
i = 15;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 6;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 30
onClipEvent (load) {
n = "Crusader";
g = 89;
p = 1;
t = 0.5;
u = "Recruiting Crusader";
i = 4;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 30
onClipEvent (load) {
n = "Determination";
g = 400;
p = 2;
t = 0.5;
u = "Developing " + n;
i = 14;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 5;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 41
onClipEvent (load) {
n = "Defense Tower";
g = 250;
p = 0;
t = 0.5;
u = "Constructing Tower";
i = 7;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 41
onClipEvent (load) {
n = "Weaponry";
g = 200;
p = 3;
t = 0.5;
u = "Developing Weaponry";
i = 10;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 1;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 41
onClipEvent (load) {
n = "Cold Steel";
g = 300;
p = 3;
t = 0.5;
u = "Developing " + n;
i = 16;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 7;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 47
onClipEvent (load) {
n = "Slave Labour";
g = 0;
p = 1;
t = 1;
u = "Labouring...";
i = 0;
gg = 500;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 59
onClipEvent (load) {
n = "Risen";
g = 180;
p = 0;
t = 0.5;
u = "Summoning Risen";
i = 1;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 73
onClipEvent (load) {
n = "Sharp Eyes";
g = 1000;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 9;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 73
onClipEvent (load) {
n = "Viper";
g = 210;
p = 0;
t = 0.5;
u = "Training Viper";
i = 2;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 83
onClipEvent (load) {
n = "Granite Armor";
g = 780;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 10;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 1;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 83
onClipEvent (load) {
n = "Improved Shrines";
g = 1150;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 14;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 5;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 83
onClipEvent (load) {
n = "Ancient Shrine";
g = 220;
p = 0;
t = 0.5;
u = "Construction Ancient Shrine";
i = 7;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 83
onClipEvent (load) {
n = "Warrior";
g = 312;
p = 0;
t = 0.5;
u = "Constructing Warrior";
i = 3;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 94
onClipEvent (load) {
n = "Deadly Blades";
g = 1121;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 11;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 2;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 94
onClipEvent (load) {
n = "Assassin";
g = 390;
p = 0;
t = 0.5;
u = "Summoning Assassin";
i = 4;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 94
onClipEvent (load) {
n = "Endurance";
g = 1213;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 12;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 3;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 103
onClipEvent (load) {
n = "Ancient Resilience";
g = 1487;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 15;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 6;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 103
onClipEvent (load) {
n = "Ancient Devestation";
g = 1452;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 16;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 7;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 103
onClipEvent (load) {
n = "Pharoh";
g = 482;
p = 1;
t = 0.5;
u = "Constructing Pharoh";
i = 5;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 103
onClipEvent (load) {
n = "Apocalypse";
g = 120;
p = 0;
t = 0.5;
u = "Preparing Apocalypse";
i = 6;
gg = 0;
pg = 0;
}
Instance of Symbol 1753 MovieClip in Symbol 1754 MovieClip Frame 103
onClipEvent (load) {
n = "Eclipse";
g = 723;
p = 0;
t = 0.5;
u = "Developing " + n;
i = 13;
gg = 0;
pg = 0;
upgradeType = 1;
upgradeId = 4;
}
Symbol 1755 Button
on (rollOver) {
_root.labeler.appear = true;
_root.labeler.gotoAndStop(1);
_root.labeler.nameLabel = "Destroy";
}
on (rollOut) {
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
}
on (release) {
_root.labeler.appear = false;
_root.labeler.nameLabel = "";
_root.labeler.errorMsg = "";
stat = false;
_root[building_id] = "None";
gotoAndStop ("empty");
}
Symbol 1757 MovieClip Frame 1
stop();
g = 0;
p = 0;
Instance of Symbol 1744 MovieClip in Symbol 1757 MovieClip Frame 8
onClipEvent (load) {
timeNow = 0;
timeMax = _parent.timeMax;
}
onClipEvent (enterFrame) {
if (timeNow < timeMax) {
timeNow++;
perC = (timeNow / timeMax) * 480;
this.gotoAndStop(Math.round(perC));
} else {
_root[_parent.building_id] = _parent.nameLabel;
_parent.gotoAndStop("buildSlot");
}
}
Instance of Symbol 1744 MovieClip in Symbol 1757 MovieClip Frame 14
onClipEvent (load) {
timeNow = 0;
timeMax = _parent.timeMax;
}
onClipEvent (enterFrame) {
if (timeNow < timeMax) {
timeNow++;
perC = (timeNow / timeMax) * 480;
this.gotoAndStop(Math.round(perC));
} else if (_parent.upgradeType2) {
_root.player0.upgrades[_parent.upgradeId]++;
_root["unitButton" + _parent.id].num = _root.player0.upgrades[_parent.upgradeId];
_root["unitButton" + _parent.id].addFX.gotoAndPlay("hit");
_root["unitButton" + _parent.id].hider.gotoAndStop("show");
_parent.gotoAndStop("buildSlot");
} else {
_root["unitButton" + _parent.id].num++;
_root["unitButton" + _parent.id].addFX.gotoAndPlay("hit");
_root["unitButton" + _parent.id].hider.gotoAndStop("show");
_root.customU[_parent.id]++;
_root.gold = _root.gold + _parent.gg;
_root.popul = _root.popul + _parent.pg;
if (_parent.gg > 0) {
_root.goldUp.gotoAndPlay("hit");
}
if (_parent.pg > 0) {
_root.popUp.gotoAndPlay("hit");
}
_parent.gotoAndStop("buildSlot");
}
}
Instance of Symbol 1621 MovieClip "unitButton5" in Symbol 1757 MovieClip Frame 14
onClipEvent (load) {
this.gotoAndStop(_parent.unit);
hider.gotoAndStop(2);
num = "";
}
Symbol 1757 MovieClip Frame 21
g = 0;
p = 0;
Instance of Symbol 1754 MovieClip "IconBar" in Symbol 1757 MovieClip Frame 21
onClipEvent (load) {
this.gotoAndStop(_parent.nameLabel);
}
Symbol 1949 MovieClip Frame 1
stop();
Symbol 1953 MovieClip Frame 1
stop();
Symbol 1956 MovieClip Frame 1
stop();
Symbol 1958 Button
on (release) {
i = 0;
while (i < 4) {
_root.gold = _root.gold + _root["empt" + i].g;
_root.popul = _root.popul + _root["empt" + i].p;
i++;
}
gotoAndStop ("StartHere");
}
Symbol 1983 Button
on (release) {
_root.customEnd = true;
}
Symbol 1997 MovieClip Frame 1
stop();
Symbol 1997 MovieClip Frame 2
_root[this.player].curse = _root[this.player].curse + 2;
Symbol 1997 MovieClip Frame 8
_root[this.player].curse = _root[this.player].curse - 2;
Symbol 1998 MovieClip Frame 1
stop();
Symbol 1998 MovieClip Frame 2
_root[this.player].curse = _root[this.player].curse + 4;
Symbol 1998 MovieClip Frame 3
_root[this.player].curse = _root[this.player].curse + caster;
Symbol 1998 MovieClip Frame 5
_root[this.player].curse = _root[this.player].curse - caster;
_root[this.player].curse = _root[this.player].curse - 4;
Symbol 2013 MovieClip Frame 1
sending = false;
statNow = true;
stop();
Instance of Symbol 1621 MovieClip "unitGuy" in Symbol 2013 MovieClip Frame 1
onClipEvent (load) {
hider.gotoAndStop(2);
this.gotoAndStop(_parent.unit);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.unit);
}
Instance of Symbol 2003 MovieClip "melchett" in Symbol 2013 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 2013 MovieClip Frame 20
showAgain = 1;
gotoAndStop ("open");
Instance of Symbol 2003 MovieClip "melchett" in Symbol 2013 MovieClip Frame 21
onClipEvent (load) {
_visible = false;
}
Symbol 2013 MovieClip Frame 29
gotoAndStop (1);
Symbol 2013 MovieClip Frame 31
sending = false;
statNow = true;
stop();
Instance of Symbol 1621 MovieClip "unitGuy" in Symbol 2013 MovieClip Frame 31
onClipEvent (load) {
hider.gotoAndStop(2);
this.gotoAndStop(_parent.unit);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.unit);
}
Symbol 2019 MovieClip Frame 1
stop();
Symbol 2019 MovieClip Frame 2
_root._xscale = 100 + random(5);
_root._x = _root._x + (random(10) - 5);
_root._yscale = _root._xscale;
_root._y = _root._y + (random(10) - 5);
Symbol 2019 MovieClip Frame 3
_root._xscale = 100;
_root._x = 0;
_root._yscale = 100;
_root._y = 0;
Symbol 2019 MovieClip Frame 4
_root._xscale = 100 + random(5);
_root._x = _root._x + (random(10) - 5);
_root._yscale = _root._xscale;
_root._y = _root._y + (random(10) - 5);
Symbol 2019 MovieClip Frame 5
_root._xscale = 100;
_root._x = 0;
_root._yscale = 100;
_root._y = 0;
Symbol 2023 MovieClip Frame 1
stop();
_root.afterTurn = "player0";
Symbol 2023 MovieClip Frame 6
_root.afterTurn = "player1";
Symbol 2023 MovieClip Frame 11
_root.afterTurn = _root.theVictimPlayer;