Frame 1
stop();
Instance of Symbol 4 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);
if (_root.percent >= 15) {
_root.nextFrame();
}
}
Frame 2
stage.showmenu = false;
stop();
Instance of Symbol 8 MovieClip in Frame 2
onClipEvent (load) {
no_framer = 1;
}
onClipEvent (enterFrame) {
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
if (no_framer == 1) {
this._width = _root.percent * 2.42;
}
if (_root.percent == 100) {
no_framer = 2;
}
if (no_framer == 2) {
this._width = this._width - 4;
this._alpha = this._alpha - 1;
_root.load_border._width = _root.load_border._width - 3;
_root.load_border._alpha = _root.load_border._alpha - 0.5;
if (_root.load_border._alpha <= 0) {
_root.nextFrame();
}
}
}
Frame 3
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) {
getURL ("http://www.armorgames.com/", "_blank");
}
function button6(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button7(obj, item) {
}
function button8(obj, item) {
stopAllSounds();
}
function button9(obj, item) {
stopAllSounds();
}
stop();
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("More games!", button5));
cm.customItems.push(new ContextMenuItem("Author's Site", button6));
cm.customItems.push(new ContextMenuItem("-------------", button7));
cm.customItems.push(new ContextMenuItem("Stop Music", button8));
cm.customItems.push(new ContextMenuItem("Start Music", button9));
_root.menu = cm;
stage.showmenu = true;
Frame 4
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
Frame 5
stop();
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE1");
_root.SavedGameExist1 = mySharedObject.data.SaveGame;
_root.filename1 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE2");
_root.SavedGameExist2 = mySharedObject.data.SaveGame;
_root.filename2 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE3");
_root.SavedGameExist3 = mySharedObject.data.SaveGame;
_root.filename3 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE4");
_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) {
getURL ("http://www.armorgames.com/", "_blank");
}
function button6(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button7(obj, item) {
}
function button8(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(1);
}
function button9(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(2);
}
stop();
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("More games!", button5));
cm.customItems.push(new ContextMenuItem("Author's Site", button6));
cm.customItems.push(new ContextMenuItem("-------------", button7));
cm.customItems.push(new ContextMenuItem("Stop Music", button8));
cm.customItems.push(new ContextMenuItem("Start Music", button9));
_root.menu = cm;
Instance of Symbol 86 MovieClip "universal_music_switch" in Frame 5
onClipEvent (load) {
this.gotoAndStop(2);
}
Frame 6
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) {
getURL ("http://www.armorgames.com/", "_blank");
}
function button6(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button7(obj, item) {
}
function button8(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(1);
}
function button9(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(2);
}
stop();
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("More games!", button5));
cm.customItems.push(new ContextMenuItem("Author's Site", button6));
cm.customItems.push(new ContextMenuItem("-------------", button7));
cm.customItems.push(new ContextMenuItem("Stop Music", button8));
cm.customItems.push(new ContextMenuItem("Start Music", button9));
_root.menu = cm;
Frame 7
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) {
getURL ("http://www.armorgames.com/", "_blank");
}
function button6(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button7(obj, item) {
}
function button8(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(1);
}
function button9(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(2);
}
stop();
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("More games!", button5));
cm.customItems.push(new ContextMenuItem("Author's Site", button6));
cm.customItems.push(new ContextMenuItem("-------------", button7));
cm.customItems.push(new ContextMenuItem("Stop Music", button8));
cm.customItems.push(new ContextMenuItem("Start Music", button9));
_root.menu = cm;
Frame 8
_root.addition = _root.addition + 1;
_root.goldPoints = _root.goldPoints + _root.gainCred;
if (_root.curhat == 2) {
_root.def = _root.def - 5;
} else if (_root.curhat == 3) {
_root.def = _root.def - 5;
_root.mag = _root.mag - 5;
} else if (_root.curhat == 4) {
_root.def = _root.def - 10;
_root.mag = _root.mag - 5;
_root.str = _root.str - 5;
} else if (_root.curhat == 5) {
_root.def = _root.def - 10;
_root.str = _root.str - 10;
} else if (_root.curhat == 6) {
_root.def = _root.def - 15;
_root.str = _root.str - 15;
_root.mag = _root.mag - 15;
}
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) {
getURL ("http://www.armorgames.com/", "_blank");
}
function button6(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button7(obj, item) {
}
function button8(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(1);
}
function button9(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(2);
}
stop();
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("More games!", button5));
cm.customItems.push(new ContextMenuItem("Author's Site", button6));
cm.customItems.push(new ContextMenuItem("-------------", button7));
cm.customItems.push(new ContextMenuItem("Stop Music", button8));
cm.customItems.push(new ContextMenuItem("Start Music", button9));
_root.menu = cm;
Instance of Symbol 117 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.expr = Math.round(_root.expr);
_root.nextLevel = _root.level * 850;
_root.nextLevel = _root.nextLevel + (_root.level * 2.9);
_root.nextLevel = _root.nextLevel * 1.3;
adding = _root.level * 750;
_root.nextLevel = _root.nextLevel + 1200;
_root.nextLevel = _root.nextLevel + adding;
if (_root.level < 3) {
_root.nextLevel = _root.nextLevel / 2;
} else if ((_root.level > 2) && (_root.level < 5)) {
_root.nextLevel = _root.nextLevel * 1;
} else if (_root.level > 5) {
_root.nextLevel = _root.nextLevel * 1.5;
} else if (_root.level > 10) {
_root.nextLevel = _root.nextLevel * 2.5;
} else if (_root.level > 15) {
_root.nextLevel = _root.nextLevel * 4;
} else if (_root.level > 25) {
_root.nextLevel = _root.nextLevel * 8;
} else if (_root.level > 35) {
_root.nextLevel = _root.nextLevel * 10;
} else if (_root.level > 50) {
_root.nextLevel = _root.nextLevel * 12;
} else if (_root.level > 60) {
_root.nextLevel = _root.nextLevel * 15;
} else if (_root.level > 75) {
_root.nextLevel = _root.nextLevel * 20;
} else if (_root.level > 100) {
_root.nextLevel = _root.nextLevel * 30;
} else if (_root.level > 120) {
_root.nextLevel = _root.nextLevel * 40;
} else if (_root.level > 150) {
_root.nextLevel = _root.nextLevel * 50;
} else if (_root.level > 175) {
_root.nextLevel = _root.nextLevel * 75;
} else if (_root.level > 200) {
_root.nextLevel = _root.nextLevel * 110;
}
_root.nextLevel = Math.ceil(_root.nextLevel);
if (_root.gainExp >= 5) {
_root.gainExp = _root.gainExp - 5;
_root.expr = _root.expr + 5;
}
if (_root.expr > _root.nextLevel) {
_root.statpoints = _root.statpoints + 5;
_root.level++;
_root.abilitypoints++;
}
}
Instance of Symbol 155 MovieClip "boomchi" in Frame 8
onClipEvent (enterFrame) {
if (_root.found == false) {
this._visible = false;
}
}
Frame 9
function backMain() {
_root.gotoAndStop("Map!", 1);
gotoAndStop (5);
}
function outFight() {
stopAllSounds();
_root.gotoAndStop("Battle!", 1);
gotoAndStop (14);
}
function saveFunction1() {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE1");
mySharedObject.data.curhat = _root.curhat;
mySharedObject.data.hat1 = _root.hat1;
mySharedObject.data.hat2 = _root.hat2;
mySharedObject.data.hat3 = _root.hat3;
mySharedObject.data.hat4 = _root.hat4;
mySharedObject.data.hat5 = _root.hat5;
mySharedObject.data.hat6 = _root.hat6;
mySharedObject.data.goldPoints = _root.goldPoints;
mySharedObject.data.bg1played = _root.bg1played;
mySharedObject.data.bg2played = _root.bg2played;
mySharedObject.data.bg3played = _root.bg3played;
mySharedObject.data.bg4played = _root.bg4played;
mySharedObject.data.bg5played = _root.bg5played;
mySharedObject.data.bg6played = _root.bg6played;
mySharedObject.data.bg7played = _root.bg7played;
mySharedObject.data.bg8played = _root.bg8played;
mySharedObject.data.bg9played = _root.bg9played;
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.staff3 = _root.staff3;
mySharedObject.data.staff4 = _root.staff4;
mySharedObject.data.staff5 = _root.staff5;
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.weapon8 = _root.weapon8;
mySharedObject.data.weapon9 = _root.weapon9;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.weapon11 = _root.weapon11;
mySharedObject.data.weapon12 = _root.weapon12;
mySharedObject.data.weapon13 = _root.weapon13;
mySharedObject.data.weapon14 = _root.weapon14;
mySharedObject.data.weapon15 = _root.weapon15;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.addition = _root.addition;
mySharedObject.data.abilitypoints = _root.abilitypoints;
mySharedObject.data.skilllevel1 = _root.skilllevel1;
mySharedObject.data.skilllevel2 = _root.skilllevel2;
mySharedObject.data.skilllevel3 = _root.skilllevel3;
mySharedObject.data.skilllevel4 = _root.skilllevel4;
mySharedObject.data.skilllevel5 = _root.skilllevel5;
mySharedObject.data.skilllevel6 = _root.skilllevel6;
mySharedObject.data.skilllevel7 = _root.skilllevel7;
mySharedObject.data.skilllevel8 = _root.skilllevel8;
mySharedObject.data.skilllevel9 = _root.skilllevel9;
mySharedObject.data.skilllevel10 = _root.skilllevel10;
mySharedObject.data.skilllevel11 = _root.skilllevel11;
mySharedObject.data.skilllevel12 = _root.skilllevel12;
mySharedObject.flush();
}
function saveFunction2() {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE2");
mySharedObject.data.curhat = _root.curhat;
mySharedObject.data.hat1 = _root.hat1;
mySharedObject.data.hat2 = _root.hat2;
mySharedObject.data.hat3 = _root.hat3;
mySharedObject.data.hat4 = _root.hat4;
mySharedObject.data.hat5 = _root.hat5;
mySharedObject.data.hat6 = _root.hat6;
mySharedObject.data.goldPoints = _root.goldPoints;
mySharedObject.data.bg1played = _root.bg1played;
mySharedObject.data.bg2played = _root.bg2played;
mySharedObject.data.bg3played = _root.bg3played;
mySharedObject.data.bg4played = _root.bg4played;
mySharedObject.data.bg5played = _root.bg5played;
mySharedObject.data.bg6played = _root.bg6played;
mySharedObject.data.bg7played = _root.bg7played;
mySharedObject.data.bg8played = _root.bg8played;
mySharedObject.data.bg9played = _root.bg9played;
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.staff3 = _root.staff3;
mySharedObject.data.staff4 = _root.staff4;
mySharedObject.data.staff5 = _root.staff5;
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.weapon8 = _root.weapon8;
mySharedObject.data.weapon9 = _root.weapon9;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.weapon11 = _root.weapon11;
mySharedObject.data.weapon12 = _root.weapon12;
mySharedObject.data.weapon13 = _root.weapon13;
mySharedObject.data.weapon14 = _root.weapon14;
mySharedObject.data.weapon15 = _root.weapon15;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.addition = _root.addition;
mySharedObject.data.abilitypoints = _root.abilitypoints;
mySharedObject.data.skilllevel1 = _root.skilllevel1;
mySharedObject.data.skilllevel2 = _root.skilllevel2;
mySharedObject.data.skilllevel3 = _root.skilllevel3;
mySharedObject.data.skilllevel4 = _root.skilllevel4;
mySharedObject.data.skilllevel5 = _root.skilllevel5;
mySharedObject.data.skilllevel6 = _root.skilllevel6;
mySharedObject.data.skilllevel7 = _root.skilllevel7;
mySharedObject.data.skilllevel8 = _root.skilllevel8;
mySharedObject.data.skilllevel9 = _root.skilllevel9;
mySharedObject.data.skilllevel10 = _root.skilllevel10;
mySharedObject.data.skilllevel11 = _root.skilllevel11;
mySharedObject.data.skilllevel12 = _root.skilllevel12;
mySharedObject.flush();
}
function saveFunction3() {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE3");
mySharedObject.data.curhat = _root.curhat;
mySharedObject.data.hat1 = _root.hat1;
mySharedObject.data.hat2 = _root.hat2;
mySharedObject.data.hat3 = _root.hat3;
mySharedObject.data.hat4 = _root.hat4;
mySharedObject.data.hat5 = _root.hat5;
mySharedObject.data.hat6 = _root.hat6;
mySharedObject.data.goldPoints = _root.goldPoints;
mySharedObject.data.bg1played = _root.bg1played;
mySharedObject.data.bg2played = _root.bg2played;
mySharedObject.data.bg3played = _root.bg3played;
mySharedObject.data.bg4played = _root.bg4played;
mySharedObject.data.bg5played = _root.bg5played;
mySharedObject.data.bg6played = _root.bg6played;
mySharedObject.data.bg7played = _root.bg7played;
mySharedObject.data.bg8played = _root.bg8played;
mySharedObject.data.bg9played = _root.bg9played;
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.staff3 = _root.staff3;
mySharedObject.data.staff4 = _root.staff4;
mySharedObject.data.staff5 = _root.staff5;
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.weapon8 = _root.weapon8;
mySharedObject.data.weapon9 = _root.weapon9;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.weapon11 = _root.weapon11;
mySharedObject.data.weapon12 = _root.weapon12;
mySharedObject.data.weapon13 = _root.weapon13;
mySharedObject.data.weapon14 = _root.weapon14;
mySharedObject.data.weapon15 = _root.weapon15;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.addition = _root.addition;
mySharedObject.data.abilitypoints = _root.abilitypoints;
mySharedObject.data.skilllevel1 = _root.skilllevel1;
mySharedObject.data.skilllevel2 = _root.skilllevel2;
mySharedObject.data.skilllevel3 = _root.skilllevel3;
mySharedObject.data.skilllevel4 = _root.skilllevel4;
mySharedObject.data.skilllevel5 = _root.skilllevel5;
mySharedObject.data.skilllevel6 = _root.skilllevel6;
mySharedObject.data.skilllevel7 = _root.skilllevel7;
mySharedObject.data.skilllevel8 = _root.skilllevel8;
mySharedObject.data.skilllevel9 = _root.skilllevel9;
mySharedObject.data.skilllevel10 = _root.skilllevel10;
mySharedObject.data.skilllevel11 = _root.skilllevel11;
mySharedObject.data.skilllevel12 = _root.skilllevel12;
mySharedObject.flush();
}
function saveFunction4() {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE4");
mySharedObject.data.curhat = _root.curhat;
mySharedObject.data.hat1 = _root.hat1;
mySharedObject.data.hat2 = _root.hat2;
mySharedObject.data.hat3 = _root.hat3;
mySharedObject.data.hat4 = _root.hat4;
mySharedObject.data.hat5 = _root.hat5;
mySharedObject.data.hat6 = _root.hat6;
mySharedObject.data.goldPoints = _root.goldPoints;
mySharedObject.data.bg1played = _root.bg1played;
mySharedObject.data.bg2played = _root.bg2played;
mySharedObject.data.bg3played = _root.bg3played;
mySharedObject.data.bg4played = _root.bg4played;
mySharedObject.data.bg5played = _root.bg5played;
mySharedObject.data.bg6played = _root.bg6played;
mySharedObject.data.bg7played = _root.bg7played;
mySharedObject.data.bg8played = _root.bg8played;
mySharedObject.data.bg9played = _root.bg9played;
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.staff3 = _root.staff3;
mySharedObject.data.staff4 = _root.staff4;
mySharedObject.data.staff5 = _root.staff5;
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.weapon8 = _root.weapon8;
mySharedObject.data.weapon9 = _root.weapon9;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.weapon11 = _root.weapon11;
mySharedObject.data.weapon12 = _root.weapon12;
mySharedObject.data.weapon13 = _root.weapon13;
mySharedObject.data.weapon14 = _root.weapon14;
mySharedObject.data.weapon15 = _root.weapon15;
mySharedObject.data.weapon10 = _root.weapon10;
mySharedObject.data.addition = _root.addition;
mySharedObject.data.abilitypoints = _root.abilitypoints;
mySharedObject.data.skilllevel1 = _root.skilllevel1;
mySharedObject.data.skilllevel2 = _root.skilllevel2;
mySharedObject.data.skilllevel3 = _root.skilllevel3;
mySharedObject.data.skilllevel4 = _root.skilllevel4;
mySharedObject.data.skilllevel5 = _root.skilllevel5;
mySharedObject.data.skilllevel6 = _root.skilllevel6;
mySharedObject.data.skilllevel7 = _root.skilllevel7;
mySharedObject.data.skilllevel8 = _root.skilllevel8;
mySharedObject.data.skilllevel9 = _root.skilllevel9;
mySharedObject.data.skilllevel10 = _root.skilllevel10;
mySharedObject.data.skilllevel11 = _root.skilllevel11;
mySharedObject.data.skilllevel12 = _root.skilllevel12;
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) {
getURL ("http://www.armorgames.com/", "_blank");
}
function button6(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
function button7(obj, item) {
}
function button8(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(1);
}
function button9(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(2);
}
stop();
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("More games!", button5));
cm.customItems.push(new ContextMenuItem("Author's Site", button6));
cm.customItems.push(new ContextMenuItem("-------------", button7));
cm.customItems.push(new ContextMenuItem("Stop Music", button8));
cm.customItems.push(new ContextMenuItem("Start Music", button9));
_root.menu = cm;
Frame 14
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 / 100;
_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.7;
_root.damage = _root.damage + _root.centodan;
_root.damage = _root.damage + _root.special;
_root.cento = _root.powerups / 3;
_root.cento = _root.cento + 1;
if (_root.weapon != 1) {
_root.expo = _root.weapon / 2;
_root.damage = _root.damage * (_root.weapon / 1.5);
}
_root.damage = _root.damage * _root.cento;
if (_root.addpercent > 0) {
onebit = _root.damage / 100;
percents = onebit * _root.addpercent;
_root.damage = _root.damage + percents;
}
_root.damage = _root.damage / 2;
_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.damage = _root.damage * _root.weapon;
_root.damage = _root.damage * _root.staff;
}
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 = _root.damage / 2.5;
_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 = _root.damage / 2;
_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 (7);
}
function victory() {
if (_root.level < 222) {
_root.enemylevel = _root.enemylevel - (_root.addition / 2);
_root.gainExp = (_root.enemylevel * 275) / 3.75;
_root.gainExp = _root.gainExp * 2.7;
stuffx = (Math.random() * 300) + 100;
stuffx = Math.round(stuffx);
_root.gainExp = _root.gainExp + stuffx;
}
_root.gainCred = _root.enemylevel * 85;
_root.gainCred = _root.gainCred + 150;
_root.gainCred = Math.round(_root.gainCred);
stopAllSounds();
variaA = (Math.random() * 2) + 1;
variaA = Math.round(variaA);
if (variaA < 3) {
_root.found = false;
}
if (variaA == 3) {
variaB = (Math.random() * 3) + 1;
variaB = Math.round(variaB);
if (_root.staff5 == 1) {
variaB = 1;
} else if ((_root.staff2 == 0) && (variaB > 2)) {
_root.found = true;
_root.itemname = "Grand Staff";
_root.itemnum = 16;
_root.staff2 = 1;
} else if (((_root.staff3 == 0) && (_root.staff2 == 1)) && (variaB > 2)) {
_root.found = true;
_root.itemname = "Master Staff";
_root.itemnum = 17;
_root.staff3 = 1;
} else if (((_root.staff4 == 0) && (_root.staff3 == 1)) && (variaB > 2)) {
_root.found = true;
_root.itemname = "Ultimate Staff";
_root.itemnum = 18;
_root.staff4 = 1;
} else if (((_root.staff5 == 0) && (_root.staff4 == 1)) && (variaB > 2)) {
_root.found = true;
_root.itemname = "Ultimate Staff Squared";
_root.itemnum = 19;
_root.staff5 = 1;
}
if (variaB < 3) {
if (_root.weapon2 == 0) {
_root.found = true;
_root.weapon2 = 1;
_root.itemname = "The Ripper";
_root.itemnum = 2;
} else if ((_root.weapon2 == 1) && (_root.weapon3 == 0)) {
_root.found = true;
_root.weapon3 = 1;
_root.itemname = "Black Blade";
_root.itemnum = 3;
} else if ((_root.weapon3 == 1) && (_root.weapon4 == 0)) {
_root.found = true;
_root.weapon4 = 1;
_root.itemname = "White Blade";
_root.itemnum = 4;
} else if ((_root.weapon4 == 1) && (_root.weapon5 == 0)) {
_root.found = true;
_root.weapon5 = 1;
_root.itemname = "Diving Edge";
_root.itemnum = 5;
} else if ((_root.weapon5 == 1) && (_root.weapon6 == 0)) {
_root.found = true;
_root.weapon6 = 1;
_root.itemname = "Double Edge";
_root.itemnum = 6;
} else if ((_root.weapon6 == 1) && (_root.weapon7 == 0)) {
_root.found = true;
_root.weapon7 = 1;
_root.itemname = "Crommed Blade";
_root.itemnum = 7;
} else if ((_root.weapon7 == 1) && (_root.weapon8 == 0)) {
_root.found = true;
_root.weapon8 = 1;
_root.itemname = "Crippled Blade";
_root.itemnum = 8;
} else if ((_root.weapon8 == 1) && (_root.weapon9 == 0)) {
_root.found = true;
_root.weapon7 = 9;
_root.itemname = "Spread of Death";
_root.itemnum = 9;
} else if ((_root.weapon9 == 1) && (_root.weapon10 == 0)) {
_root.found = true;
_root.weapon7 = 10;
_root.itemname = "The Punisher";
_root.itemnum = 10;
} else if ((_root.weapon10 == 1) && (_root.weapon11 == 0)) {
_root.found = true;
_root.weapon7 = 11;
_root.itemname = "Blade of Ludes G";
_root.itemnum = 11;
} else if ((_root.weapon11 == 1) && (_root.weapon12 == 0)) {
_root.found = true;
_root.weapon12 = 1;
_root.itemname = "Blade of Daniel McNeely";
_root.itemnum = 12;
} else if ((_root.weapon12 == 1) && (_root.weapon13 == 0)) {
variaX = (Math.random() * 2) + 1;
variaX = Math.round(variaX);
if (variaX == 2) {
_root.found = true;
_root.weapon13 = 1;
_root.itemname = "Deathstick";
_root.itemnum = 13;
} else {
_root.found = false;
}
} else if ((_root.weapon13 == 1) && (_root.weapon14 == 0)) {
variaX = (Math.random() * 3) + 1;
variaX = Math.round(variaX);
if (variaX == 2) {
_root.found = true;
_root.weapon14 = 1;
_root.itemname = "Ultimate Weapon";
_root.itemnum = 14;
} else {
_root.found = false;
}
} else if ((_root.weapon14 == 1) && (_root.weapon15 == 0)) {
variaX = (Math.random() * 6) + 1;
variaX = Math.round(variaX);
if (variaX == 2) {
_root.found = true;
_root.weapon15 = 1;
_root.itemname = "Break Damage Limit";
_root.itemnum = 15;
} else {
_root.found = false;
}
} else if (_root.weapon15 == 1) {
_root.found = false;
}
}
}
trace(_root.found);
trace(variaA);
trace(variaB);
if (_root.bg == 9) {
trace("LAWL XD");
stopAllSounds();
_root.gotoAndStop("Map!", 9);
gotoAndStop (13);
} else {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
_root.gotoAndStop("Map!", 4);
gotoAndStop (8);
}
}
_root.enemyPoint = 0;
stop();
if ((_root.skilllevel3 == 1) && (_root.skilllevel4 == 1)) {
_root.autolifeamounts = 3;
} else if ((_root.skilllevel3 == 1) && (_root.skilllevel4 == 0)) {
_root.autolifeamounts = 2;
} else if ((_root.skilllevel3 == 0) && (_root.skilllevel4 == 0)) {
_root.autolifeamounts = 1;
}
_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;
if (_root.enm == 4) {
_root.enemymaxmp = _root.enemymaxmp * 1.75;
_root.enemymaxhp = _root.enemymaxhp * 1.75;
}
_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;
if (_root.bg == 9) {
stopAllSounds();
Final = new Sound();
Final.attachSound("Final");
Final.start(0, 50000);
} else if (_root.bg < 9) {
stopAllSounds();
BattleTrack = new Sound();
BattleTrack.attachSound("BattleTrack");
BattleTrack.start(0, 50000);
}
if (_root.curhat == 2) {
_root.def = _root.def + 5;
} else if (_root.curhat == 3) {
_root.def = _root.def + 5;
_root.mag = _root.mag + 5;
} else if (_root.curhat == 4) {
_root.def = _root.def + 10;
_root.mag = _root.mag + 5;
_root.str = _root.str + 5;
} else if (_root.curhat == 5) {
_root.powerups = 3;
_root.def = _root.def + 10;
_root.str = _root.str + 10;
} else if (_root.curhat == 6) {
_root.def = _root.def + 15;
_root.str = _root.str + 15;
_root.mag = _root.mag + 15;
_root.powerups = 5;
_root.defenceups = 5;
_root.magicups = 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();
if (_root.bg < 9) {
_root.universal_music_switch.gotoAndStop(3);
} else if (_root.bg == 9) {
_root.universal_music_switch.gotoAndStop(4);
}
}
function button6(obj, item) {
stopAllSounds();
_root.universal_music_switch.gotoAndStop(1);
}
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.armorgames.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("Armor Games!", button11));
_root.menu = cm;
Instance of Symbol 389 MovieClip in Frame 14
onClipEvent (enterFrame) {
this.gotoAndStop(_root.bg);
}
Instance of Symbol 430 MovieClip "gandalf" in Frame 14
onClipEvent (enterFrame) {
if ((Key.isDown(8) && (Key.isDown(33))) && (Key.isDown(34))) {
_root.hp = _root.maxhp;
_root.mp = _root.maxmp;
_root.powerups = _root.powerups + 3;
_root.defenceups = _root.defenceups + 3;
_root.magicups = _root.magicups + 3;
}
_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;
}
}
if (_root.hp > _root.maxhp) {
_root.hp = _root.maxhp;
}
if (_root.mp > _root.maxmp) {
_root.mp = _root.maxmp;
}
}
onClipEvent (load) {
_root.gandalf.st.xy.gotoAndStop(_root.weapon);
}
Instance of Symbol 640 MovieClip "enemy" in Frame 14
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 722 MovieClip "actionSel" in Frame 14
onClipEvent (load) {
csx = 0;
csy = 0;
}
onClipEvent (enterFrame) {
if (((Key.isDown(40) && (csx == 0)) && (_root.actionSelect != 7)) && (_root.actionSelect != 23)) {
this.nextFrame();
csx = 1;
} else if ((((Key.isDown(38) && (csx == 0)) && (_root.actionSelect != 8)) && (_root.actionSelect != 13)) && (_root.actionSelect != 18)) {
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) {
bloempje = _root.skilllevel7 / 4;
_root.powerups++;
_root.powerups = _root.powerups + bloempje;
_root.gandalf.gotoAndStop(7);
this._visible = false;
}
if (_root.actionSelect == 5) {
bloempje = _root.skilllevel8 / 4;
_root.defenceups++;
_root.defenceups = _root.defenceups + bloempje;
_root.gandalf.gotoAndStop(7);
this._visible = false;
}
if (_root.actionSelect == 6) {
bloempje = _root.skilllevel9 / 4;
_root.magicups++;
_root.magicups = _root.magicups + bloempje;
_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.autolifeamounts > 0)) {
_root.mp = _root.mp - 32;
_root.gandalf.gotoAndStop(3);
_root.autolife = true;
_root.autolifeamounts--;
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 == 23) {
this.gotoAndStop(7);
}
if (_root.actionSelect == 7) {
this.gotoAndStop(18);
}
if (_root.actionSelect == 2) {
this.gotoAndStop(13);
}
if (((_root.actionSelect == 20) && (_root.mp >= 15)) && (_root.skilllevel10 > 0)) {
_root.addpercent = 15;
_root.mp = _root.mp - 15;
_root.gandalf.gotoAndStop(2);
this._visible = false;
}
if (((_root.actionSelect == 21) && (_root.mp >= 25)) && (_root.skilllevel11 > 0)) {
_root.addpercent = 25;
_root.mp = _root.mp - 25;
_root.gandalf.gotoAndStop(2);
this._visible = false;
}
if (((_root.actionSelect == 22) && (_root.mp >= 50)) && (_root.skilllevel12 > 0)) {
_root.addpercent = 50;
_root.mp = _root.mp - 50;
_root.gandalf.gotoAndStop(2);
this._visible = false;
}
if (((_root.actionSelect == 18) && (_root.mp > 99)) && (_root.skilllevel5 > 0)) {
randomizerX = (Math.random() * 4) + 1;
randomizerX = Math.round(randomizerX);
trace(randomizerX);
if (randomizerX == 4) {
_root.addpercent = 500;
} else if (randomizerX == 3) {
_root.addpercent = 100;
} else if (randomizerX == 2) {
_root.addpercent = 10;
} else {
_root.addpercent = 2;
}
trace(_root.addpercent);
_root.mp = _root.mp - 100;
_root.gandalf.gotoAndStop(2);
this._visible = false;
}
if (((_root.actionSelect == 19) && (_root.mp > 74)) && (_root.skilllevel6 > 0)) {
_root.mp = _root.mp - 75;
_root.enemyResetter._visible = true;
_root.enemyResetter.play();
this._visible = false;
}
}
}
Instance of Symbol 729 MovieClip "damageDealA" in Frame 14
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 737 MovieClip "damageDealB" in Frame 14
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 744 MovieClip "damageDealC" in Frame 14
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 751 MovieClip "damageDealD" in Frame 14
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 753 MovieClip in Frame 14
onClipEvent (enterFrame) {
this._width = (_root.mp / _root.maxmp) * 200;
}
Instance of Symbol 755 MovieClip in Frame 14
onClipEvent (enterFrame) {
this._width = (_root.hp / _root.maxhp) * 200;
}
Instance of Symbol 753 MovieClip in Frame 14
onClipEvent (enterFrame) {
this._width = (_root.enemymp / _root.enemymaxmp) * 200;
}
Instance of Symbol 755 MovieClip in Frame 14
onClipEvent (enterFrame) {
this._width = (_root.enemyhp / _root.enemymaxhp) * 200;
}
Instance of Symbol 774 MovieClip "enemyResetter" in Frame 14
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 86 MovieClip "universal_music_switch" in Frame 14
onClipEvent (load) {
if (_root.bg < 9) {
this.gotoAndStop(3);
} else if (_root.bg == 9) {
this.gotoAndStop(4);
}
}
Symbol 53 Button
on (release) {
_root.play();
}
Symbol 54 MovieClip Frame 87
_root.play();
stop();
Symbol 61 Button
on (release) {
_root.curhat = 1;
_root.hat1 = 1;
_root.hat2 = 0;
_root.hat3 = 0;
_root.hat4 = 0;
_root.hat5 = 0;
_root.hat6 = 0;
_root.goldPoints = 100;
_root.skilllevel1 = 0;
_root.skilllevel2 = 0;
_root.skilllevel3 = 0;
_root.skilllevel4 = 0;
_root.skilllevel5 = 0;
_root.skilllevel6 = 0;
_root.skilllevel7 = 0;
_root.skilllevel8 = 0;
_root.skilllevel9 = 0;
_root.skilllevel10 = 0;
_root.skilllevel11 = 0;
_root.skilllevel12 = 0;
_root.bg1played = 0;
_root.bg2played = 0;
_root.bg3played = 0;
_root.bg4played = 0;
_root.bg5played = 0;
_root.bg6played = 0;
_root.bg7played = 0;
_root.bg8played = 0;
_root.bg9played = 0;
_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.weapon8 = 0;
_root.weapon9 = 0;
_root.weapon10 = 0;
_root.addition = 0;
_root.abilitypoints = 1;
stopAllSounds();
gotoAndStop (12);
}
Symbol 62 Button
on (release) {
gotoAndStop (6);
}
Symbol 64 Button
on (release) {
getURL ("http://www.eviludy.net/forums/viewtopic.php?t=1397", "_blank");
}
Symbol 66 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 68 Button
on (release) {
getURL ("http://www.eviludy.net/", "_blank");
}
Symbol 70 Button
on (release) {
gotoAndStop (10);
}
Symbol 78 Button
on (release) {
getURL ("http://www.eviludy.net/", "_blank");
}
Symbol 81 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 87 Button
on (release) {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE1");
_root.curhat = mySharedObject.data.curhat;
_root.hat1 = mySharedObject.data.hat1;
_root.hat2 = mySharedObject.data.hat2;
_root.hat3 = mySharedObject.data.hat3;
_root.hat4 = mySharedObject.data.hat4;
_root.hat5 = mySharedObject.data.hat5;
_root.hat6 = mySharedObject.data.hat6;
_root.goldPoints = mySharedObject.data.goldPoints;
_root.bg1played = mySharedObject.data.bg1played;
_root.bg2played = mySharedObject.data.bg2played;
_root.bg3played = mySharedObject.data.bg3played;
_root.bg4played = mySharedObject.data.bg4played;
_root.bg5played = mySharedObject.data.bg5played;
_root.bg6played = mySharedObject.data.bg6played;
_root.bg7played = mySharedObject.data.bg7played;
_root.bg8played = mySharedObject.data.bg8played;
_root.bg9played = mySharedObject.data.bg9played;
_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.staff3 = mySharedObject.data.staff3;
_root.staff4 = mySharedObject.data.staff4;
_root.staff5 = mySharedObject.data.staff5;
_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.weapon8 = mySharedObject.data.weapon8;
_root.weapon9 = mySharedObject.data.weapon9;
_root.weapon10 = mySharedObject.data.weapon10;
_root.weapon11 = mySharedObject.data.weapon11;
_root.weapon12 = mySharedObject.data.weapon12;
_root.weapon13 = mySharedObject.data.weapon13;
_root.weapon14 = mySharedObject.data.weapon14;
_root.weapon15 = mySharedObject.data.weapon15;
_root.addition = mySharedObject.data.addition;
_root.abilitypoints = mySharedObject.data.abilitypoints;
_root.skilllevel1 = mySharedObject.data.skilllevel1;
_root.skilllevel2 = mySharedObject.data.skilllevel2;
_root.skilllevel3 = mySharedObject.data.skilllevel3;
_root.skilllevel4 = mySharedObject.data.skilllevel4;
_root.skilllevel5 = mySharedObject.data.skilllevel5;
_root.skilllevel6 = mySharedObject.data.skilllevel6;
_root.skilllevel7 = mySharedObject.data.skilllevel7;
_root.skilllevel8 = mySharedObject.data.skilllevel8;
_root.skilllevel9 = mySharedObject.data.skilllevel9;
_root.skilllevel10 = mySharedObject.data.skilllevel10;
_root.skilllevel11 = mySharedObject.data.skilllevel11;
_root.skilllevel12 = mySharedObject.data.skilllevel12;
gotoAndStop (9);
}
Symbol 88 Button
on (release) {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE2");
_root.curhat = mySharedObject.data.curhat;
_root.hat1 = mySharedObject.data.hat1;
_root.hat2 = mySharedObject.data.hat2;
_root.hat3 = mySharedObject.data.hat3;
_root.hat4 = mySharedObject.data.hat4;
_root.hat5 = mySharedObject.data.hat5;
_root.hat6 = mySharedObject.data.hat6;
_root.goldPoints = mySharedObject.data.goldPoints;
_root.bg1played = mySharedObject.data.bg1played;
_root.bg2played = mySharedObject.data.bg2played;
_root.bg3played = mySharedObject.data.bg3played;
_root.bg4played = mySharedObject.data.bg4played;
_root.bg5played = mySharedObject.data.bg5played;
_root.bg6played = mySharedObject.data.bg6played;
_root.bg7played = mySharedObject.data.bg7played;
_root.bg8played = mySharedObject.data.bg8played;
_root.bg9played = mySharedObject.data.bg9played;
_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.staff3 = mySharedObject.data.staff3;
_root.staff4 = mySharedObject.data.staff4;
_root.staff5 = mySharedObject.data.staff5;
_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.weapon8 = mySharedObject.data.weapon8;
_root.weapon9 = mySharedObject.data.weapon9;
_root.weapon10 = mySharedObject.data.weapon10;
_root.weapon11 = mySharedObject.data.weapon11;
_root.weapon12 = mySharedObject.data.weapon12;
_root.weapon13 = mySharedObject.data.weapon13;
_root.weapon14 = mySharedObject.data.weapon14;
_root.weapon15 = mySharedObject.data.weapon15;
_root.addition = mySharedObject.data.addition;
_root.abilitypoints = mySharedObject.data.abilitypoints;
_root.skilllevel1 = mySharedObject.data.skilllevel1;
_root.skilllevel2 = mySharedObject.data.skilllevel2;
_root.skilllevel3 = mySharedObject.data.skilllevel3;
_root.skilllevel4 = mySharedObject.data.skilllevel4;
_root.skilllevel5 = mySharedObject.data.skilllevel5;
_root.skilllevel6 = mySharedObject.data.skilllevel6;
_root.skilllevel7 = mySharedObject.data.skilllevel7;
_root.skilllevel8 = mySharedObject.data.skilllevel8;
_root.skilllevel9 = mySharedObject.data.skilllevel9;
_root.skilllevel10 = mySharedObject.data.skilllevel10;
_root.skilllevel11 = mySharedObject.data.skilllevel11;
_root.skilllevel12 = mySharedObject.data.skilllevel12;
gotoAndStop (9);
}
Symbol 89 Button
on (release) {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE3");
_root.curhat = mySharedObject.data.curhat;
_root.hat1 = mySharedObject.data.hat1;
_root.hat2 = mySharedObject.data.hat2;
_root.hat3 = mySharedObject.data.hat3;
_root.hat4 = mySharedObject.data.hat4;
_root.hat5 = mySharedObject.data.hat5;
_root.hat6 = mySharedObject.data.hat6;
_root.goldPoints = mySharedObject.data.goldPoints;
_root.bg1played = mySharedObject.data.bg1played;
_root.bg2played = mySharedObject.data.bg2played;
_root.bg3played = mySharedObject.data.bg3played;
_root.bg4played = mySharedObject.data.bg4played;
_root.bg5played = mySharedObject.data.bg5played;
_root.bg6played = mySharedObject.data.bg6played;
_root.bg7played = mySharedObject.data.bg7played;
_root.bg8played = mySharedObject.data.bg8played;
_root.bg9played = mySharedObject.data.bg9played;
_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.staff3 = mySharedObject.data.staff3;
_root.staff4 = mySharedObject.data.staff4;
_root.staff5 = mySharedObject.data.staff5;
_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.weapon8 = mySharedObject.data.weapon8;
_root.weapon9 = mySharedObject.data.weapon9;
_root.weapon10 = mySharedObject.data.weapon10;
_root.weapon11 = mySharedObject.data.weapon11;
_root.weapon12 = mySharedObject.data.weapon12;
_root.weapon13 = mySharedObject.data.weapon13;
_root.weapon14 = mySharedObject.data.weapon14;
_root.weapon15 = mySharedObject.data.weapon15;
_root.addition = mySharedObject.data.addition;
_root.abilitypoints = mySharedObject.data.abilitypoints;
_root.skilllevel1 = mySharedObject.data.skilllevel1;
_root.skilllevel2 = mySharedObject.data.skilllevel2;
_root.skilllevel3 = mySharedObject.data.skilllevel3;
_root.skilllevel4 = mySharedObject.data.skilllevel4;
_root.skilllevel5 = mySharedObject.data.skilllevel5;
_root.skilllevel6 = mySharedObject.data.skilllevel6;
_root.skilllevel7 = mySharedObject.data.skilllevel7;
_root.skilllevel8 = mySharedObject.data.skilllevel8;
_root.skilllevel9 = mySharedObject.data.skilllevel9;
_root.skilllevel10 = mySharedObject.data.skilllevel10;
_root.skilllevel11 = mySharedObject.data.skilllevel11;
_root.skilllevel12 = mySharedObject.data.skilllevel12;
gotoAndStop (9);
}
Symbol 90 Button
on (release) {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE4");
_root.curhat = mySharedObject.data.curhat;
_root.hat1 = mySharedObject.data.hat1;
_root.hat2 = mySharedObject.data.hat2;
_root.hat3 = mySharedObject.data.hat3;
_root.hat4 = mySharedObject.data.hat4;
_root.hat5 = mySharedObject.data.hat5;
_root.hat6 = mySharedObject.data.hat6;
_root.goldPoints = mySharedObject.data.goldPoints;
_root.bg1played = mySharedObject.data.bg1played;
_root.bg2played = mySharedObject.data.bg2played;
_root.bg3played = mySharedObject.data.bg3played;
_root.bg4played = mySharedObject.data.bg4played;
_root.bg5played = mySharedObject.data.bg5played;
_root.bg6played = mySharedObject.data.bg6played;
_root.bg7played = mySharedObject.data.bg7played;
_root.bg8played = mySharedObject.data.bg8played;
_root.bg9played = mySharedObject.data.bg9played;
_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.staff3 = mySharedObject.data.staff3;
_root.staff4 = mySharedObject.data.staff4;
_root.staff5 = mySharedObject.data.staff5;
_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.weapon8 = mySharedObject.data.weapon8;
_root.weapon9 = mySharedObject.data.weapon9;
_root.weapon10 = mySharedObject.data.weapon10;
_root.weapon11 = mySharedObject.data.weapon11;
_root.weapon12 = mySharedObject.data.weapon12;
_root.weapon13 = mySharedObject.data.weapon13;
_root.weapon14 = mySharedObject.data.weapon14;
_root.weapon15 = mySharedObject.data.weapon15;
_root.addition = mySharedObject.data.addition;
_root.abilitypoints = mySharedObject.data.abilitypoints;
_root.skilllevel1 = mySharedObject.data.skilllevel1;
_root.skilllevel2 = mySharedObject.data.skilllevel2;
_root.skilllevel3 = mySharedObject.data.skilllevel3;
_root.skilllevel4 = mySharedObject.data.skilllevel4;
_root.skilllevel5 = mySharedObject.data.skilllevel5;
_root.skilllevel6 = mySharedObject.data.skilllevel6;
_root.skilllevel7 = mySharedObject.data.skilllevel7;
_root.skilllevel8 = mySharedObject.data.skilllevel8;
_root.skilllevel9 = mySharedObject.data.skilllevel9;
_root.skilllevel10 = mySharedObject.data.skilllevel10;
_root.skilllevel11 = mySharedObject.data.skilllevel11;
_root.skilllevel12 = mySharedObject.data.skilllevel12;
gotoAndStop (9);
}
Symbol 91 Button
on (release) {
prevFrame();
}
Symbol 98 Button
on (release) {
gotoAndStop (5);
}
Symbol 105 Button
on (release) {
if (_root.gainExp < 1) {
gotoAndStop (9);
} else if (_root.gainExp >= 1) {
_root.expr = _root.expr + _root.gainExp;
_root.gainExp = 0;
}
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 153 Button
on (release) {
this._visible = false;
}
Instance of Symbol 151 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
if (_root.found == true) {
this._visible = true;
this.gotoAndStop(_root.itemnum);
} else {
this._visible = false;
}
}
Symbol 157 Button
on (release) {
_root.lolclip.gotoAndStop(1);
}
Symbol 159 Button
on (release) {
_root.lolclip.gotoAndStop(2);
}
Symbol 161 Button
on (release) {
_root.lolclip.gotoAndStop(3);
}
Symbol 163 Button
on (release) {
_root.lolclip.gotoAndStop(4);
}
Symbol 165 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 168 Button
on (release) {
_root.enm = 1;
_root.bg = 1;
gotoAndStop (6);
}
Symbol 170 Button
on (release) {
_root.enm = 1;
_root.bg = 2;
gotoAndStop (6);
}
Symbol 172 Button
on (release) {
_root.enm = 2;
_root.bg = 3;
gotoAndStop (6);
}
Symbol 174 Button
on (release) {
_root.enm = (Math.random() * 1) + 1;
_root.enm = Math.round(_root.enm);
_root.bg = 4;
gotoAndStop (6);
}
Symbol 176 Button
on (release) {
_root.enm = (Math.random() * 1) + 1;
_root.enm = Math.round(_root.enm);
_root.bg = 5;
gotoAndStop (6);
}
Symbol 178 Button
on (release) {
_root.enm = (Math.random() * 2) + 1;
_root.enm = Math.round(_root.enm);
_root.bg = 6;
gotoAndStop (6);
}
Symbol 180 Button
on (release) {
_root.enm = (Math.random() * 2) + 1;
_root.enm = Math.round(_root.enm);
_root.bg = 7;
gotoAndStop (6);
}
Symbol 182 Button
on (release) {
_root.enm = 3;
_root.bg = 8;
gotoAndStop (6);
}
Symbol 186 Button
on (release) {
_root.enm = 4;
_root.bg = 9;
_root.lolclip.gotoAndStop(6);
}
Symbol 188 MovieClip Frame 1
stop();
Symbol 190 Button
on (release) {
gotoAndStop (1);
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 194 Button
on (release) {
if (_root.weapon > 10) {
_root.weapon = 10;
}
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();
}
if ((_root.thisseta == 7) && (_root.weapon8 == 1)) {
_root.thisseta = 8;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 8) && (_root.weapon9 == 1)) {
_root.thisseta = 9;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
if ((_root.thisseta == 9) && (_root.weapon10 == 1)) {
_root.thisseta = 10;
_root.weapon++;
_root.lolclip.wpsl.nextFrame();
}
}
Symbol 197 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 199 Button
on (release) {
if ((_root.staff2 == 1) && (_root.staff == 1)) {
_root.staff = 2;
_root.lolclip.stsl.nextFrame();
}
if ((_root.staff3 == 1) && (_root.staff == 2)) {
_root.staff = 3;
_root.lolclip.stsl.nextFrame();
}
if ((_root.staff4 == 1) && (_root.staff == 3)) {
_root.staff = 4;
_root.lolclip.stsl.nextFrame();
}
if ((_root.staff5 == 1) && (_root.staff == 4)) {
_root.staff = 5;
_root.lolclip.stsl.nextFrame();
}
}
Symbol 200 Button
on (release) {
if (_root.staff > 1) {
_root.staff--;
}
_root.lolclip.stsl.prevFrame();
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 204 Button
on (release) {
if ((_root.hat2 == 1) && (_root.curhat == 1)) {
_root.curhat = 2;
}
if ((_root.hat3 == 1) && (_root.curhat == 2)) {
_root.curhat = 3;
}
if ((_root.hat4 == 1) && (_root.curhat == 3)) {
_root.curhat = 4;
}
if ((_root.hat5 == 1) && (_root.curhat == 4)) {
_root.curhat = 5;
}
if ((_root.hat6 == 1) && (_root.curhat == 5)) {
_root.curhat = 6;
}
}
Symbol 205 Button
on (release) {
if (_root.curhat > 1) {
_root.curhat--;
}
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 231 Button
on (release) {
if ((_root.statpoints > 0) && (_root.maxhp < 9999)) {
if (_root.maxhp == 10000) {
_root.maxhp = 9999;
}
_root.statpoints = _root.statpoints - 1;
_root.maxhp = _root.maxhp + 50;
}
}
Symbol 233 Button
on (release) {
if ((_root.statpoints > 0) && (_root.str < 255)) {
_root.statpoints = _root.statpoints - 1;
_root.str = _root.str + 1;
}
}
Symbol 234 Button
on (release) {
if ((_root.statpoints > 0) && (_root.def < 255)) {
_root.statpoints = _root.statpoints - 1;
_root.def = _root.def + 1;
}
}
Symbol 235 Button
on (release) {
if ((_root.statpoints > 0) && (_root.mag < 255)) {
_root.statpoints = _root.statpoints - 1;
_root.mag = _root.mag + 1;
}
}
Symbol 236 Button
on (release) {
if ((_root.statpoints > 0) && (_root.maxmp < 999)) {
if (_root.maxmp == 1000) {
_root.maxmp = 999;
}
_root.statpoints = _root.statpoints - 1;
_root.maxmp = _root.maxmp + 5;
}
}
Symbol 239 Button
on (release) {
_root.saveFunction4();
}
Symbol 241 Button
on (release) {
_root.saveFunction3();
}
Symbol 243 Button
on (release) {
_root.saveFunction2();
}
Symbol 245 Button
on (release) {
_root.saveFunction1();
}
Symbol 253 Button
on (release) {
_root.backMain();
_root.gotoAndStop("Map!", 1);
gotoAndStop (1);
}
Symbol 259 Button
on (release) {
if (_root.bg == 1) {
_root.bg1played = 1;
}
if (_root.bg == 2) {
_root.bg2played = 1;
}
if (_root.bg == 3) {
_root.bg3played = 1;
}
if (_root.bg == 4) {
_root.bg4played = 1;
}
if (_root.bg == 5) {
_root.bg5played = 1;
}
if (_root.bg == 6) {
_root.bg6played = 1;
}
if (_root.bg == 7) {
_root.bg7played = 1;
}
if (_root.bg == 8) {
_root.bg8played = 1;
}
if (_root.bg == 9) {
_root.bg9played = 1;
}
_root.enemylevel = (_root.bg + _root.addition) + _root.level;
_root.enemylevel = _root.enemylevel + 1;
_root.outFight();
}
Symbol 266 Button
on (release) {
nextFrame();
}
Symbol 268 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel1 < 150)) {
_root.skilllevel1++;
_root.abilitypoints--;
}
}
Symbol 270 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel2 < 150)) {
_root.skilllevel2++;
_root.abilitypoints--;
}
}
Symbol 272 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel3 == 0)) {
_root.skilllevel3 = 1;
_root.abilitypoints--;
}
}
Symbol 274 Button
on (release) {
if (((_root.abilitypoints >= 1) && (_root.skilllevel4 == 0)) && (_root.skilllevel3 == 1)) {
_root.skilllevel4 = 1;
_root.abilitypoints--;
}
}
Symbol 276 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel5 == 0)) {
_root.skilllevel5 = 1;
_root.abilitypoints--;
}
}
Symbol 278 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel6 == 0)) {
_root.skilllevel6 = 1;
_root.abilitypoints--;
}
}
Symbol 296 Button
on (release) {
prevFrame();
}
Symbol 298 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel7 < 15)) {
_root.skilllevel7++;
_root.abilitypoints--;
}
}
Symbol 300 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel8 < 15)) {
_root.skilllevel8++;
_root.abilitypoints--;
}
}
Symbol 302 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel9 < 15)) {
_root.skilllevel9++;
_root.abilitypoints--;
}
}
Symbol 304 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel10 == 0)) {
_root.skilllevel10 = 1;
_root.abilitypoints--;
}
}
Symbol 306 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel11 == 0)) {
_root.skilllevel11 = 1;
_root.abilitypoints--;
}
}
Symbol 308 Button
on (release) {
if ((_root.abilitypoints >= 1) && (_root.skilllevel12 == 0)) {
_root.skilllevel12 = 1;
_root.abilitypoints--;
}
}
Symbol 322 Button
on (release) {
if (_root.goldPoints >= _root.costsx) {
_root.goldPoints = _root.goldPoints - _root.costsx;
if (_root.buyerpointit == 2) {
_root.hat2 = 1;
} else if (_root.buyerpointit == 3) {
_root.hat3 = 1;
} else if (_root.buyerpointit == 4) {
_root.hat4 = 1;
} else if (_root.buyerpointit == 5) {
_root.hat5 = 1;
} else if (_root.buyerpointit == 6) {
_root.hat6 = 1;
}
_root.lolclip.nextFrame();
}
}
Symbol 332 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((_root.bg1played == 1) && (_root.bg2played == 1)) && (_root.bg3played == 1)) && (_root.bg4played == 1)) && (_root.bg5played == 1)) && (_root.bg6played == 1)) && (_root.bg7played == 1)) && (_root.bg8played == 1)) && (_root.level >= 25)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 193 MovieClip "wpsl" in Symbol 332 MovieClip Frame 2
onClipEvent (load) {
_root.thisseta = _root.weapon;
this.gotoAndStop(_root.weapon);
}
Instance of Symbol 202 MovieClip "stsl" in Symbol 332 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 212 MovieClip in Symbol 332 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.curhat);
}
Instance of Symbol 251 MovieClip in Symbol 332 MovieClip Frame 4
onClipEvent (enterFrame) {
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE1");
_root.SavedGameExist1 = mySharedObject.data.SaveGame;
_root.filename1 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE2");
_root.SavedGameExist2 = mySharedObject.data.SaveGame;
_root.filename2 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE3");
_root.SavedGameExist3 = mySharedObject.data.SaveGame;
_root.filename3 = mySharedObject.data.gameName;
mySharedObject = SharedObject.getLocal("ARMORGAMESBATTLEFILE4");
_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 332 MovieClip Frame 6
if (_root.bg == 1) {
_root.levelnamex = "The Hills";
} else if (_root.bg == 2) {
_root.levelnamex = "The Tunnel";
} else if (_root.bg == 3) {
_root.levelnamex = "The Forest";
} else if (_root.bg == 4) {
_root.levelnamex = "The Station";
} else if (_root.bg == 5) {
_root.levelnamex = "The Dark Plains";
} else if (_root.bg == 6) {
_root.levelnamex = "The Castle";
} else if (_root.bg == 7) {
_root.levelnamex = "The Night";
} else if (_root.bg == 8) {
_root.levelnamex = "The Void";
} else if (_root.bg == 9) {
_root.levelnamex = "The Final Battle";
}
Instance of Symbol 294 MovieClip in Symbol 332 MovieClip Frame 7
onClipEvent (enterFrame) {
_root.sText1 = ("Skill Level: " + _root.skilllevel1) + "";
_root.sText2 = ("Skill Level: " + _root.skilllevel2) + "";
_root.sText3 = ("Skill Level: " + _root.skilllevel3) + "";
_root.sText4 = ("Skill Level: " + _root.skilllevel4) + "";
_root.sText5 = ("Skill Level: " + _root.skilllevel5) + "";
_root.sText6 = ("Skill Level: " + _root.skilllevel6) + "";
_root.sText7 = ("Skill Level: " + _root.skilllevel7) + "";
_root.sText8 = ("Skill Level: " + _root.skilllevel8) + "";
_root.sText9 = ("Skill Level: " + _root.skilllevel9) + "";
_root.sText10 = ("Skill Level: " + _root.skilllevel10) + "";
_root.sText11 = ("Skill Level: " + _root.skilllevel11) + "";
_root.sText12 = ("Skill Level: " + _root.skilllevel12) + "";
}
Symbol 332 MovieClip Frame 9
if ((_root.hat1 == 1) && (_root.hat2 == 0)) {
_root.lolclip.kablamz.gotoAndStop(2);
_root.sTextName = "The Motorman";
_root.costsx = 2500;
_root.sEffects = "+5 defence";
_root.buyerpointit = 2;
} else if ((_root.hat2 == 1) && (_root.hat3 == 0)) {
_root.lolclip.kablamz.gotoAndStop(3);
_root.sTextName = "The Flameburst";
_root.costsx = 7500;
_root.sEffects = "+5 magic and defence";
_root.buyerpointit = 3;
} else if ((_root.hat3 == 1) && (_root.hat4 == 0)) {
_root.lolclip.kablamz.gotoAndStop(4);
_root.sTextName = "The Legionhelm";
_root.costsx = 15000;
_root.sEffects = "+10 defence, +5 magic and strenght";
_root.buyerpointit = 4;
} else if ((_root.hat4 == 1) && (_root.hat5 == 0)) {
_root.lolclip.kablamz.gotoAndStop(5);
_root.sTextName = "Ultimate Armor";
_root.costsx = 25000;
_root.sEffects = "Poweup=3. + 10 defence and strenght";
_root.buyerpointit = 5;
} else if ((_root.hat5 == 1) && (_root.hat6 == 0)) {
_root.lolclip.kablamz.gotoAndStop(6);
_root.sTextName = "Halo";
_root.costsx = 150000 /* 0x0249F0 */;
_root.sEffects = "+15 to all stats. +5 to all powerups.";
_root.buyerpointit = 6;
} else if (_root.hat6 == 1) {
_root.lolclip.kablamz._visible = false;
_root.sTextName = "all bought";
_root.sEffects = "-";
_root.costsx = 9999999999;
}
Symbol 333 Button
on (release) {
_root.lolclip.gotoAndStop(5);
}
Symbol 336 Button
on (release) {
_root.lolclip.gotoAndStop(7);
}
Symbol 338 Button
on (release) {
_root.lolclip.gotoAndStop(9);
}
Symbol 368 MovieClip Frame 1
Symbol 369 MovieClip Frame 1
i = 1;
max = 75;
x = getProperty("fire", _x);
Symbol 369 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 369 MovieClip Frame 5
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 373 Button
on (release) {
stopAllSounds();
TheBridge = new Sound();
TheBridge.attachSound("TheBridge");
TheBridge.start(0, 50000);
gotoAndStop (9);
}
Symbol 389 MovieClip Frame 1
stop();
Instance of Symbol 202 MovieClip in Symbol 397 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 212 MovieClip in Symbol 397 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.curhat);
}
Instance of Symbol 193 MovieClip "xy" in Symbol 397 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Instance of Symbol 202 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 212 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.curhat);
}
Instance of Symbol 193 MovieClip "xy" in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 413 MovieClip Frame 3
_root.playerturns = 0;
Symbol 413 MovieClip Frame 29
_root.enemy.inside.gotoAndStop(2);
_root.inflictA();
Symbol 413 MovieClip Frame 50
_root.addpercent = 0;
_root.gandalf.gotoAndStop(1);
Instance of Symbol 202 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 212 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.curhat);
}
Instance of Symbol 193 MovieClip "xy" in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 422 MovieClip Frame 4
_root.playerturns = 0;
Symbol 422 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();
Symbol 423 MovieClip Frame 40
_root.gandalf.gotoAndStop(1);
Instance of Symbol 202 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.staff);
}
Instance of Symbol 212 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.curhat);
}
Instance of Symbol 193 MovieClip "xy" in Symbol 425 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.weapon);
}
Symbol 425 MovieClip Frame 51
_root.gameOver();
stop();
Symbol 427 MovieClip Frame 30
_root.gandalf.gotoAndStop(1);
Symbol 429 MovieClip Frame 30
_root.playerturns--;
_root.gandalf.gotoAndStop(1);
Symbol 430 MovieClip Frame 1
stop();
if (_root.playerturns > 0) {
_root.actionSel._visible = true;
} else if ((_root.playerturns == 0) && (_root.xi == 0)) {
_root.xi = 1;
_root.hp = _root.hp + _root.skilllevel1;
_root.mp = _root.mp + _root.skilllevel2;
_root.goEnemy();
_root.enemyturns = 2;
}
Instance of Symbol 413 MovieClip "st" in Symbol 430 MovieClip Frame 2
onClipEvent (enterFrame) {
this.xy.gotoAndStop(_root.weapon);
}
Symbol 443 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 465 MovieClip Frame 31
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.5;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + (specadd + 1);
addyen = Math.random() * 5;
dmg = dmg + _root.enemylevel;
dmg = dmg + 12;
dmg = dmg / 2;
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 465 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 466 MovieClip Frame 10
_root.curing = _root.enemylevel * 25;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 466 MovieClip Frame 40
_root.enemymp = _root.enemymp - 8;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 467 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 493 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 493 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 493 MovieClip Frame 75
_root.enemymp = _root.enemymp - 25;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 494 MovieClip Frame 40
_root.enemypowerups++;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 495 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 495 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 495 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 465 MovieClip in Symbol 495 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 495 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 466 MovieClip in Symbol 495 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 495 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 495 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 493 MovieClip in Symbol 495 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 495 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 494 MovieClip in Symbol 495 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 505 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 519 MovieClip Frame 31
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.5;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + (specadd + 1);
addyen = Math.random() * 5;
dmg = dmg + _root.enemylevel;
dmg = dmg + 12;
dmg = dmg / 2;
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 519 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 520 MovieClip Frame 10
_root.curing = _root.enemylevel * 25;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 520 MovieClip Frame 40
_root.enemymp = _root.enemymp - 8;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 521 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 541 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 541 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 541 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 541 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 542 MovieClip Frame 40
_root.enemypowerups++;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 543 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 543 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 543 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 519 MovieClip in Symbol 543 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 543 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 520 MovieClip in Symbol 543 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 543 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 543 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 541 MovieClip in Symbol 543 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 543 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 542 MovieClip in Symbol 543 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 551 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 564 MovieClip Frame 30
addxen = Math.random() * 10;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.5;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + (specadd + 1);
addyen = Math.random() * 5;
dmg = dmg + _root.enemylevel;
dmg = dmg + 12;
dmg = dmg / 2;
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 564 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 565 MovieClip Frame 10
_root.curing = _root.enemylevel * 25;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 565 MovieClip Frame 40
_root.enemymp = _root.enemymp - 8;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 566 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 603 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 603 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 603 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 603 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 603 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 604 MovieClip Frame 40
_root.enemypowerups++;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 605 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 605 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 605 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Symbol 605 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 565 MovieClip in Symbol 605 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 605 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 605 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Symbol 605 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 604 MovieClip in Symbol 605 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 612 MovieClip Frame 40
_root.damageDealA._visible = false;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 624 MovieClip Frame 31
addxen = Math.random() * 12;
dmg = addxen * _root.enemylevel;
dmg = dmg * 1.8;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + (specadd + 2);
addyen = Math.random() * 6;
dmg = dmg + _root.enemylevel;
dmg = dmg + 20;
dmg = dmg / 1.6;
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 624 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 625 MovieClip Frame 10
_root.curing = _root.enemylevel * 35;
_root.curing = Math.round(_root.curing);
_root.damageDealC.play();
_root.damageDealC._visible = true;
Symbol 625 MovieClip Frame 40
_root.enemymp = _root.enemymp - 10;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 626 MovieClip Frame 56
_root.victory();
_root.playerturns = 3;
stop();
Symbol 637 MovieClip Frame 31
addxen = Math.random() * 15;
dmg = addxen * _root.enemylevel;
dmg = dmg * 2;
specadd = _root.enemypowerups * _root.enemylevel;
dmg = dmg + (specadd + 3);
addyen = Math.random() * 7;
dmg = dmg + _root.enemylevel;
dmg = dmg + 26;
dmg = dmg / 1.5;
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 637 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 638 MovieClip Frame 40
_root.enemypowerups = _root.enemypowerups + 1.5;
this._parent.gotoAndStop(1);
_root.enemy.inside.gotoAndStop(1);
Symbol 639 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 639 MovieClip Frame 2
_root.enemySteady = 0;
Symbol 639 MovieClip Frame 3
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 624 MovieClip in Symbol 639 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 639 MovieClip Frame 4
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 625 MovieClip in Symbol 639 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 639 MovieClip Frame 5
_root.enemySteady = 0;
Symbol 639 MovieClip Frame 6
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 637 MovieClip in Symbol 639 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 639 MovieClip Frame 7
_root.enemySteady = 0;
_root.asetting = _root.asetting - 1;
Instance of Symbol 638 MovieClip in Symbol 639 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 640 MovieClip Frame 1
stop();
Instance of Symbol 495 MovieClip "inside" in Symbol 640 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 640 MovieClip Frame 2
stop();
Instance of Symbol 543 MovieClip "inside" in Symbol 640 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 640 MovieClip Frame 3
stop();
Instance of Symbol 605 MovieClip "inside" in Symbol 640 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 640 MovieClip Frame 4
stop();
Instance of Symbol 639 MovieClip "inside" in Symbol 640 MovieClip Frame 4
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 689 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 1
stop();
_root.actionSelect = 1;
Symbol 722 MovieClip Frame 2
_root.actionSelect = 2;
Symbol 722 MovieClip Frame 3
_root.actionSelect = 3;
Symbol 722 MovieClip Frame 4
_root.actionSelect = 4;
Symbol 722 MovieClip Frame 5
_root.actionSelect = 5;
Symbol 722 MovieClip Frame 6
_root.actionSelect = 6;
Symbol 722 MovieClip Frame 7
_root.actionSelect = 7;
Symbol 722 MovieClip Frame 8
_root.actionSelect = 8;
_root.spell = 1;
Symbol 722 MovieClip Frame 9
_root.actionSelect = 9;
_root.spell = 2;
Symbol 722 MovieClip Frame 10
_root.actionSelect = 10;
_root.spell = 3;
Symbol 722 MovieClip Frame 11
_root.actionSelect = 11;
_root.spell = 4;
Symbol 722 MovieClip Frame 12
_root.actionSelect = 12;
Symbol 722 MovieClip Frame 13
_root.actionSelect = 13;
_root.spell = 5;
Symbol 722 MovieClip Frame 14
_root.actionSelect = 14;
_root.spell = 6;
Symbol 722 MovieClip Frame 15
_root.actionSelect = 15;
_root.spell = 7;
Symbol 722 MovieClip Frame 16
_root.actionSelect = 16;
_root.spell = 8;
Symbol 722 MovieClip Frame 17
_root.actionSelect = 17;
Symbol 722 MovieClip Frame 18
_root.actionSelect = 18;
Instance of Symbol 689 MovieClip in Symbol 722 MovieClip Frame 18
onClipEvent (load) {
if (_root.skilllevel5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 696 MovieClip in Symbol 722 MovieClip Frame 18
onClipEvent (load) {
if (_root.skilllevel6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 702 MovieClip in Symbol 722 MovieClip Frame 18
onClipEvent (load) {
if (_root.skilllevel10 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 709 MovieClip in Symbol 722 MovieClip Frame 18
onClipEvent (load) {
if (_root.skilllevel11 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 716 MovieClip in Symbol 722 MovieClip Frame 18
onClipEvent (load) {
if (_root.skilllevel12 == 1) {
this.gotoAndStop(2);
}
}
Symbol 722 MovieClip Frame 19
_root.actionSelect = 19;
Symbol 722 MovieClip Frame 20
_root.actionSelect = 20;
Symbol 722 MovieClip Frame 21
_root.actionSelect = 21;
Symbol 722 MovieClip Frame 22
_root.actionSelect = 22;
Symbol 722 MovieClip Frame 23
_root.actionSelect = 23;
Symbol 729 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 2
if ((_root.weapon == 1) && (_root.damage > 500)) {
_root.damage = 500;
}
if ((_root.weapon == 2) && (_root.damage > 1000)) {
_root.damage = 1000;
}
if ((_root.weapon == 3) && (_root.damage > 1500)) {
_root.damage = 1500;
}
if ((_root.weapon == 4) && (_root.damage > 2000)) {
_root.damage = 2000;
}
if ((_root.weapon == 5) && (_root.damage > 2500)) {
_root.damage = 2500;
}
if ((_root.weapon == 6) && (_root.damage > 3000)) {
_root.damage = 3000;
}
if ((_root.weapon == 7) && (_root.damage > 4000)) {
_root.damage = 4000;
}
if ((_root.weapon == 8) && (_root.damage > 5000)) {
_root.damage = 5000;
}
if ((_root.weapon == 9) && (_root.damage > 6000)) {
_root.damage = 6000;
}
if ((_root.weapon == 10) && (_root.damage > 7000)) {
_root.damage = 7000;
}
if ((_root.weapon == 11) && (_root.damage > 7500)) {
_root.damage = 7500;
}
if ((_root.weapon == 12) && (_root.damage > 8500)) {
_root.damage = 8500;
}
if ((_root.weapon == 13) && (_root.damage > 9000)) {
_root.damage = 9000;
}
if ((_root.weapon == 14) && (_root.damage > 9999)) {
_root.damage = 9999;
}
if ((_root.weapon == 15) && (_root.damage > 99999)) {
_root.damage = 99999 /* 0x01869F */;
}
_root.enemyhp = _root.enemyhp - _root.damage;
if (_root.enemyhp < 0) {
_root.enemyhp = 0;
}
Symbol 729 MovieClip Frame 25
this._visible = false;
Symbol 737 MovieClip Frame 1
stop();
Symbol 737 MovieClip Frame 2
_root.hp = _root.hp + _root.curing;
if (_root.hp > _root.maxhp) {
_root.hp = _root.maxhp;
}
Symbol 737 MovieClip Frame 25
this._visible = false;
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 2
_root.enemyhp = _root.enemyhp + _root.curing;
if (_root.enemyhp > _root.enemymaxhp) {
_root.enemyhp = _root.enemymaxhp;
}
Symbol 744 MovieClip Frame 25
this._visible = false;
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 2
_root.defenceups;
subtraction = _root.defenceups * _root.level;
subtraction = Math.round(subtraction);
_root.damage - subtraction;
_root.hp = _root.hp - _root.damage;
if (_root.hp < 0) {
_root.hp = 0;
}
Symbol 751 MovieClip Frame 25
this._visible = false;
Symbol 774 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 10
_root.enemypowerups = 0;
Symbol 774 MovieClip Frame 41
_root.xi = 1;
_root.goEnemy();
_root.enemyturns = 2;
_root.enemyResetter._visible = false;
Symbol 776 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 778 MovieClip Frame 1
_root.gandalf.gotoAndStop(6);
Symbol 778 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 780 MovieClip Frame 50
_root.shield = true;
_root.gandalf.gotoAndStop(1);
_root.goodSpells.gotoAndStop(1);
Symbol 781 MovieClip Frame 1
stop();
Symbol 788 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}