Frame 1
stage.showmenu = false;
stop();
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
this._width = _root.percent * 6.2;
if (_root.percent == 100) {
_root.play();
}
}
Frame 2
stage.showmenu = true;
Frame 40
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
Frame 41
stop();
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE1");
_root.SavedGameExist1 = mySharedObject.data.SaveGame;
_root.filename1 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE2");
_root.SavedGameExist2 = mySharedObject.data.SaveGame;
_root.filename2 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE3");
_root.SavedGameExist3 = mySharedObject.data.SaveGame;
_root.filename3 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE4");
_root.SavedGameExist4 = mySharedObject.data.SaveGame;
_root.filename4 = mySharedObject.data.gameName;
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
}
function button5(obj, item) {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
}
function button6(obj, item) {
stopAllSounds();
}
function button7(obj, item) {
}
function button8(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button9(obj, item) {
}
function button10(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button11(obj, item) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Quality", button2));
cm.customItems.push(new ContextMenuItem("High Quality", button3));
cm.customItems.push(new ContextMenuItem("------------", button4));
cm.customItems.push(new ContextMenuItem("Start Music", button5));
cm.customItems.push(new ContextMenuItem("Stop Music", button6));
cm.customItems.push(new ContextMenuItem("------------", button7));
cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button8));
cm.customItems.push(new ContextMenuItem("-------------", button9));
cm.customItems.push(new ContextMenuItem("EviLudy Games!", button10));
cm.customItems.push(new ContextMenuItem("Games of Gondor!", button11));
_root.menu = cm;
Frame 42
if (_root.SavedGameExist2 == 1) {
_root.loadbut2.enabled = true;
} else {
_root.loadbut2.enabled = false;
_root.filename2 = "Empty Slot";
}
if (_root.SavedGameExist3 == 1) {
_root.loadbut3.enabled = true;
} else {
_root.loadbut3.enabled = false;
_root.filename3 = "Empty Slot";
}
if (_root.SavedGameExist4 == 1) {
_root.loadbut4.enabled = true;
} else {
_root.loadbut4.enabled = false;
_root.filename4 = "Empty Slot";
}
if (_root.SavedGameExist1 == 1) {
_root.loadbut1.enabled = true;
} else {
_root.loadbut1.enabled = false;
_root.filename1 = "Empty Slot";
}
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
}
function button5(obj, item) {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
}
function button6(obj, item) {
stopAllSounds();
}
function button7(obj, item) {
}
function button8(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button9(obj, item) {
}
function button10(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button11(obj, item) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Quality", button2));
cm.customItems.push(new ContextMenuItem("High Quality", button3));
cm.customItems.push(new ContextMenuItem("------------", button4));
cm.customItems.push(new ContextMenuItem("Start Music", button5));
cm.customItems.push(new ContextMenuItem("Stop Music", button6));
cm.customItems.push(new ContextMenuItem("------------", button7));
cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button8));
cm.customItems.push(new ContextMenuItem("-------------", button9));
cm.customItems.push(new ContextMenuItem("EviLudy Games!", button10));
cm.customItems.push(new ContextMenuItem("Games of Gondor!", button11));
_root.menu = cm;
Frame 43
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
}
function button5(obj, item) {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
}
function button6(obj, item) {
stopAllSounds();
}
function button7(obj, item) {
}
function button8(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button9(obj, item) {
}
function button10(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button11(obj, item) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Quality", button2));
cm.customItems.push(new ContextMenuItem("High Quality", button3));
cm.customItems.push(new ContextMenuItem("------------", button4));
cm.customItems.push(new ContextMenuItem("Start Music", button5));
cm.customItems.push(new ContextMenuItem("Stop Music", button6));
cm.customItems.push(new ContextMenuItem("------------", button7));
cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button8));
cm.customItems.push(new ContextMenuItem("-------------", button9));
cm.customItems.push(new ContextMenuItem("EviLudy Games!", button10));
cm.customItems.push(new ContextMenuItem("Games of Gondor!", button11));
_root.menu = cm;
Frame 44
_root.nextlevel = 0;
_root.nextlevel = _root.nextlevel + (_root.level * 5);
_root.bonus = _root.nextlevel / 3;
_root.nextlevel = _root.nextlevel * _root.nextlevel;
_root.nextlevel = _root.nextlevel * _root.bonus;
_root.nextlevel = _root.nextlevel + 1475;
_root.nextlevel = Math.round(_root.nextlevel);
_root.addition = _root.addition + 0.5;
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
}
function button5(obj, item) {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
}
function button6(obj, item) {
stopAllSounds();
}
function button7(obj, item) {
}
function button8(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button9(obj, item) {
}
function button10(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button11(obj, item) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Quality", button2));
cm.customItems.push(new ContextMenuItem("High Quality", button3));
cm.customItems.push(new ContextMenuItem("------------", button4));
cm.customItems.push(new ContextMenuItem("Start Music", button5));
cm.customItems.push(new ContextMenuItem("Stop Music", button6));
cm.customItems.push(new ContextMenuItem("------------", button7));
cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button8));
cm.customItems.push(new ContextMenuItem("-------------", button9));
cm.customItems.push(new ContextMenuItem("EviLudy Games!", button10));
cm.customItems.push(new ContextMenuItem("Games of Gondor!", button11));
_root.menu = cm;
Instance of Symbol 83 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.exprecieved >= 5) {
_root.exprecieved = _root.exprecieved - 5;
_root.expr = _root.expr + 5;
}
if (_root.nextlevel < _root.expr) {
_root.level = _root.level + 1;
_root.nextlevel = 0;
_root.nextlevel = _root.nextlevel + (_root.level * 5);
_root.nextlevel = _root.nextlevel * _root.nextlevel;
_root.nextlevel = _root.nextlevel * (_root.nextlevel / 2);
_root.nextlevel = _root.nextlevel + 475;
_root.nextlevel = Math.round(_root.nextlevel);
_root.statpoints = _root.statpoints + 5;
}
}
Instance of Symbol 99 MovieClip "boomchi" in Frame 44
onClipEvent (enterFrame) {
if (_root.found == false) {
this._visible = false;
}
}
Frame 45
function backMain() {
_root.gotoAndStop("Map!", 1);
gotoAndStop (41);
}
function outFight() {
stopAllSounds();
_root.gotoAndStop("Battle!", 1);
gotoAndStop (46);
}
function saveFunction1() {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE1");
mySharedObject.data.SaveGame = 1;
mySharedObject.data.gameName = _root.filename;
mySharedObject.data.statpoints = _root.statpoints;
mySharedObject.data.expr = _root.expr;
mySharedObject.data.weapon = _root.weapon;
mySharedObject.data.staff = _root.staff;
mySharedObject.data.maxhp = _root.maxhp;
mySharedObject.data.maxmp = _root.maxmp;
mySharedObject.data.def = _root.def;
mySharedObject.data.str = _root.str;
mySharedObject.data.mag = _root.mag;
mySharedObject.data.level = _root.level;
mySharedObject.data.staff1 = _root.staff1;
mySharedObject.data.staff2 = _root.staff2;
mySharedObject.data.weapon1 = _root.weapon1;
mySharedObject.data.weapon2 = _root.weapon2;
mySharedObject.data.weapon3 = _root.weapon3;
mySharedObject.data.weapon4 = _root.weapon4;
mySharedObject.data.weapon5 = _root.weapon5;
mySharedObject.data.weapon6 = _root.weapon6;
mySharedObject.data.weapon7 = _root.weapon7;
mySharedObject.data.addition = _root.addition;
mySharedObject.flush();
}
function saveFunction2() {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE2");
mySharedObject.data.SaveGame = 1;
mySharedObject.data.gameName = _root.filename;
mySharedObject.data.statpoints = _root.statpoints;
mySharedObject.data.expr = _root.expr;
mySharedObject.data.weapon = _root.weapon;
mySharedObject.data.staff = _root.staff;
mySharedObject.data.maxhp = _root.maxhp;
mySharedObject.data.maxmp = _root.maxmp;
mySharedObject.data.def = _root.def;
mySharedObject.data.str = _root.str;
mySharedObject.data.mag = _root.mag;
mySharedObject.data.level = _root.level;
mySharedObject.data.staff1 = _root.staff1;
mySharedObject.data.staff2 = _root.staff2;
mySharedObject.data.weapon1 = _root.weapon1;
mySharedObject.data.weapon2 = _root.weapon2;
mySharedObject.data.weapon3 = _root.weapon3;
mySharedObject.data.weapon4 = _root.weapon4;
mySharedObject.data.weapon5 = _root.weapon5;
mySharedObject.data.weapon6 = _root.weapon6;
mySharedObject.data.weapon7 = _root.weapon7;
mySharedObject.data.addition = _root.addition;
mySharedObject.flush();
}
function saveFunction3() {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE3");
mySharedObject.data.SaveGame = 1;
mySharedObject.data.gameName = _root.filename;
mySharedObject.data.statpoints = _root.statpoints;
mySharedObject.data.expr = _root.expr;
mySharedObject.data.weapon = _root.weapon;
mySharedObject.data.staff = _root.staff;
mySharedObject.data.maxhp = _root.maxhp;
mySharedObject.data.maxmp = _root.maxmp;
mySharedObject.data.def = _root.def;
mySharedObject.data.str = _root.str;
mySharedObject.data.mag = _root.mag;
mySharedObject.data.level = _root.level;
mySharedObject.data.staff1 = _root.staff1;
mySharedObject.data.staff2 = _root.staff2;
mySharedObject.data.weapon1 = _root.weapon1;
mySharedObject.data.weapon2 = _root.weapon2;
mySharedObject.data.weapon3 = _root.weapon3;
mySharedObject.data.weapon4 = _root.weapon4;
mySharedObject.data.weapon5 = _root.weapon5;
mySharedObject.data.weapon6 = _root.weapon6;
mySharedObject.data.weapon7 = _root.weapon7;
mySharedObject.data.addition = _root.addition;
mySharedObject.flush();
}
function saveFunction4() {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE4");
mySharedObject.data.SaveGame = 1;
mySharedObject.data.gameName = _root.filename;
mySharedObject.data.statpoints = _root.statpoints;
mySharedObject.data.expr = _root.expr;
mySharedObject.data.weapon = _root.weapon;
mySharedObject.data.staff = _root.staff;
mySharedObject.data.maxhp = _root.maxhp;
mySharedObject.data.maxmp = _root.maxmp;
mySharedObject.data.def = _root.def;
mySharedObject.data.str = _root.str;
mySharedObject.data.mag = _root.mag;
mySharedObject.data.level = _root.level;
mySharedObject.data.staff1 = _root.staff1;
mySharedObject.data.staff2 = _root.staff2;
mySharedObject.data.weapon1 = _root.weapon1;
mySharedObject.data.weapon2 = _root.weapon2;
mySharedObject.data.weapon3 = _root.weapon3;
mySharedObject.data.weapon4 = _root.weapon4;
mySharedObject.data.weapon5 = _root.weapon5;
mySharedObject.data.weapon6 = _root.weapon6;
mySharedObject.data.weapon7 = _root.weapon7;
mySharedObject.data.addition = _root.addition;
mySharedObject.flush();
}
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
}
function button5(obj, item) {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
}
function button6(obj, item) {
stopAllSounds();
}
function button7(obj, item) {
}
function button8(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button9(obj, item) {
}
function button10(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button11(obj, item) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Quality", button2));
cm.customItems.push(new ContextMenuItem("High Quality", button3));
cm.customItems.push(new ContextMenuItem("------------", button4));
cm.customItems.push(new ContextMenuItem("Start Music", button5));
cm.customItems.push(new ContextMenuItem("Stop Music", button6));
cm.customItems.push(new ContextMenuItem("------------", button7));
cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button8));
cm.customItems.push(new ContextMenuItem("-------------", button9));
cm.customItems.push(new ContextMenuItem("EviLudy Games!", button10));
cm.customItems.push(new ContextMenuItem("Games of Gondor!", button11));
_root.menu = cm;
Frame 46
function inflictA() {
_root.enemy.inside.gotoAndStop(2);
_root.damage = 0;
_root.randomizerB = (Math.random() * 5) + 5;
_root.randomizerB = Math.round(_root.randomizerB);
_root.randomizer = (Math.random() * 5) + 5;
_root.randomizer = Math.round(_root.randomizer);
_root.multiple = _root.powerups + _root.randomizer;
_root.onepercent = _root.damage / 10;
_root.adding = _root.onepercent * _root.multiple;
_root.adding = _root.adding + 1;
_root.addingb = Math.random() * _root.str;
_root.addingc = _root.str / 3;
_root.addingb = _root.adding * _root.addingb;
_root.adding = _root.adding + _root.addingb;
_root.damage = _root.damage + _root.adding;
_root.damage = _root.damage + _root.randomizerB;
_root.damage = _root.damage + _root.str;
_root.damage = _root.damage + _root.level;
_root.special = _root.level * _root.str;
_root.centodan = _root.str * 1.5;
_root.damage = _root.damage + _root.centodan;
_root.damage = _root.damage + _root.special;
_root.cento = _root.powerups / 2;
_root.cento = _root.cento + 1;
if (_root.weapon != 1) {
_root.expo = _root.weapon / 2;
_root.damage = _root.damage * _root.weapon;
}
_root.damage = _root.damage * _root.cento;
_root.damage = Math.ceil(_root.damage);
_root.damageDealA._visible = true;
_root.damageDealA.play();
_root.enemy.inside.gotoAndStop(2);
}
function inflictB() {
_root.enemy.inside.gotoAndStop(2);
_root.damage = 0;
_root.randomizerB = (Math.random() * 5) + 5;
_root.randomizerB = Math.round(_root.randomizerB);
_root.randomizer = (Math.random() * 5) + 5;
_root.randomizer = Math.round(_root.randomizer);
_root.multiple = _root.magicups + _root.randomizer;
_root.onepercent = _root.damage / 10;
_root.adding = _root.onepercent * _root.multiple;
_root.adding = _root.adding + 1;
_root.addingb = Math.random() * _root.mag;
_root.addingc = _root.mag / 3;
_root.addingb = _root.adding * _root.addingb;
_root.adding = _root.adding + _root.addingb;
_root.damage = _root.damage + _root.adding;
_root.centodan = _root.mag * 1.5;
_root.damage = _root.damage + _root.centodan;
_root.damage = _root.damage + _root.randomizerB;
_root.damage = _root.damage + _root.mag;
_root.damage = _root.damage + _root.level;
_root.special = _root.level * _root.str;
_root.damage = _root.damage + _root.special;
_root.cento = _root.magicups / 2;
_root.cento = _root.cento + 1;
_root.damage = _root.damage * _root.cento;
if (_root.staff != 1) {
_root.expo = _root.staff * 6;
_root.damage = _root.damage * _root.weapon;
}
if (_root.spell == 5) {
_root.damage = _root.damage * 1.4;
} else if (_root.spell == 6) {
_root.damage = _root.damage * 2.1;
} else if (_root.spell == 7) {
_root.damage = _root.damage * 2.7;
} else if (_root.spell == 8) {
_root.damage = _root.damage * 3;
}
_root.damage = Math.ceil(_root.damage);
_root.damageDealA._visible = true;
_root.damageDealA.play();
_root.enemy.inside.gotoAndStop(2);
}
function inflictC() {
_root.enemy.inside.gotoAndStop(2);
_root.damage = 0;
_root.randomizerB = (Math.random() * 5) + 5;
_root.randomizerB = Math.round(_root.randomizerB);
_root.randomizer = (Math.random() * 5) + 5;
_root.randomizer = Math.round(_root.randomizer);
_root.multiple = _root.magicups + _root.randomizer;
_root.onepercent = _root.damage / 10;
_root.adding = _root.onepercent * _root.multiple;
_root.adding = _root.adding + 1;
_root.addingb = Math.random() * _root.mag;
_root.addingc = _root.mag / 3;
_root.addingb = _root.adding * _root.addingb;
_root.adding = _root.adding + _root.addingb;
_root.damage = _root.damage + _root.adding;
_root.damage = _root.damage + _root.randomizerB;
_root.damage = _root.damage + _root.mag;
_root.damage = _root.damage + _root.level;
_root.special = _root.level * _root.str;
_root.damage = _root.damage + _root.special;
_root.cento = _root.magicups / 2;
_root.cento = _root.cento + 1;
_root.damage = _root.damage * _root.cento;
if (_root.staff != 1) {
_root.expo = _root.staff * 6;
_root.damage = _root.damage * _root.weapon;
}
_root.damage = _root.damage * 1.4;
_root.damage = Math.ceil(_root.damage);
_root.curing = 0;
_root.curing = _root.curing + _root.damage;
_root.damageDealB._visible = true;
_root.damageDealB.play();
}
function goEnemy() {
_root.asetting = 4;
_root.strikeset = 0;
numA = (Math.random() * 5) + 1;
numB = Math.random() * 6;
numA = Math.round(numA);
numB = Math.round(numB);
if (numA > 4) {
numA = 1;
}
if (numB > 4) {
numB = 1;
}
if (((numA == 2) && (_root.enemyhp == _root.enemymaxhp)) && (_root.enemymp > 7)) {
numA = 1;
}
if (((numB == 2) && (_root.enemyhp == _root.enemymaxhp)) && (_root.enemymp > 15)) {
numB = 1;
}
if ((_root.enemymp < 8) && (numA == 2)) {
numA = 1;
}
if ((_root.enemymp < 16) && (numB == 2)) {
numB = 1;
}
if ((numA == 4) && (_root.enemymp < 25)) {
numA = 1;
}
if ((numB == 4) && (_root.enemymp < 50)) {
numB = 1;
}
_root.emTa1 = numA;
_root.emTa2 = numB;
_root.enemyPoint = 2;
}
function gameOver() {
stopAllSounds();
_root.gotoAndStop("Map!", 3);
gotoAndStop (43);
}
function victory() {
_root.exprecieved = _root.enemylevel * 1600;
_root.exprecieved = Math.ceil(_root.exprecieved);
stopAllSounds();
variaA = (Math.random() * 3) + 1;
variaA = Math.round(variaA);
if (variaA < 3) {
_root.found = false;
}
if (variaA > 2) {
variaB = (Math.random() * 3) + 1;
variaB = Math.round(variaB);
if (_root.staff2 == 1) {
variaB = 1;
} else if ((_root.staff2 == 0) && (variaB > 2)) {
_root.found = true;
_root.itemname = "The White Wizard";
_root.itemnum = 9;
_root.staff2 = 1;
}
if (variaB < 3) {
if (_root.weapon2 == 0) {
_root.found = true;
_root.weapon2 = 1;
_root.itemname = "Theoden's Blade";
_root.itemnum = 2;
} else if ((_root.weapon2 == 1) && (_root.weapon3 == 0)) {
_root.found = true;
_root.weapon3 = 1;
_root.itemname = "Sting";
_root.itemnum = 3;
} else if ((_root.weapon3 == 1) && (_root.weapon4 == 0)) {
_root.found = true;
_root.weapon4 = 1;
_root.itemname = "Nazgul Blade";
_root.itemnum = 4;
} else if ((_root.weapon4 == 1) && (_root.weapon5 == 0)) {
_root.found = true;
_root.weapon5 = 1;
_root.itemname = "Anduril";
_root.itemnum = 5;
} else if ((_root.weapon5 == 1) && (_root.weapon6 == 0)) {
_root.found = true;
_root.weapon6 = 1;
_root.itemname = "Narsil";
_root.itemnum = 6;
} else if ((_root.weapon6 == 1) && (_root.weapon7 == 0)) {
_root.found = true;
_root.weapon7 = 1;
_root.itemname = "Witch-King of Agmar";
_root.itemnum = 7;
} else if (_root.weapon7 == 1) {
_root.found = false;
}
}
}
trace(_root.found);
trace(variaA);
trace(variaB);
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
_root.gotoAndStop("Map!", 4);
gotoAndStop (44);
}
_root.enemyPoint = 0;
stop();
_root.autolife = false;
_root.shield = false;
_root.autolifeused = false;
_root.strikeset = 1;
_root.hp = _root.maxhp;
_root.mp = _root.maxmp;
_root.powerups = 0;
_root.magicups = 0;
_root.defenceups = 0;
_root.startstr = _root.str;
_root.enemy = 1;
_root.enemypowerups = 0;
_root.enemymaxhp = _root.enemylevel * 200;
_root.enemymaxmp = _root.enemylevel * 50;
_root.enemymaxmp = Math.ceil(_root.enemymaxmp);
_root.enemymaxhp = Math.ceil(_root.enemymaxhp);
_root.enemyhp = _root.enemymaxhp;
_root.enemymp = _root.enemymaxmp;
_root.shield = false;
_root.autolife = false;
_root.playerturns = 3;
_root.enemyturns = 2;
_root.xi = 1;
stopAllSounds();
BattleTrack = new Sound();
BattleTrack.attachSound("BattleTrack");
BattleTrack.start(0, 50000);
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
}
function button5(obj, item) {
stopAllSounds();
BattleTrack = new Sound();
BattleTrack.attachSound("BattleTrack");
BattleTrack.start(0, 50000);
}
function button6(obj, item) {
stopAllSounds();
}
function button7(obj, item) {
}
function button8(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button9(obj, item) {
}
function button10(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button11(obj, item) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Quality", button2));
cm.customItems.push(new ContextMenuItem("High Quality", button3));
cm.customItems.push(new ContextMenuItem("------------", button4));
cm.customItems.push(new ContextMenuItem("Start Music", button5));
cm.customItems.push(new ContextMenuItem("Stop Music", button6));
cm.customItems.push(new ContextMenuItem("------------", button7));
cm.customItems.push(new ContextMenuItem("More Games 'n Stuff", button8));
cm.customItems.push(new ContextMenuItem("-------------", button9));
cm.customItems.push(new ContextMenuItem("EviLudy Games!", button10));
cm.customItems.push(new ContextMenuItem("Games of Gondor!", button11));
_root.menu = cm;
Instance of Symbol 201 MovieClip in Frame 46
onClipEvent (enterFrame) {
this.gotoAndStop(_root.bg);
}
Instance of Symbol 281 MovieClip "gandalf" in Frame 46
onClipEvent (enterFrame) {
_root.gandalf.st.xy.gotoAndStop(_root.weapon);
if (_root.hp <= 0) {
if (_root.autolife == true) {
fifteenpercent = _root.maxhp / 100;
fifteenpercent = fifteenpercent * 15;
fifteenpercent = Math.round(fifteenpercent);
_root.hp = fifteenpercent;
_root.autolife = false;
} else if (_root.autolife == false) {
this.gotoAndStop(5);
_root.enemy.inside.gotoAndStop(1);
_root.actionSel._visible = false;
}
}
}
onClipEvent (load) {
_root.gandalf.st.xy.gotoAndStop(_root.weapon);
}
Instance of Symbol 462 MovieClip "enemy" in Frame 46
onClipEvent (enterFrame) {
if ((_root.damageDealA._visible == true) && (_root.enemyhp > 1)) {
this.inside.gotoAndStop(2);
}
if (_root.enemyhp <= 1) {
_root.enemy.inside.gotoAndStop(5);
this.inside.gotoAndStop(5);
_root.actionSel._visible = false;
}
}
onClipEvent (load) {
this.gotoAndStop(_root.enm);
}
Instance of Symbol 505 MovieClip "actionSel" in Frame 46
onClipEvent (load) {
csx = 0;
csy = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(40) && (csx == 0)) && (_root.actionSelect != 6)) {
this.nextFrame();
csx = 1;
} else if (((Key.isDown(38) && (csx == 0)) && (_root.actionSelect != 8)) && (_root.actionSelect != 13)) {
this.prevFrame();
csx = 1;
}
if (csx == 1) {
csy++;
}
if (csy == 7) {
csy = 0;
csx = 0;
}
}
onClipEvent (enterFrame) {
if (((this._visible == true) && (Key.isDown(32))) && (csx == 0)) {
csx = 1;
_root.xi = 0;
if (_root.actionSelect == 1) {
_root.gandalf.gotoAndStop(2);
this._visible = false;
}
if (_root.actionSelect == 4) {
_root.powerups++;
_root.gandalf.gotoAndStop(7);
this._visible = false;
}
if (_root.actionSelect == 5) {
_root.gandalf.gotoAndStop(7);
this._visible = false;
}
if (_root.actionSelect == 6) {
_root.gandalf.gotoAndStop(7);
this._visible = false;
}
if (_root.actionSelect == 3) {
this.gotoAndStop(8);
}
if (_root.actionSelect == 12) {
csx = 1;
this.gotoAndStop(1);
}
if ((_root.actionSelect == 8) && (_root.mp >= 4)) {
_root.mp = _root.mp - 4;
_root.gandalf.gotoAndStop(3);
this._visible = false;
}
if ((_root.actionSelect == 9) && (_root.mp >= 8)) {
_root.mp = _root.mp - 8;
_root.gandalf.gotoAndStop(3);
this._visible = false;
}
if (((_root.actionSelect == 10) && (_root.mp >= 16)) && (_root.shield == false)) {
_root.mp = _root.mp - 16;
_root.gandalf.gotoAndStop(3);
_root.shield = true;
this._visible = false;
}
if (((_root.actionSelect == 11) && (_root.mp >= 32)) && (_root.autolifeused == false)) {
_root.mp = _root.mp - 32;
_root.gandalf.gotoAndStop(3);
_root.autolife = true;
_root.autolifeused = true;
this._visible = false;
}
if ((_root.actionSelect == 13) && (_root.mp >= 5)) {
_root.mp = _root.mp - 5;
_root.gandalf.gotoAndStop(3);
this._visible = false;
}
if ((_root.actionSelect == 14) && (_root.mp >= 15)) {
_root.mp = _root.mp - 15;
_root.gandalf.gotoAndStop(3);
this._visible = false;
}
if ((_root.actionSelect == 15) && (_root.mp >= 32)) {
_root.mp = _root.mp - 32;
_root.gandalf.gotoAndStop(3);
this._visible = false;
}
if ((_root.actionSelect == 16) && (_root.mp >= 112)) {
_root.mp = _root.mp - 112;
_root.gandalf.gotoAndStop(3);
this._visible = false;
}
if (_root.actionSelect == 17) {
this.gotoAndStop(1);
}
if (_root.actionSelect == 2) {
this.gotoAndStop(13);
}
}
}
Instance of Symbol 513 MovieClip "damageDealA" in Frame 46
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 521 MovieClip "damageDealB" in Frame 46
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 528 MovieClip "damageDealC" in Frame 46
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 535 MovieClip "damageDealD" in Frame 46
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 537 MovieClip in Frame 46
onClipEvent (enterFrame) {
this._width = (_root.mp / _root.maxmp) * 200;
}
Instance of Symbol 539 MovieClip in Frame 46
onClipEvent (enterFrame) {
this._width = (_root.hp / _root.maxhp) * 200;
}
Instance of Symbol 537 MovieClip in Frame 46
onClipEvent (enterFrame) {
this._width = (_root.enemymp / _root.enemymaxmp) * 200;
}
Instance of Symbol 539 MovieClip in Frame 46
onClipEvent (enterFrame) {
this._width = (_root.enemyhp / _root.enemymaxhp) * 200;
}
Symbol 15 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 36 Button
on (release) {
_root.statpoints = 0;
_root.expr = 1;
_root.weapon = 1;
_root.staff = 1;
_root.maxhp = 500;
_root.maxmp = 100;
_root.def = 10;
_root.str = 10;
_root.mag = 10;
_root.level = 1;
_root.staff1 = 1;
_root.staff2 = 0;
_root.weapon1 = 1;
_root.weapon2 = 0;
_root.weapon3 = 0;
_root.weapon4 = 0;
_root.weapon5 = 0;
_root.weapon6 = 0;
_root.weapon7 = 0;
_root.addition = 0;
gotoAndStop (45);
}
Symbol 38 Button
on (release) {
gotoAndStop (42);
}
Symbol 40 Button
on (release) {
getURL ("http://www.eviludy.net/forums/viewtopic.php?t=935/", "_blank");
}
Symbol 42 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 44 Button
on (release) {
getURL ("http://www.eviludy.net/", "_blank");
}
Symbol 48 Button
on (release) {
getURL ("http://www.eviludy.net/", "_blank");
}
Symbol 51 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 52 Button
on (release) {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE1");
_root.statpoints = mySharedObject.data.statpoints;
_root.expr = mySharedObject.data.expr;
_root.weapon = mySharedObject.data.weapon;
_root.staff = mySharedObject.data.staff;
_root.maxhp = mySharedObject.data.maxhp;
_root.maxmp = mySharedObject.data.maxmp;
_root.def = mySharedObject.data.def;
_root.str = mySharedObject.data.str;
_root.mag = mySharedObject.data.mag;
_root.level = mySharedObject.data.level;
_root.staff1 = mySharedObject.data.staff1;
_root.staff2 = mySharedObject.data.staff2;
_root.weapon1 = mySharedObject.data.weapon1;
_root.weapon2 = mySharedObject.data.weapon2;
_root.weapon3 = mySharedObject.data.weapon3;
_root.weapon4 = mySharedObject.data.weapon4;
_root.weapon5 = mySharedObject.data.weapon5;
_root.weapon6 = mySharedObject.data.weapon6;
_root.weapon7 = mySharedObject.data.weapon7;
_root.addition = mySharedObject.data.addition;
gotoAndStop (45);
}
Symbol 55 Button
on (release) {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE2");
_root.statpoints = mySharedObject.data.statpoints;
_root.expr = mySharedObject.data.expr;
_root.weapon = mySharedObject.data.weapon;
_root.staff = mySharedObject.data.staff;
_root.maxhp = mySharedObject.data.maxhp;
_root.maxmp = mySharedObject.data.maxmp;
_root.def = mySharedObject.data.def;
_root.str = mySharedObject.data.str;
_root.mag = mySharedObject.data.mag;
_root.level = mySharedObject.data.level;
_root.staff1 = mySharedObject.data.staff1;
_root.staff2 = mySharedObject.data.staff2;
_root.weapon1 = mySharedObject.data.weapon1;
_root.weapon2 = mySharedObject.data.weapon2;
_root.weapon3 = mySharedObject.data.weapon3;
_root.weapon4 = mySharedObject.data.weapon4;
_root.weapon5 = mySharedObject.data.weapon5;
_root.weapon6 = mySharedObject.data.weapon6;
_root.weapon7 = mySharedObject.data.weapon7;
_root.addition = mySharedObject.data.addition;
gotoAndStop (45);
}
Symbol 57 Button
on (release) {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE3");
_root.statpoints = mySharedObject.data.statpoints;
_root.expr = mySharedObject.data.expr;
_root.weapon = mySharedObject.data.weapon;
_root.staff = mySharedObject.data.staff;
_root.maxhp = mySharedObject.data.maxhp;
_root.maxmp = mySharedObject.data.maxmp;
_root.def = mySharedObject.data.def;
_root.str = mySharedObject.data.str;
_root.mag = mySharedObject.data.mag;
_root.level = mySharedObject.data.level;
_root.staff1 = mySharedObject.data.staff1;
_root.staff2 = mySharedObject.data.staff2;
_root.weapon1 = mySharedObject.data.weapon1;
_root.weapon2 = mySharedObject.data.weapon2;
_root.weapon3 = mySharedObject.data.weapon3;
_root.weapon4 = mySharedObject.data.weapon4;
_root.weapon5 = mySharedObject.data.weapon5;
_root.weapon6 = mySharedObject.data.weapon6;
_root.weapon7 = mySharedObject.data.weapon7;
_root.addition = mySharedObject.data.addition;
gotoAndStop (45);
}
Symbol 59 Button
on (release) {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE4");
_root.statpoints = mySharedObject.data.statpoints;
_root.expr = mySharedObject.data.expr;
_root.weapon = mySharedObject.data.weapon;
_root.staff = mySharedObject.data.staff;
_root.maxhp = mySharedObject.data.maxhp;
_root.maxmp = mySharedObject.data.maxmp;
_root.def = mySharedObject.data.def;
_root.str = mySharedObject.data.str;
_root.mag = mySharedObject.data.mag;
_root.level = mySharedObject.data.level;
_root.staff1 = mySharedObject.data.staff1;
_root.staff2 = mySharedObject.data.staff2;
_root.weapon1 = mySharedObject.data.weapon1;
_root.weapon2 = mySharedObject.data.weapon2;
_root.weapon3 = mySharedObject.data.weapon3;
_root.weapon4 = mySharedObject.data.weapon4;
_root.weapon5 = mySharedObject.data.weapon5;
_root.weapon6 = mySharedObject.data.weapon6;
_root.weapon7 = mySharedObject.data.weapon7;
_root.addition = mySharedObject.data.addition;
gotoAndStop (45);
}
Symbol 61 Button
on (release) {
prevFrame();
}
Symbol 63 Button
on (release) {
gotoAndStop (41);
}
Symbol 68 Button
on (release) {
if (_root.exprecieved < 1) {
gotoAndStop (45);
} else if (_root.exprecieved >= 1) {
_root.expr = _root.expr + _root.exprecieved;
_root.exprecieved = 0;
}
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 97 Button
on (release) {
this._visible = false;
}
Instance of Symbol 95 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (load) {
if (_root.found == true) {
this._visible = true;
this.gotoAndStop(_root.itemnum);
} else {
this._visible = false;
}
}
Symbol 101 Button
on (release) {
_root.lolclip.gotoAndStop(1);
}
Symbol 103 Button
on (release) {
_root.lolclip.gotoAndStop(2);
}
Symbol 105 Button
on (release) {
_root.lolclip.gotoAndStop(3);
}
Symbol 107 Button
on (release) {
_root.lolclip.gotoAndStop(4);
}
Symbol 111 Button
on (release) {
_root.enm = 1;
_root.bg = 1;
gotoAndStop (6);
}
Symbol 113 Button
on (release) {
_root.enm = 1;
_root.bg = 2;
gotoAndStop (6);
}
Symbol 115 Button
on (release) {
_root.enm = 2;
_root.bg = 3;
gotoAndStop (6);
}
Symbol 117 Button
on (release) {
_root.enm = (Math.random() * 2) + 1;
_root.enm = Math.round(_root.enm);
_root.bg = 4;
gotoAndStop (6);
}
Symbol 119 Button
on (release) {
_root.enm = (Math.random() * 2) + 1;
_root.enm = Math.round(_root.enm);
_root.bg = 5;
gotoAndStop (6);
}
Symbol 122 Button
on (release) {
gotoAndStop (1);
}
Symbol 132 MovieClip Frame 1
stop();
Symbol 133 Button
on (release) {
if (_root.weapon > 7) {
_root.weapon = 7;
}
if ((_root.thisseta == 1) && (_root.weapon2 == 1)) {
_root.thisseta = 2;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 2) && (_root.weapon3 == 1)) {
_root.thisseta = 3;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 3) && (_root.weapon4 == 1)) {
_root.thisseta = 4;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 4) && (_root.weapon5 == 1)) {
_root.thisseta = 5;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 5) && (_root.weapon6 == 1)) {
_root.thisseta = 6;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 6) && (_root.weapon7 == 1)) {
_root.thisseta = 7;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
}
Symbol 136 Button
on (release) {
_root.weapon--;
_root.thisseta--;
if (_root.weapon < 1) {
_root.weapon = 1;
}
if (_root.thisseta < 1) {
_root.thisseta = 1;
}
_root.lolclip.wpsl.prevFrame();
}
Symbol 138 Button
on (release) {
if (_root.staff2 == 1) {
_root.staff = 2;
_root.lolclip.stsl.nextFrame();
}
}
Symbol 139 Button
on (release) {
_root.staff = 1;
_root.lolclip.stsl.prevFrame();
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 161 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints = _root.statpoints - 1;
_root.maxhp = _root.maxhp + 50;
}
}
Symbol 163 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints = _root.statpoints - 1;
_root.str = _root.str + 1;
}
}
Symbol 164 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints = _root.statpoints - 1;
_root.def = _root.def + 1;
}
}
Symbol 165 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints = _root.statpoints - 1;
_root.mag = _root.mag + 1;
}
}
Symbol 166 Button
on (release) {
if (_root.statpoints > 0) {
_root.statpoints = _root.statpoints - 1;
_root.maxmp = _root.maxmp + 5;
}
}
Symbol 169 Button
on (release) {
_root.saveFunction4();
}
Symbol 171 Button
on (release) {
_root.saveFunction3();
}
Symbol 173 Button
on (release) {
_root.saveFunction2();
}
Symbol 175 Button
on (release) {
_root.saveFunction1();
}
Symbol 183 Button
on (release) {
_root.backMain();
_root.gotoAndStop("Map!", 1);
gotoAndStop (1);
}
Symbol 188 Button
on (release) {
_root.enemylevel = (_root.bg + _root.addition) + _root.level;
_root.outFight();
}
Symbol 193 MovieClip Frame 1
stop();
Instance of Symbol 132 MovieClip "wpsl" in Symbol 193 MovieClip Frame 2
onClipEvent (load) {
_root.thisseta = _root.weapon;
this.gotoAndStop(_root.weapon);
}
Instance of Symbol 142 MovieClip "stsl" in Symbol 193 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 181 MovieClip in Symbol 193 MovieClip Frame 4
onClipEvent (enterFrame) {
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE1");
_root.SavedGameExist1 = mySharedObject.data.SaveGame;
_root.filename1 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE2");
_root.SavedGameExist2 = mySharedObject.data.SaveGame;
_root.filename2 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE3");
_root.SavedGameExist3 = mySharedObject.data.SaveGame;
_root.filename3 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("LOTRBATTLEFILE4");
_root.SavedGameExist4 = mySharedObject.data.SaveGame;
_root.filename4 = mySharedObject.data.gameName;
if (_root.SavedGameExist2 == 1) {
} else {
_root.filename2 = "Empty Slot";
}
if (_root.SavedGameExist3 == 1) {
} else {
_root.filename3 = "Empty Slot";
}
if (_root.SavedGameExist4 == 1) {
} else {
_root.filename4 = "Empty Slot";
}
if (_root.SavedGameExist1 == 1) {
} else {
_root.filename1 = "Empty Slot";
}
}
Symbol 194 Button
on (release) {
_root.lolclip.gotoAndStop(5);
}
Symbol 201 MovieClip Frame 1
stop();
Instance of Symbol 142 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Instance of Symbol 142 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 234 MovieClip Frame 3
_root.playerturns = 0;
Symbol 234 MovieClip Frame 29
_root.enemy.inside.gotoAndStop(2);
_root.inflictA();
Symbol 234 MovieClip Frame 50
_root.gandalf.gotoAndStop(1);
Instance of Symbol 142 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 253 MovieClip Frame 4
_root.playerturns = 0;
Symbol 253 MovieClip Frame 50
if (_root.spell == 1) {
_root.goodSpells.gotoAndStop(2);
} else if (_root.spell == 2) {
_root.goodSpells.gotoAndStop(3);
} else if (_root.spell == 3) {
_root.goodSpells.gotoAndStop(4);
} else if (_root.spell == 4) {
_root.goodSpells.gotoAndStop(3);
}
if ((_root.spell > 4) && (_root.spell < 9)) {
_root.inflictB();
_root.gandalf.gotoAndStop(1);
}
stop();
Instance of Symbol 142 MovieClip in Symbol 261 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 261 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Instance of Symbol 142 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Instance of Symbol 142 MovieClip in Symbol 268 MovieClip Frame 18
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 268 MovieClip Frame 18
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 268 MovieClip Frame 28
_root.gandalf.gotoAndStop(1);
Instance of Symbol 142 MovieClip in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 132 MovieClip "xy" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 276 MovieClip Frame 51
_root.gameOver();
stop();
Symbol 278 MovieClip Frame 30
_root.gandalf.gotoAndStop(1);
Symbol 280 MovieClip Frame 30
_root.playerturns--;
_root.gandalf.gotoAndStop(1);
Symbol 281 MovieClip Frame 1
stop();
if (_root.playerturns > 0) {
_root.actionSel._visible = true;
} else if ((_root.playerturns == 0) && (_root.xi == 0)) {
_root.xi = 1;
_root.goEnemy();
_root.enemyturns = 2;
}
Instance of Symbol 234 MovieClip "st" in Symbol 281 MovieClip Frame 2
onClipEvent (enterFrame) {
this.xy.gotoAndStop(_root.weapon);
}
Symbol 296 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 318 MovieClip Frame 31
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 318 MovieClip Frame 50
if (_root.enemyPoint == 0) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 319 MovieClip Frame 10
_root.curing = _root.enemylevel * 25;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 319 MovieClip Frame 40
_root.enemymp = _root.enemymp - 8;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 320 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 346 MovieClip Frame 35
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 346 MovieClip Frame 62
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 346 MovieClip Frame 75
_root.enemymp = _root.enemymp - 25;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 347 MovieClip Frame 40
_root.enemypowerups++;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 348 MovieClip Frame 1
stop();
_root.enemySteady = 1;
if ((_root.enemyPoint == 0) && (_root.strikeset == 0)) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
Symbol 348 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 348 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 318 MovieClip in Symbol 348 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 348 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 319 MovieClip in Symbol 348 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 348 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 348 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 346 MovieClip in Symbol 348 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 348 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 347 MovieClip in Symbol 348 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 358 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 375 MovieClip Frame 31
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 375 MovieClip Frame 50
if (_root.enemyPoint == 0) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 376 MovieClip Frame 10
_root.curing = _root.enemylevel * 25;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 376 MovieClip Frame 40
_root.enemymp = _root.enemymp - 8;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 377 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 397 MovieClip Frame 31
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 397 MovieClip Frame 45
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 397 MovieClip Frame 59
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 397 MovieClip Frame 87
if (_root.enemyPoint == 0) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 398 MovieClip Frame 40
_root.enemypowerups++;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 399 MovieClip Frame 1
stop();
_root.enemySteady = 1;
if ((_root.enemyPoint == 0) && (_root.strikeset == 0)) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
Symbol 399 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 399 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 375 MovieClip in Symbol 399 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 399 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 376 MovieClip in Symbol 399 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 399 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 399 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 397 MovieClip in Symbol 399 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 399 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 398 MovieClip in Symbol 399 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 407 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 420 MovieClip Frame 30
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 420 MovieClip Frame 50
if (_root.enemyPoint == 0) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 421 MovieClip Frame 10
_root.curing = _root.enemylevel * 25;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 421 MovieClip Frame 40
_root.enemymp = _root.enemymp - 8;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 422 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 459 MovieClip Frame 30
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 459 MovieClip Frame 80
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 459 MovieClip Frame 130
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 459 MovieClip Frame 180
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.3;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + specadd;
addyen = Math.random() * 4;
dmg = dmg + _root.enemylevel;
dmg = dmg + 10;
dmg = Math.round(dmg);
_root.damage = dmg;
subtraction = _root.def;
if (shield == true) {
subtraction = subtraction + 7;
}
_root.damage = _root.damage - subtraction;
if (_root.damage < 1) {
_root.damage = 1;
}
_root.gandalf.gotoAndStop(4);
_root.damageDealD.gotoAndPlay(1);
_root.damageDealD.play();
_root.damageDealD._visible = true;
Symbol 459 MovieClip Frame 200
if (_root.enemyPoint == 0) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 460 MovieClip Frame 40
_root.enemypowerups++;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 461 MovieClip Frame 1
stop();
_root.enemySteady = 1;
if ((_root.enemyPoint == 0) && (_root.strikeset == 0)) {
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
}
Symbol 461 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 461 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Symbol 461 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 421 MovieClip in Symbol 461 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 461 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 461 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Symbol 461 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 460 MovieClip in Symbol 461 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.asetting <= 1) {
trace("boo");
_root.actionSel._visible = true;
_root.playerturns = 3;
_root.strikeset = 1;
this.gotoAndStop(1);
}
}
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 348 MovieClip "inside" in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.enemyPoint == 2) && (_root.enemySteady == 1)) {
if (_root.emTa1 == 1) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(3);
} else if (_root.emTa1 == 2) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(4);
} else if (_root.emTa1 == 3) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(7);
} else if (_root.emTa1 == 4) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(6);
}
}
if ((_root.enemyPoint == 1) && (_root.enemySteady == 1)) {
if (_root.emTa2 == 1) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(3);
_root.emTa2 = 0;
} else if (_root.emTa2 == 2) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(4);
_root.emTa2 = 0;
} else if (_root.emTa2 == 3) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(7);
_root.emTa2 = 0;
} else if (_root.emTa2 == 4) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(6);
_root.emTa2 = 0;
} else if (_root.emTa2 == 0) {
_root.enemyPoint--;
_root.playerturns = 3;
_root.actionSel._visible = true;
}
}
}
Symbol 462 MovieClip Frame 2
stop();
Instance of Symbol 399 MovieClip "inside" in Symbol 462 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.enemyPoint == 2) && (_root.enemySteady == 1)) {
if (_root.emTa1 == 1) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(3);
} else if (_root.emTa1 == 2) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(4);
} else if (_root.emTa1 == 3) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(7);
} else if (_root.emTa1 == 4) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(6);
}
}
if ((_root.enemyPoint == 1) && (_root.enemySteady == 1)) {
if (_root.emTa2 == 1) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(3);
_root.emTa2 = 0;
} else if (_root.emTa2 == 2) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(4);
_root.emTa2 = 0;
} else if (_root.emTa2 == 3) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(7);
_root.emTa2 = 0;
} else if (_root.emTa2 == 4) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(6);
_root.emTa2 = 0;
} else if (_root.emTa2 == 0) {
_root.enemyPoint--;
_root.playerturns = 3;
_root.actionSel._visible = true;
}
}
}
Symbol 462 MovieClip Frame 3
stop();
Instance of Symbol 461 MovieClip "inside" in Symbol 462 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_root.enemyPoint == 2) && (_root.enemySteady == 1)) {
if (_root.emTa1 == 1) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(3);
} else if (_root.emTa1 == 2) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(4);
} else if (_root.emTa1 == 3) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(7);
} else if (_root.emTa1 == 4) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(6);
}
}
if ((_root.enemyPoint == 1) && (_root.enemySteady == 1)) {
if (_root.emTa2 == 1) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(3);
_root.emTa2 = 0;
} else if (_root.emTa2 == 2) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(4);
_root.emTa2 = 0;
} else if (_root.emTa2 == 3) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(7);
_root.emTa2 = 0;
} else if (_root.emTa2 == 4) {
_root.enemySteady = 0;
_root.enemyPoint--;
this.gotoAndStop(6);
_root.emTa2 = 0;
} else if (_root.emTa2 == 0) {
_root.enemyPoint--;
_root.playerturns = 3;
_root.actionSel._visible = true;
}
}
}
Symbol 505 MovieClip Frame 1
stop();
_root.actionSelect = 1;
Symbol 505 MovieClip Frame 2
_root.actionSelect = 2;
Symbol 505 MovieClip Frame 3
_root.actionSelect = 3;
Symbol 505 MovieClip Frame 4
_root.actionSelect = 4;
Symbol 505 MovieClip Frame 5
_root.actionSelect = 5;
Symbol 505 MovieClip Frame 6
_root.actionSelect = 6;
Symbol 505 MovieClip Frame 8
_root.actionSelect = 8;
_root.spell = 1;
Symbol 505 MovieClip Frame 9
_root.actionSelect = 9;
_root.spell = 2;
Symbol 505 MovieClip Frame 10
_root.actionSelect = 10;
_root.spell = 3;
Symbol 505 MovieClip Frame 11
_root.actionSelect = 11;
_root.spell = 4;
Symbol 505 MovieClip Frame 12
_root.actionSelect = 12;
Symbol 505 MovieClip Frame 13
_root.actionSelect = 13;
_root.spell = 5;
Symbol 505 MovieClip Frame 14
_root.actionSelect = 14;
_root.spell = 6;
Symbol 505 MovieClip Frame 15
_root.actionSelect = 15;
_root.spell = 7;
Symbol 505 MovieClip Frame 16
_root.actionSelect = 16;
_root.spell = 8;
Symbol 505 MovieClip Frame 17
_root.actionSelect = 17;
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 2
if ((_root.weapon == 1) && (_root.damage > 1000)) {
_root.damage = 1000;
}
if ((_root.weapon == 2) && (_root.damage > 2000)) {
_root.damage = 2000;
}
if ((_root.weapon == 3) && (_root.damage > 3000)) {
_root.damage = 3000;
}
if ((_root.weapon == 4) && (_root.damage > 4000)) {
_root.damage = 4000;
}
if ((_root.weapon == 5) && (_root.damage > 5000)) {
_root.damage = 5000;
}
if ((_root.weapon == 6) && (_root.damage > 6000)) {
_root.damage = 6000;
}
if ((_root.weapon == 7) && (_root.damage > 9999)) {
_root.damage = 9999;
}
_root.enemyhp = _root.enemyhp - _root.damage;
if (_root.enemyhp < 0) {
_root.enemyhp = 0;
}
Symbol 513 MovieClip Frame 25
this._visible = false;
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
_root.hp = _root.hp + _root.curing;
if (_root.hp > _root.maxhp) {
_root.hp = _root.maxhp;
}
Symbol 521 MovieClip Frame 25
this._visible = false;
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
_root.enemyhp = _root.enemyhp + _root.curing;
if (_root.enemyhp > _root.enemymaxhp) {
_root.enemyhp = _root.enemymaxhp;
}
Symbol 528 MovieClip Frame 25
this._visible = false;
Symbol 535 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 2
_root.hp = _root.hp - _root.damage;
if (_root.hp < 0) {
_root.hp = 0;
}
Symbol 535 MovieClip Frame 25
this._visible = false;
Symbol 553 MovieClip Frame 80
_root.powerups = _root.powerups + 2;
_root.magicups = _root.magicups + 2;
_root.defenceups = _root.defenceups + 2;
_root.gandalf.gotoAndStop(1);
_root.goodSpells.gotoAndStop(1);
Symbol 555 MovieClip Frame 1
_root.gandalf.gotoAndStop(6);
Symbol 555 MovieClip Frame 36
if (_root.spell == 2) {
_root.inflictC();
}
if (_root.spell == 4) {
_root.autolife = true;
}
_root.gandalf.gotoAndStop(1);
_root.goodSpells.gotoAndStop(1);
Symbol 557 MovieClip Frame 50
_root.shield = true;
_root.gandalf.gotoAndStop(1);
_root.goodSpells.gotoAndStop(1);
Symbol 558 MovieClip Frame 1
stop();