Frame 1
function checkEnd() {
i = 1;
while (i < 4) {
user_so = SharedObject.getLocal("char" + i);
if (user_so.data.endGame) {
return(true);
}
i++;
}
return(false);
}
_root.kongregateServices.connect();
Stage.showMenu = false;
Frame 3
function weaponClass(weapon) {
i = _root.weapon[weapon].wepType;
e = _root["char" + _root.current].Yclass;
if ((weapon == "lethal") && (_root.current == 1)) {
return(true);
}
if (((i == "Sword") && ((e == "knight") || (e == "rogue"))) && (weapon != "lethal")) {
return(true);
}
if ((((i == "Axe") || (i == "Mace")) || (i == "Saber")) && (e == "knight")) {
return(true);
}
if ((((i == "Gun") || (i == "Knife")) || (i == "Saber")) && (e == "rogue")) {
return(true);
}
if (((i == "Wand") || (i == "Staff")) && ((e == "mage") || (e == "warlock"))) {
return(true);
}
return(false);
}
_root.weapon = new Object();
_root.weapon.basicSword = new Object();
_root.weapon.basicSword.des = "Basic Sword: A run of the mill blade. 20+ damage.";
_root.weapon.basicSword.wepType = "Sword";
_root.weapon.basicSword.str = 20;
_root.weapon.basicSword.price = 1;
_root.weapon.basicSword.affinity = "none";
_root.weapon.classicSword = new Object();
_root.weapon.classicSword.des = "Classic Sword: A classic sword used by most warriors. 25+ damage.";
_root.weapon.classicSword.wepType = "Sword";
_root.weapon.classicSword.str = 25;
_root.weapon.classicSword.price = 50;
_root.weapon.classicSword.affinity = "none";
_root.weapon.angleSword = new Object();
_root.weapon.angleSword.des = "Angle Sword: A uniquely designed blade that gives moderate damage. 40+ damage.";
_root.weapon.angleSword.wepType = "Sword";
_root.weapon.angleSword.str = 40;
_root.weapon.angleSword.price = 250;
_root.weapon.angleSword.affinity = "none";
_root.weapon.dualSword = new Object();
_root.weapon.dualSword.des = "Dual Sword: A blend of two blades for extra damage. 60+ damage.";
_root.weapon.dualSword.wepType = "Sword";
_root.weapon.dualSword.str = 60;
_root.weapon.dualSword.price = 750;
_root.weapon.dualSword.affinity = "none";
_root.weapon.kingSword = new Object();
_root.weapon.kingSword.des = "King Sword: A well crafted sword worthy of a king. 100+ damage.";
_root.weapon.kingSword.wepType = "Sword";
_root.weapon.kingSword.str = 100;
_root.weapon.kingSword.price = 2000;
_root.weapon.kingSword.affinity = "none";
_root.weapon.basicAxe = new Object();
_root.weapon.basicAxe.des = "Basic Axe: A run of the mill axe. 25+ damage.";
_root.weapon.basicAxe.wepType = "Axe";
_root.weapon.basicAxe.str = 25;
_root.weapon.basicAxe.price = 1;
_root.weapon.basicAxe.affinity = "none";
_root.weapon.classicAxe = new Object();
_root.weapon.classicAxe.des = "Classic Axe: A general axe. 30+ damage.";
_root.weapon.classicAxe.wepType = "Axe";
_root.weapon.classicAxe.str = 30;
_root.weapon.classicAxe.price = 100;
_root.weapon.classicAxe.affinity = "none";
_root.weapon.dawnAxe = new Object();
_root.weapon.dawnAxe.des = "Dawn Axe: A uniquely designed blade that gives moderate damage. 50+ damage.";
_root.weapon.dawnAxe.wepType = "Axe";
_root.weapon.dawnAxe.str = 250;
_root.weapon.dawnAxe.price = 250;
_root.weapon.dawnAxe.affinity = "none";
_root.weapon.duskAxe = new Object();
_root.weapon.duskAxe.des = "Dusk Axe: A blend of two blades for extra damage. 70+ damage.";
_root.weapon.duskAxe.wepType = "Axe";
_root.weapon.duskAxe.str = 70;
_root.weapon.duskAxe.price = 750;
_root.weapon.duskAxe.affinity = "none";
_root.weapon.lordAxe = new Object();
_root.weapon.lordAxe.des = "Lord Axe: A well crafted sword worthy of a king. 130+ damage.";
_root.weapon.lordAxe.wepType = "Axe";
_root.weapon.lordAxe.str = 130;
_root.weapon.lordAxe.price = 2000;
_root.weapon.lordAxe.affinity = "none";
_root.weapon.omegaAxe = new Object();
_root.weapon.omegaAxe.des = "Omega Axe: A powerful axe of unknown origins. Does extra damage to dark foes. 200+ damage.";
_root.weapon.omegaAxe.wepType = "Axe";
_root.weapon.omegaAxe.str = 200;
_root.weapon.omegaAxe.price = 3000;
_root.weapon.omegaAxe.affinity = "Light";
_root.weapon.basicKnife = new Object();
_root.weapon.basicKnife.des = "Basic Knife: A run of the mill short blade. 15+ damage.";
_root.weapon.basicKnife.wepType = "Knife";
_root.weapon.basicKnife.str = 15;
_root.weapon.basicKnife.price = 1;
_root.weapon.basicKnife.affinity = "none";
_root.weapon.stealthKnife = new Object();
_root.weapon.stealthKnife.des = "Stealth Knife: A special knife designed for stealth missions. 20+ damage.";
_root.weapon.stealthKnife.wepType = "Knife";
_root.weapon.stealthKnife.str = 20;
_root.weapon.stealthKnife.price = 100;
_root.weapon.stealthKnife.affinity = "none";
_root.weapon.sharpKnife = new Object();
_root.weapon.sharpKnife.des = "Sharp Knife: Sharp knife used for clean kills. 35+ damage.";
_root.weapon.sharpKnife.wepType = "Knife";
_root.weapon.sharpKnife.str = 35;
_root.weapon.sharpKnife.price = 250;
_root.weapon.sharpKnife.affinity = "none";
_root.weapon.quickKnife = new Object();
_root.weapon.quickKnife.des = "Quickdraw Blade: A special knife that can take your foe by surprise. 55+ damage.";
_root.weapon.quickKnife.wepType = "Knife";
_root.weapon.quickKnife.str = 55;
_root.weapon.quickKnife.price = 750;
_root.weapon.quickKnife.affinity = "none";
_root.weapon.scalperKnife = new Object();
_root.weapon.scalperKnife.des = "Manic Scalper Knife: The title seems self explanatory enough. Definetly a nasty blade. 75+ damage.";
_root.weapon.scalperKnife.wepType = "Knife";
_root.weapon.scalperKnife.str = 75;
_root.weapon.scalperKnife.price = 2000;
_root.weapon.scalperKnife.affinity = "none";
_root.weapon.basicWand = new Object();
_root.weapon.basicWand.des = "Basic Wand: A small yet effective wand. 15+ magic damage.";
_root.weapon.basicWand.wepType = "Wand";
_root.weapon.basicWand.str = 15;
_root.weapon.basicWand.price = 1;
_root.weapon.basicWand.affinity = "none";
_root.weapon.bloodWand = new Object();
_root.weapon.bloodWand.des = "Blood Wand: A offensive and dangerous magical weapon. 25+ magic damage.";
_root.weapon.bloodWand.wepType = "Wand";
_root.weapon.bloodWand.str = 25;
_root.weapon.bloodWand.price = 100;
_root.weapon.bloodWand.affinity = "none";
_root.weapon.stormWand = new Object();
_root.weapon.stormWand.des = "Storm Wand: A wand that harnesses the power of a storm. 50+ magic damage.";
_root.weapon.stormWand.wepType = "Wand";
_root.weapon.stormWand.str = 50;
_root.weapon.stormWand.price = 250;
_root.weapon.stormWand.affinity = "none";
_root.weapon.deathWand = new Object();
_root.weapon.deathWand.des = "Death Wand: A wand that signifies death. 80+ magic damage.";
_root.weapon.deathWand.wepType = "Wand";
_root.weapon.deathWand.str = 80;
_root.weapon.deathWand.price = 750;
_root.weapon.deathWand.affinity = "none";
_root.weapon.supremeWand = new Object();
_root.weapon.supremeWand.des = "Supreme Wand: A rare and powerful wand. 150+ magic damage.";
_root.weapon.supremeWand.wepType = "Wand";
_root.weapon.supremeWand.str = 150;
_root.weapon.supremeWand.price = 2000;
_root.weapon.supremeWand.affinity = "none";
_root.weapon.basicStaff = new Object();
_root.weapon.basicStaff.des = "Basic Staff: A white wooden staff. 15+ magic damage.";
_root.weapon.basicStaff.wepType = "Staff";
_root.weapon.basicStaff.str = 15;
_root.weapon.basicStaff.price = 1;
_root.weapon.basicStaff.affinity = "none";
_root.weapon.powerStaff = new Object();
_root.weapon.powerStaff.des = "Power Staff: A staff with a power crystal. 20+ magic damage.";
_root.weapon.powerStaff.wepType = "Staff";
_root.weapon.powerStaff.str = 20;
_root.weapon.powerStaff.price = 100;
_root.weapon.powerStaff.affinity = "none";
_root.weapon.energyStaff = new Object();
_root.weapon.energyStaff.des = "Energy Staff: A staff with a energy crystal. 40+ magic damage.";
_root.weapon.energyStaff.wepType = "Staff";
_root.weapon.energyStaff.str = 40;
_root.weapon.energyStaff.price = 250;
_root.weapon.energyStaff.affinity = "none";
_root.weapon.eliteStaff = new Object();
_root.weapon.eliteStaff.des = "Elite Staff: A staff used by the elite casters. 60+ magic damage.";
_root.weapon.eliteStaff.wepType = "Staff";
_root.weapon.eliteStaff.str = 60;
_root.weapon.eliteStaff.price = 750;
_root.weapon.eliteStaff.affinity = "none";
_root.weapon.warlordStaff = new Object();
_root.weapon.warlordStaff.des = "Warlord Staff: A rare and powerful staff. 100+ magic damage.";
_root.weapon.warlordStaff.wepType = "Staff";
_root.weapon.warlordStaff.str = 100;
_root.weapon.warlordStaff.price = 2000;
_root.weapon.warlordStaff.affinity = "none";
_root.weapon.basicMace = new Object();
_root.weapon.basicMace.des = "Basic Mace: A powerful blunt weapon. 30+ damage.";
_root.weapon.basicMace.wepType = "Mace";
_root.weapon.basicMace.str = 30;
_root.weapon.basicMace.price = 1;
_root.weapon.basicMace.affinity = "none";
_root.weapon.smasherMace = new Object();
_root.weapon.smasherMace.des = "Smasher Mace : A mace that was designed for smashing. Smashing of what is not specified. 40+ damage.";
_root.weapon.smasherMace.wepType = "Mace";
_root.weapon.smasherMace.str = 40;
_root.weapon.smasherMace.price = 100;
_root.weapon.smasherMace.affinity = "none";
_root.weapon.grinderMace = new Object();
_root.weapon.grinderMace.des = "Grinder Mace: Is like sticking your foes brain in a meat grinder. 60+ damage.";
_root.weapon.grinderMace.wepType = "Mace";
_root.weapon.grinderMace.str = 60;
_root.weapon.grinderMace.price = 250;
_root.weapon.grinderMace.affinity = "none";
_root.weapon.killerMace = new Object();
_root.weapon.killerMace.des = "Killer Mace: Getting this baby out on a first date would definetly be a mood killer. 80+ damage.";
_root.weapon.killerMace.wepType = "Mace";
_root.weapon.killerMace.str = 80;
_root.weapon.killerMace.price = 750;
_root.weapon.killerMace.affinity = "none";
_root.weapon.destroyerMace = new Object();
_root.weapon.destroyerMace.des = "Destroyer Mace: Careful with this one, anything this baby touches ends up on a one way trip to hell. 150+ damage.";
_root.weapon.destroyerMace.wepType = "Mace";
_root.weapon.destroyerMace.str = 150;
_root.weapon.destroyerMace.price = 2000;
_root.weapon.destroyerMace.affinity = "none";
_root.weapon.basicGun = new Object();
_root.weapon.basicGun.des = "Basic Gun: A ranged weapon. 20+ damage.";
_root.weapon.basicGun.wepType = "Gun";
_root.weapon.basicGun.str = 20;
_root.weapon.basicGun.price = 1;
_root.weapon.basicGun.affinity = "none";
_root.weapon.hunterGun = new Object();
_root.weapon.hunterGun.des = "Hunter Rifle: An advanced weapon for hunting. 25+ damage.";
_root.weapon.hunterGun.wepType = "Gun";
_root.weapon.hunterGun.str = 25;
_root.weapon.hunterGun.price = 50;
_root.weapon.hunterGun.affinity = "none";
_root.weapon.techGun = new Object();
_root.weapon.techGun.des = "Tech MX18 Blaster: Modified Hunter rifle for maximum output. 40+ damage.";
_root.weapon.techGun.wepType = "Gun";
_root.weapon.techGun.str = 40;
_root.weapon.techGun.price = 250;
_root.weapon.techGun.affinity = "none";
_root.weapon.energyGun = new Object();
_root.weapon.energyGun.des = "Energy Rifle: A general Energy Rifle used by most advanced soldiers under the banner of the Druk Ka'an. 100+ damage.";
_root.weapon.energyGun.wepType = "Gun";
_root.weapon.energyGun.str = 100;
_root.weapon.energyGun.price = 750;
_root.weapon.energyGun.affinity = "none";
_root.weapon.plasmaGun = new Object();
_root.weapon.plasmaGun.des = "Plasma Rifle: Elite weapon only used by those who can handle an Energy Rifle efficiently. 130+ damage.";
_root.weapon.plasmaGun.wepType = "Gun";
_root.weapon.plasmaGun.str = 130;
_root.weapon.plasmaGun.price = 2500;
_root.weapon.plasmaGun.affinity = "none";
_root.weapon.lifeSaber = new Object();
_root.weapon.lifeSaber.des = "Life Saber: A light and effective Saber. 60+ damage.";
_root.weapon.lifeSaber.wepType = "Saber";
_root.weapon.lifeSaber.str = 60;
_root.weapon.lifeSaber.price = 500;
_root.weapon.lifeSaber.affinity = "none";
_root.weapon.deathSaber = new Object();
_root.weapon.deathSaber.des = "Death Saber: Cleanly slices through wave after wave of enemies, guaranteed. Terms and conditions may apply. 80+ damage.";
_root.weapon.deathSaber.wepType = "Saber";
_root.weapon.deathSaber.str = 80;
_root.weapon.deathSaber.price = 700;
_root.weapon.deathSaber.affinity = "none";
_root.weapon.natureSaber = new Object();
_root.weapon.natureSaber.des = "Nature Saber: Powered by an organic crystal. This saber is alive! 110+ damage.";
_root.weapon.natureSaber.wepType = "Saber";
_root.weapon.natureSaber.str = 110;
_root.weapon.natureSaber.price = 1250;
_root.weapon.natureSaber.affinity = "none";
_root.weapon.plasmaSaber = new Object();
_root.weapon.plasmaSaber.des = "Plasma Saber: A very effective energy source for a power weapon is plasma. This saber will blow your mind. 200+ damage.";
_root.weapon.plasmaSaber.wepType = "Saber";
_root.weapon.plasmaSaber.str = 200;
_root.weapon.plasmaSaber.price = 2500;
_root.weapon.plasmaSaber.affinity = "none";
_root.weapon.lethal = new Object();
_root.weapon.lethal.des = "Jagged Edge: Lethal's powerful blade. 50+ damage.";
_root.weapon.lethal.wepType = "Sword";
_root.weapon.lethal.str = 50;
_root.weapon.lethal.price = 0;
_root.weapon.lethal.affinity = "none";
_root.weapon.ultima = new Object();
_root.weapon.ultima.des = "Ultimate Blade: It's over nine thousand!. 9001+ damage.";
_root.weapon.ultima.wepType = "Sword";
_root.weapon.ultima.str = 9001;
_root.weapon.ultima.price = 0;
_root.weapon.ultima.affinity = "none";
_root.quests = new Array();
var i = 1;
while (i < 13) {
_root.quests[i] = new Object();
_root.quests[i].questName = "None";
_root.quests[i].questDes = "A quest can be added to this spot. Look around and talk to people or check out a quest giver shop.";
_root.quests[i].questTitle = "Empty Quest Slot";
_root.quests[i].questObjective = [0, 1];
i++;
}
_root.quests[1].questName = "P1";
_root.quests[1].questDes = "You have been called forth from resting for a special mission. You must find a man dressed in green robes who is located in the southern region of Bunker Town.";
_root.quests[1].questTitle = "A New Destiny Awaits";
_root.quests[1].questObjective = [0, 1];
_root.jobs1 = new Array();
_root.jobs2 = new Array();
_root.jobs3 = new Array();
var i = 1;
while (i < 13) {
var f = 1;
while (f < 4) {
_root["jobs" + f][i] = new Object();
_root["jobs" + f][i].questName = "None";
_root["jobs" + f][i].questDes = "A quest can be added to this spot. Look around and talk to people or check out a quest giver shop.";
_root["jobs" + f][i].questTitle = "Empty Quest Slot";
_root["jobs" + f][i].questObjective = [0, 1];
f++;
}
i++;
}
_root.jobs1[1].questName = "Job1";
_root.jobs1[1].questDes = "Farmer Jim needs you to kill all the werewolves attacking his farm. It should be north east of the town.";
_root.jobs1[1].questTitle = "A Howling Good Time";
_root.jobs1[1].questObjective = [0, 5, "Head back over to the job building for your reward"];
_root.chosenWolf = 0;
_root.wolves = new Array();
i = 0;
while (i < 5) {
_root.wolves[i] = false;
i++;
}
_root.jobs1[2].questName = "Job2";
_root.jobs1[2].questDes = "Louis the Supplies Dealer for the town needs his shipment of goods. The ship that carried the goods here crashed on the reef and the shipment has washed a shore. Scout the beach south of town and return the shipment.";
_root.jobs1[2].questTitle = "All Washed Up.";
_root.jobs1[2].questObjective = [0, 1, "Head back over to the quest building for your reward"];
_root.jobs1[3].questName = "Job3";
_root.jobs1[3].questDes = "We have wonderful beaches in Falan. However with the Fish Men claiming the beaches as their own territory, it makes the beach a very dangerous place. Drive them back into the see by killing 10 of their people. That'll teach em.";
_root.jobs1[3].questTitle = "They come for our Beaches.";
_root.jobs1[3].questObjective = [0, 10, "Head back over to the quest building for your reward"];
_root.jobs2[1].questName = "Job4";
_root.jobs2[1].questDes = "For such a small town with little to defend itself, it can be hard to survive when bandits keep stealing the towns supplies. Kill 10 Bandits to help us out.";
_root.jobs2[1].questTitle = "Bandit Raiders";
_root.jobs2[1].questObjective = [0, 10, "Head back to Zyte for your reward."];
_root.jobs2[2].questName = "Job5";
_root.jobs2[2].questDes = "John Johnson, the towns wine seller has an important wine bottle to be delivered however the courier's around these parts often get robbed so he would like you to deliver it for him. The only problem is the person he wants it to be delivered to is a traveller and moves from town to town. Her name is Kylie Dawson. Ask around and you should be able to track her down. She was last seen in Bunker Town.";
_root.jobs2[2].questTitle = "The Travellers Beverage";
_root.jobs2[2].questObjective = [0, 1, "Head back to Zyte for your reward."];
_root.jobs3[1].questName = "Job6";
_root.jobs3[1].questDes = "A Childs Teddy is missing!!! It is somewhere in Ice Vault, find it to collect your reward.";
_root.jobs3[1].questTitle = "Teddy Again";
_root.jobs3[1].questObjective = [0, 1, "Head back to Ice Vault for your reward."];
_root.jobs3[2].questName = "Job7";
_root.jobs3[2].questDes = "Explorer and tomb raider, Jones Smith, has not come home for a week. The last anyone heard from him he said he was going to search a tomb that is north east of Ice Vault. If you can find out what has happened to him, you can collect the reward.";
_root.jobs3[2].questTitle = "Temple of Doom";
_root.jobs3[2].questObjective = [0, 1, "Head back to Ice Vault for your reward."];
_root.jobs3[3].questName = "Job8";
_root.jobs3[3].questDes = "Ice Elementals are growing in numbers by the hundreds due to the current cold weather. Kill 15 and you will be doing us all a favour, regards Mayor Quimby.";
_root.jobs3[3].questTitle = "Shivering Masses";
_root.jobs3[3].questObjective = [0, 15, "Head back to Ice Vault for your reward."];
_root.hesDead = true;
_root.armor = new Object();
_root.armor.knight = new Object();
_root.armor.knight.des = "<b>Classic Knight Armor</b>: Starting armor of a knight. Armor: +1, Bonus: +5 Strength";
_root.armor.knight.armor = 1;
_root.armor.knight.str = 5;
_root.armor.knight.magic = 0;
_root.armor.knight.health = 0;
_root.armor.knight.price = 10;
_root.armor.rogue = new Object();
_root.armor.rogue.des = "<b>Classic Rogue Armor</b>: Starting armor of a rogue. Armor: +1, Bonus: +10 Health";
_root.armor.rogue.armor = 1;
_root.armor.rogue.str = 0;
_root.armor.rogue.magic = 0;
_root.armor.rogue.health = 10;
_root.armor.rogue.price = 10;
_root.armor.warlock = new Object();
_root.armor.warlock.des = "<b>Classic warlock Gear</b>: Starting armor of a warlock. Armor: +1, Bonus: +10 Magic";
_root.armor.warlock.armor = 1;
_root.armor.warlock.str = 0;
_root.armor.warlock.magic = 10;
_root.armor.warlock.health = 0;
_root.armor.warlock.price = 10;
_root.armor.mage = new Object();
_root.armor.mage.des = "<b>Classic Mage Clothes</b>: Starting armor of a mage. Armor: +1, Bonus: +10 Magic";
_root.armor.mage.armor = 1;
_root.armor.mage.str = 0;
_root.armor.mage.magic = 10;
_root.armor.mage.health = 0;
_root.armor.mage.price = 100;
_root.armor.arcWarrior = new Object();
_root.armor.arcWarrior.des = "<b>Arcane Warrior Armor</b>: Warrior armor imbued with arcane magic. Armor: +2, Bonus: +10 Strength";
_root.armor.arcWarrior.armor = 2;
_root.armor.arcWarrior.str = 10;
_root.armor.arcWarrior.magic = 0;
_root.armor.arcWarrior.health = 0;
_root.armor.arcWarrior.price = 250;
_root.armor.arcMage = new Object();
_root.armor.arcMage.des = "<b>Arcane Mage Clothes</b>: Mage clothes imbued with arcane magic. Armor: +2, Bonus: +10 Magic";
_root.armor.arcMage.armor = 2;
_root.armor.arcMage.str = 0;
_root.armor.arcMage.magic = 10;
_root.armor.arcMage.health = 0;
_root.armor.arcMage.price = 250;
_root.armor.lethal = new Object();
_root.armor.lethal.armor = 2;
_root.armor.lethal.str = 10;
_root.armor.lethal.magic = 5;
_root.armor.lethal.health = 10;
_root.armor.lethal.des = ((((((("<b>Lethals Armor</b>: Lethal's ever evolving armor. Armor: +" + _root.armor.lethal.armor) + ", Bonus: +") + _root.armor.lethal.str) + " Strength, +") + _root.armor.lethal.magic) + " Magic, +") + _root.armor.lethal.health) + " Health.";
_root.armor.holyKnight = new Object();
_root.armor.holyKnight.des = "<b>Holy Knight Armor</b>: The ultimate knight armor. Armor: +15, Bonus: +15 Strength, +15 Health.";
_root.armor.holyKnight.armor = 15;
_root.armor.holyKnight.str = 15;
_root.armor.holyKnight.magic = 0;
_root.armor.holyKnight.health = 15;
_root.armor.holyKnight.price = 5000;
_root.armor.advWarrior = new Object();
_root.armor.advWarrior.des = "<b>Advanced Protection Armor</b>: Armor designed purely for protection from attacks. Armor: +7. Bonus: +5 Health.";
_root.armor.advWarrior.armor = 7;
_root.armor.advWarrior.str = 0;
_root.armor.advWarrior.magic = 0;
_root.armor.advWarrior.health = 0;
_root.armor.advWarrior.price = 750;
_root.armor.advSaver = new Object();
_root.armor.advSaver.des = "<b>Advanced Stamina Armor</b>: Armor designed purely for increasing your stamina. Armor: +3. Bonus: +20 Health.";
_root.armor.advSaver.armor = 3;
_root.armor.advSaver.str = 0;
_root.armor.advSaver.magic = 0;
_root.armor.advSaver.health = 20;
_root.armor.advSaver.price = 850;
_root.armor.dynasty = new Object();
_root.armor.dynasty.des = "<b>Mystic Dynasty Armor</b>: Special Armor that gives an array of bonuses. Armor: +2. Bonus: +10 Health, 10+ Strength, 10+ Magic.";
_root.armor.dynasty.armor = 2;
_root.armor.dynasty.str = 10;
_root.armor.dynasty.magic = 10;
_root.armor.dynasty.health = 10;
_root.armor.dynasty.price = 500;
_root.spells = new Object();
_root.spells.aid = [false, "First Aid", "Heals 10%-50% per use. [10 mana]", 10];
_root.spells.burst = [false, "Chi Burst", "Injure your enemy for the amount of mana you have remaining. [50% remaining mana]", 2];
_root.spells.handicap = [false, "Handicap", "Inflict 90% damage on yourself to gain an extra 50% XP for all at the end of battle. A second use will not have any effect. [0 mana]", 0];
_root.spells.switched = [true, "Character Switch", "Switch with another character on your team. [0 mana]", 0];
_root.spells.knight1 = [true, "Combo", "Chain a combo of hits on your enemy. [10 mana]", 10];
_root.spells.knight2 = [true, "Eternal Strength", "Boost you attack strength for 3 rounds. [10 mana]", 10];
_root.spells.knight3 = [false, "Bleeding", "Strike enemy twice and instantly cause wound. [20 mana]", 20];
_root.spells.knight4 = [false, "Champions Reign", "A highly Damaging attack that does 600 damage plus all additional damage. [50 mana]", 50];
_root.spells.rogue1 = [true, "Thief", "Steal money from your opponent. [5 mana]", 5];
_root.spells.rogue2 = [true, "Finisher", "If your opponents health is below 40%, instantly kill them. This does not work on bosses. [10 mana]", 10];
_root.spells.rogue3 = [false, "Stealth", "Become invisible so the enemies chance to hit is low. [25 mana]", 25];
_root.spells.rogue4 = [false, "Lightning Strike", "A powerful move aquired by the best of the best. 400+ damage and stuns the foe. [40 mana]", 40];
_root.spells.mage1 = [true, "Elemental Barrage", "Attack your enemy with their elemental weakness. Ineffective against element neutral foes. [5 mana]", 5];
_root.spells.mage2 = [true, "Rise", "Bring back a fallen ally. They will return with 50% health [100% mana]", 1];
_root.spells.mage3 = [false, "Heavenly Light", "Heal all of your group members for 50% health. [30 mana]", 30];
_root.spells.mage4 = [false, "Cyclone", "Call forth a fearsome storm on your foe. [50 mana]", 50];
_root.spells.warlock1 = [true, "Darkness", "Inflict forbidden magic damage on your foe. Ineffective against dark elemental foes [5 mana]", 5];
_root.spells.warlock2 = [true, "Sickness", "Causes your foe to suffer from a deadly illness. Takes 10% health every turn. [10 mana]", 10];
_root.spells.warlock3 = [false, "Pain", "Cause your foe to suffer from agonizing pain, combines with Sickness for bonus damage. [30 mana]", 30];
_root.spells.warlock4 = [false, "Rise of the Immortal", "Summon an undead warlord to crush your enemies. [50 mana]", 50];
function findHub() {
i = 0;
while (i < _root.towns.length) {
if (_root.general.hub == _root.towns[i]) {
return(i);
}
i++;
}
}
_root.locations = new Object();
_root.locations.town1 = true;
_root.locations.town2 = false;
_root.locations.town3 = false;
_root.locations.ruins1 = false;
_root.locations.ruins2 = false;
_root.locations.check1 = false;
_root.locations.southtropics3 = false;
_root.towns = ["", "town1", "town2", "ruins1", "town3", "ruins2", "check1", "southtropics3"];
_root.townx = [0, -358.9, 507.1, -256.9, 661.05, 593.05, -239.9, 542.05];
_root.towny = [0, -546.5, -222, -138.5, -288, 233.5, 241, 708.5];
_root.element = new Object();
_root.element.Fire = ["Nature", "Water"];
_root.element.Nature = ["Water", "Fire"];
_root.element.Water = ["Fire", "Nature"];
_root.element.Dark = ["Light", "Light"];
_root.element.Light = ["Dark", "Dark"];
_root.element.Ice = ["Mechanical", "Electricity"];
_root.element.Electricity = ["Ice", "Mechanical"];
_root.element.Mechanical = ["Electricity", "Ice"];
_root.element.Neutral = ["Nothing", "Nothing"];
_root.element.Nothing = ["Nothing", "Nothing"];
function loadGame(slots) {
user_so = SharedObject.getLocal(slots);
_root.locations = user_so.data.locations;
_root.spells = user_so.data.spells;
_root.pet = user_so.data.pet;
_root.general = user_so.data.general;
_root.current = user_so.data.current;
_root.curSituation = user_so.data.curSituation;
_root.actualstr = user_so.data.actualstr;
_root.ruins2allowed = user_so.data.ruins2allowed;
_root.orbObtained = user_so.data.orbObtained;
_root.guardianDead = user_so.data.guardianDead;
_root.endGame = user_so.data.endGame;
_root.portalOpen = user_so.data.portalOpen;
_root.locate = user_so.data.locate;
_root.arrayOfPlp = user_so.data.arrayOfPlp;
_root.char1 = user_so.data.char1;
_root.char2 = user_so.data.char2;
_root.char3 = user_so.data.char3;
_root.inventoryItem = user_so.data.inventoryItem;
_root.keyItem = user_so.data.keyItem;
_root.quests = user_so.data.quests;
_root.jobs1 = user_so.data.jobs1;
_root.jobs2 = user_so.data.jobs2;
_root.jobs3 = user_so.data.jobs3;
_root.mapx = user_so.data.mapx;
_root.mapy = user_so.data.mapy;
_root.area = user_so.data.area;
_root.weapon.lethal = user_so.data.lethalWep;
_root.armor.lethal = user_so.data.lethalArm;
_root.alters = user_so.data.alters;
user_so.flush();
}
function saveGame() {
user_so = SharedObject.getLocal(_root.save_slot);
user_so.data.locations = _root.locations;
user_so.data.spells = _root.spells;
user_so.data.general = new Object();
user_so.data.general = _root.general;
user_so.data.pet = new Object();
user_so.data.pet = _root.pet;
user_so.data.current = _root.current;
user_so.data.curSituation = _root.curSituation;
user_so.data.actualstr = _root.actualstr;
user_so.data.ruins2allowed = _root.ruins2allowed;
user_so.data.orbObtained = _root.orbObtained;
user_so.data.guardianDead = _root.guardianDead;
user_so.data.endGame = _root.endGame;
user_so.data.portalOpen = _root.portalOpen;
user_so.data.locate = _root.locate;
user_so.data.arrayOfPlp = _root.arrayOfPlp;
user_so.data.char1 = new Object();
user_so.data.char1 = _root.char1;
user_so.data.char2 = new Object();
user_so.data.char2 = _root.char2;
user_so.data.char3 = new Object();
user_so.data.char3 = _root.char3;
user_so.data.inventoryItem = new Array();
user_so.data.inventoryItem = _root.inventoryItem;
user_so.data.keyItem = new Array();
user_so.data.keyItem = _root.keyItem;
user_so.data.quests = new Array();
user_so.data.quests = _root.quests;
user_so.data.jobs1 = new Array();
user_so.data.jobs1 = _root.jobs1;
user_so.data.jobs2 = new Array();
user_so.data.jobs2 = _root.jobs2;
user_so.data.jobs3 = new Array();
user_so.data.jobs3 = _root.jobs3;
user_so.data.lethalWep = new Object();
user_so.data.lethalWep = _root.weapon.lethal;
user_so.data.lethalArm = new Object();
user_so.data.lethalArm = _root.armor.lethal;
user_so.data.alters = new Array();
user_so.data.alters = _root.alters;
user_so.flush();
}
function chestCode(type, numbers) {
_root.chests[numbers] = true;
if (type == "random") {
randy = random(6);
if ((randy == 0) || (randy == 1)) {
amount = random(50) + 25;
_root.general.money = _root.general.money + amount;
mess = [((("You have found $" + amount) + " money. You now have $") + _root.general.money) + "."];
} else if ((randy == 2) || (randy == 3)) {
randish = random(6);
potionType = ["Small Potion", "Medium Potion", "Strong Potion", "Magic Potion", "Cure Potion", "Defence Potion"];
potionDes = ["Small Potion: Heals the user for 100HP.", "Medium Potion: Heals the user for 1000HP.", "Strong Potion: Heals the user for All HP.", "Magic Potion: Restores all of your magic", "Cure Potion: Cures Sickness and poison", "Defence Potion: Defend against the next attack in battle"];
prices = [10, 100, 250, 250, 100, 300];
amount = random(3) + 1;
if (_root.addNewPotion(potionType[randish], potionDes[randish], "Potion", amount, prices[randish])) {
mess = [(((("You have found " + amount) + " ") + potionType[randish]) + "/s. ") + potionDes[randish]];
} else {
mess = ["You can not carry anymore!"];
_root.chests[numbers] = false;
}
} else if (randy == 4) {
armors = ["dynasty", "advWarrior", "advSaver", "arcWarrior", "arcMage"];
limbs = ["torso", "hands", "legs", "feet"];
theArmor = armors[random(5)];
theLimb = limbs[random(4)];
if (_root.addNewItem(theArmor, _root.armor[theArmor].des, "Armor", theLimb, _root.armor[theArmor].price)) {
mess = ["You have found armor. " + _root.armor[theArmor].des];
} else {
mess = ["You can not carry anymore!"];
_root.chests[numbers] = false;
}
} else if (randy == 5) {
weapons = ["angleSword", "classicSword", "dawnAxe", "classicAxe", "stealthKnife", "quickKnife", "bloodWand", "stormWand", "powerStaff", "energyStaff", "smasherMace", "grinderMace"];
theWeapon = weapons[random(weapons.length - 1)];
if (_root.addNewItem(theWeapon, _root.weapon[theWeapon].des, "Weapon", _root.weapon[theWeapon].wepType, int(_root.weapon[theWeapon].price * 0.5))) {
mess = [(("You have found a " + _root.weapon[theWeapon].wepType) + ". ") + _root.weapon[theWeapon].des];
} else {
mess = ["You can not carry anymore!"];
_root.chests[numbers] = false;
}
}
} else if (type == "axe") {
_root.addNewItem("omegaAxe", _root.weapon.omegaAxe.des, "Weapon", _root.weapon.omegaAxe.wepType, int(_root.weapon.omegaAxe.price * 0.5));
mess = ["You used the cresnt moon key on the chest. You have found a very special item. It is a mystic axe. " + _root.weapon.omegaAxe.des];
} else if (type == "key") {
addNewKey("Chest Key", "Cresent Moon Key: This key belongs to a chest with the symbol of a cresent moon.", "none");
mess = ["You have found a key with a cresent moon symbol. I suppose it opens another chest."];
}
_root.talkActivate(mess, "general", extra);
}
_root.chests = new Array();
var i = 0;
while (i < 100) {
_root.chests[i] = false;
i++;
}
_root.chatCount = new Array();
_root.theMix = "mix1";
_root.current = 1;
_root.curSituation = "Adventure";
_root.actualstr = 0;
_root.ruins2allowed = false;
_root.orbObtained = false;
_root.guardianDead = false;
_root.endGame = false;
_root.newGame = false;
_root.portalOpen = 0;
_root.locate = 1;
_root.arrayOfPlp = [10, 19, 10];
_root.general = new Object();
_root.general.money = 100;
_root.general.hunter = 0;
_root.general.slotsAvailable = 24;
_root.general.onQuests = 1;
_root.general.hub = "town1";
_root.general.rank = 25;
_root.general.playMusic = true;
_root.general.pAttack = true;
_root.general.challenge = false;
_root.pet = new Object();
_root.pet.Goblin1 = ["Goblin1", 25, 100, false, "Slave Goblin", "Slave Goblin has an attack of 25."];
_root.pet.Goblin2 = ["Goblin2", 75, 750, false, "Berserker Goblin", "Berserker Goblin has an attack of 75."];
_root.pet.Goblin3 = ["Goblin3", 100, 2000, false, "War Goblin", "War Goblin has an attack of 100. Strong against evil foes."];
_root.pet.Dog1 = ["Dog1", 15, 50, false, "Greyhound", "Greyhound has an attack of 15. Strong against neutral foes."];
_root.pet.Dog2 = ["Dog2", 50, 750, false, "Snow Wolf", "Snow Wolf has an attack of 50. Strong against flame foes"];
_root.pet.Dog3 = ["Dog3", 150, 2000, false, "Demon Hound", "Demon Hound has an attack of 150."];
_root.pet.Bird1 = ["Bird1", 15, 50, false, "Hawk", "Hawk has an attack of 15. Strong against Bandits."];
_root.pet.Bird2 = ["Bird2", 50, 750, false, "Battle Hawk", "Battle Hawk has an attack of 50. Strong against Wolf Men"];
_root.pet.Bird3 = ["Bird3", 125, 2000, false, "Elite Eagle", "Elite Eagle has an attack of 125. Stong agains Bandits and Ice Elementals"];
_root.pet.none = ["none", 0, 0, false, "No Pet"];
_root.pet.species = "none";
_root.pet.select = "none";
_root.alters = new Array();
var i = 0;
while (i < 10) {
_root.alters[i] = false;
i++;
}
_root.inventoryItem = new Array();
var i = 0;
while (i < 25) {
_root.inventoryItem[i] = new Object();
_root.inventoryItem[i].itemName = "None";
_root.inventoryItem[i].itemNo = 0;
_root.inventoryItem[i].itemDes = "Empty Slot";
_root.inventoryItem[i].itemType = "None";
_root.inventoryItem[i].itemSell = 0;
i++;
}
_root.inventoryItem[1].itemName = "Small Potion";
_root.inventoryItem[1].itemNo = 10;
_root.inventoryItem[1].itemDes = "Small Potion: Heals the user for 100HP.";
_root.inventoryItem[1].itemType = "Potion";
_root.inventoryItem[1].itemSell = 10;
_root.inventoryItem[0].itemName = "Portal Fragment";
_root.inventoryItem[0].itemNo = 1;
_root.inventoryItem[0].itemDes = "A fragment of the orb used in the teleportation alters. Allows for instant travel back to last visited town.";
_root.inventoryItem[0].itemType = "Portal";
_root.inventoryItem[0].itemSell = 0;
_root.keyItem = new Array();
var i = 0;
while (i < 18) {
_root.keyItem[i] = new Object();
_root.keyItem[i].itemName = "None";
_root.keyItem[i].itemType = "None";
_root.keyItem[i].itemDes = "Empty Slot";
_root.keyItem[i].itemHit = "None";
i++;
}
_root.keyItem[0].itemName = "Lethal Orb";
_root.keyItem[0].itemType = "Key";
_root.keyItem[0].itemDes = "Lethal Orb: Lethals prized posession. It holds Lethals true power and is able to consume demonic power.";
_root.keyItem[0].itemHit = "None";
_root.keyItem[1].itemName = "Broken Jagged Edge";
_root.keyItem[1].itemType = "Key";
_root.keyItem[1].itemDes = "Broken Jagged Edge: I need to do find a way to fix this blade. Maybe if I can find a power orb fragment.";
_root.keyItem[1].itemHit = "None";
i = 1;
while (i < 4) {
_root["char" + i] = new Object();
_root["char" + i].gender = "male";
_root["char" + i].yName = "";
_root["char" + i].hairstyle = 1;
_root["char" + i].eyes = 1;
_root["char" + i].nose = 1;
_root["char" + i].ear = 1;
_root["char" + i].mouth = 1;
_root["char" + i].skincolour = 16707038 /* 0xFEEDDE */;
_root["char" + i].eyecolour = 39372;
_root["char" + i].pantcolour = 0;
_root["char" + i].haircolour = 0;
_root["char" + i].hands = "knight";
_root["char" + i].feet = "knight";
_root["char" + i].legs = "knight";
_root["char" + i].torso = "knight";
_root["char" + i].speed = 25;
_root["char" + i].weapon = "basicSword";
_root["char" + i].shield = 1;
_root["char" + i].yStatus = "normal";
_root["char" + i].Yclass = "knight";
_root["char" + i].race = "human";
_root["char" + i].pointsLeft = 3;
_root["char" + i].defence = 0;
_root["char" + i].XP = 0;
_root["char" + i].leveled = int((_root["char" + i].XP / 100) + 1);
_root["char" + i].lvl = "Level " + _root["char" + i].leveled;
_root["char" + i].str = _root["char" + i].leveled * 7;
_root["char" + i].MaxHealth = _root["char" + i].leveled * 100;
_root["char" + i].MaxMagic = _root["char" + i].leveled * 10;
_root["char" + i].GHealth = _root["char" + i].MaxHealth;
_root["char" + i].GMagic = _root["char" + i].MaxMagic;
i++;
}
_root.char1.karma = 0;
_root.char1.race = "demon";
_root.char1.eyes = "lethal";
_root.char1.torso = "lethal";
_root.char1.legs = "lethal";
_root.char1.hands = "lethal";
_root.char1.feet = "lethal";
_root.char3.gender = "female";
_root.char1.yName = "Lethal";
_root.char2.yName = "Robert";
_root.char3.yName = "Janette";
_root.char3.Yclass = "mage";
_root.char3.torso = "mage";
_root.char3.hands = "mage";
_root.char3.feet = "mage";
_root.char3.legs = "mage";
_root.char3.weapon = "basicStaff";
function addNewItem(itemName, itemDes, itemType, armorPart, itemSell) {
var _local2 = 0;
while (_local2 < _root.general.slotsAvailable) {
if (_root.inventoryItem[_local2].itemName == "None") {
_root.inventoryItem[_local2].itemName = itemName;
_root.inventoryItem[_local2].itemNo = 1;
_root.inventoryItem[_local2].itemDes = itemDes;
_root.inventoryItem[_local2].itemType = itemType;
_root.inventoryItem[_local2].itemSell = itemSell;
_root.inventoryItem[_local2].armorPart = armorPart;
return(true);
}
_local2++;
}
return(false);
}
function addNewPotion(itemName, itemDes, itemType, amount, itemSell) {
var _local2 = 0;
while (_local2 < _root.general.slotsAvailable) {
if (_root.inventoryItem[_local2].itemName == itemName) {
_root.inventoryItem[_local2].itemNo = _root.inventoryItem[_local2].itemNo + amount;
return(true);
}
if (_root.inventoryItem[_local2].itemName == "None") {
_root.inventoryItem[_local2].itemName = itemName;
_root.inventoryItem[_local2].itemNo = amount;
_root.inventoryItem[_local2].itemDes = itemDes;
_root.inventoryItem[_local2].itemType = itemType;
_root.inventoryItem[_local2].itemSell = itemSell;
_root.inventoryItem[_local2].armorPart = itemName;
return(true);
}
_local2++;
}
return(false);
}
function removeAnItem(i) {
var _local2 = i;
while (_local2 < _root.general.slotsAvailable) {
_root.inventoryItem[_local2].itemName = _root.inventoryItem[_local2 + 1].itemName;
_root.inventoryItem[_local2].itemNo = _root.inventoryItem[_local2 + 1].itemNo;
_root.inventoryItem[_local2].itemDes = _root.inventoryItem[_local2 + 1].itemDes;
_root.inventoryItem[_local2].itemType = _root.inventoryItem[_local2 + 1].itemType;
_root.inventoryItem[_local2].itemSell = _root.inventoryItem[_local2 + 1].itemSell;
_root.inventoryItem[_local2].armorPart = _root.inventoryItem[_local2 + 1].armorPart;
_local2++;
}
g = _root.general.slotsAvailable - 1;
_root.inventoryItem[g].itemName = "None";
_root.inventoryItem[g].itemNo = 0;
_root.inventoryItem[g].itemDes = "Empty Slot";
_root.inventoryItem[g].itemType = "None";
_root.inventoryItem[g].itemSell = 0;
}
function sellItem(i) {
_root.general.money = _root.general.money + (_root.inventoryItem[i].itemSell * _root.inventoryItem[i].itemNo);
_root.removeAnItem(i);
}
function addNewKey(itemName, itemDes, itemHit) {
var _local2 = 0;
while (_local2 < 18) {
if (_root.keyItem[_local2].itemName == "None") {
_root.keyItem[_local2].itemName = itemName;
_root.keyItem[_local2].itemType = "Key";
_root.keyItem[_local2].itemDes = itemDes;
_root.keyItem[_local2].itemHit = itemHit;
return(true);
}
_local2++;
}
return(false);
}
function removeKey(itemName) {
var _local3 = 0;
while (_local3 < 18) {
if (_root.keyItem[_local3].itemName == itemName) {
var _local2 = _local3;
while (_local2 < 18) {
_root.keyItem[_local2].itemName = _root.keyItem[_local2 + 1].itemName;
_root.keyItem[_local2].itemType = _root.keyItem[_local2 + 1].itemType;
_root.keyItem[_local2].itemDes = _root.keyItem[_local2 + 1].itemName;
_root.keyItem[_local2].itemHit = _root.keyItem[_local2 + 1].itemName;
_local2++;
}
_root.keyItem[17].itemName = "None";
_root.keyItem[17].itemType = "None";
_root.keyItem[17].itemDes = "Empty Slot";
_root.keyItem[17].itemHit = "None";
return(true);
}
_local3++;
}
return(false);
}
function hasKey(itemName) {
var _local2 = 0;
while (_local2 < 18) {
if (_root.keyItem[_local2].itemName == itemName) {
return(true);
}
_local2++;
}
return(false);
}
function hitMe(type) {
if (type == "guard") {
if (_root.accuracy(20) <= 0) {
_root.main.main.gotoAndPlay("guard");
} else {
_root.main.main.play();
}
}
if (type == "Bguard") {
rand = random(_root["char" + _root.current].speed) - _root.shield;
if (rand < 0) {
rand = 0;
}
if (((rand == 0) || (rand == 1)) && (_root["char" + _root.current].shield >= 1)) {
return("guard");
}
return("hit");
}
if (type == "miss") {
if (_root.general.pAttack) {
if (_root.hitHim == 1) {
return(false);
}
return(true);
}
if (_root.accuracy(30) > 1) {
return(false);
}
return(true);
}
if (type == "Bmiss") {
rand = random(_root["char" + _root.current].speed);
if (rand != 0) {
return(false);
}
return(true);
}
if (type == "dodge") {
if (_root.hitHim == 1) {
_root.enemy.enemy.gotoAndPlay("dodge");
}
}
}
function attack_func(specific) {
_root.actualstr = Number(_root["char" + _root.current].str) + Number(_root.weapon[_root["char" + _root.current].weapon].str);
_root.elementExtra("weapon");
_root.weaponExtra();
_root.battleExtra(specific);
_root.BHealth = _root.BHealth - _root.actualstr;
_root.enemyHP.gotoAndPlay(1);
_root.enemy.enemy.gotoAndPlay("hit");
}
function battleExtra(specific) {
if (specific == "burst") {
_root.actualstr = _root["char" + _root.current].GMagic;
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - int(_root["char" + _root.current].GMagic * 0.5);
} else if (specific == "elemental") {
_root.elementExtra("mage");
} else if (specific == "champion") {
_root.actualstr = _root.actualstr + 600;
} else if (specific == "strike") {
_root.actualstr = _root.actualstr + 400;
_root.Bstatus = "stunned";
} else if (specific == "summon") {
_root.actualstr = _root.actualstr + 600;
} else if (specific == "darkness") {
if (_root.Belement != "Dark") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.35);
}
} else if (specific == "staff") {
_root.actualstr = _root.actualstr - int(_root.actualstr * 0.5);
}
if (_root.strBoost > 0) {
_root.strBoost = _root.strBoost - 1;
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.5);
}
if (_root["char" + _root.current].race == "human") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.1);
}
if (_root["char" + _root.current].race == "orc") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.2);
}
if (_root.isMagicAttack()) {
if (_root["char" + _root.current].race == "zenn") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.1);
}
if (_root["char" + _root.current].race == "elf") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.2);
}
}
}
function Battack_func(types) {
_root.actualstr = _root.Bstr;
if (types == "charged") {
_root.actualstr = int(_root["char" + _root.current].MaxHealth * 0.5);
}
if (types == "ultimate") {
_root.actualstr = int((_root["char" + _root.current].GHealth * 0.8) + 100);
}
if (_root.defencePotion) {
_root.actualstr = 0;
_root.defencePotion = false;
}
if (_root.stealth > 0) {
_root.actualstr = 1;
}
defenced = int(_root.actualstr * (0.01 * _root["char" + _root.current].defence));
_root.actualstr = _root.actualstr - defenced;
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth - _root.actualstr;
_root.goodHP.gotoAndPlay(1);
if (!_root.defencePotion) {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("hit");
} else {
_root.main.shield.play();
}
}
function keyhitter() {
rand = random(4);
if (rand == 0) {
_root.letter = "W";
} else if (rand == 1) {
_root.letter = "A";
} else if (rand == 2) {
_root.letter = "S";
} else if (rand == 3) {
_root.letter = "D";
}
}
function attack_pet_func() {
_root.actualstr = _root.pet[_root.pet.select][1] + int(0.25 * _root["char" + _root.current].str);
_root.pet_special();
_root.BHealth = _root.BHealth - _root.actualstr;
_root.enemyHP.gotoAndPlay(1);
_root.enemy.enemy.gotoAndPlay("hit");
}
function pet_special() {
trace((_root.pet.select + " ") + _root.enemykind);
if ((_root.pet.select == "Goblin3") && (_root.Belement == "Dark")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Dog1") && (_root.Belement == "Neutral")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Dog2") && (_root.Belement == "Fire")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Bird1") && (_root.enemykind == "Bandit")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Bird2") && ((_root.enemykind == "Wolf Man") || (_root.enemykind == "Snow Wolf"))) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Bird3") && ((_root.enemykind == "Bandit") || (_root.enemykind == "Ice Element"))) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
}
function elementExtra(choice) {
affinity = "Fire";
Element = "Light";
if (choice == "weapon") {
affinity = _root.weapon[_root["char" + _root.current].weapon].affinity;
Element = _root.Belement;
}
if (choice == "mage") {
Element = _root.Belement;
affinity = _root.element[Element][1];
}
if (_root.element[affinity][0] == Element) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.35);
_root.messages = "Your attack was extra effective against this type of foe.";
} else if (_root.element[affinity][1] == Element) {
_root.actualstr = _root.actualstr - int(_root.actualstr * 0.35);
_root.messages = "Your attack was extra ineffective against this type of foe.";
}
}
function weaponExtra() {
weapons = _root.weapon[_root["char" + _root.current].weapon].wepType;
if ((weapons == "Sword") || (weapons == "Axe")) {
if (random(4) == 0) {
_root.Bstatus = "wounded";
_root.messages = "Your opponent has been wounded.";
}
}
if ((weapons == "Mace") || (weapons == "Knife")) {
if (random(5) == 0) {
_root.Bstatus = "stunned";
_root.messages = "Your opponent has been stunned.";
}
}
if (weapons == "Staff") {
if ((random(4) == 0) && (_root.isMagicAttack())) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That spell had a bonus 25% damage increase.";
}
}
if (((weapons == "Saber") || (weapons == "Gun")) && (_root["char" + _root.current].race == "zenn")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.15);
}
}
function accuracy(chance) {
weapons = _root.weapon[_root["char" + _root.current].weapon].wepType;
if (weapons == "Gun") {
chance = chance + 10;
} else if (weapons == "Mace") {
chance = chance - 10;
} else if (weapons == "Axe") {
chance = chance - 5;
}
return(random(random(chance)));
}
function isMagicAttack() {
return((_root.choice2 == "mage1") || (_root.choice2 == "warlock1"));
}
function questObjectives() {
if (((_root.enemykind == "Fish Man") && (_root.checkQuest("Job3"))) && (_root.quests[_root.findQuest("Job3")].questObjective[0] != _root.quests[_root.findQuest("Job3")].questObjective[1])) {
_root.quests[_root.findQuest("Job3")].questObjective[0] = _root.quests[_root.findQuest("Job3")].questObjective[0] + 1;
_root.messages = ("You killed a Fish Man. You have " + int(_root.quests[_root.findQuest("Job3")].questObjective[1] - _root.quests[_root.findQuest("Job3")].questObjective[0])) + " left.";
}
if (((_root.locate == 3) && (_root.checkQuest("Job1"))) && (_root.quests[_root.findQuest("Job1")].questObjective[0] != _root.quests[_root.findQuest("Job1")].questObjective[1])) {
_root.quests[_root.findQuest("Job1")].questObjective[0] = _root.quests[_root.findQuest("Job1")].questObjective[0] + 1;
_root.wolves[_root.chosenWolf] = true;
_root.messages = ("You killed a Wolf Man. You have " + int(_root.quests[_root.findQuest("Job1")].questObjective[1] - _root.quests[_root.findQuest("Job1")].questObjective[0])) + " left.";
}
if (((_root.locate == 4) && (_root.checkQuest("P2"))) && (_root.Bcompany == 1)) {
_root.quests[_root.findQuest("P2")].questObjective[0] = 1;
}
if (((_root.locate == 7) && (_root.checkQuest("P4"))) && (_root.Bcompany == 1)) {
_root.quests[_root.findQuest("P4")].questObjective[0] = 1;
}
if ((_root.locate == 9) && (_root.checkQuest("P6"))) {
_root.quests[_root.findQuest("P6")].questObjective[0] = 1;
_root.char1.karma = _root.char1.karma - 1;
_root.hesDead = true;
_root.messages = "You have lost karma";
}
if ((_root.locate == 13) && (_root.checkQuest("P8"))) {
_root.guardianDead = true;
_root.messages = "You have defeated the Guardian!";
}
if (((_root.locate == 15) && (_root.checkQuest("P10"))) && (_root.Bcompany == 1)) {
_root.portalOpen = 1;
_root.messages = "The Abyss have opened the gateway!!";
}
if ((_root.locate == 20) && (_root.checkQuest("P10"))) {
_root.endGame = true;
}
if ((_root.locate == 21) && (_root.Bcompany == 1)) {
if (_root.general.rank == 2) {
_root.messages = "You are grand champion!";
_root.addNewItem("holyKnight", _root.armor.holyKnight.des, "Armor", "torso", _root.armor.holyKnight.price);
_root.addNewItem("holyKnight", _root.armor.holyKnight.des, "Armor", "hands", _root.armor.holyKnight.price);
_root.addNewItem("holyKnight", _root.armor.holyKnight.des, "Armor", "legs", _root.armor.holyKnight.price);
_root.addNewItem("holyKnight", _root.armor.holyKnight.des, "Armor", "feet", _root.armor.holyKnight.price);
_root.champ = true;
}
if (_root.general.rank > 1) {
_root.general.rank = _root.general.rank - 1;
_root.messages = ("You gained a new rank. You are now rank " + _root.general.rank) + ".";
_root.leftArena = true;
}
}
if (((_root.enemykind == "Bandit") && (_root.checkQuest("Job4"))) && (_root.quests[_root.findQuest("Job4")].questObjective[0] != _root.quests[_root.findQuest("Job4")].questObjective[1])) {
_root.quests[_root.findQuest("Job4")].questObjective[0] = _root.quests[_root.findQuest("Job4")].questObjective[0] + 1;
_root.messages = ("You killed a Bandit Raider. You have " + int(_root.quests[_root.findQuest("Job4")].questObjective[1] - _root.quests[_root.findQuest("Job4")].questObjective[0])) + " left.";
}
if (((_root.enemykind == "Ice Element") && (_root.checkQuest("Job8"))) && (_root.quests[_root.findQuest("Job8")].questObjective[0] != _root.quests[_root.findQuest("Job8")].questObjective[1])) {
_root.quests[_root.findQuest("Job8")].questObjective[0] = _root.quests[_root.findQuest("Job8")].questObjective[0] + 1;
_root.messages = ("You killed a Ice Element. You have " + int(_root.quests[_root.findQuest("Job8")].questObjective[1] - _root.quests[_root.findQuest("Job8")].questObjective[0])) + " left.";
}
}
function xpGrant(bLevel) {
level = 1;
i = 1;
while (i < 4) {
if (_root["char" + i].leveled > level) {
level = _root["char" + i].leveled;
}
i++;
}
diff = bLevel - level;
if ((diff < 0) && (diff > -3)) {
return(30);
}
if ((diff < 0) && (diff > -6)) {
return(20);
}
if ((diff < 0) && (diff > -10)) {
return(10);
}
if (diff < 0) {
return(0);
}
if ((diff >= 0) && (diff < 2)) {
return(75);
}
if ((diff >= 0) && (diff < 5)) {
return(100);
}
if ((diff > 0) && (diff < 10)) {
return(150);
}
if (diff > 0) {
return(200);
}
return(10);
}
function monsterEncounter(safe) {
if (_root.encounter == undefined) {
_root.encounter = 0;
}
if (!safe) {
_root.encounter = _root.encounter + 1;
}
if ((_root.encounter >= 15) && (random(5) == 0)) {
_root.encounter = 0;
_root.shatter.play();
}
}
function playSound(whichsound) {
_root.my_sound = new Sound();
_root.my_sound.attachSound(whichsound);
_root.my_sound.start(0, 1);
}
function playMusic(whichsound) {
if (_root.general.playMusic && (theSound != whichsound)) {
stopAllSounds();
theSound = whichsound;
_root.my_sound = new Sound();
_root.my_sound.attachSound(whichsound);
_root.my_sound.start(0, 1000);
}
}
function talkActivate(messages1, symbol, extraSymbol, messages2, messages3) {
if (_root.noter._visible == false) {
_root.noter.notes = 0;
_root.noter._visible = true;
_root.noter.messageNo = 1;
_root.noter.messages1 = messages1;
_root.noter.messages2 = messages2;
_root.noter.messages3 = messages3;
_root.noter.note = _root.noter.messages1[0];
_root.noter.symbol.gotoAndStop(symbol);
_root.noter.symbol.head.gotoAndStop(extraSymbol);
}
}
function checkQuest(questName) {
i = 1;
while (i <= _root.general.onQuests) {
if (_root.quests[i].questName == questName) {
return(true);
}
i++;
}
return(false);
}
function findJob(questName) {
i = 1;
while (i <= 11) {
if (_root.jobs[i].questName == questName) {
return(i);
}
i++;
}
return(false);
}
function findQuest(questName) {
i = 1;
while (i <= 11) {
if (_root.quests[i].questName == questName) {
return(i);
}
i++;
}
return(false);
}
function addQuest(QuestName, QuestDes, QuestTitle, QuestObjective) {
if ((_root.general.onQuests != 11) && (!_root.checkQuest(QuestName))) {
_root.general.onQuests++;
i = 1;
while (i < _root.quests.length) {
if (_root.quests[i].questName == "None") {
_root.quests[i].questName = QuestName;
_root.quests[i].questDes = QuestDes;
_root.quests[i].questTitle = QuestTitle;
_root.quests[i].questObjective = QuestObjective;
if (QuestName == "Job5") {
_root.addNewKey("Wine", "Wine: The wine that needs to be delivered.", "none");
}
return(true);
}
i++;
}
} else {
return(false);
}
}
function removeQuest(questName) {
iValue = _root.findQuest(questName);
if (iValue != false) {
i = iValue;
while (i < _root.quests.length) {
_root.quests[i].questName = _root.quests[i + 1].questName;
_root.quests[i].questDes = _root.quests[i + 1].questDes;
_root.quests[i].questTitle = _root.quests[i + 1].questTitle;
_root.quests[i].questObjective = _root.quests[i + 1].questObjective;
if (_root.quests[i].questName == undefined) {
_root.quests[i].questName = "None";
_root.quests[i].questDes = "A quest can be added to this spot. Look around and talk to people or check out a quest giver shop.";
_root.quests[i].questTitle = "Empty Quest Slot";
_root.quests[i].questObjective = [0, 1];
}
i++;
}
}
}
function removeJob(questName) {
iValue = _root.findJob(questName);
if (iValue != false) {
i = iValue;
while (i < _root.jobs.length) {
_root.jobs[i].questName = _root.jobs[i + 1].questName;
_root.jobs[i].questDes = _root.jobs[i + 1].questDes;
_root.jobs[i].questTitle = _root.jobs[i + 1].questTitle;
_root.jobs[i].questObjective = _root.jobs[i + 1].questObjective;
if (_root.jobs[i].questName == undefined) {
_root.jobs[i].questName = "None";
_root.jobs[i].questDes = "A quest can be added to this spot. Look around and talk to people or check out a quest giver shop.";
_root.jobs[i].questTitle = "Empty Quest Slot";
_root.jobs[i].questObjective = [0, 1];
}
i++;
}
}
}
function jobsChange(number) {
_root["jobs" + number] = _root.jobs;
}
function isQuestDone(quest) {
if (_root.quests[_root.findQuest(quest)].questObjective[0] == _root.quests[_root.findQuest(quest)].questObjective[1]) {
return(true);
}
return(false);
}
function myDefence(i, type) {
defence = 0;
defence = defence + _root.armor[_root["char" + i].torso][type];
defence = defence + _root.armor[_root["char" + i].legs][type];
defence = defence + _root.armor[_root["char" + i].hands][type];
defence = defence + _root.armor[_root["char" + i].feet][type];
if (_root["char" + _root.current].race == "human") {
defence = defence + _root.armor[_root["char" + i].torso][type];
}
return(defence);
}
function hasItem(itemName) {
var _local2 = 0;
while (_local2 < 25) {
if ((_root.inventoryItem[_local2].itemName == itemName) && (_root.inventoryItem[_local2].itemNo >= 1)) {
return(true);
}
_local2++;
}
return(false);
}
function findItem(itemName) {
var _local2 = 0;
while (_local2 < 25) {
if ((_root.inventoryItem[_local2].itemName == itemName) && (_root.inventoryItem[_local2].itemNo >= 1)) {
return(_local2);
}
_local2++;
}
return(false);
}
Instance of Symbol 1353 MovieClip "Menu1" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Frame 4
stop();
Frame 5
menuopen = false;
_root.playMusic(_root.theMix);
Instance of Symbol 1875 MovieClip in Frame 5
on (press) {
_root.map.nextFrame();
}
Instance of Symbol 1875 MovieClip in Frame 5
on (press) {
_root.map.prevFrame();
}
Instance of Symbol 1353 MovieClip "Menu1" in Frame 5
onClipEvent (load) {
yvalue = _y;
yvalue2 = _root.shell._y;
yspeed = 50;
}
onClipEvent (enterFrame) {
if (_root.menuopen == false) {
_y = yvalue;
_root.shell._y = yvalue2;
yspeed = 50;
this.gotoAndStop(1);
this._visible = false;
_root.shell._visible = false;
_root.leftArena == false;
}
if (_root.menuopen) {
this._visible = true;
_root.shell._visible = true;
this._y = this._y - yspeed;
_root.shell._y = _root.shell._y - yspeed;
}
if (((_y <= 277) && (_root.menuopen)) && (yspeed > 4)) {
yspeed = yspeed - (yspeed * 0.43);
} else if (((_y <= 277) && (_root.menuopen)) && (yspeed <= 4)) {
yspeed = 0;
}
}
Instance of Symbol 1906 MovieClip "noter" in Frame 5
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1908 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.map.current != tempCurrent) {
tempCurrent = _root.map.current;
_root.saveGame();
}
}
Frame 6
function enemySelect(type, frame1, Belement1, BName1, BLevel1, MaxBHealth1, MaxBMagic1, Bstr1, Bmoney1, BXP1) {
if (type != "custom") {
_root.enemy.gotoAndStop(frame1);
_root.BName = BName1;
_root.Blevel = BLevel1;
_root.BHealth = BLevel1 * 100;
_root.MaxBHealth = BLevel1 * 100;
_root.MaxBMagic = BLevel1 * 10;
_root.BMagic = BLevel1 * 10;
_root.Belement = Belement1;
_root.Bstr = 18 * BLevel1;
_root.Bspeed = 10 * BLevel1;
_root.Bmoney = (10 * BLevel1) + random(10);
_root.BXP = _root.xpGrant(_root.Blevel);
} else {
_root.enemy.gotoAndStop(frame1);
_root.BName = BName1;
_root.Blevel = BLevel1;
_root.MaxBHealth = MaxBHealth1;
_root.BHealth = MaxBHealth1;
_root.MaxBMagic = MaxBMagic1;
_root.BMagic = MaxBMagic1;
_root.Belement = Belement1;
_root.Bstr = Bstr1;
_root.Bmoney = Bmoney1;
_root.BXP = _root.xpGrant(_root.Blevel);
}
if (_root.general.challenge) {
_root.Bstr = _root.Bstr * 2;
}
_root.enemykind = _root.BName;
_root.Bstatus = "normal";
if (_root.locate == 21) {
_root.Bmoney = (40 * (26 - _root.general.rank)) / 3;
}
}
function newFoe() {
if (_root.locate == 1) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("custom", "man", "Nature", "Rogue Orc", 1, 50, 10, 8, 10);
}
if (_root.Bcompany == 2) {
_root.enemySelect("custom", "man", "Nature", "Rogue Orc", 1, 50, 10, 8, 10);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", 1);
}
}
if (_root.locate == 2) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Water", "Fish Man", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Water", "Fish Man", 1);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Water", "Fish Man", 1);
}
}
if (_root.locate == 3) {
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 2);
}
}
if (_root.locate == 4) {
if (_root.Bcompany == 3) {
_root.helmType = 1;
_root.enemySelect("custom", "man", "Dark", "Abyss Remnant", 1, 75, 10, 8, 10);
}
if (_root.Bcompany == 2) {
_root.helmType = 1;
_root.enemySelect("custom", "man", "Dark", "Abyss Remnant", 1, 75, 15, 8, 10);
}
if (_root.Bcompany == 1) {
_root.helmType = 2;
_root.enemySelect("normal", "man", "Dark", "Abyss Remnant", 1);
}
}
if (_root.locate == 5) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", random(2) + 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", random(2) + 2);
}
}
if (_root.locate == 6) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Dark", "Abyss Remnant", random(3) + 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Dark", "Abyss Remnant", random(3) + 1);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Dark", "Abyss Remnant", random(3) + 1);
}
}
if (_root.locate == 7) {
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.boss = true;
_root.enemySelect("custom", "giant", "Dark", "Abyss Tyrant", 7, 1500, 30, 55, 160);
}
}
if (_root.locate == 8) {
blah = random(2);
if (blah == 0) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", random(4) + 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", random(3) + 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", random(4) + 2);
}
} else {
_root.helmType = 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "gun", "Neutral", "Bandit", random(4) + 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Bandit", 4);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "gun", "Neutral", "Bandit", random(3) + 3);
}
}
}
if (_root.locate == 9) {
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.helmType = 2;
_root.boss = true;
_root.enemySelect("custom", "man", "Neutral", "Bandit", 8, 1600, 30, 130, 160);
}
}
if (_root.locate == 10) {
blah = random(2);
if (blah == 0) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "creature", "Ice", "Snow Wolf", random(5) + 2);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", random(5) + 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Ice", "Snow Wolf", random(2) + 5);
}
} else {
_root.helmType = 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "gun", "Neutral", "Bandit", random(5) + 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Bandit", 5);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "gun", "Neutral", "Bandit", random(5) + 3);
}
}
}
if (_root.locate == 11) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "creature", "Ice", "Snow Wolf", random(2) + 5);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", random(2) + 5);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", random(3) + 5);
}
}
if (_root.locate == 12) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", random(2) + 6);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", random(2) + 6);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", random(3) + 6);
}
}
if (_root.locate == 13) {
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.boss = true;
_root.enemySelect("custom", "giant", "Light", "Guardian", 15, 3000, 100, 300, 200);
}
}
if (_root.locate == 14) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "gun", "Dark", "Abyss Remnant", 10);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "mage", "Dark", "Abyss Remnant", 10);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "mage", "Dark", "Abyss Remnant", 12);
}
}
if (_root.locate == 15) {
_root.boss = true;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Dark", "Abyss Remnant", 12);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "mage", "Dark", "Abyss Remnant", 12);
}
if (_root.Bcompany == 1) {
_root.enemySelect("custom", "giant", "Dark", "Abyss Tyrant", 20, 4000, 50, 300, 200);
}
}
if (_root.locate == 20) {
_root.Bcompany = 1;
_root.boss = true;
_root.enemySelect("custom", "demon", "Fire", "Gladious", 30, 12000, 350, 250, 1000);
}
if (_root.locate == 21) {
contenders = ["demon", "demon", "gun", "mage", "gun", "gun", "elemental", "creature", "giant", "giant", "giant", "man", "gun", "mage", "mage", "giant", "elemental", "elemental", "creature", "gun", "man", "creature", "man", "man", "man"];
contenders2 = ["Light", "Light", "Dark", "Dark", "Dark", "Dark", "Ice", "Dark", "Dark", "Ice", "Dark", "Dark", "Dark", "Dark", "Neutral", "Light", "Fire", "Ice", "Ice", "Neutral", "Neutral", "Dark", "Water", "Nature", "Nature"];
contenders3 = ["Knight", "Knight", "Diablo Minion", "Diablo Minion", "Bandit", "Rogue Orc", "Ice Element", "Wolf Man", "Abyss Tyrant", "Guardian", "Abyss Tyrant", "Abyss Remnant", "Abyss Remnant", "Abyss Remnant", "Bandit", "Guardian", "Fire Element", "Ice Element", "Snow Wolf", "Bandit", "Bandit", "Wolf Man", "Fish Man", "Rogue Orc", "Rogue Orc"];
jim = _root.general.rank - 1;
if (jim > 2) {
jim2 = random(3);
jim3 = random(2);
} else {
jim2 = 0;
jim3 = 0;
}
if (_root.Bcompany == 3) {
_root.enemySelect("normal", contenders[jim], contenders2[jim], contenders3[jim], 26 - _root.general.rank);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", contenders[jim - jim2], contenders2[jim - jim2], contenders3[jim - jim2], 27 - _root.general.rank);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", contenders[jim - jim3], contenders2[jim - jim3], contenders3[jim - jim3], 28 - _root.general.rank);
}
}
if (_root.locate == 22) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "creature", "Ice", "Snow Wolf", 10);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "creature", "Ice", "Snow Wolf", 10);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 11);
}
}
if (_root.locate == 23) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 12);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 12);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 13);
}
}
_root.enemy.enemy.gotoAndPlay("enter");
}
if (((_root.locate == 4) || (_root.locate == 15)) || (_root.locate == 21)) {
_root.Bcompany = 3;
} else {
_root.Bcompany = random(3) + 1;
}
_root.boss = false;
_root.messages = "";
_root.menuopen = false;
_root.runner = false;
_root.stolen = false;
_root.stealth = 0;
_root.BCOMPANY = _root.Bcompany;
_root.participate1 = false;
_root.participate2 = false;
_root.participate3 = false;
_root.defencePotion = false;
_root["participate" + _root.current] = true;
_root.BXPTotal = 0;
_root.curSituation = "Battle";
_root.strBoost = 0;
_root.backscene.gotoAndStop(_root.zone);
_root.newFoe();
if (_root.boss == true) {
_root.playMusic("boss");
} else if (random(2) == 0) {
_root.playMusic("battle2");
} else {
_root.playMusic("battle1");
}
play();
Instance of Symbol 1222 MovieClip "battlepet" in Frame 6
onClipEvent (load) {
if (_root.pet.select == "none") {
this.unloadMovie();
}
this.gotoAndStop(_root.pet.species);
}
Instance of Symbol 2091 MovieClip "goodHP" in Frame 6
onClipEvent (enterFrame) {
this.life.life = _root.actualstr;
}
Instance of Symbol 2091 MovieClip "enemyHP" in Frame 6
onClipEvent (enterFrame) {
this.life.life = _root.actualstr;
}
Instance of Symbol 2104 MovieClip "keyhit" in Frame 6
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._visible = _root.hitneed;
}
Instance of Symbol 2137 MovieClip in Frame 6
onClipEvent (load) {
col = new Color(this.skins.bar);
col.setRGB(10027008);
}
onClipEvent (enterFrame) {
healtho = int((_root["char" + _root.current].GHealth / _root["char" + _root.current].MaxHealth) * 100);
if (healtho <= 0) {
healtho = 1;
}
this.gotoAndStop(healtho);
}
Instance of Symbol 2137 MovieClip in Frame 6
onClipEvent (load) {
col = new Color(this.skins.bar);
col.setRGB(39372);
}
onClipEvent (enterFrame) {
healtho = int((_root["char" + _root.current].GMagic / _root["char" + _root.current].MaxMagic) * 100);
if (healtho <= 0) {
healtho = 1;
}
this.gotoAndStop(healtho);
}
Instance of Symbol 2137 MovieClip in Frame 6
onClipEvent (load) {
col = new Color(this.skins.bar);
col.setRGB(10027008);
}
onClipEvent (enterFrame) {
healtho = int((_root.BHealth / _root.MaxBHealth) * 100);
if (healtho <= 0) {
healtho = 1;
}
this.gotoAndStop(healtho);
}
Instance of Symbol 2137 MovieClip in Frame 6
onClipEvent (load) {
col = new Color(this.skins.bar);
col.setRGB(39372);
}
onClipEvent (enterFrame) {
healtho = int((_root.BMagic / _root.MaxBMagic) * 100);
if (healtho <= 0) {
healtho = 1;
}
this.gotoAndStop(healtho);
}
Instance of Symbol 2151 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.Bcompany > 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 2151 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.Bcompany > 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 2151 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.Bcompany > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 2151 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.char1.GHealth > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 2151 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.char2.GHealth > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 2151 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.char3.GHealth > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1908 MovieClip in Frame 6
onClipEvent (load) {
_root.saveGame();
}
Frame 7
Einfo.gotoAndPlay(2);
quick.gotoAndPlay(2);
stop();
_root.chosenmove = 0;
Frame 8
Einfo.gotoAndPlay(11);
quick.gotoAndPlay(11);
_root.messages = "";
Frame 9
_root.menuChoice = "start";
_root.playMusic("mix1");
stop();
Instance of Symbol 1353 MovieClip "Menu1" in Frame 9
onClipEvent (load) {
this.gotoAndStop(_root.menuChoice);
this.cross._visible = false;
}
Frame 10
stop();
_root.loads = false;
user_so = SharedObject.getLocal("char1");
money1 = user_so.data.general.money;
lvl1 = user_so.data.char1.lvl;
if (user_so.data.general.money == undefined) {
money1 = "Empty";
lvl1 = "Empty";
}
user_so.flush();
user_so = SharedObject.getLocal("char2");
money2 = user_so.data.general.money;
lvl2 = user_so.data.char1.lvl;
if (user_so.data.general.money == undefined) {
money2 = "Empty";
lvl2 = "Empty";
}
user_so.flush();
user_so = SharedObject.getLocal("char3");
money3 = user_so.data.general.money;
lvl3 = user_so.data.char1.lvl;
if (user_so.data.general.money == undefined) {
money3 = "Empty";
lvl3 = "Empty";
}
user_so.flush();
Frame 11
stop();
_root.loads = true;
user_so = SharedObject.getLocal("char1");
money1 = user_so.data.general.money;
lvl1 = user_so.data.char1.lvl;
if (user_so.data.general.money == undefined) {
money1 = "Empty";
lvl1 = "Empty";
}
user_so.flush();
user_so = SharedObject.getLocal("char2");
money2 = user_so.data.general.money;
lvl2 = user_so.data.char1.lvl;
if (user_so.data.general.money == undefined) {
money2 = "Empty";
lvl2 = "Empty";
}
user_so.flush();
user_so = SharedObject.getLocal("char3");
money3 = user_so.data.general.money;
lvl3 = user_so.data.char1.lvl;
if (user_so.data.general.money == undefined) {
money3 = "Empty";
lvl3 = "Empty";
}
user_so.flush();
Instance of Symbol 1908 MovieClip in Frame 12
onClipEvent (load) {
_root.saveGame();
}
Frame 13
_root.playMusic("mix1");
Instance of Symbol 2246 MovieClip in Frame 13
onClipEvent (load) {
if (_root.general.challenge) {
this.gotoAndStop(4);
}
}
Symbol 22 Button
on (press) {
getURL ("http://www.funny-games.biz/main.html", "_blank");
}
Symbol 26 Button
on (press) {
getURL ("http://www.benspyda.com", "_blank");
}
Symbol 30 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
setProperty(bar, _alpha , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 30 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip Frame 3
_root.gotoAndStop("funny");
Symbol 34 Button
on (press) {
getURL ("http://www.funny-games.biz/lostsweeperrpg.html", "_blank");
}
Symbol 35 Button
on (press) {
_root.gotoAndStop("NewGame");
}
Symbol 38 Button
on (press) {
_root.gotoAndStop("Continue");
}
Symbol 40 Button
on (press) {
getURL ("http://www.funny-games.biz/resurrection-rpg.html", "_blank");
}
Symbol 43 Button
on (press) {
getURL ("http://www.funny-games.biz/darkness-reborn.html", "_blank");
}
Symbol 47 Button
on (press) {
_root.general.challenge = true;
_root.gotoAndStop("NewGame");
}
Symbol 50 MovieClip Frame 1
stop();
if (_root.checkEnd()) {
gotoAndStop (2);
}
Symbol 51 MovieClip Frame 14
stop();
Symbol 54 MovieClip Frame 1
shield.gotoAndStop(_root["char" + _root.current].shield);
shield._visible = false;
if (_root["char" + _root.current].Yclass == "knight") {
shield._visible = true;
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 1
gotoAndStop(_root.armor.lethal.armor / 2);
Symbol 80 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
armor.gotoAndStop(_root["char" + _root.current].gender);
armor.part.gotoAndStop(_root["char" + _root.current].torso);
body.gotoAndStop(_root["char" + _root.current].gender);
bbcol = new Color(body.part.skins);
bbcol.setRGB(_root["char" + _root.current].skincolour);
Symbol 86 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
armor.gotoAndStop(_root["char" + _root.current].gender);
armor.part.gotoAndStop(_root["char" + _root.current].hands);
body.gotoAndStop(_root["char" + _root.current].gender);
bbcol = new Color(body.part.skins);
bbcol.setRGB(_root["char" + _root.current].skincolour);
Symbol 106 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 1
armor.gotoAndStop(_root["char" + _root.current].gender);
armor.part.gotoAndStop(_root["char" + _root.current].legs);
body.gotoAndStop(_root["char" + _root.current].gender);
bbcol = new Color(body.part.skins);
bbcol.setRGB(_root["char" + _root.current].pantcolour);
Symbol 123 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
armor.gotoAndStop(_root["char" + _root.current].gender);
armor.part.gotoAndStop(_root["char" + _root.current].feet);
body.gotoAndStop(_root["char" + _root.current].gender);
bbcol = new Color(body.part.skins);
bbcol.setRGB(_root["char" + _root.current].pantcolour);
Symbol 142 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 3
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
armor.gotoAndStop(_root["char" + _root.current].gender);
armor.part.gotoAndStop(_root["char" + _root.current].feet);
body.gotoAndStop(_root["char" + _root.current].gender);
bbcol = new Color(body.part.skins);
bbcol.setRGB(_root["char" + _root.current].pantcolour);
Symbol 166 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
gotoAndStop(_root.armor.lethal.armor / 2);
Symbol 184 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
armor.gotoAndStop(_root["char" + _root.current].gender);
armor.part.gotoAndStop(_root["char" + _root.current].torso);
body.gotoAndStop(_root["char" + _root.current].gender);
bbcol = new Color(body.part.skins);
bbcol.setRGB(_root["char" + _root.current].skincolour);
bbcol2 = new Color(body.part.pants);
bbcol2.setRGB(_root["char" + _root.current].pantcolour);
Symbol 219 MovieClip Frame 1
gotoAndStop((_root.weapon.lethal.str / 25) - 1);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 4
stop();
Symbol 220 MovieClip Frame 5
stop();
Symbol 220 MovieClip Frame 6
stop();
Symbol 220 MovieClip Frame 7
stop();
Symbol 220 MovieClip Frame 8
stop();
Symbol 220 MovieClip Frame 9
stop();
Symbol 220 MovieClip Frame 10
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 3
stop();
Symbol 231 MovieClip Frame 4
stop();
Symbol 231 MovieClip Frame 5
stop();
Symbol 231 MovieClip Frame 6
stop();
Symbol 231 MovieClip Frame 7
stop();
Symbol 231 MovieClip Frame 8
stop();
Symbol 231 MovieClip Frame 9
stop();
Symbol 231 MovieClip Frame 10
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 3
stop();
Symbol 301 MovieClip Frame 4
stop();
Symbol 301 MovieClip Frame 5
stop();
Symbol 301 MovieClip Frame 6
stop();
Symbol 301 MovieClip Frame 7
stop();
Symbol 302 MovieClip Frame 1
weapon.gotoAndStop(_root.weapon[_root["char" + _root.current].weapon].wepType);
weapon.part.gotoAndStop(_root["char" + _root.current].weapon);
Symbol 310 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 4
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 1
hair.gotoAndStop(_root["char" + _root.current].gender);
if (_root.current != 1) {
hair.part.gotoAndStop("normal_" + _root["char" + _root.current].hairstyle);
head.part.eyes.gotoAndStop(_root["char" + _root.current].gender);
} else {
hair.part.gotoAndStop("lethal_" + _root["char" + _root.current].hairstyle);
head.part.eyes.gotoAndStop("lethal");
}
head.part.eyes.eyes.gotoAndStop(_root["char" + _root.current].eyes);
head.part.nose.gotoAndStop(_root["char" + _root.current].nose);
head.part.ear.gotoAndStop(_root["char" + _root.current].race);
head.part.mouth.gotoAndStop(_root["char" + _root.current].race);
head.part.mouth.mouth.gotoAndStop(_root["char" + _root.current].mouth);
bbcol = new Color(hair.part.colour);
bbcol.setRGB(_root["char" + _root.current].haircolour);
bbcol2 = new Color(head.part.eyes.eyes.eyes);
bbcol2.setRGB(_root["char" + _root.current].eyecolour);
bbcol3 = new Color(head.part.skins);
bbcol3.setRGB(_root["char" + _root.current].skincolour);
bbcol4 = new Color(head.part.ear.skins);
bbcol4.setRGB(_root["char" + _root.current].skincolour);
Symbol 391 Button
on (press) {
note.scroll = note.scroll - 1;
}
Symbol 392 Button
on (press) {
note.scroll = note.scroll + 1;
}
Symbol 398 Button
on (press) {
_root.shopType = "Normal";
_root.menuopen = false;
_root.saveGame();
}
Symbol 402 Button
on (release) {
gotoAndStop ("status");
}
Symbol 404 Button
on (release) {
gotoAndStop ("equipment");
}
Symbol 406 Button
on (release) {
gotoAndStop ("map");
}
Symbol 408 Button
on (release) {
gotoAndStop ("quests");
}
Symbol 410 Button
on (release) {
gotoAndStop ("options");
}
Symbol 413 Button
on (release) {
gotoAndStop ("Key Items");
}
Symbol 416 Button
on (release) {
gotoAndStop ("pets");
}
Symbol 419 Button
on (release) {
gotoAndStop ("help");
}
Symbol 427 Button
on (press) {
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 439 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip "armor2" in Symbol 452 MovieClip Frame 3
onClipEvent (enterFrame) {
this.part.gotoAndStop(_parent.armor.part._currentframe);
}
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 3
stop();
Symbol 453 MovieClip Frame 4
stop();
Symbol 453 MovieClip Frame 5
stop();
Symbol 453 MovieClip Frame 6
stop();
Symbol 453 MovieClip Frame 7
stop();
Symbol 458 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 462 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 466 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 470 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 474 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 478 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 482 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 6
_root.attack_pet_func();
Symbol 485 MovieClip Frame 13
gotoAndStop (1);
_root.battle.play();
Symbol 489 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 493 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 497 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 501 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 505 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 509 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 9
_root.attack_pet_func();
Symbol 514 MovieClip Frame 16
gotoAndStop (1);
_root.battle.play();
Symbol 518 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 522 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 1
stop();
Instance of Symbol 526 MovieClip "object" in Symbol 552 MovieClip Frame 7
onClipEvent (load) {
if (!_root.pet.Goblin1[3]) {
this.gotoAndStop("goblin");
this.pet.gotoAndStop("Goblin1");
} else {
this.gotoAndStop("locked");
}
}
Symbol 553 Button
on (press) {
gotoAndStop (1);
_visible = false;
}
Symbol 556 Button
on (press) {
if (_root.inventoryItem[iTemp].itemName == "Small Potion") {
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth + 100;
if (_root["char" + _root.current].GHealth > _root["char" + _root.current].MaxHealth) {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
}
_parent.note2 = ((("You have been cured for 100 health. You now have " + _root["char" + _root.current].GHealth) + " / ") + _root["char" + _root.current].MaxHealth) + " health.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Medium Potion") {
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth + 1000;
if (_root["char" + _root.current].GHealth > _root["char" + _root.current].MaxHealth) {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
}
_parent.note2 = ((("You have been cured for 1000 health. You now have " + _root["char" + _root.current].GHealth) + " / ") + _root["char" + _root.current].MaxHealth) + " health.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Strong Potion") {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
_parent.note = ((("You have been completly healed. You now have " + _root["char" + _root.current].GHealth) + " / ") + _root["char" + _root.current].MaxHealth) + " health.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Magic Potion") {
_root["char" + _root.current].GMagic = _root["char" + _root.current].MaxMagic;
_parent.note2 = ((("Your magic has been restored. You now have " + _root["char" + _root.current].GMagic) + " / ") + _root["char" + _root.current].MaxMagic) + " magic.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Cure Potion") {
_root["char" + _root.current].yStatus = "normal";
_parent.note2 = "Your sickness has been cured.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Defence Potion") {
_parent.note2 = "You are not in battle.";
}
if (_root.inventoryItem[iTemp].itemNo == 0) {
_root.removeAnItem(iTemp);
}
_root.Menu1.gotoAndStop(1);
_root.Menu1.gotoAndStop("equipment");
_visible = false;
}
Symbol 560 Button
on (press) {
if (_root.current != 1) {
tempItem = _root["char" + _root.current][_root.inventoryItem[iTemp].armorPart];
_root["char" + _root.current][_root.inventoryItem[iTemp].armorPart] = _root.inventoryItem[iTemp].itemName;
_root.inventoryItem[iTemp].itemName = tempItem;
_root.inventoryItem[iTemp].itemNo = 1;
_root.inventoryItem[iTemp].itemDes = _root.armor[tempItem].des;
_root.inventoryItem[iTemp].itemType = "Armor";
_root.inventoryItem[iTemp].itemSell = int(_root.armor[tempItem].price * 0.5);
_root.Menu1.gotoAndStop(1);
_root.Menu1.gotoAndStop("equipment");
this._visible = false;
this.gotoAndStop(1);
} else {
note = "Lethal cannot equip this.";
}
}
Symbol 563 Button
on (press) {
if ((_root.general.money >= price) && (_root.addNewItem(selectedArmor, _root.armor[selectedArmor].des, "Armor", bodyPart, int(price * 0.5)))) {
_parent.note = "You have purchased the armor";
_root.general.money = _root.general.money - price;
_parent.money = _root.general.money;
} else {
_parent.note = "You have failed to purchase the armor";
}
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 566 Button
on (press) {
if (_root.inventoryItem[iTemp].itemSell > 0) {
_root.sellItem(iTemp);
_parent.note = "You sold the item for $" + _root.inventoryItem[iTemp].itemSell;
_root.Menu1.gotoAndStop(1);
_root.Menu1.gotoAndStop("sellItems");
_visible = false;
} else {
_parent.note = "You cannot sell this item.";
}
}
Symbol 568 Button
on (press) {
price = _root.weapon[types].price;
if ((_root.general.money >= price) && (_root.addNewItem(types, _root.weapon[types].des, "Weapon", _root.weapon[types].wepType, int(price * 0.5)))) {
_parent.note = "You have purchased the weapon";
_root.general.money = _root.general.money - price;
_parent.money = _root.general.money;
} else {
_parent.note = "You have failed to purchase the weapon";
}
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 570 Button
on (press) {
if (_root.weaponClass(_root.inventoryItem[iTemp].itemName)) {
tempItem = _root["char" + _root.current].weapon;
_root["char" + _root.current].weapon = _root.inventoryItem[iTemp].itemName;
_root.inventoryItem[iTemp].itemName = tempItem;
_root.inventoryItem[iTemp].itemNo = 1;
_root.inventoryItem[iTemp].itemDes = _root.weapon[tempItem].des;
_root.inventoryItem[iTemp].armorPart = _root.weapon[tempItem].wepType;
_root.inventoryItem[iTemp].itemType = "Weapon";
_root.inventoryItem[iTemp].itemSell = int(_root.weapon[tempItem].price * 0.5);
_root.Menu1.gotoAndStop(1);
_root.Menu1.gotoAndStop("equipment");
this._visible = false;
this.gotoAndStop(1);
} else {
note = "They cannot wield that weapon";
}
}
Symbol 572 Button
on (press) {
if (_root.general.money >= _root.pet[petName][2]) {
_parent.note = ("You have purchased the " + _root.pet[petName][4]) + ".";
_root.pet[petName][3] = true;
_root.general.money = _root.general.money - _root.pet[petName][2];
_parent.money = _root.general.money;
} else {
_parent.note = "You have failed to purchase the pet";
}
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 574 Button
on (press) {
if ((_root.general.money >= (_parent.prices[this.iTemp] * amount)) && (_root.addNewPotion(_parent.potionType[this.iTemp], _parent.potionDes[this.iTemp], "Potion", amount, _parent.prices[this.iTemp]))) {
_parent.note = ("You have purchased " + amount) + " potion/s.";
_root.general.money = _root.general.money - (_parent.prices[this.iTemp] * amount);
_parent.money = _root.general.money;
} else {
_parent.note = "You have failed to purchase the potion/s";
}
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 578 Button
on (press) {
if (amount < 99) {
amount++;
}
}
Symbol 579 Button
on (press) {
if (amount > 1) {
amount--;
}
}
Symbol 581 Button
on (press) {
if (_root.general.money >= _parent.prices[this.iTemp]) {
_parent.note = "You have purchased the spell.";
_root.spells[_parent.spellType[this.iTemp]][0] = true;
_root.general.money = _root.general.money - _parent.prices[this.iTemp];
_parent.money = _root.general.money;
} else {
_parent.note = "You have failed to purchase the spell";
}
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 587 Button
on (press) {
_root.menu1.play();
_parent._parent.play();
}
Symbol 594 Button
on (press) {
_root.area = _root.towns[_root.findHub()];
_root.mapx = _root.townx[_root.findHub()];
_root.mapy = _root.towny[_root.findHub()];
_root.leaveBattle = true;
_root.porter.play();
_root.runner = true;
_root.menuopen = false;
_visible = false;
}
Symbol 598 MovieClip Frame 1
stop();
note = "You can fill empty slots with items that can be used in various situations";
Symbol 598 MovieClip Frame 2
_root.Menu1.note = ((("Do you want to use a " + _root.inventoryItem[iTemp].itemName) + ". You currently have ") + _root.inventoryItem[iTemp].itemNo) + ".";
Symbol 598 MovieClip Frame 3
bodypart = _root.inventoryItem[iTemp].armorPart;
typeThing = _root["char" + _root.current][bodypart];
if (_root["char" + _root.current].race != "Demon") {
_root.Menu1.note = (("Do you want to equip this piece of armor on " + _root["char" + _root.current].yName) + ". \n<b>Currently Equiped</b>: ") + _root.armor[typeThing].des;
} else {
_root.Menu1.note = "Lethal cannot equip this.";
}
Symbol 598 MovieClip Frame 5
_root.Menu1.note = "Do you want to sell this item for $" + _root.inventoryItem[iTemp].itemSell;
Symbol 598 MovieClip Frame 7
typeThing = _root["char" + _root.current].weapon;
_root.Menu1.note = (("Do you want to equip this weapon on " + _root["char" + _root.current].yName) + ". \n<b>Currently Equiped</b>: ") + _root.weapon[typeThing].des;
Instance of Symbol 552 MovieClip "inv" in Symbol 598 MovieClip Frame 8
onClipEvent (enterFrame) {
this.object.gotoAndStop(_parent.petType);
i = 1;
while (i < 5) {
this.object.pet.pet["part" + i].gotoAndStop(_parent.petName);
i++;
}
}
Symbol 598 MovieClip Frame 9
amount = 1;
Symbol 598 MovieClip Frame 11
note = "Which character will you switch to?";
i = 1;
while (i < 4) {
this["char" + i] = _root["char" + i].yName;
this["but" + i].iTemp = i;
this["but" + i].onPress = function () {
if ((_root.current != this.iTemp) && (_root["char" + this.iTemp].GHealth > 0)) {
_root.choice1 = "basic";
_root.choice2 = "exit";
_root.chosenmove = 1;
_root.currentChange = this.iTemp;
_parent._parent.play();
} else {
note = "You already are that character or that character is incapacitated.";
}
};
i++;
}
Instance of Symbol 552 MovieClip "inv" in Symbol 598 MovieClip Frame 11
onClipEvent (enterFrame) {
this.object.gotoAndStop(_parent.petType);
i = 1;
while (i < 5) {
this.object.pet.pet["part" + i].gotoAndStop(_parent.petName);
i++;
}
}
Symbol 598 MovieClip Frame 12
note = "Which character will you resurrect?";
i = 1;
while (i < 4) {
this["char" + i] = _root["char" + i].yName;
this["but" + i].iTemp = i;
this["but" + i].onPress = function () {
if ((_root.current != this.iTemp) && (_root["char" + this.iTemp].GHealth <= 0)) {
_root.choice1 = "mage";
_root.choice2 = "mage2";
_root.chosenmove = 1;
_root.currentChange = this.iTemp;
_parent._parent.play();
} else {
note = "The character is not incapacitated.";
}
};
i++;
}
Symbol 598 MovieClip Frame 13
_root.Menu1.note = "Do you want to use the portal fragment inorder to return to your last visited town.";
inv.gotoAndStop("Portal");
Symbol 608 MovieClip Frame 3
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 621 Button
on (press) {
_root["char" + _root.current][changer] = 16707038 /* 0xFEEDDE */;
}
Symbol 622 Button
on (press) {
_root["char" + _root.current][changer] = 16576973 /* 0xFCF1CD */;
}
Symbol 623 Button
on (press) {
_root["char" + _root.current][changer] = 16636870 /* 0xFDDBC6 */;
}
Symbol 624 Button
on (press) {
_root["char" + _root.current][changer] = 16568775 /* 0xFCD1C7 */;
}
Symbol 625 Button
on (press) {
_root["char" + _root.current][changer] = 9268543 /* 0x8D6D3F */;
}
Symbol 626 Button
on (press) {
_root["char" + _root.current][changer] = 7485974 /* 0x723A16 */;
}
Symbol 627 Button
on (press) {
_root["char" + _root.current][changer] = 6501140 /* 0x633314 */;
}
Symbol 629 Button
on (press) {
_root["char" + _root.current][changer] = 16708847 /* 0xFEF4EF */;
}
Symbol 630 Button
on (press) {
_root["char" + _root.current][changer] = 16644063 /* 0xFDF7DF */;
}
Symbol 631 Button
on (press) {
_root["char" + _root.current][changer] = 16250871 /* 0xF7F7F7 */;
}
Symbol 632 Button
on (press) {
_root["char" + _root.current][changer] = 14277081 /* 0xD9D9D9 */;
}
Symbol 633 Button
on (press) {
_root["char" + _root.current][changer] = 12566463 /* 0xBFBFBF */;
}
Symbol 634 Button
on (press) {
_root["char" + _root.current][changer] = 13356246 /* 0xCBCCD6 */;
}
Symbol 635 Button
on (press) {
_root["char" + _root.current][changer] = 12369611 /* 0xBCBECB */;
}
Symbol 637 Button
on (press) {
_root["char" + _root.current][changer] = 26112;
}
Symbol 638 Button
on (press) {
_root["char" + _root.current][changer] = 84737 /* 0x014B01 */;
}
Symbol 639 Button
on (press) {
_root["char" + _root.current][changer] = 15360;
}
Symbol 640 Button
on (press) {
_root["char" + _root.current][changer] = 13056;
}
Symbol 641 Button
on (press) {
_root["char" + _root.current][changer] = 6710886 /* 0x666666 */;
}
Symbol 642 Button
on (press) {
_root["char" + _root.current][changer] = 5855577 /* 0x595959 */;
}
Symbol 643 Button
on (press) {
_root["char" + _root.current][changer] = 4473924 /* 0x444444 */;
}
Symbol 645 Button
on (press) {
_root["char" + _root.current][changer] = 26265;
}
Symbol 646 Button
on (press) {
_root["char" + _root.current][changer] = 1401732 /* 0x156384 */;
}
Symbol 647 Button
on (press) {
_root["char" + _root.current][changer] = 3101546 /* 0x2F536A */;
}
Symbol 648 Button
on (press) {
_root["char" + _root.current][changer] = 4149338 /* 0x3F505A */;
}
Symbol 649 Button
on (press) {
_root["char" + _root.current][changer] = 4345175 /* 0x424D57 */;
}
Symbol 650 Button
on (press) {
_root["char" + _root.current][changer] = 5918317 /* 0x5A4E6D */;
}
Symbol 651 Button
on (press) {
_root["char" + _root.current][changer] = 3485249 /* 0x352E41 */;
}
Symbol 653 Button
on (press) {
_root["char" + _root.current][changer] = 16776960 /* 0xFFFF00 */;
}
Symbol 654 Button
on (press) {
_root["char" + _root.current][changer] = 52224;
}
Symbol 655 Button
on (press) {
_root["char" + _root.current][changer] = 26316;
}
Symbol 656 Button
on (press) {
_root["char" + _root.current][changer] = 16711680 /* 0xFF0000 */;
}
Symbol 657 Button
on (press) {
_root["char" + _root.current][changer] = 6697728 /* 0x663300 */;
}
Symbol 658 Button
on (press) {
_root["char" + _root.current][changer] = 0;
}
Symbol 659 Button
on (press) {
_root["char" + _root.current][changer] = 6697881 /* 0x663399 */;
}
Symbol 661 Button
on (press) {
_root["char" + _root.current][changer] = 2236962 /* 0x222222 */;
}
Symbol 662 Button
on (press) {
_root["char" + _root.current][changer] = 16711100 /* 0xFEFDBC */;
}
Symbol 663 Button
on (press) {
_root["char" + _root.current][changer] = 10027008 /* 0x990000 */;
}
Symbol 664 Button
on (press) {
_root["char" + _root.current][changer] = 16777215 /* 0xFFFFFF */;
}
Symbol 665 Button
on (press) {
_root["char" + _root.current][changer] = 10066329 /* 0x999999 */;
}
Symbol 666 Button
on (press) {
_root["char" + _root.current][changer] = 6697932 /* 0x6633CC */;
}
Symbol 667 MovieClip Frame 1
stop();
Symbol 670 Button
on (press) {
_root["char" + _root.current].yName = named;
_parent._parent["cus" + (_root.current - 1)] = named;
_parent._parent.note = "You have successfully given a new name to the character.";
}
Symbol 674 MovieClip Frame 1
stop();
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].race == "zenn") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].race = "zenn";
_root["char" + _root.current].skincolour = 26265;
_parent._parent._parent.note = "You have selected the race Zenn for this character. The Zenn are an ancient race as old as the abyss. Their main focus is technology and magic.";
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].race == "human") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].race = "human";
_root["char" + _root.current].skincolour = 16707038 /* 0xFEEDDE */;
_parent._parent._parent.note = "You have selected the race human for this character. This young race primarily focuses on strength and defence.";
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].race == "orc") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].race = "orc";
_root["char" + _root.current].skincolour = 84737 /* 0x014B01 */;
_parent._parent._parent.note = "You have selected the race orc for this character. Orcs are a powerful warrior race. Primary focus on, you guessed it, strength.";
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].race == "elf") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].race = "elf";
_root["char" + _root.current].skincolour = 16644063 /* 0xFDF7DF */;
_parent._parent._parent.note = "You have selected the race elf for this character. The elves are a magical race from another realm and time. Primary focus on magic.";
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].gender == "female") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].gender = "female";
_parent._parent._parent.note = "You have selected the female gender for this character.";
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].gender == "male") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].gender = "male";
_parent._parent._parent.note = "You have selected the male gender for this character.";
}
Instance of Symbol 667 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
changer = "skincolour";
this.gotoAndStop(_root["char" + _root.current].race);
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root["char" + _root.current].race == "demon") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].race = "demon";
_parent._parent.note = "Demons are immortal and an unrivaled force in all forms of battle.";
}
Instance of Symbol 609 MovieClip in Symbol 674 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root["char" + _root.current].gender == "male") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].gender = "male";
_parent._parent._parent.note = "You have selected the male gender for this character.";
}
Symbol 678 Button
on (press) {
gotoAndStop (1);
}
Symbol 679 Button
on (press) {
gotoAndStop (2);
}
Symbol 680 Button
on (press) {
gotoAndStop (3);
}
Symbol 692 MovieClip Frame 1
stop();
Instance of Symbol 667 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
changer = "haircolour";
this.gotoAndStop("Hair");
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].hairstyle == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].hairstyle = 1;
_parent._parent._parent.note = "You have changed their hairstyle.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].hairstyle == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].hairstyle = 2;
_parent._parent._parent.note = "You have changed their hairstyle.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].hairstyle == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].hairstyle = 3;
_parent._parent._parent.note = "You have changed their hairstyle.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].hairstyle == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].hairstyle = 4;
_parent._parent._parent.note = "You have changed their hairstyle.";
}
Instance of Symbol 667 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
changer = "eyecolour";
this.gotoAndStop("Eyes");
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].eyes == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].eyes = 1;
_parent._parent._parent.note = "You have changed their eyes.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].eyes == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].eyes = 2;
_parent._parent._parent.note = "You have changed their eyes.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].eyes == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].eyes = 3;
_parent._parent._parent.note = "You have changed their eyes.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].eyes == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].eyes = 4;
_parent._parent._parent.note = "You have changed their eyes.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].mouth == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].mouth = 1;
_parent._parent._parent.note = "You have changed their mouth.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].mouth == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].mouth = 2;
_parent._parent._parent.note = "You have changed their mouth.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].mouth == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].mouth = 3;
_parent._parent._parent.note = "You have changed their mouth.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].mouth == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].mouth = 4;
_parent._parent._parent.note = "You have changed their mouth.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].nose == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].nose = 1;
_parent._parent._parent.note = "You have changed their hairstyle.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].nose == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].nose = 2;
_parent._parent._parent.note = "You have changed their nose.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].nose == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].nose = 3;
_parent._parent._parent.note = "You have changed their nose.";
}
Instance of Symbol 609 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].nose == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].nose = 4;
_parent._parent._parent.note = "You have changed their nose.";
}
Symbol 707 MovieClip Frame 1
stop();
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicAxe") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicAxe";
_parent._parent._parent.note = "You have selected the axe. A powerful weapon, but its heavy nature makes it hard to wield.";
}
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicSword") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicSword";
_parent._parent._parent.note = "You have selected the sword. Swords are a good all rounder weapon.";
}
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicMace") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicMace";
_parent._parent._parent.note = "You have selected the mace. Maces can stun enemies but are heavy and have low accuracy.";
}
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicKnife") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicKnife";
_parent._parent._parent.note = "You have selected the knife. A small weapon that can be used for fast attacks that can stun.";
}
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicGun") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicGun";
_parent._parent._parent.note = "You have selected the gun. A ranged weapon with high accuracy.";
}
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicWand") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicWand";
_parent._parent._parent.note = "You have selected the Wand. Wands are a powerful ranged weapon.";
}
Instance of Symbol 609 MovieClip in Symbol 707 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root["char" + _root.current].weapon == "basicStaff") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].weapon = "basicStaff";
_parent._parent._parent.note = "You have selected the staff. Staffs enhance magic attacks.";
}
Symbol 717 Button
on (press) {
if (_root["char" + _root.current].pointsLeft > 0) {
_root["char" + _root.current].strengthPoints = _root["char" + _root.current].strengthPoints + 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft - 1;
}
}
Symbol 718 Button
on (press) {
if (_root["char" + _root.current].strengthPoints > 0) {
_root["char" + _root.current].strengthPoints = _root["char" + _root.current].strengthPoints - 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft + 1;
}
}
Symbol 720 Button
on (press) {
if (_root["char" + _root.current].pointsLeft > 0) {
_root["char" + _root.current].endurancePoints = _root["char" + _root.current].endurancePoints + 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft - 1;
}
}
Symbol 721 Button
on (press) {
if (_root["char" + _root.current].endurancePoints > 0) {
_root["char" + _root.current].endurancePoints = _root["char" + _root.current].endurancePoints - 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft + 1;
}
}
Symbol 723 Button
on (press) {
if (_root["char" + _root.current].pointsLeft > 0) {
_root["char" + _root.current].magicPoints = _root["char" + _root.current].magicPoints + 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft - 1;
}
}
Symbol 724 Button
on (press) {
if (_root["char" + _root.current].magicPoints > 0) {
_root["char" + _root.current].magicPoints = _root["char" + _root.current].magicPoints - 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft + 1;
}
}
Symbol 726 Button
on (press) {
if (_root["char" + _root.current].pointsLeft > 0) {
_root["char" + _root.current].healthPoints = _root["char" + _root.current].healthPoints + 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft - 1;
}
}
Symbol 727 Button
on (press) {
if (_root["char" + _root.current].healthPoints > 0) {
_root["char" + _root.current].healthPoints = _root["char" + _root.current].healthPoints - 1;
_root["char" + _root.current].pointsLeft = _root["char" + _root.current].pointsLeft + 1;
}
}
Symbol 729 MovieClip Frame 1
stop();
Instance of Symbol 674 MovieClip in Symbol 729 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.current == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (load) {
if (_root.current == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 692 MovieClip in Symbol 729 MovieClip Frame 2
onClipEvent (load) {
if (_root.current == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.current == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 609 MovieClip in Symbol 729 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root["char" + _root.current].Yclass == "rogue") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].Yclass = "rogue";
_root["char" + _root.current].weapon = "basicKnife";
if (_root.current != 1) {
_root["char" + _root.current].hands = "rogue";
_root["char" + _root.current].feet = "rogue";
_root["char" + _root.current].torso = "rogue";
_root["char" + _root.current].legs = "rogue";
}
_parent._parent.note = "Rogue class selected. A Rogue's focus is on stealth, quick kills and stun.";
}
Instance of Symbol 609 MovieClip in Symbol 729 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root["char" + _root.current].Yclass == "knight") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].Yclass = "knight";
_root["char" + _root.current].weapon = "basicSword";
if (_root.current != 1) {
_root["char" + _root.current].hands = "knight";
_root["char" + _root.current].feet = "knight";
_root["char" + _root.current].torso = "knight";
_root["char" + _root.current].legs = "knight";
}
_parent._parent.note = "Knight class selected. A Knight's focus is on strength, power attacks and defence.";
}
Instance of Symbol 609 MovieClip in Symbol 729 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root["char" + _root.current].Yclass == "warlock") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].Yclass = "warlock";
_root["char" + _root.current].weapon = "basicWand";
if (_root.current != 1) {
_root["char" + _root.current].hands = "warlock";
_root["char" + _root.current].feet = "warlock";
_root["char" + _root.current].torso = "warlock";
_root["char" + _root.current].legs = "warlock";
}
_parent._parent.note = "Warlock class selected. A Warlock's focus is on dark magic, sickness and necromancy.";
}
Instance of Symbol 609 MovieClip in Symbol 729 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root["char" + _root.current].Yclass == "mage") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (press) {
_root["char" + _root.current].Yclass = "mage";
_root["char" + _root.current].weapon = "basicStaff";
if (_root.current != 1) {
_root["char" + _root.current].hands = "mage";
_root["char" + _root.current].feet = "mage";
_root["char" + _root.current].torso = "mage";
_root["char" + _root.current].legs = "mage";
}
_parent._parent.note = "Mage class selected. A Mage's focus is on elemental magic, healing and summoning.";
}
Instance of Symbol 707 MovieClip in Symbol 729 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root["char" + _root.current].Yclass);
}
Instance of Symbol 711 MovieClip in Symbol 729 MovieClip Frame 4
onClipEvent (enterFrame) {
_parent.points = _root["char" + _root.current].pointsLeft;
_parent.str = _root["char" + _root.current].strengthPoints;
_parent.def = _root["char" + _root.current].endurancePoints;
_parent.magic = _root["char" + _root.current].magicPoints;
_parent.health = _root["char" + _root.current].healthPoints;
}
Symbol 731 Button
on (press) {
_root.currentChange = 1;
main.main.gotoAndStop("basic");
main.main.main.gotoAndPlay("exit");
windows.main.gotoAndStop("basic");
windows.main.main.gotoAndPlay("exit");
}
Symbol 732 Button
on (press) {
_root.currentChange = 2;
main.main.gotoAndStop("basic");
main.main.main.gotoAndPlay("exit");
windows.main.gotoAndStop("basic");
windows.main.main.gotoAndPlay("exit");
}
Symbol 733 Button
on (press) {
_root.currentChange = 3;
main.main.gotoAndStop("basic");
main.main.main.gotoAndPlay("exit");
windows.main.gotoAndStop("basic");
windows.main.main.gotoAndPlay("exit");
}
Symbol 735 Button
on (press) {
i = 1;
while (i < 4) {
_root["char" + i].GHealth = 2000;
_root["char" + i].GMagic = 3000;
i++;
}
_root.newGame = true;
_root.leaveBattle = true;
_root.runner = true;
_root.mapx = 666.55;
_root.mapy = -292;
_root.gotoAndStop("map");
}
Symbol 746 MovieClip Frame 7
stop();
Symbol 752 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 2
_parent.blood.play();
Symbol 760 MovieClip Frame 10
_root.main.gotoAndStop("breath");
Symbol 760 MovieClip Frame 31
i = 1;
while (i < 4) {
if (_root["char" + i].GHealth > 0) {
_root.currentChange = i;
gotoAndPlay ("enter");
}
i++;
}
Symbol 760 MovieClip Frame 33
stop();
_root.died = true;
_root.redin.play();
Symbol 760 MovieClip Frame 49
_root.main.gotoAndStop("breath");
Symbol 760 MovieClip Frame 64
_root.main.gotoAndStop("breath");
Symbol 760 MovieClip Frame 82
_root.current = _root.currentChange;
Symbol 760 MovieClip Frame 83
_root.main._alpha = 100;
_root.stealth = 0;
Symbol 760 MovieClip Frame 88
_root["participate" + _root.current] = true;
Symbol 760 MovieClip Frame 90
_root.battle.play();
_parent.gotoAndStop("breath");
Symbol 760 MovieClip Frame 95
if (random(3) != 0) {
} else {
_root.messages = "You were unable to run!";
_root.battle.play();
_root.main.gotoAndStop("breath");
}
Symbol 760 MovieClip Frame 104
stop();
_root.leaveBattle = true;
_root.runner = true;
_root.redin.play();
Symbol 767 MovieClip Frame 7
stop();
Symbol 777 MovieClip Frame 1
if (_root.choice2 == "mage1") {
this.gotoAndStop(_root.element[_root.Belement][1]);
} else {
stop();
}
Symbol 784 MovieClip Frame 6
stop();
Symbol 790 MovieClip Frame 6
stop();
Symbol 796 MovieClip Frame 2
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Wand") {
gotoAndPlay ("wand");
}
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Staff") {
gotoAndPlay ("staff");
}
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Knife") {
gotoAndPlay ("knife");
}
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Gun") {
gotoAndPlay ("gun");
}
Symbol 796 MovieClip Frame 7
if (_root.general.pAttack) {
_root.hitneed = true;
_root.keyhit.play();
}
Symbol 796 MovieClip Frame 15
if (_root.general.pAttack) {
stop();
}
Symbol 796 MovieClip Frame 16
if (!_root.hitMe("miss")) {
gotoAndPlay(_root.hitMe("guard"));
}
Symbol 796 MovieClip Frame 18
_root.hitMe("dodge");
Symbol 796 MovieClip Frame 19
if (!_root.hitMe("miss")) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 796 MovieClip Frame 36
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 37
_root.enemy.enemy.gotoAndPlay("block");
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Wand") {
gotoAndPlay ("wandGuard");
}
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Staff") {
gotoAndPlay ("staffGuard");
}
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Knife") {
gotoAndPlay ("knifeGuard");
}
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Gun") {
gotoAndPlay ("gunGuard");
}
Symbol 796 MovieClip Frame 44
gotoAndPlay ("return");
Symbol 796 MovieClip Frame 46
if (_root.general.pAttack) {
_root.hitneed = true;
_root.keyhit.play();
}
Symbol 796 MovieClip Frame 51
if (_root.general.pAttack) {
stop();
}
Symbol 796 MovieClip Frame 52
if (!_root.hitMe("miss")) {
gotoAndPlay(_root.hitMe("guard"));
}
Symbol 796 MovieClip Frame 53
_root.hitMe("dodge");
Symbol 796 MovieClip Frame 56
if (!_root.hitMe("miss")) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 796 MovieClip Frame 71
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 73
if (_root.general.pAttack) {
_root.hitneed = true;
_root.keyhit.play();
}
Symbol 796 MovieClip Frame 77
if (_root.general.pAttack) {
stop();
}
Symbol 796 MovieClip Frame 78
if (!_root.hitMe("miss")) {
gotoAndPlay(_root.hitMe("guard"));
}
Symbol 796 MovieClip Frame 79
_root.hitMe("dodge");
Symbol 796 MovieClip Frame 81
if (!_root.hitMe("miss")) {
_root.attack_func("staff");
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 796 MovieClip Frame 91
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 93
if (_root.general.pAttack) {
_root.hitneed = true;
_root.keyhit.play();
}
Symbol 796 MovieClip Frame 94
if (_root.general.pAttack) {
stop();
}
Symbol 796 MovieClip Frame 96
if (!_root.hitMe("miss")) {
gotoAndPlay(_root.hitMe("guard"));
}
Symbol 796 MovieClip Frame 97
_root.hitMe("dodge");
Symbol 796 MovieClip Frame 99
if (!_root.hitMe("miss")) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 796 MovieClip Frame 113
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 125
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 135
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 145
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 147
if (_root.general.pAttack) {
_root.hitneed = true;
_root.keyhit.play();
}
Symbol 796 MovieClip Frame 150
if (_root.general.pAttack) {
stop();
}
Symbol 796 MovieClip Frame 151
if (!_root.hitMe("miss")) {
gotoAndPlay(_root.hitMe("guard"));
}
Symbol 796 MovieClip Frame 152
_root.hitMe("dodge");
Symbol 796 MovieClip Frame 153
if (!_root.hitMe("miss")) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 796 MovieClip Frame 169
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 796 MovieClip Frame 178
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 814 MovieClip Frame 14
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth + int(_root["char" + _root.current].GHealth * ((random(40) + 10) * 0.01));
if (_root["char" + _root.current].GHealth > _root["char" + _root.current].MaxHealth) {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
}
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 10;
Symbol 814 MovieClip Frame 28
_root.battle.play();
_parent.gotoAndStop("breath");
Symbol 814 MovieClip Frame 49
_root.attack_func("burst");
Symbol 814 MovieClip Frame 56
_root.battle.play();
_parent.gotoAndStop("breath");
Symbol 814 MovieClip Frame 65
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth - int(_root["char" + _root.current].GHealth * 0.9);
_root.bonusXP = true;
Symbol 814 MovieClip Frame 79
_root.battle.play();
_parent.gotoAndStop("breath");
Instance of Symbol 439 MovieClip "object" in Symbol 814 MovieClip Frame 83
onClipEvent (enterFrame) {
this.gotoAndStop(_root.choice3);
}
Symbol 814 MovieClip Frame 94
iTemp = _root.findItem(_root.choice3);
if (_root.inventoryItem[iTemp].itemName == "Small Potion") {
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth + 100;
if (_root["char" + _root.current].GHealth > _root["char" + _root.current].MaxHealth) {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
}
_root.messages = ((("You have been cured for 100 health. You now have " + _root["char" + _root.current].GHealth) + " / ") + _root["char" + _root.current].MaxHealth) + " health.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Medium Potion") {
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth + 1000;
if (_root["char" + _root.current].GHealth > _root["char" + _root.current].MaxHealth) {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
}
_root.messages = ((("You have been cured for 1000 health. You now have " + _root["char" + _root.current].GHealth) + " / ") + _root["char" + _root.current].MaxHealth) + " health.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Strong Potion") {
_root["char" + _root.current].GHealth = _root["char" + _root.current].MaxHealth;
_parent.note = ((("You have been completly healed. You now have " + _root["char" + _root.current].GHealth) + " / ") + _root["char" + _root.current].MaxHealth) + " health.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Magic Potion") {
_root["char" + _root.current].GMagic = _root["char" + _root.current].MaxMagic;
_root.messages = ((("Your magic has been restored. You now have " + _root["char" + _root.current].GMagic) + " / ") + _root["char" + _root.current].MaxMagic) + " magic.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Cure Potion") {
_root["char" + _root.current].yStatus = "normal";
_root.messages = "Your sickness has been cured.";
_root.inventoryItem[iTemp].itemNo = _root.inventoryItem[iTemp].itemNo - 1;
} else if (_root.inventoryItem[iTemp].itemName == "Defence Potion") {
_root.defencePotion = true;
_root.messages = "You used the defence potion. The next attack on your party will be deflected.";
}
if (_root.inventoryItem[iTemp].itemNo == 0) {
_root.removeAnItem(iTemp);
}
Symbol 814 MovieClip Frame 107
_root.battle.play();
_parent.gotoAndStop("breath");
Symbol 832 MovieClip Frame 8
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 10;
if (random(5) != 0) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 832 MovieClip Frame 17
if (random(5) != 0) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 832 MovieClip Frame 23
if (random(5) != 0) {
_root.attack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.enemy.enemy.gotoAndPlay("miss");
}
Symbol 832 MovieClip Frame 33
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 832 MovieClip Frame 42
_root.strBoost = 4;
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 10;
Symbol 832 MovieClip Frame 65
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 832 MovieClip Frame 74
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 20;
_root.attack_func();
_root.Bstatus = "wounded";
_root.playSound("stab");
Symbol 832 MovieClip Frame 82
_root.attack_func();
_root.playSound("stab");
Symbol 832 MovieClip Frame 95
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 832 MovieClip Frame 112
_root.attack_func("champion");
_root.playSound("stab");
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 50;
Symbol 832 MovieClip Frame 132
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 840 MovieClip Frame 12
if ((!_root.stolen) || (random(4) == 0)) {
_root.stolen = true;
stolen = (random(30) * _root.Blevel) + 20;
_root.general.money = _root.general.money + stolen;
_root.messages = ("You stole " + stolen) + " gold off the enemy!";
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 5;
} else {
_root.messages = "You could not find anything.";
}
Symbol 840 MovieClip Frame 23
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 840 MovieClip Frame 25
if (_root.weapon[_root["char" + _root.current].weapon].wepType == "Gun") {
gotoAndPlay ("gun");
}
Symbol 840 MovieClip Frame 29
compare = (_root.BHealth / _root.MaxBHealth) * 100;
Symbol 840 MovieClip Frame 30
if (compare > 40) {
_root.enemy.enemy.gotoAndPlay("miss");
_root.playSound("miss");
} else {
_root.playSound("stab");
_root.enemy.enemy.gotoAndPlay("hit");
}
Symbol 840 MovieClip Frame 34
if (compare > 40) {
_root.enemy.enemy.gotoAndPlay("miss");
_root.playSound("miss");
} else {
_root.playSound("stab");
_root.enemy.enemy.gotoAndPlay("hit");
}
Symbol 840 MovieClip Frame 38
if (compare > 40) {
_root.enemy.enemy.gotoAndPlay("miss");
_root.playSound("miss");
} else {
_root.playSound("stab");
_root.enemy.enemy.gotoAndPlay("hit");
}
Symbol 840 MovieClip Frame 39
if ((compare <= 40) && (_root.locate != 20)) {
_root.actualstr = _root.BHealth;
_root.BHealth = 0;
_root.enemyHP.gotoAndPlay(1);
}
if ((compare <= 40) && (_root.locate == 20)) {
_root.messages = "It didn't work!";
}
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 10;
Symbol 840 MovieClip Frame 53
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 840 MovieClip Frame 59
compare = (_root.BHealth / _root.MaxBHealth) * 100;
Symbol 840 MovieClip Frame 60
if (compare > 35) {
_root.enemy.enemy.gotoAndPlay("miss");
} else {
_root.playSound("stab");
_root.enemy.enemy.gotoAndPlay("hit");
}
Symbol 840 MovieClip Frame 65
if (compare > 35) {
_root.enemy.enemy.gotoAndPlay("miss");
} else {
_root.playSound("stab");
_root.enemy.enemy.gotoAndPlay("hit");
}
Symbol 840 MovieClip Frame 70
if (compare > 35) {
_root.enemy.enemy.gotoAndPlay("miss");
} else {
_root.playSound("stab");
_root.enemy.enemy.gotoAndPlay("hit");
}
Symbol 840 MovieClip Frame 71
if (compare <= 35) {
_root.actualstr = _root.BHealth;
_root.BHealth = 0;
_root.enemyHP.gotoAndPlay(1);
}
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 10;
Symbol 840 MovieClip Frame 86
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 840 MovieClip Frame 92
_root.main._alpha = 75;
_root.stealth = 3;
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 25;
Symbol 840 MovieClip Frame 93
_root.main._alpha = 50;
Symbol 840 MovieClip Frame 94
_root.main._alpha = 25;
Symbol 840 MovieClip Frame 95
_root.main._alpha = 20;
Symbol 840 MovieClip Frame 107
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 840 MovieClip Frame 124
_root.attack_func("strike");
_root.playSound("stab");
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 40;
Symbol 840 MovieClip Frame 139
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 892 MovieClip Frame 17
_root.attack_func("elemental");
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 5;
Symbol 892 MovieClip Frame 31
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 892 MovieClip Frame 44
_root["char" + _root.currentChange].GHealth = int(_root["char" + _root.currentChange].MaxHealth * 0.5);
_root["char" + _root.current].GMagic = 0;
Symbol 892 MovieClip Frame 52
tempcurrent = _root.current;
_root.current = _root.currentChange;
Symbol 892 MovieClip Frame 74
_root.current = tempcurrent;
Symbol 892 MovieClip Frame 93
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 892 MovieClip Frame 105
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 30;
i = 1;
while (i < 4) {
if (_root["char" + i].GHealth > 0) {
_root["char" + i].GHealth = _root["char" + i].GHealth + int(_root["char" + i].MaxHealth * 0.5);
}
i++;
}
Symbol 892 MovieClip Frame 126
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 892 MovieClip Frame 130
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 30;
Symbol 892 MovieClip Frame 146
_root.attack_func();
Symbol 892 MovieClip Frame 152
_root.attack_func();
Symbol 892 MovieClip Frame 158
_root.attack_func();
Symbol 892 MovieClip Frame 164
_root.attack_func();
Symbol 892 MovieClip Frame 170
_root.attack_func();
Symbol 892 MovieClip Frame 182
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 903 MovieClip Frame 17
_root.attack_func("darkness");
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 5;
Symbol 903 MovieClip Frame 32
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 903 MovieClip Frame 46
_root.enemy.enemy.gotoAndPlay("hit");
if (_root.Bstatus == "pain") {
_root.Bstatus = "painsick";
trace("painsick");
} else {
_root.Bstatus = "sick";
}
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 10;
Symbol 903 MovieClip Frame 67
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 903 MovieClip Frame 82
_root.enemy.enemy.gotoAndPlay("hit");
if (_root.Bstatus == "sick") {
_root.Bstatus = "painsick";
trace("painsick");
} else {
_root.Bstatus = "pain";
}
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 30;
Symbol 903 MovieClip Frame 95
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 903 MovieClip Frame 114
_root.attack_func("summon");
_root["char" + _root.current].GMagic = _root["char" + _root.current].GMagic - 50;
Symbol 903 MovieClip Frame 130
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 904 MovieClip Frame 1
stop();
Symbol 941 Button
on (release) {
gotoAndStop (1);
}
Symbol 969 Button
on (press) {
gotoAndStop ("Copine");
}
Symbol 972 Button
on (press) {
gotoAndStop ("Falan");
}
Symbol 990 Button
on (press) {
gotoAndStop ("galaxy");
}
Symbol 1002 Button
on (press) {
gotoAndStop ("Desilea");
}
Symbol 1017 MovieClip Frame 1
stop();
Symbol 1017 MovieClip Frame 2
i = 1;
while (i < 8) {
this["tel" + i].iTemp = i;
this["tel" + i]._visible = _root.locations[_root.towns[i]];
this["tel" + i].onPress = function () {
if (_root.map.man.hitTest(_root.map.teleporter)) {
_root.area = _root.towns[this.iTemp];
trace(_root.area);
_root.mapx = _root.townx[this.iTemp];
_root.mapy = _root.towny[this.iTemp];
_root.leaveBattle = true;
_root.porter.play();
_root.runner = true;
_root.menuopen = false;
} else {
_parent.note = "You need to be standing on a teleporter.";
}
};
i++;
}
Symbol 1017 MovieClip Frame 3
i = 4;
while (i < 7) {
this["tel" + i].iTemp = i;
this["tel" + i]._visible = _root.locations[_root.towns[i]];
this["tel" + i].onPress = function () {
if (_root.map.man.hitTest(_root.map.teleporter)) {
_root.area = _root.towns[this.iTemp];
trace(_root.area);
_root.mapx = _root.townx[this.iTemp];
_root.mapy = _root.towny[this.iTemp];
_root.leaveBattle = true;
_root.porter.play();
_root.runner = true;
_root.menuopen = false;
} else {
_parent.note = "You need to be standing on a teleporter.";
}
};
i++;
}
Instance of Symbol 1031 MovieClip in Symbol 1032 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._x = _root.map._x - 20;
_root.map.man._x = _root.map.man._x + 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1032 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._x = _root.map._x + 20;
_root.map.man._x = _root.map.man._x - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1032 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y + 20;
_root.map.man._y = _root.map.man._y - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1032 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y - 20;
_root.map.man._y = _root.map.man._y + 20;
}
}
Symbol 1040 MovieClip Frame 1
stop();
Instance of Symbol 1037 MovieClip in Symbol 1040 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = -463.45;
_root.mapy = -677;
_root.area = "fate1";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Instance of Symbol 1037 MovieClip in Symbol 1040 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = -463.45;
_root.mapy = -677;
_root.area = "agmar1";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Instance of Symbol 1037 MovieClip in Symbol 1040 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = 271.05;
_root.mapy = -654.5;
_root.area = "doom1";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Symbol 1062 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1072 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1082 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1093 MovieClip Frame 1
stop();
gotoAndStop(_root.helmType);
Symbol 1094 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1102 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1112 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1116 MovieClip Frame 1
stop();
gotoAndStop(_root.helmType);
Symbol 1121 MovieClip Frame 1
stop();
gotoAndStop(_root.helmType);
Symbol 1128 MovieClip Frame 1
stop();
gotoAndStop(_root.helmType);
Symbol 1129 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1139 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1150 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1160 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Instance of Symbol 1031 MovieClip in Symbol 1167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y + 20;
_root.map.man._y = _root.map.man._y - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y - 20;
_root.map.man._y = _root.map.man._y + 20;
}
}
Symbol 1187 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1190 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1193 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1195 MovieClip Frame 1
stop();
Instance of Symbol 1040 MovieClip in Symbol 1195 MovieClip Frame 8
onClipEvent (load) {
if (_root.ruins2allowed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1152 MovieClip in Symbol 1195 MovieClip Frame 13
onClipEvent (load) {
_root.enemykind = "Fish Man";
}
Instance of Symbol 1158 MovieClip in Symbol 1195 MovieClip Frame 14
onClipEvent (load) {
_root.enemykind = "Wolf Man";
}
Instance of Symbol 1161 MovieClip in Symbol 1195 MovieClip Frame 15
onClipEvent (load) {
_root.enemykind = "Bandit";
}
Instance of Symbol 1194 MovieClip in Symbol 1195 MovieClip Frame 19
onClipEvent (load) {
_root.enemykind = "Ice Element";
}
Symbol 1197 MovieClip Frame 1
stop();
Symbol 1206 Button
on (press) {
gotoAndStop ("sellItems");
_root.Menu1.popup._visible = false;
}
Symbol 1211 Button
on (release) {
gotoAndStop (1);
gotoAndStop(_root.nPrevious);
}
Symbol 1221 MovieClip Frame 1
stop();
Symbol 1221 MovieClip Frame 13
_root.attack_pet_func();
Symbol 1221 MovieClip Frame 28
gotoAndStop (1);
_root.battle.play();
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1233 Button
on (press) {
if (selects != 0) {
trace(_root.jobs[selects].questName);
if (_root.addQuest(_root.jobs[selects].questName, _root.jobs[selects].questDes, _root.jobs[selects].questTitle, _root.jobs[selects].questObjective)) {
_root.removeJob(_root.jobs[selects].questName);
if (_root.shopType == "bunker") {
_root.jobsChange(1);
} else if (_root.shopType == "zyte") {
_root.jobsChange(2);
} else if (_root.shopType == "ice") {
_root.jobsChange(3);
}
_root.Menu1.gotoAndStop(1);
_root.Menu1.gotoAndStop("jobs");
returner = 1;
} else {
note = "You already have to many quests";
}
selects = 0;
}
}
Symbol 1236 Button
on (press) {
reward = 0;
i = 1;
while (i < 11) {
if (_root.findQuest("Job" + i) != false) {
if (_root.quests[_root.findQuest("Job" + i)].questObjective[0] == _root.quests[_root.findQuest("Job" + i)].questObjective[1]) {
reward = reward + _root.jobReward;
_root.removeQuest("Job" + i);
}
}
i++;
}
if (reward > 0) {
note = "Here is your reward for your completed quests: $" + reward;
_root.general.money = _root.general.money + reward;
} else {
note = "You have not completed any jobs to be paid for.";
}
}
Symbol 1255 Button
on (press) {
if (_root.leftArena == true) {
gotoAndStop ("arena");
} else {
_root.menuopen = false;
}
}
Symbol 1263 MovieClip Frame 1
stop();
Symbol 1289 Button
on (press) {
_root.locate = 21;
_root.zone = "arena";
_root.shatter.play();
}
Symbol 1308 MovieClip Frame 1
stop();
Symbol 1329 Button
on (press) {
_root._quality = "HIGH";
qual = "HIGH";
}
Symbol 1331 Button
on (press) {
_root._quality = "MEDIUM";
qual = "MEDIUM";
}
Symbol 1333 Button
on (press) {
_root._quality = "LOW";
qual = "LOW";
}
Symbol 1338 Button
on (press) {
_root.general.playMusic = true;
_root.playMusic(_root.theMix);
qual2 = "On";
}
Symbol 1340 Button
on (press) {
_root.general.playMusic = false;
_root.theSound = "pp";
stopAllSounds();
qual2 = "Off";
}
Symbol 1345 Button
on (press) {
_root.general.pAttack = true;
qual3 = "Reaction";
}
Symbol 1347 Button
on (press) {
_root.general.pAttack = false;
qual3 = "Calculated";
}
Symbol 1351 Button
on (press) {
_root.gotoAndPlay(1);
}
Symbol 1353 MovieClip Frame 1
stop();
note = "Welcome to your personal PDA device. This device detects your current location, status and equipment and can supply you with useful information on your travels. Check it reguarly inorder to keep yourself organised and efficient on your travels.";
Instance of Symbol 598 MovieClip "popup" in Symbol 1353 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 1353 MovieClip Frame 2
note = "Welcome to the LRU: Empires character creation page. Customize your team members with different weapons, looks, classes and stats.";
cus1 = _root.char2.yName;
cus2 = _root.char3.yName;
Symbol 1353 MovieClip Frame 3
note = "This menu tracks all the important stats of your team. Press the buttons next to names of your characters to view their stats.";
cus1 = _root.char2.yName;
cus2 = _root.char3.yName;
Instance of Symbol 909 MovieClip in Symbol 1353 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent.named = _root["char" + _root.current].yName;
_parent.hp = (_root["char" + _root.current].GHealth + " / ") + _root["char" + _root.current].MaxHealth;
_parent.mp = (_root["char" + _root.current].GMagic + " / ") + _root["char" + _root.current].MaxMagic;
_parent.stats = _root["char" + _root.current].yStatus;
_parent.xp = _root["char" + _root.current].XP;
_parent.lvl = _root["char" + _root.current].lvl;
_parent.str = _root["char" + _root.current].str;
_parent.speed = _root["char" + _root.current].speed;
_parent.def = _root["char" + _root.current].defence;
_parent.wep = _root.weapon[_root["char" + _root.current].weapon].wepType;
_parent.hunt = _root.general.hunter;
_parent.money = _root.general.money;
if ((_root["char" + _root.current].alignment > -50) && (_root["char" + _root.current].alignment < 50)) {
_parent.align = "Neutral";
} else if (_root["char" + _root.current].alignment < -50) {
_parent.align = "Dark";
} else {
_parent.align = "Light";
}
}
Symbol 1353 MovieClip Frame 4
function setInventory() {
i = 0;
while (i < 24) {
this["inv" + i].iTemp = i;
this["slot" + i].iTemp = i;
this["inv" + i].onEnterFrame = function () {
this.gotoAndStop(_root.inventoryItem[this.iTemp].itemType);
this.object.gotoAndStop(_root.inventoryItem[this.iTemp].armorPart);
this.count = _root.inventoryItem[this.iTemp].itemNo;
this.object.armor.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
this.object.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
};
this["slot" + i].onPress = function () {
popup.iTemp = this.iTemp;
popup.inv.gotoAndStop(_root.inventoryItem[this.iTemp].itemType);
popup.inv.object.gotoAndStop(_root.inventoryItem[this.iTemp].armorPart);
popup.inv.object.armor.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
popup.inv.object.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
popup.gotoAndStop(_root.inventoryItem[this.iTemp].itemType);
_root.Menu1.note = _root.inventoryItem[this.iTemp].itemDes;
popup.note = _root.inventoryItem[this.iTemp].itemDes;
popup._visible = true;
};
i++;
}
}
if (note2 == undefined) {
note = "In this menu you can use and equip items from your inventory by clicking the icon which will bring up the menu.";
} else {
note = note2;
note2 = undefined;
}
cus1 = _root.char2.yName;
cus2 = _root.char3.yName;
counter = 0;
i = 0;
while (i < _root.general.slotsAvailable) {
if (_root.inventoryItem[i].itemName == "None") {
counter++;
}
i++;
}
slotsLeft = ((_root.general.slotsAvailable - counter) + "/") + _root.general.slotsAvailable;
setInventory();
Instance of Symbol 909 MovieClip in Symbol 1353 MovieClip Frame 4
onClipEvent (enterFrame) {
_parent.hp = (_root["char" + _root.current].GHealth + " / ") + _root["char" + _root.current].MaxHealth;
_parent.mp = (_root["char" + _root.current].GMagic + " / ") + _root["char" + _root.current].MaxMagic;
}
Symbol 1353 MovieClip Frame 5
note = "This menu displays your special items that can be used as keys for tombs, buildings and other locked areas. While standing near the door, click the appropriete item to use it.";
i = 0;
while (i < 18) {
this["inv" + i].iTemp = i;
this["slot" + i].iTemp = i;
this["inv" + i].onEnterFrame = function () {
this.gotoAndStop(_root.keyItem[this.iTemp].itemType);
this.object.gotoAndStop(_root.keyItem[this.iTemp].itemName);
};
this["slot" + i].onPress = function () {
if (_root.map.man.hitTest(_root.keyItem[this.iTemp].itemHit)) {
_root.access = true;
} else {
_root.Menu1.note = _root.keyItem[this.iTemp].itemDes + " I can't use it right now.";
}
};
i++;
}
Symbol 1353 MovieClip Frame 6
if ((_root.general.hub == "town1") || (_root.general.hub == "town2")) {
inv.gotoAndStop("Falan");
}
if (_root.general.hub == "town3") {
inv.gotoAndStop("Copine");
}
Symbol 1353 MovieClip Frame 7
if (_root.quests[1].questName != "None") {
_root.Menu1.pic.gotoAndStop(_root.quests[1].questName);
_root.Menu1.note = _root.quests[1].questDes;
if (_root.quests[1].questObjective[0] == _root.quests[1].questObjective[1]) {
_root.Menu1.Progress = "Quest Completed! ";
_root.Menu1.note = "Quest Completed! " + _root.quests[1].questObjective[2];
} else {
_root.Menu1.Progress = (_root.quests[1].questObjective[0] + " / ") + _root.quests[1].questObjective[1];
}
}
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].onPress = function () {
_root.Menu1.pic.gotoAndStop(_root.quests[this.iTemp].questName);
_root.Menu1.note = _root.quests[this.iTemp].questDes;
if (_root.quests[this.iTemp].questObjective[0] == _root.quests[this.iTemp].questObjective[1]) {
_root.Menu1.Progress = "Quest Completed! ";
_root.Menu1.note = "Quest Completed! " + _root.quests[this.iTemp].questObjective[2];
} else {
_root.Menu1.Progress = (_root.quests[this.iTemp].questObjective[0] + " / ") + _root.quests[this.iTemp].questObjective[1];
}
};
this["q" + i].note = _root.quests[i].questTitle;
if (this["q" + i].note == "Empty Quest Slot") {
this["q" + i]._visible = false;
}
i++;
}
Symbol 1353 MovieClip Frame 8
_root.nPrevious = "Armor";
money = _root.general.money;
if (_root.shopType != "Advanced") {
armors = ["", "Arcane Warrior Armor", "Arcane Mage Clothes"];
armorType = ["", "arcWarrior", "arcMage"];
} else {
armors = ["", "Advanced Warrior Armor", "Advanced Stamina Armor"];
armorType = ["", "advWarrior", "advSaver"];
}
bodyParts = ["torso", "hands", "legs", "feet"];
prices = [0, 100, 100];
selectedArmor = armorType[1];
price = prices[1];
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].onPress = function () {
selectedArmor = armorType[this.iTemp];
price = prices[this.iTemp];
i = 0;
while (i < 4) {
bodyPart = bodyParts[i];
_root.Menu1["inv" + i].object.gotoAndStop(bodyPart);
_root.Menu1["inv" + i].object.armor.part.gotoAndStop(selectedArmor);
i++;
}
};
this["q" + i].note = armors[i];
if (armors[i] == undefined) {
this["q" + i]._visible = false;
}
i++;
}
i = 0;
while (i < 4) {
this["slot" + i].iTemp = i;
this["inv" + i].gotoAndStop("armor2");
this["inv" + i].object.gotoAndStop(bodyParts[i]);
this["inv" + i].object.armor.part.gotoAndStop(selectedArmor);
this["slot" + i].onPress = function () {
popup.iTemp = this.iTemp;
popup.selectedArmor = selectedArmor;
popup.bodyPart = bodyParts[this.iTemp];
popup.gotoAndStop("buyArmor");
popup.inv.gotoAndStop("armor2");
popup.inv.object.gotoAndStop(bodyParts[this.iTemp]);
popup.inv.object.armor.part.gotoAndStop(selectedArmor);
_root.Menu1.note = ("Do you want to buy this item for $" + _root.armor[selectedArmor].price) + "?";
popup.note = "Description: " + _root.armor[selectedArmor].des;
popup._visible = true;
};
i++;
}
Symbol 1353 MovieClip Frame 9
function setInventory() {
i = 0;
while (i < 24) {
this["inv" + i].iTemp = i;
this["slot" + i].iTemp = i;
this["inv" + i].onEnterFrame = function () {
this.gotoAndStop(_root.inventoryItem[this.iTemp].itemType);
this.object.gotoAndStop(_root.inventoryItem[this.iTemp].armorPart);
this.count = _root.inventoryItem[this.iTemp].itemNo;
this.object.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
this.object.armor.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
};
this["slot" + i].onPress = function () {
popup.iTemp = this.iTemp;
popup.inv.gotoAndStop(_root.inventoryItem[this.iTemp].itemType);
popup.inv.object.gotoAndStop(_root.inventoryItem[this.iTemp].armorPart);
popup.inv.object.armor.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
popup.inv.object.part.gotoAndStop(_root.inventoryItem[this.iTemp].itemName);
popup.gotoAndStop("sellItems");
_root.Menu1.note = _root.inventoryItem[this.iTemp].itemDes;
popup.note = _root.inventoryItem[this.iTemp].itemDes;
popup._visible = true;
};
i++;
}
}
note = "To sell an item select the image of the item to bring up the menu and then accept the transaction. Warning: Once an item is sold there is no way of buying it back from the vendor.";
counter = 0;
i = 0;
while (i < _root.general.slotsAvailable) {
if (_root.inventoryItem[i].itemName == "None") {
counter++;
}
i++;
}
money = _root.general.money;
slotsLeft = ((_root.general.slotsAvailable - counter) + "/") + _root.general.slotsAvailable;
setInventory();
Symbol 1353 MovieClip Frame 10
note = "Welcome to my weapon shop. Use the list on the left to select the weapon type and then click the weapon image on the right to continue with the transaction.";
_root.nPrevious = "Weapon";
money = _root.general.money;
if (_root.shopType != "Advanced") {
weapons = ["", "Sword", "Axe", "Staff", "Wand", "Knife", "Mace"];
wepType = new Array();
wepType[0] = ["", "", "", "", ""];
wepType[1] = ["", "classicSword", "angleSword", "dualSword", "kingSword"];
wepType[2] = ["", "classicAxe", "dawnAxe", "duskAxe", "lordAxe"];
wepType[3] = ["", "powerStaff", "energyStaff", "eliteStaff", "warlordStaff"];
wepType[4] = ["", "bloodWand", "stormWand", "deathWand", "supremeWand"];
wepType[5] = ["", "stealthKnife", "sharpKnife", "quickKnife", "scalperKnife"];
wepType[6] = ["", "smasherMace", "grinderMace", "killerMace", "destroyerMace"];
} else {
weapons = ["", "Saber", "Gun"];
wepType = new Array();
wepType[0] = ["", "", "", "", ""];
wepType[1] = ["", "lifeSaber", "deathSaber", "natureSaber", "plasmaSaber"];
wepType[2] = ["", "hunterGun", "techGun", "energyGun", "plasmaGun"];
}
_root.wepChosen = 1;
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].onPress = function () {
price = _root.weapon[selectedWep].price;
_root.wepChosen = this.iTemp;
i = 0;
while (i < 4) {
_root.Menu1["inv" + i].object.gotoAndStop(weapons[this.iTemp]);
_root.Menu1["inv" + i].object.part.gotoAndStop(wepType[this.iTemp][i + 1]);
i++;
}
};
this["q" + i].note = weapons[i];
if (this["q" + i].note == undefined) {
this["q" + i]._visible = false;
}
i++;
}
i = 0;
while (i < 4) {
this["inv" + i].iTemp = i;
this["inv" + i].gotoAndStop("weapon");
this["inv" + i].object.gotoAndStop(weapons[1]);
this["inv" + i].object.part.gotoAndStop(wepType[1][i + 1]);
this["slot" + i].iTemp = i;
this["slot" + i].wepPart = wepType[_root.wepChosen][i + 1];
this["slot" + i].onPress = function () {
popup.types = wepType[_root.wepChosen][this.iTemp + 1];
popup.iTemp = this.iTemp;
popup.gotoAndStop("buyWeapon");
popup.inv.gotoAndStop("weapon");
popup.inv.object.gotoAndStop(weapons[_root.wepChosen]);
popup.inv.object.part.gotoAndStop(popup.types);
_root.Menu1.note = ("Do you want to buy this item for $" + _root.weapon[popup.types].price) + "?";
popup.note = "Description: " + _root.weapon[popup.types].des;
popup._visible = true;
};
i++;
}
Symbol 1353 MovieClip Frame 11
note = "This is where you can organise you current pets. To add one to your party select its image.";
josh = ["", "Goblin1", "Goblin2", "Goblin3", "Dog1", "Dog2", "Dog3", "Bird1", "Bird2", "Bird3"];
josh2 = ["", "goblin", "goblin", "goblin", "dog", "dog", "dog", "bird", "bird", "bird"];
i = 1;
while (i < 10) {
this["pic" + i].iTemp = i;
this["pic" + i].onEnterFrame = function () {
if (_root.pet[josh[this.iTemp]][3]) {
this.gotoAndStop(josh2[this.iTemp]);
this.pet.pet.stop();
i = 1;
while (i < 16) {
this.pet.pet["part" + i].gotoAndStop(josh[this.iTemp]);
i++;
}
} else {
this.gotoAndStop("locked");
}
};
i++;
}
i = 1;
while (i < 10) {
this["slot" + i].iTemp = i;
this["slot" + i].onPress = function () {
if (_root.pet[josh[this.iTemp]][3]) {
_root.pet.select = josh[this.iTemp];
_root.pet.species = josh2[this.iTemp];
battlepet.gotoAndStop(josh2[this.iTemp]);
i = 1;
while (i < 16) {
battlepet.pet.pet["part" + i].gotoAndStop(josh[this.iTemp]);
battlepet.pet.pet.pet["part" + i].gotoAndStop(josh[this.iTemp]);
i++;
}
note = (_root.pet[josh[this.iTemp]][4] + ", Selected. ") + _root.pet[josh[this.iTemp]][5];
} else {
note = "You do not own this pet.";
}
};
i++;
}
Instance of Symbol 1222 MovieClip "battlepet" in Symbol 1353 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(_root.pet.species);
}
onClipEvent (enterFrame) {
_parent.pets = _root.pet[_root.pet.select][4];
if (_parent.pets == "No Pet") {
this._visible = false;
} else {
this._visible = true;
}
if (_root.pet.species == "bird") {
this.pet._y = -36.3;
}
i = 1;
while (i < 16) {
this.pet.pet["part" + i].gotoAndStop(_root.pet.select);
this.pet.pet.pet["part" + i].gotoAndStop(_root.pet.select);
i++;
}
}
Instance of Symbol 526 MovieClip "pic3" in Symbol 1353 MovieClip Frame 11
/* no clip actions */
Symbol 1353 MovieClip Frame 12
note = "Welcome to my pet shop. Each species of pet has different attributes that will benefit your party.";
_root.nPrevious = "buypets";
money = _root.general.money;
josh = ["", "Goblin1", "Goblin2", "Goblin3", "Dog1", "Dog2", "Dog3", "Bird1", "Bird2", "Bird3"];
josh2 = ["", "goblin", "goblin", "goblin", "dog", "dog", "dog", "bird", "bird", "bird"];
i = 1;
while (i < 10) {
this["pic" + i].iTemp = i;
this["pic" + i].onEnterFrame = function () {
if (!_root.pet[josh[this.iTemp]][3]) {
this.gotoAndStop(josh2[this.iTemp]);
this.pet.pet.stop();
i = 1;
while (i < 5) {
this.pet.pet["part" + i].gotoAndStop(josh[this.iTemp]);
i++;
}
} else {
this.gotoAndStop("locked");
}
};
i++;
}
i = 1;
while (i < 10) {
this["slot" + i].iTemp = i;
this["slot" + i].onPress = function () {
if (!_root.pet[josh[this.iTemp]][3]) {
popup.gotoAndStop("buyPet");
popup.inv.gotoAndStop("pet");
popup._visible = true;
popup.note = _root.pet[josh[this.iTemp]][5];
popup.petType = josh2[this.iTemp];
popup.petName = josh[this.iTemp];
note = ("You want to buy this pet for " + _root.pet[josh[this.iTemp]][2]) + "?";
} else {
note = "You already own that pet.";
}
};
i++;
}
Symbol 1353 MovieClip Frame 13
selects = 0;
if (returner == 1) {
note = "You have accepted this job";
returner = 0;
} else {
note = "Select a job from the list. If the list is empty, you have completed all current jobs.";
}
if (_root.shopType == "bunker") {
_root.jobReward = 100;
_root.jobs = _root.jobs1;
} else if (_root.shopType == "zyte") {
_root.jobReward = 200;
_root.jobs = _root.jobs2;
} else if (_root.shopType == "ice") {
_root.jobReward = 350;
_root.jobs = _root.jobs3;
}
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].onPress = function () {
_root.Menu1.pic.gotoAndStop(_root.jobs[this.iTemp].questName);
_root.Menu1.note = _root.jobs[this.iTemp].questDes;
selects = this.iTemp;
};
this["q" + i].note = _root.jobs[i].questTitle;
if (this["q" + i].note == "Empty Quest Slot") {
this["q" + i]._visible = false;
}
i++;
}
Symbol 1353 MovieClip Frame 14
_root.nPrevious = "accessories";
money = _root.general.money;
potionType = ["", "Small Potion", "Medium Potion", "Strong Potion", "Magic Potion", "Cure Potion", "Defence Potion"];
potionDes = ["", "Small Potion: Heals the user for 100HP.", "Medium Potion: Heals the user for 1000HP.", "Strong Potion: Heals the user for All HP.", "Magic Potion: Restores all of your magic", "Cure Potion: Cures Sickness and poison", "Defence Potion: Defend against the next attack in battle"];
prices = [0, 10, 100, 250, 250, 100, 300];
i = 1;
while (i < 7) {
this["inv" + i].iTemp = i;
this["inv" + i].gotoAndStop("Potion");
this["inv" + i].object.gotoAndStop(potionType[i]);
this["inv" + i].count = 99;
i++;
}
i = 0;
while (i < 7) {
this["slot" + i].iTemp = i;
this["slot" + i].onPress = function () {
popup.iTemp = this.iTemp;
popup.gotoAndStop("buyPotion");
popup.inv.gotoAndStop("Potion");
popup.inv.object.gotoAndStop(potionType[this.iTemp]);
popup.inv.count = 1;
_root.Menu1.note = ("Do you want to buy this item for $" + prices[this.iTemp]) + "?";
popup.note = "Description: " + potionDes[this.iTemp];
popup._visible = true;
};
i++;
}
Symbol 1353 MovieClip Frame 15
_root.nPrevious = "spells";
money = _root.general.money;
spellType = ["", "aid", "burst", "handicap"];
prices = [0, 100, 200, 250];
i = 1;
while (i < 4) {
this["inv" + i].iTemp = i;
this["inv" + i].gotoAndStop("Spell");
this["inv" + i].object.gotoAndStop(spellType[i]);
i++;
}
i = 0;
while (i < 4) {
this["slot" + i].iTemp = i;
this["slot" + i].onPress = function () {
if (_root.spells[spellType[this.iTemp]][0] == false) {
popup.iTemp = this.iTemp;
popup.gotoAndStop("buySpell");
popup.inv.gotoAndStop("Spell");
popup.inv.object.gotoAndStop(spellType[this.iTemp]);
_root.Menu1.note = ("Do you want to buy this spell for $" + prices[this.iTemp]) + "?";
popup.note = "Description: " + _root.spells[spellType[this.iTemp]][2];
popup._visible = true;
} else {
_root.Menu1.note = "You already have that spell.";
}
};
i++;
}
Symbol 1353 MovieClip Frame 16
total = 0;
characterlvls = [_root.char1.XP - int((_root.char1.leveled * 1000) - 1000), _root.char2.XP - int((_root.char2.leveled * 1000) - 1000), _root.char3.XP - int((_root.char3.leveled * 1000) - 1000)];
characterlvls2 = [0, 0, 0];
if (_root.bonusXP == true) {
_root.BXPTotal = _root.BXPTotal + int(_root.BXPTotal * 0.5);
_root.bonusXP = false;
}
i = 1;
while (i < 4) {
if (_root["participate" + i]) {
this["xp" + i] = _root.BXPTotal;
} else {
this["xp" + i] = int(_root.BXPTotal * 0.75);
}
total = total + this["xp" + i];
characterlvls2[i - 1] = this["xp" + i];
_root["char" + i].XP = _root["char" + i].XP + this["xp" + i];
this["xp" + i] = this["xp" + i] + " XP";
this["lvl" + i] = _root["char" + i].lvl;
i++;
}
total = total + " XP";
moneyAwarded = int(_root.Bmoney * _root.BCOMPANY);
if (moneyAwarded > 300) {
moneyAwarded = 300 + random(10);
} else if (moneyAwarded < 50) {
moneyAwarded = 50 + random(10);
}
_root.general.money = _root.general.money + moneyAwarded;
earned = "$" + moneyAwarded;
money = _root.general.money;
cus1 = _root.char2.yName + "'s XP:";
cus2 = _root.char3.yName + "'s XP:";
ch1 = _root.char2.yName + ":";
ch2 = _root.char3.yName + ":";
note = "Congratulations, you have won the fight.";
truth = false;
i = 0;
while (i < 3) {
if ((characterlvls[i] + characterlvls2[i]) >= 1000) {
note = note + ((" " + _root["char" + (i + 1)].yName) + " has gained a level.");
truth = true;
}
i++;
}
if (truth == true) {
note = note + " They gain a skill point and an extra 10 magic and 100 health.";
}
i = 1;
while (i < 4) {
if (_root["char" + i].GHealth <= 0) {
_root["char" + i].GHealth = 1;
}
i++;
}
if (_root.champ == true) {
_root.champ = false;
gotoAndStop ("champ");
}
Instance of Symbol 1263 MovieClip in Symbol 1353 MovieClip Frame 16
onClipEvent (enterFrame) {
_parent.lvl1 = _root.char1.lvl;
initial = _root.char1.XP - int((_root.char1.leveled * 1000) - 1000);
this.note = initial + " XP / 1000 XP";
sp = int(initial / 10);
this.gotoAndStop(sp);
}
Instance of Symbol 1263 MovieClip in Symbol 1353 MovieClip Frame 16
onClipEvent (enterFrame) {
_parent.lvl2 = _root.char2.lvl;
initial = _root.char2.XP - int((_root.char2.leveled * 1000) - 1000);
this.note = initial + " XP / 1000 XP";
sp = int(initial / 10);
this.gotoAndStop(sp);
}
Instance of Symbol 1263 MovieClip in Symbol 1353 MovieClip Frame 16
onClipEvent (enterFrame) {
_parent.lvl3 = _root.char3.lvl;
initial = _root.char3.XP - int((_root.char3.leveled * 1000) - 1000);
this.note = initial + " XP / 1000 XP";
sp = int(initial / 10);
this.gotoAndStop(sp);
}
Symbol 1353 MovieClip Frame 17
i = 1;
while (i < 4) {
if (_root["char" + i].GHealth <= 0) {
_root["char" + i].GHealth = 1;
}
i++;
}
note = "You unfortunately failed to defeat your opponent. You have returned to the last town you visited.";
Symbol 1353 MovieClip Frame 18
note = "Welcome to the arena! Here you fight against other teams for prize rewards. Raise your rank to number one and become the Arena Champions.";
contenders = ["Ultima", "Sordid", "Mutiny", "Drudge", "Scum", "Lime", "Ancestor", "Ripper", "Venom", "Brutes", "Sweep", "Eagle", "Ninja", "Submass", "Oxide", "Lords", "Sixpax", "Ugly", "Spoon", "Spire", "Simon", "G5", "Slowpokes", "Radical", "Trash"];
myRank = _root.general.rank;
myOp = "Team " + contenders[_root.general.rank - 1];
if (_root.general.rank != 1) {
myChamp = "Team Ultima";
} else {
myChamp = "Team Lethal";
}
myPrize = 40 * (26 - _root.general.rank);
Symbol 1353 MovieClip Frame 19
note = "Congratulations on completing the arena. Your prize is displayed above, well done. You can now rematch the holy knight team if you wish for a cash prize.";
Symbol 1353 MovieClip Frame 20
topics = ["", "Esoterica", "History of Lethal part I", "History of Lethal part II", "History of Lethal part III", "Empty Slot", "Empty Slot", "Empty Slot", "Empty Slot", "Empty Slot", "Empty Slot", "Empty Slot"];
topics2 = ["", "<b>Esoterica</b><br /><br />Esoterica: The planet Esoterica, is part of a solar system known as Eurorath. The planet has 7 countries and is home to many unique creatures.<br /><br />The primary life form on Esoterica is a humanoid species, which is reported to follow the path of arcane magic. Their threat to the RTF and the UR is 1 out of 10.<br /><br />The planet is old and contains many artifacts from a much older more powerful race. Beneath the surface of the planet is a number of unique ruins. After researching these ruins it was found that the ruin known as the Ag'mar contained a conduit to another dimension used primarily to seal off evil beings. Whether the Abyss Remnants medalling in those ruins have caused damage is yet to be known but the RTF have been put on red alert as of this report.", "<b>History of Lethal part I</b><br /><br />Lethal was born on a small planet of which 90% of the landmass was covered with ocean.<br /><br />Lethal began life working for an empire as a knight. Throughout this time he proved himself as a powerful warrior defending their empire from multiple foes such as dragons, undead and Blobmen Lords. Because of this heroism he did not go unnoticed by the public eye.<br /><br />A dark mage of unknown origin or sex, had been planning for sometime a ritual that could only be conducted once every millenium, or so it seemed. This mage had their eye on two likely candadites, but eventually Lethal was chosen. In the dark of night, Lethal was captured by this mage and taken to an underground lair.<br /><br />His life would never be the same again.", "<b>History of Lethal part II</b><br /><br />Combined with the powers of a mystical demon, Lethal was reborn with very little memory of his past. This combined with the lies of the mage lead Lethal down the path of evil.<br /><br />Lethal single handedly destroyed the empire he spent his entire life protecting. It is even said that he killed his master, the dark mage, although the fate of this mage as of now is marked as unknown.<br /><br />Once all of those who controlled the planet were destroyed Lethal began his rule.<br /><br />The remaining humans who lived there joined forces and began rebuilding their empire on one of the islands. When they were strong enough they began an assault against Lethal. They brought the fight to him on his doorstep and in one climatic battle on top of a volcano, Lethal was pushed down into an abyss of flame and ash. Lethal was sent straight to hades for eternal torment. But he did not stay long!", "<b>History of Lethal part III</b><br /><br />Lethal filled with anger and hate fought his way out of hades and back to the mortal world where he began an assault against the ones who sent him to there.<br /><br />He managed to defeat the new empire as well as survive an attack from hades himself trying to reclaim him.<br /><br />Once again ruling his empire for another 100 years, it gave him time to think about his actions. Slowly some of the memories of his past began to return and regret began to consume him. Lethal was then attacked once more but this time it was not by the humans. It was something else. Something that felt so familar yet distant. It was Fatal. Lethal was destroyed by this new evil and for 1000 years his power lay scattered throughout the universe.<br /><br />In a chance meeting, Lethal was helped by a young warrior. Reborn once more Lethal knew the path he had to walk. He would make up for all of his sins and help those in need.<br /><br />The battle for the universe had begun."];
note = "Welcome to the RTF archives. You have permission to view case files about yourself and your mission.";
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].iTemp = i;
this["q" + i].onPress = function () {
_root.Menu1.pic.gotoAndStop("Question");
popup.gotoAndStop("Question");
popup.inv.gotoAndStop("Question");
popup.note = topics2[this.iTemp];
popup._visible = true;
};
this["q" + i].note = topics[this["q" + i].iTemp];
if (this["q" + i].note == "Empty Slot") {
this["q" + i]._visible = false;
}
i++;
}
Instance of Symbol 1308 MovieClip in Symbol 1353 MovieClip Frame 20
onClipEvent (load) {
this.gotoAndStop(3);
}
Symbol 1353 MovieClip Frame 21
topics = ["", "Movement", "Travel", "Battles", "Items", "Quests", "Arena", "Empty Slot", "Empty Slot", "Empty Slot", "Empty Slot", "Empty Slot"];
topics2 = ["", "<b>Movement</b><br /><br />Movement in LRU: Empires is simple. Either use the WASD keys or the arrow keys to move around the map.<br /><br />When you get to the edge of a quadrant that has another area on the otherside you will automatically be taken to the next area. To find out what directions you can travel (either north, south, east or west) you can check the minimap on the top-right of the screen.<br /><br />For example if you can access another area by heading to the north, a small arrow will be displayed pointing north on the minimap. If there is no area to the north, an x will be displayed.", "<b>Travel</b><br /><br />Traveling through Falan and other countries is made simple with portals placed in all major areas. This means once you have visited a landmark you may fast travel back there using one of these portals.<br /><br />As well as this you hold a fragment of the portal segment in your inventory, so when used from any location it sends you to your last visited town. This is useful to quickly return a completed quest.", "<b>Battles</b><br /><br />Battles can happen randomly when you are exploring or they may be triggered by a quest event. In a battle you may have to fight up to 3 foes using your weapons and magic.<br /><br />You can switch characters on the fly in a battle by choosing the 'general' icon on the menu and then selecting switch character. You can also use potions to restore health and magic.<br /><br />To quickly cast class skills and spells either press 1-4 on the keyboard or select the 1-4 on the bottom right of your screen. Once a battle is won you will return to the overworld to continue exploring.<br /><br />Upon dieing you will be sent back to the closest town.", "<b>Items</b><br /><br />Items are stored in your inventory. It is best always to leave positions open in your inventory as there are limited spaces.<br /><br />To remove items you must sell them in town. You can usually get quite alot of money from selling armor and weapons at a shop. All shops will buy anything from you, so there is no need to go to a specific shop to sell a specific item.<br /><br />To use an item click on the icon of it and a popup menu will appear with more information.<br /><br />Key items are special items that you cannot sell and are used to unlock doors and chests. You cannot run out of space for key items. They are displayed on your PDA under Key Items.", "<b>Quests</b><br /><br />Questing is the primary goal of LRU:Empires, you start of with one primary quest that can be viewed in the quest section of your PDA.<br /><br />When a quest is completed it will then tell you where to return for debriefing or your reward. Reguarly check your quest log if you are stuck.<br /><br />Jobs are quests with no impact on the story and can be obtained at job shops. Just go to one of these places and accept a mission, complete it and then return for your reward.", "<b>Arena</b><br /><br />The arena is an area where you can fight against other teams for the ultimate rank.<br /><br />You start at rank 25 and work your way to rank 1. At rank 1 you will recieve special armor so make sure you have 4 slots in your inventory to recieve it.<br /><br />You can find a arena at Ice Vault in Copine."];
note = "Welcome to the help section of your PDA. Here you can view topics on how to play the game, from basic movement to fighting and casting spells.";
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].iTemp = i;
this["q" + i].onPress = function () {
_root.Menu1.pic.gotoAndStop("Question");
popup.gotoAndStop("Question");
popup.inv.gotoAndStop("Question");
popup.note = topics2[this.iTemp];
popup._visible = true;
};
this["q" + i].note = topics[this["q" + i].iTemp];
if (this["q" + i].note == "Empty Slot") {
this["q" + i]._visible = false;
}
i++;
}
Instance of Symbol 1308 MovieClip in Symbol 1353 MovieClip Frame 21
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 1353 MovieClip Frame 22
note = "Welcome to the options menu. Feel free to modify the graphics and other settings such as music and gameplay.";
qual = _root._quality;
if (_root.general.playMusic) {
qual2 = "On";
} else {
qual2 = "Off";
}
if (_root.general.pAttack) {
qual3 = "Reaction";
} else {
qual3 = "Calculated";
}
Symbol 1378 MovieClip Frame 1
stop();
Symbol 1423 MovieClip Frame 1
stop();
Symbol 1434 MovieClip Frame 1
stop();
Symbol 1446 MovieClip Frame 1
stop();
lengths = 10;
Symbol 1466 MovieClip Frame 1
stop();
lengths = 19;
Symbol 1477 MovieClip Frame 1
stop();
lengths = 10;
Symbol 1479 MovieClip Frame 1
stop();
Symbol 1492 MovieClip Frame 1
stop();
Instance of Symbol 1037 MovieClip in Symbol 1492 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.map.man.hitTest(_parent.opens)) {
if (_parent.types != "axe") {
_root.chestCode(_parent.types, _parent.numbers);
_parent.gotoAndStop(2);
} else if (_root.hasKey("Chest Key")) {
_root.chestCode(_parent.types, _parent.numbers);
_parent.gotoAndStop(2);
} else {
mess = ["The chest is locked. There is a symbol of a cresent moon on the keyhole."];
_root.talkActivate(mess, "general", extra);
}
} else {
mess = ["You are not close enough."];
_root.talkActivate(mess, "general", extra);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1504 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("map");
}
Symbol 1516 MovieClip Frame 1
_root.monsterEncounter(_root.map.safe);
stop();
Symbol 1516 MovieClip Frame 5
stop();
Symbol 1516 MovieClip Frame 9
stop();
Symbol 1522 MovieClip Frame 1
stop();
Symbol 1533 MovieClip Frame 1
stop();
_root.monsterEncounter(_root.map.safe);
Symbol 1540 MovieClip Frame 1
stop();
_root.monsterEncounter(_root.map.safe);
Symbol 1540 MovieClip Frame 6
stop();
Symbol 1540 MovieClip Frame 9
stop();
Symbol 1541 MovieClip Frame 1
stop();
Symbol 1563 MovieClip Frame 1
stop();
Instance of Symbol 1037 MovieClip in Symbol 1563 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P3")) {
mess = ["Lethal, nice to meet you. My name is Ashley Craishe and I was sent here to survey the planet for any abnormal energy signitures.", "I heard from McTron that the Abyss Remnants seem rather interested in something on this planet. It's definetly worrying but it is not the first time they've pulled this shit.", "They've tried and failed in the past at restoring their 'Master', but this time I think they may have actually stumbled onto something dangerous.", "After I surveyed the land, my onboard scanners failed and the readings I got were way beyond abnormal.", "Northeast Falan, where McTron believes the ancient ruins are, there is definetly something sinister going on.", "Whether it be a portal or some strange energy source, we can't let the Remnants get their hands on it.", "This is where you come in. I need you to travel northeast to the ruins and investigate. I would take you but my ship isn't functioning.", "Be careful there are plenty of Remnants around those ruins. We need to know if the Remants have entered the ruins and where the entrance to the ruins is."];
_root.talkActivate(mess, "NPC2", extra);
_root.removeQuest("P3");
_root.addQuest("P4", "Find the entrance to the mysterious ruins in northeast Falan.", "Mysterious Ruins", [0, 1, "Return to Ashley Craishe"]);
} else if (_root.checkQuest("P4") && (_root.quests[_root.findQuest("P4")].questObjective[0] == 1)) {
mess = ["You're back, how did it go?", "Question", 2, "Reasonbly well, this is what I found out..", 1, 9, "Bad, we were jumped by a powerful Abyss Remnant...", 1, 9, "I see.. That is interesting. So the Abyss Remnants don't even know themselves what is down there. Only their Emperor seems to have the details.", "Or he could have just been lying to you to stop you questioning him!", "Well there's no way we are going find and question their emperor so we are going to have to find out on our own.", "If what you tell me is correct that door is sealed with powerful magic that the Remnants have yet to crack. We need to find out what we are dealing with before it's too late.", "I know someone who might be able to help. The elder of Zyte Town is a wise old man who knows the history of this place and may know more about the ruins.", "Zyte Town is a small island directly west of the ruins; it should be easy enough to find. I'll meet up with you once you have new information on the situation.", "I tried talking to the elder before but he doesn't seem to like women. I don't think he'll make it easy for you either. But I have faith in you Lethal.", "Once I have my ship fixed I'll fly it up to Lake Town and meet you there. Good Luck"];
_root.talkActivate(mess, "NPC2", extra);
_root.removeQuest("P4");
_root.addQuest("P5", "Seek out elder Duratah at Zyte Town, located west of the ruins.", "The Wise Old Man", [0, 1, "Return to Ashley Craishe at her ship east of Zyte Town."]);
} else if (_root.checkQuest("P6")) {
mess = ["As you can see I have the ship fixed. I see you're busy trying to get that old fool to talk so I'll leave you to it.", " After you are done here I'll meet you in Copine, there is a town called Ice Vault. I'll meet you there."];
_root.talkActivate(mess, "NPC2", extra);
} else {
mess = ["The RTF still function similar to the way you used to know. The main difference is that we are now much bigger and more powerful.", "Yet we still protect the weak and keep the peace, which seems to be getting much harder and harder as time goes on."];
_root.talkActivate(mess, "NPC2", extra);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1563 MovieClip Frame 2
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["I see you have made progress, I'm glad my help got you on the right track. Good luck and be careful.", "In order to help you out and supply you with the latest advanced equipment I can take you to the closest RTF space station. Do you want to travel there now?", "Question", 2, "Yes", 2, 0, "No", 3, 0];
mess2 = ["Ok, hop in and lets go!", "RTF"];
mess3 = ["Well if you want to, come back and speak to me."];
_root.talkActivate(mess, "NPC2", extra, mess2, mess3);
}
Instance of Symbol 1037 MovieClip in Symbol 1566 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["This must be the shipment the job agency are looking for. I best get it back to them right away!"];
_root.quests[_root.findQuest("Job2")].questObjective[0] = 1;
_root.talkActivate(mess, "general");
}
Instance of Symbol 1037 MovieClip in Symbol 1596 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.locate = 3;
_root.chosenWolf = _parent.chosenWolf;
_root.shatter.play();
}
Instance of Symbol 1031 MovieClip in Symbol 1611 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._x = _root.map._x - 20;
_root.map.man._x = _root.map.man._x + 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1611 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._x = _root.map._x + 20;
_root.map.man._x = _root.map.man._x - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1611 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y + 20;
_root.map.man._y = _root.map.man._y - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1611 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y - 20;
_root.map.man._y = _root.map.man._y + 20;
}
}
Symbol 1618 MovieClip Frame 1
stop();
Instance of Symbol 1037 MovieClip in Symbol 1742 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job6") && (!_root.isQuestDone("Job6"))) {
mess = ["Well, well. At the bottom of the trash can there is a little teddy bear. It must be the one they are looking for.", "I should take it back to the job centre."];
_root.addNewKey("Teddy", "Teddy: The girls teddy bear.", "none");
_root.quests[_root.findQuest("Job6")].questObjective[0] = 1;
} else {
mess = ["It is your run of the mill trash can."];
}
_root.talkActivate(mess, "general");
}
Symbol 1772 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1777 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1780 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1784 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1787 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1790 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1791 MovieClip Frame 1
stop();
Symbol 1795 MovieClip Frame 1
stop();
Instance of Symbol 1611 MovieClip in Symbol 1795 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 1611 MovieClip in Symbol 1795 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 1611 MovieClip in Symbol 1795 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 1611 MovieClip in Symbol 1795 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 1795 MovieClip Frame 19
_root.map.portal.gotoAndStop(3);
_root.portalOpen = 2;
stop();
Symbol 1797 MovieClip Frame 1
stop();
Instance of Symbol 1037 MovieClip in Symbol 1797 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
if (_root.checkQuest("P10")) {
mess = ["You are too late Lethal and groupies. We are seconds away from activating the portal to the inferno!!!", "Once the gateway is opened we will enter and be granted immortality for our efforts.", "You see after searching and searching for ways to revive our old master we came across something very interesting.", "It is written in the forbidden scriptures that a demon known as Lord Gladious once roamed the universe.", "He had escaped Hades and ventured forth to cause infinite chaos. However when Gladious visited Falan he came across a powerful mage trained in the art of Arcane magic.", "That mage sealed the demon into a realm known as the inferno. This gateway has been sealed ever since.", "Luckily for us the Fatal Orb we recovered in space, all that remained of Fatal after you destroyed him, was powerful enough to unlock these ruins and activate the gateway.", "It may be possible that because Fatal was half demon like you, his orb shared a similar power to that of Gladious.", "So bare witness to a being of even greater power than that of Fatal. Although that is very unlikely as I have orders to destroy you myself, here and now!", "Battle", 15, "..."];
_root.talkActivate(mess, "abyss1", extra);
}
}
}
Symbol 1797 MovieClip Frame 2
if (!_root.endGame) {
_root.cutscene._visible = true;
_root.cutscene.gotoAndPlay("portal_open");
posse.gotoAndStop(2);
_root.menuopen = false;
mess = ["As I thought, you are just as powerful as Fatal. No matter, my new master will crush you!", "Portal"];
_root.talkActivate(mess, "abyss1", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1797 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = 169.05;
_root.mapy = -552.5;
_root.area = "inferno1";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Instance of Symbol 1037 MovieClip in Symbol 1801 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job7") && (!_root.isQuestDone("Job7"))) {
mess = ["This must be raider Jones. It looks like he set off a spike trap. I guess that is what you get when you bite off more than you can chew.", "I should return to the Job building and tell them what has happened."];
_root.quests[_root.findQuest("Job7")].questObjective[0] = 1;
} else {
mess = ["Ouch..."];
}
_root.talkActivate(mess, "general");
}
Symbol 1819 MovieClip Frame 20
if (random(5) == 0) {
gotoAndPlay (1);
} else {
gotoAndPlay (15);
}
Symbol 1833 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1835 MovieClip Frame 1
stop();
Instance of Symbol 1611 MovieClip in Symbol 1835 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 1031 MovieClip in Symbol 1835 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._x = _root.map._x - 20;
_root.map.man._x = _root.map.man._x + 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1835 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._x = _root.map._x + 20;
_root.map.man._x = _root.map.man._x - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1835 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y + 20;
_root.map.man._y = _root.map.man._y - 20;
}
}
Instance of Symbol 1031 MovieClip in Symbol 1835 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y - 20;
_root.map.man._y = _root.map.man._y + 20;
}
}
Symbol 1858 MovieClip Frame 1
current = "town1";
north = "northwood1";
east = 0;
south = "southtropics1";
west = 0;
safe = true;
_root.locate = 1;
_root.zone = "tropics1";
_root.locations.town1 = true;
stop();
if (_root.died) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("lose");
_root.died = false;
gotoAndStop(_root.general.hub);
} else if (_root.loads) {
_root.loads = false;
gotoAndStop(_root.general.hub);
stop();
} else if (_root.leaveBattle) {
_root.playMusic(_root.theMix);
differencex = this._x - _root.mapx;
differencey = this._y - _root.mapy;
this._x = _root.mapx;
this._y = _root.mapy;
this.man._x = this.man._x + differencex;
this.man._y = this.man._y + differencey;
if (_root.runner != true) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("win");
}
_root.runner = false;
_root.leaveBattle = false;
gotoAndStop(_root.area);
} else {
_root.theMix = "mix1";
_root.general.hub = current;
}
Instance of Symbol 1379 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("Arcane");
this.head.gotoAndStop(random(10));
}
Instance of Symbol 1379 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("Arcane");
this.head.gotoAndStop(random(10));
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(6);
this.person.body.gotoAndStop(5);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this.person.head.gotoAndStop(1);
this.person.body.gotoAndStop(18);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this.person.head.gotoAndStop(2);
this.person.body.gotoAndStop(4);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(2);
this.person.body.gotoAndStop(4);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(6);
this.person.body.gotoAndStop(6);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(5);
this.person.body.gotoAndStop(15);
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
numbers = 0;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1379 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("Arcane");
this.head.gotoAndStop(random(10));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(8);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1379 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("Arcane");
this.head.gotoAndStop(random(10));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(6);
this.body.gotoAndStop(8);
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(3);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(4);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(1);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["Hey are you new to town? I haven't seen you around before, I guess you are just passing through. How about I tell you about the shops in town, so you know what to expect.", "There are a number of useful shops in town where you can find an assortment of items or spells. Although all items are strictly arcane as we are a town of magic not science.", "I hope that helps."];
extra = 6;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.chatCount[0] != true) {
mess = ["Hey, I was just wandering if you are that Dreaded Lethal Jagged Spine chap? I've heard alot of tales about him and you fit his descriptions. So are you or am I mistaken?", "Question", 3, "Why yes I am.", 1, 12, "No I am not.", 1, 14, "Maybe I am, maybe not.", 1, 16, "Sweet, I'm your biggest fan. I've actually met someone who is thousands of years old. SWEET!", "End", "Shame, maybe he is just a legend after all.", "End", "Hmmm. Well if you won't tell me then I'll just mind my own business then."];
extra = 8;
_root.chatCount[0] = true;
_root.talkActivate(mess, "maleface", extra);
} else {
mess = ["Well if you are Lethal, then you are one amazing warrior. I heard that you and some Galactic Knight saved the universe from the Dark Abyss."];
extra = 8;
_root.talkActivate(mess, "maleface", extra);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.chatCount[1] != true) {
mess = ["Have you visited a planet called Beatrice?", "Question", 2, "Yes.", 1, 9, "I might have.", 1, 9, "I was born there, It was a pretty stuffed up place. Not much of it is inhabitable. They say the Abyss had something to do with that.", "I wonder if the Dark Abyss ever existed or it is just an excuse for all the bad things that seem to be happening in the universe."];
extra = 3;
_root.chatCount[1] = true;
_root.talkActivate(mess, "femface", extra);
} else {
mess = ["I wonder if the Dark Abyss ever existed or it is just an excuse for all the bad things that seem to be happening in the universe."];
extra = 3;
_root.talkActivate(mess, "femface", extra);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P1")) {
mess = ["So you have returned to us 'Lethal Jagged Spine' and I see you have brought some companions with you. The reason I wished to see you is very important so listen carefully.", "You left us after the Abyss were destroyed and in your place my organisation, 'The Forgotten Brotherhood' have kept the balance of pure and tainted magic in the universe.", "However the universe has become strong again and its empires are becoming dangerous. I fear these empires are corrupting the galaxy and we are not strong enough to defeat them.", "There are three empires that are concerning us, one of which I fear is attempting to resurrect the 'Dark Abyss'. They are known as 'The Abyss Remnants'.", "They are growing in strength and if there is even a chance of them resurrecting... Him, we must stop them.", "You may be wondering why I brought you here. I believe this planet has great importance to the Abyss Remnants, because deep beneath the earth the Remnants have found something.", "We belive it is a gateway, but we do not know where it leads or where it is. There are Abyss Remnant settlements here in this country and we need more imformtion.", "Our knights are doing the best they can but there is very few of us left in the order. Please I need you to locate the Abyss Remnants north of here.", "You must find out what you can about this structure they seek. The fate of the universe is in your hands once again. Return to me when you have something."];
_root.talkActivate(mess, "NPC1", extra);
_root.removeQuest("P1");
_root.addQuest("P2", "Head north of the town and seek out the Abyss Remnants.", "Seek and You Will Find", [0, 1, "return to Dantes McTron"]);
} else if (_root.checkQuest("P2") && (_root.quests[_root.findQuest("P2")].questObjective[0] == _root.quests[_root.findQuest("P2")].questObjective[1])) {
mess = ["You're back and you found the Abyss Remnants, well done. The Chamber of Lost Souls you say, interesting. I have heard that deep beneath this planets surface lies some mysterious ruins.", "Built thousands, of years ago, these ruins are thought to hold power beyond that of your wildest dreams.", "A gateway purhaps, as I mentioned earlier, or possibly something even more sinister.", "Ofcourse this was just a legend. Who knows, there may be nothing of value to them here at all, but it seems they truly believe this place can save their master.", "Do you remember your old allies back in the war. The RTF still operate under a new allegiance.", "You see since the rise of the three empires, the RTF devoted their resources into trying to prevent anymore wars or power struggles.", "However on their own this was impossible, so they joined up with a number of other similar organisations to form the United Republic.", "They currently control a number of small solar systems and are ever expanding. Their covert operatives still use the name RTF and are deemed trustworthy by the brotherhood.", "A representative of the RTF has just landed their ship south of here and is waiting for you. They have been investigating the planet and wish to inform you of their findings.", "Head south to the beach, their ship will be hard to miss."];
_root.talkActivate(mess, "NPC1", extra);
_root.removeQuest("P2");
_root.addQuest("P3", "Head south of Bunker town to meet with McTron's informant. She will be near her ship which has just landed on the beach.", "My Contact", [0, 1, "return to Dantes McTron"]);
} else if (_root.checkQuest("P9")) {
mess = ["You have the key to Ag'mar, great! There is no time to waste, you need to enter those ruins and stop the Remnants before they unlock the power of the ruins.", "Be sure that you have all the weapons and supplies you need before entering the ruins, as it will be a challenge even for you!", "I am sorry to put you through all of this again. You deserved more rest but even if your essence is not involved this time, his Remnants are.", "I'm afraid I can't give you any more information on the ruins because I just don't know any more than you, but from what you have told me it doesn't look good.", "Good luck on your quest, Lethal Jagged Spine!"];
_root.talkActivate(mess, "NPC1", extra);
_root.removeQuest("P9");
_root.addQuest("P10", "The time has come to enter the ruins of Ag'mar and stop the Abyss Remnants once and for all!", "Decent into Flame", [0, 1, "Return to Dantes McTron"]);
} else {
mess = ["If you have any questions about what has happened to the universe in your absence I will try my best to answer them.", "Question", 3, "What are the three empires that you are concerned about?", 1, 12, "How is it possible for the Abyss to be resurrected?", 2, 0, "Who are you?", 3, 0, "The Abyss Remnants; the users of dark magic, The Austair Authority; the users of Arcane magic and the Druk Ka'an; the users of advanced technology.", "I can tell you about the others at a later time but now our focus is on the Abyss Remnants.", "When the Dark Abyss attacked all those years ago many lives were lost. However some of the darker beings who were willing to save their life by bowing down to the Abyss,", "became the Abyss Remanants. They are no longer living nor dead. Since the Abyss were destroyed by your own hands, they have been frantically trying to restore their old masters.", "I'm afraid they could be getting closer to their goal everyday", "End"];
mess2 = ["We don't know. But if Fatal was a part of you once they may need you in order complete the ritual. No matter what, do not surrender your lethal orb to them.", "End"];
mess3 = ["I am a lieutenant in 'The Forgotten Brotherhood'. My name is Dantes McTron and have been with the order for 250 years.", "End"];
_root.talkActivate(mess, "NPC1", extra, mess2, mess3);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Armor");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Weapon");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("buypets");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.shopType = "bunker";
_root.Menu1.gotoAndStop("jobs");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("accessories");
}
Instance of Symbol 1037 MovieClip "spells" in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("spells");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. Hmmm, well the name does ring a bell. She might be that traveller who just past through town.", "I'm afraid she left town a month ago. Maybe you should talk to John. You should find him outside the armor store."];
} else {
mess = ["Tropical weather is rather pleasant, I couldn't stand the horrible cold they have in Copine. Falan is by far the most livable country on this dreary little planet."];
}
extra = 1;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. She might be that traveller who just past through town.", "I'm afraid she left town a month ago. Maybe you should talk to John. You should find him outside the armor store."];
} else {
mess = ["Travelling through those old portal systems can be rather dangerous I've heard. One false move and you might end up on the otherside of the universe."];
}
extra = 4;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(7);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson! Yeah I know her. We were dating for a while and then poof! She vanished. They say she is a traveller but that's no excuse. Bitch!", "I'd say she may have travelled to Copine, thats the word around town but I'm not sure."];
} else {
mess = ["Are you looking for great prices on the latest arcane armor. Then you have come to the right place! Speak with Kelly at the counter to see whats on offer."];
}
extra = 7;
_root.talkActivate(mess, "maleface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
if (_root.newGame) {
mess = ["Welcome to LRU:Empires. Let me tell you the basics, use the WASD keys to move and the mouse to click on shops, people and chests.", "The primary focus in the game is to follow quests and explore. To check your quests you need to open your PDA and click on the quests button.", "Regularly check this as it will tell you what to do next. Also if the game is lagging you can change graphical options in the options menu.", "If you need to get back to town after a quest quickly use the portal fragment in your inventory to fast travel back to town.", "For extra help if you are stuck go to the help menu in your PDA.", "Your first mission is to locate the person who summoned you for your help. He is the man dressed in green robes below you.", "This has been a pre-recorded message from your PDA. Good Luck!!"];
_root.talkActivate(mess, "general", extra);
_root.newGame = false;
}
}
}
Instance of Symbol 1541 MovieClip "man" in Symbol 1858 MovieClip Frame 1
onClipEvent (load) {
moveSpeed = 17;
}
onClipEvent (enterFrame) {
if ((_root.noter._visible != true) && (_root.Menu1._visible != true)) {
_root.xposy = _root.map._x;
_root.yposy = _root.map._y;
if (Key.isDown(68) and Key.isDown(87)) {
_root.facing = "up";
_root.map._x = _root.map._x - moveSpeed;
_root.map._y = _root.map._y + (moveSpeed / 2);
this._x = this._x + moveSpeed;
this._y = this._y - (moveSpeed / 2);
this.gotoAndStop(3);
this.man.play();
} else if (Key.isDown(68) and Key.isDown(83)) {
_root.facing = "down";
_root.map._x = _root.map._x - moveSpeed;
_root.map._y = _root.map._y - (moveSpeed / 2);
this._x = this._x + moveSpeed;
this._y = this._y + (moveSpeed / 2);
this.gotoAndStop(3);
this.man.play();
} else if (Key.isDown(65) and Key.isDown(83)) {
_root.facing = "down";
_root.map._y = _root.map._y - moveSpeed;
_root.map._x = _root.map._x + (moveSpeed / 2);
this._y = this._y + moveSpeed;
this._x = this._x - (moveSpeed / 2);
this.gotoAndStop(2);
this.man.play();
} else if (Key.isDown(65) and Key.isDown(87)) {
_root.facing = "up";
_root.map._x = _root.map._x + moveSpeed;
_root.map._y = _root.map._y + (moveSpeed / 2);
this._x = this._x - moveSpeed;
this._y = this._y - (moveSpeed / 2);
this.gotoAndStop(2);
this.man.play();
} else if (Key.isDown(87)) {
_root.facing = "up";
_root.map._y = _root.map._y + moveSpeed;
this._y = this._y - moveSpeed;
this.gotoAndStop(4);
this.man.play();
} else if (Key.isDown(83)) {
_root.facing = "down";
_root.map._y = _root.map._y - moveSpeed;
this._y = this._y + moveSpeed;
this.gotoAndStop(1);
this.man.play();
} else if (Key.isDown(65)) {
_root.facing = "left";
_root.map._x = _root.map._x + moveSpeed;
this._x = this._x - moveSpeed;
this.gotoAndStop(2);
this.man.play();
} else if (Key.isDown(68)) {
_root.facing = "right";
_root.map._x = _root.map._x - moveSpeed;
this._x = this._x + moveSpeed;
this.gotoAndStop(3);
this.man.play();
}
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.map.man.shadows) && (_root.glider._currentframe == 1)) && (_parent.north != 0)) {
_root.glider.gotoAndPlay("north");
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man.shadows)) {
_root.map._x = _root.map._x + 20;
_root.map.man._x = _root.map.man._x - 20;
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.map.man.shadows) && (_root.glider._currentframe == 1)) && (_parent.south != 0)) {
_root.glider.gotoAndPlay("south");
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.map.man.shadows) && (_root.glider._currentframe == 1)) && (_parent.west != 0)) {
_root.glider.gotoAndPlay("west");
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y + 20;
_root.map.man._y = _root.map.man._y - 20;
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man.shadows)) {
_root.map._y = _root.map._y - 20;
_root.map.man._y = _root.map.man._y + 20;
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man.shadows)) {
_root.map._x = _root.map._x - 20;
_root.map.man._x = _root.map.man._x + 20;
}
}
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.map.man.shadows) && (_root.glider._currentframe == 1)) && (_parent.east != 0)) {
_root.glider.gotoAndPlay("east");
}
}
Symbol 1858 MovieClip Frame 2
current = "southtropics1";
north = "town1";
east = 0;
south = "southtropics2";
west = 0;
safe = false;
_root.locate = 1;
_root.zone = "tropics1";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 2
onClipEvent (load) {
numbers = 4;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 3
current = "southtropics2";
north = "southtropics1";
east = 0;
south = "southtropics3";
west = 0;
safe = false;
_root.locate = 1;
_root.zone = "tropics1";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 3
onClipEvent (load) {
numbers = 5;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 4
current = "southtropics3";
north = "southtropics2";
east = "southtropics4";
south = 0;
west = 0;
safe = false;
_root.locate = 2;
_root.zone = "tropics2";
_root.locations.southtropics3 = true;
_root.theMix = "mix1";
Instance of Symbol 1549 MovieClip in Symbol 1858 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.map._y = _root.map._y + 20;
_root.map.man._y = _root.map.man._y - 20;
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 4
onClipEvent (load) {
numbers = 6;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1563 MovieClip in Symbol 1858 MovieClip Frame 4
onClipEvent (load) {
if (_root.checkQuest("P3") || (_root.checkQuest("P4"))) {
} else {
this.unloadMovie();
}
}
Symbol 1858 MovieClip Frame 5
current = "southtropics4";
north = 0;
east = 0;
south = 0;
west = "southtropics3";
safe = false;
_root.locate = 2;
_root.zone = "tropics2";
_root.theMix = "mix1";
Instance of Symbol 1566 MovieClip in Symbol 1858 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.checkQuest("Job2") && (!_root.isQuestDone("Job2"))) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 5
onClipEvent (load) {
numbers = 7;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 6
current = "northwood1";
north = "northwood3";
east = "northwood2";
south = "town1";
west = 0;
safe = false;
_root.locate = 1;
_root.zone = "woods";
_root.theMix = "mix1";
Symbol 1858 MovieClip Frame 7
current = "northwood2";
north = 0;
east = 0;
south = 0;
west = "northwood1";
safe = false;
_root.locate = 1;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 7
onClipEvent (load) {
numbers = 8;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1596 MovieClip in Symbol 1858 MovieClip Frame 7
onClipEvent (enterFrame) {
this.chosenWolf = 0;
if (_root.checkQuest("Job1") && (_root.wolves[0] != true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1596 MovieClip in Symbol 1858 MovieClip Frame 7
onClipEvent (enterFrame) {
this.chosenWolf = 1;
if (_root.checkQuest("Job1") && (_root.wolves[1] != true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1596 MovieClip in Symbol 1858 MovieClip Frame 7
onClipEvent (enterFrame) {
this.chosenWolf = 2;
if (_root.checkQuest("Job1") && (_root.wolves[2] != true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1596 MovieClip in Symbol 1858 MovieClip Frame 7
onClipEvent (enterFrame) {
this.chosenWolf = 3;
if (_root.checkQuest("Job1") && (_root.wolves[3] != true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1596 MovieClip in Symbol 1858 MovieClip Frame 7
onClipEvent (enterFrame) {
this.chosenWolf = 4;
if (_root.checkQuest("Job1") && (_root.wolves[4] != true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1858 MovieClip Frame 8
current = "northwood3";
north = "northwood4";
east = 0;
south = "northwood1";
west = 0;
safe = false;
_root.locate = 1;
_root.zone = "ruins1";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 8
onClipEvent (load) {
numbers = 9;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1611 MovieClip in Symbol 1858 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
if (_root.checkQuest("P2") && (_root.quests[_root.findQuest("P2")].questObjective[0] != _root.quests[_root.findQuest("P2")].questObjective[1])) {
this._visible = true;
} else {
this.unloadMovie();
}
}
Instance of Symbol 1611 MovieClip in Symbol 1858 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
if (_root.checkQuest("P2") && (_root.quests[_root.findQuest("P2")].questObjective[0] != _root.quests[_root.findQuest("P2")].questObjective[1])) {
this._visible = true;
} else {
this.unloadMovie();
}
}
Instance of Symbol 1611 MovieClip in Symbol 1858 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(2);
if (_root.checkQuest("P2") && (_root.quests[_root.findQuest("P2")].questObjective[0] != _root.quests[_root.findQuest("P2")].questObjective[1])) {
this._visible = true;
} else {
this.unloadMovie();
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 8
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P2")) {
mess = ["If you want to live to see another day, you will move along and mind your own business!", "Question", 2, "I don't think so.", 1, 10, "Oh, I'm sorry to disturb you.", 1, 19, "End", "What?!!! You dare insult the great Abyss Remnants?", "Question", 2, "Yes, what are you doing here?", 1, 21, "No, sorry I didn't mean it.", 1, 19, "Then get lost!", "End", "Ha, you really have some nerve don't you. Wait a minute. You are... No it can't be. The brother of our lord! Lethal Jagged Spine!", "Why now, do you return? You wish to stop us from achieving our goals! We will find the chamber of lost souls and we will resurrect the Lord of all that is, despite your medaling.", "I see you are weakened, it will take time for you to regenerate to your former self. Perfect, I will recieve eternal glory for bringing you down!!!", "Battle", 4];
_root.talkActivate(mess, "abyss1", extra);
}
}
onClipEvent (load) {
if (_root.checkQuest("P2") && (_root.quests[_root.findQuest("P2")].questObjective[0] != _root.quests[_root.findQuest("P2")].questObjective[1])) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1858 MovieClip Frame 9
current = "northwood4";
north = "northwood5";
east = 0;
south = "northwood3";
west = 0;
safe = false;
_root.locate = 1;
_root.zone = "woods";
_root.theMix = "mix1";
Symbol 1858 MovieClip Frame 10
current = "northwood5";
north = "northwood6";
east = 0;
south = "northwood4";
west = 0;
safe = false;
_root.locate = 5;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 10
onClipEvent (load) {
numbers = 10;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 11
current = "northwood6";
north = 0;
east = "northwood7";
south = "northwood5";
west = "northwood8";
safe = false;
_root.locate = 5;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1618 MovieClip "alter" in Symbol 1858 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.alters[0]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 11
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (!_root.alters[0]) {
mess = ["I have found a power orb fragment. Lethal's armor and Jagged Edge has been upgraded."];
_parent.alter.gotoAndStop(2);
_root.alters[0] = true;
if (_root.hasKey("Broken Jagged Edge")) {
_root.removeKey("Broken Jagged Edge");
_root.addNewItem("lethal", _root.weapon.lethal.des, "Weapon", _root.weapon.lethal.wepType, int(_root.weapon.lethal.price * 0.5));
mess[1] = "Jagged Edge has been fixed.";
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
} else {
_root.weapon.lethal.str = _root.weapon.lethal.str + 25;
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
}
} else {
mess = ["There is nothing left on the alter."];
}
_root.talkActivate(mess, "general", extra);
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 11
onClipEvent (load) {
numbers = 11;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 12
current = "northwood7";
north = 0;
east = "ruins1";
south = 0;
west = "northwood6";
safe = false;
_root.locate = 5;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 12
onClipEvent (load) {
numbers = 12;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 13
current = "ruins1";
north = 0;
east = 0;
south = 0;
west = "northwood7";
safe = false;
_root.locate = 6;
_root.zone = "ruins1";
_root.locations.ruins1 = true;
_root.theMix = "mix1";
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 13
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P4") && (_root.quests[_root.findQuest("P4")].questObjective[0] != 1)) {
mess = ["This has to be the entrance to the ruins. It doesn't appear to have been touched in years. It appears to be locked with some form of forbidden magic.", "I guess the only way to unlock the door would be to cast a counter spell on it, which the abyss apparently haven't figured out yet. I should report back to Ash.....", "Trigger 1", "Well, well, well!! The Great Lethal blesses us with his appearance once more. Yes that door is shut, but we will have the counter spell figured out soon enough", "and then the whole universe will tremble and bow before our might.", "Question", 2, "What is it that you seek behind that door?", 2, 0, "What are you trying to accomplish?", 2, 1];
mess2 = ["Maybe we want to ressurrect the Abyss and our Lord. Maybe there is something even more powerful than the Abyss locked away in this tomb.", "Inorder to prevent information getting into our enemy's hands, very few of us know exactly what our emperor desires from this place. So I can't answer your question.", "However I can do one thing for you. I can end your pitiful lives! You see I am no meager pawn, I am general Krawn, my speciality is forbidden transformations.", "Prepare for the end! Arrrgh!", "Battle", 7];
_root.talkActivate(mess, "general", extra, mess2);
} else if (_root.checkQuest("P10")) {
_root.map.temple.gotoAndStop(3);
mess = ["The orb worked, the ruins have opened!"];
_root.talkActivate(mess, "general", extra);
} else {
mess = ["The gateway is sealed by some arcane or forbidden magic."];
_root.talkActivate(mess, "general", extra);
}
}
Instance of Symbol 1611 MovieClip "abyssman" in Symbol 1858 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(2);
this._visible = false;
}
Symbol 1858 MovieClip Frame 14
current = "northwood8";
north = 0;
east = "northwood6";
south = 0;
west = "northwood9";
safe = false;
_root.locate = 8;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 14
onClipEvent (load) {
numbers = 13;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 15
current = "northwood9";
if (_root.locations.town2 == true) {
north = "northwood11";
} else {
north = 0;
}
east = "northwood8";
south = 0;
west = "northwood10";
safe = false;
_root.locate = 8;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 15
onClipEvent (load) {
numbers = 14;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 16
current = "northwood10";
north = 0;
east = "northwood9";
south = 0;
west = "town2";
safe = false;
_root.locate = 8;
_root.zone = "woods";
_root.theMix = "mix1";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 16
onClipEvent (load) {
numbers = 15;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1563 MovieClip in Symbol 1858 MovieClip Frame 16
onClipEvent (load) {
if (_root.checkQuest("P6")) {
} else {
this.unloadMovie();
}
}
Symbol 1858 MovieClip Frame 17
current = "town2";
north = 0;
east = "northwood10";
south = 0;
west = 0;
safe = true;
_root.locate = 8;
_root.zone = "woods";
_root.general.hub = current;
_root.locations.town2 = true;
_root.theMix = "mix1";
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(7);
this.person.body.gotoAndStop(5);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(5);
this.person.body.gotoAndStop(15);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(1);
this.person.body.gotoAndStop(1);
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.gotoAndStop(2);
this.person.head.gotoAndStop(4);
this.person.body.gotoAndStop(15);
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(1);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 17
onClipEvent (load) {
this.head.gotoAndStop(9);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.shopType = "zyte";
_root.Menu1.gotoAndStop("jobs");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("accessories");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Weapon");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Armor");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["I love the sea, it's so relaxing. It's hard to imagine that there are thousands of species of creatures living down there. Life is an amazing thing don't you think."];
extra = 1;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["You don't look like your here for a vacation. I've got my eye on you."];
extra = 9;
_root.talkActivate(mess, "maleface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["If you are looking for the town elder he is north of the island meditating. He may not talk to you though, he doesn't really like outsiders or aliens."];
extra = 2;
_root.talkActivate(mess, "maleface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P5")) {
mess = ["Well, well, well.. Yet another fool seeks my knowledge. You are not from this country let alone this planet, why should I help you? No don't even try begging, I've seen it all before.", "All you foreigners want to know is the same thing: 'What is the mystical power hidden in those ruins and how can I get in'.", "Tell you what, although I normally send your kind packing, I might be able to make a proposition for you.", "A group of bandits up north have been stealing our supplies and I want you to exterminate them. Well all you really need to do is kill their leader, 'The Chosen One'.", "Don't ask me why they call him that, I don't give a rats ass. Go on then, head east a zone or two and then head north into Copine.", "Their camp isn't far north from the Falan/Copine border."];
_root.removeQuest("P5");
_root.addQuest("P6", "I need to head north and cross the border into Copine and kill a bandit leader called 'The Chosen One'. If I exit east of Zyte town, head east one quadrant and then north I can reach Copine.", "Killing the Chosen One", [0, 1, "Return to the elder of Zyte Town."]);
} else if (_root.checkQuest("P6") && (_root.quests[_root.findQuest("P6")].questObjective[0] == _root.quests[_root.findQuest("P6")].questObjective[1])) {
if (_root.hesDead) {
mess = ["So you found and killed that fool then. I see... Well I guess I should be relieved that the bandit will no longer be stealing our supplies.", "Oh, so he told you he was my son. Well I guess I should have told you before now but I thought you may not of proceeded with the mission if you knew.", "But I see you are as powerful and merciless as they say. You have a job to do and I understand that, so I will tell you everything that I know.", "Question", 1, "What is in those ruins?", 2, 0];
} else {
mess = ["Well I have to say I am surpised with your actions. Lethal Jagged Spine, the Ruthless Demon lord I've heard you called but I guess you arn't as bad as they say.", "You spared my son despite me telling you overwise and I thank you. He has learnt his lesson and returned to me and although I am displeased with him,", "there is proof that we can change our ways.", "You were once an evil lord who ruled a dark empire but I sense that now you are a far different person. Although only the future will tell what you will become.", "Ok let me try to answer your questions.", "Question", 1, "What is in those ruins?", 2, 0];
}
mess2 = ["The ruins were created by an ancient powerful race. They were not born of this planet but merely chose this place as a gateway.", "Well, it works in a number of ways, such as it is also a seal of sorts. Some say demons used to enter our dimension every now and again to cause chaos.", "The structure down below acts as a seal to stop demons from entering this dimension. However it is also a gateway into Hades.", "I have heard many things in my life time and some about you. I know you are half Demon so it is possible you know more about this than me.", "But seeings you are asking an elder like me for answers you obviously know little about your own kind.", "Anyway, getting back on track, I believe the ruins are sealed by magic that can be counteracted with a special power orb.", "Last I heard the elder of Ice Vault was in possession of this orb. Here, take this medalion. Show it to him and he'll tell you more.", "Ice Vault can be found in Copine. It's northeast from here."];
_root.addNewKey("Medalion", "Elder's Medalion: I can show this to the elder of Ice Vault so he trusts me.", "none");
_root.removeQuest("P6");
_root.addQuest("P7", "Head north-east to Ice Vault in Copine. I need to track down the key to the ruins, which could possibly be in the elder of Ice Vaults possession.", "Quest For the Key", [0, 1, ""]);
} else {
mess = ["..."];
}
_root.talkActivate(mess, "elder", extra, mess2);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 17
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
onClipEvent (load) {
if (_root.hesDead == true) {
_parent.bandit.unloadMovie();
this.unloadMovie();
}
}
on (press) {
mess = ["I have to thankyou for sparing my life. Now knowing that you are Lethal, such an ancient and powerful being, I'm glad we didn't fight.", "Good luck on your journeys."];
_root.talkActivate(mess, "bandit", extra);
}
Symbol 1858 MovieClip Frame 18
current = "northwood11";
north = "copine1";
east = 0;
south = "northwood9";
west = 0;
safe = false;
_root.locate = 8;
_root.zone = "woods";
_root.theMix = "mix1";
Symbol 1858 MovieClip Frame 19
current = "copine1";
north = "check1";
east = 0;
south = "northwood11";
west = 0;
safe = false;
_root.locate = 10;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 19
onClipEvent (load) {
numbers = 16;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 20
current = "check1";
north = "copine3";
east = 0;
south = "copine1";
west = 0;
safe = false;
_root.locate = 10;
_root.zone = "snow";
_root.locations.check1 = true;
_root.theMix = "mix3";
Instance of Symbol 1618 MovieClip "alter2" in Symbol 1858 MovieClip Frame 20
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.alters[1]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 20
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (!_root.alters[1]) {
mess = ["I have found a power orb fragment. Lethal's armor and Jagged Edge has been upgraded."];
_parent.alter2.gotoAndStop(2);
_root.alters[1] = true;
if (_root.hasKey("Broken Jagged Edge")) {
_root.removeKey("Broken Jagged Edge");
_root.addNewItem("lethal", _root.weapon.lethal.des, "Weapon", _root.weapon.lethal.wepType, int(_root.weapon.lethal.price * 0.5));
mess[1] = "Jagged Edge has been fixed.";
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
} else {
_root.weapon.lethal.str = _root.weapon.lethal.str + 25;
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
}
} else {
mess = ["There is nothing left on the alter."];
}
_root.talkActivate(mess, "general", extra);
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 20
onClipEvent (load) {
numbers = 17;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 20
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
onClipEvent (load) {
if ((!_root.checkQuest("P6")) || (_root.quests[_root.findQuest("P6")].questObjective[0] == _root.quests[_root.findQuest("P6")].questObjective[1])) {
_parent.bandit.unloadMovie();
this.unloadMovie();
}
}
on (press) {
if (_root.checkQuest("P6")) {
mess = ["What, you are looking for the bandit known only as the Chosen One. Why do you seek this person?", "Question", 1, "The Elder of Zyte Town sent me to kill him.", 1, 6, "Dad wants you to kill me!!! Uh, I mean.... Never heard of him. Oh god damn it, that stupid old man. I know I let him down by acting in this line of work but...", "Question", 2, "Can it, your life ends here!", 2, 0, "Don't worry I'm not going to kill you.", 3, 0];
mess2 = ["I wouldn't be so hasty if I were you. They don't call me The Chosen One for nothing! I am the best bandit around, can steal almost anything.", "And all those who oppose me lose their heads. So come on then, do you still want to fight?", "Question", 2, "Yep, lets do this.", 2, 10, "Wait a second, we don't need to fight.", 3, 0, "Fine! Your funeral.", "Battle", 9];
mess3 = ["You want me to talk to Dad and get him to cooperate with you. Well it's not like he'll listen to me.", "You see the reason I left the stupid town was because of my good for nothing father. But I guess I am starting to miss the bastard and this life isn't as good as I thought it was.", "Ok if I return home and try to convince dad to forgive me, I will try to get him to cooperate with you and your friends.", "Then we have a deal, you spare my life and I get my dad to help you.", "Trigger 2"];
} else {
mess = ["..."];
}
_root.talkActivate(mess, "bandit", extra, mess2, mess3);
}
Symbol 1858 MovieClip Frame 21
current = "copine3";
north = 0;
east = "copine4";
south = "check1";
west = 0;
safe = false;
_root.locate = 10;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 21
onClipEvent (load) {
numbers = 18;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 22
current = "copine4";
north = 0;
east = "copine5";
south = 0;
west = "copine3";
safe = false;
_root.locate = 10;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 22
onClipEvent (load) {
numbers = 19;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 23
current = "copine5";
north = "town3";
east = 0;
south = 0;
west = "copine4";
safe = false;
_root.locate = 10;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 23
onClipEvent (load) {
numbers = 20;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 24
current = "town3";
north = "town3_2";
east = 0;
south = "copine5";
west = 0;
safe = true;
_root.locate = 8;
_root.zone = "snow";
_root.general.hub = current;
_root.locations.town3 = true;
_root.theMix = "mix3";
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(3);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.head.gotoAndStop(1);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1379 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop("Arcane");
this.head.gotoAndStop(random(10));
}
Instance of Symbol 1379 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop("Arcane");
this.head.gotoAndStop(random(10));
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(2);
this.person.head.gotoAndStop(4);
this.person.body.gotoAndStop(15);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 24
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Armor");
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(1);
this.person.body.gotoAndStop(1);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 24
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Weapon");
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(7);
this.person.body.gotoAndStop(5);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 24
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("accessories");
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(5);
this.person.body.gotoAndStop(15);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 24
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.shopType = "ice";
_root.Menu1.gotoAndStop("jobs");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 24
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. Hmmm, well the name does ring a bell. I think I spoke with her at the inn, she said something about going to an RTF base."];
} else {
mess = ["Man, it is cold out here, why can't someone just cast a heating spell on this place or something. If only magic was that simple hey."];
}
extra = 2;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 24
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. Hmmm, nope I have no idea who you are talking about."];
} else {
mess = ["Demon, I sense evil in you demon! Nah just kidding, everyone knows you're Lethal. They say you are actually trying to help us. Good Luck!"];
}
extra = 3;
_root.talkActivate(mess, "femface", extra);
}
Symbol 1858 MovieClip Frame 25
current = "town3_2";
north = "copine6";
east = 0;
south = "town3";
west = 0;
safe = true;
_root.locate = 8;
_root.zone = "snow";
_root.general.hub = "town3";
_root.theMix = "mix3";
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(6);
this.person.body.gotoAndStop(6);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("buypets");
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(6);
this.person.body.gotoAndStop(5);
}
Instance of Symbol 1037 MovieClip "spells" in Symbol 1858 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("spells");
}
Instance of Symbol 1479 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(1);
this.person.head.gotoAndStop(3);
this.person.body.gotoAndStop(1);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("arena");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P7")) {
mess = ["Yes Lethal, I knew you were coming. Put that token away there is no need to prove yourself to me. I apologise for the elder of Zyte, but he has had a hard life.", "But enough of that, you are here looking for the key to Ag'mar Ruins. I see it is likely those evil beings who wish to the enter the ruins may already have.", "I have had visions, terrible visions! You must stop them! In order to enter the ruins and stop them you must have the orb, the key.", "Time is of the essence as the more time they have to explore the ruins the more secrets they may discover. I have faith in you Lethal.", "That is why I grant you access to the most precious stone in my posession. Unfortunately there is one small thing you should know.", "The Orb is in the Ruins of Fate, guarded by a fierce creature. It was designed as a test for those who were worthy of entering the Ag'mar Ruins.", "The Ruins of Fate is directly north of here. The entrance will look similar to that of Ag'mar.", "The part you play on this day is an extremely important one but I fear darkness is stirring once more and I feel this is just the beginning!"];
_root.removeQuest("P7");
_root.ruins2allowed = true;
_root.addQuest("P8", "I spoke with the elder of Ice Vault and he has given me permission to enter the Ruins of Fate north of Ice Vault.", "Quest For the Key pt2", [0, 1, "return to the elder of Ice Vault."]);
} else if (_root.checkQuest("P8") && (_root.quests[_root.findQuest("P8")].questObjective[0] == _root.quests[_root.findQuest("P8")].questObjective[1])) {
mess = ["That orb you hold in your arms is priceless and extremely powerful. You must make sure you never lose it.", "I believe the time has come for you begin the fight for peace once more. But first I have heard that Dantes of the Forgotten Brotherhood wants to speak with you.", "Good luck, and beware of what lurks in the Ag'mar!"];
_root.removeQuest("P8");
_root.addQuest("P9", "I need to return back to Bunker Town and speak with Dantes McTron.", "Calm Before the Storm", [0, 1, "..."]);
} else {
mess = ["The part you play on this day is an extremely important one but I fear darkness is stirring once more and I feel this is just the beginning!"];
}
_root.talkActivate(mess, "elder2", extra, mess2);
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.head.gotoAndStop(4);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.head.gotoAndStop(5);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1563 MovieClip in Symbol 1858 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. Hmmm, well the name does ring a bell. I think I spoke with her at the inn, she said something about going to an RTF base."];
} else {
mess = ["I quite like the cold weather here, it is soothing."];
}
extra = 5;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. Hmmm, well the name does ring a bell. I think I spoke with her at the inn, she said something about going to an RTF base."];
} else {
mess = ["The arena is so exciting isn't it. You look like a rather manly man, why don't you give it a shot."];
}
extra = 4;
_root.talkActivate(mess, "femface", extra);
}
Symbol 1858 MovieClip Frame 26
current = "copine6";
north = "copine7";
east = "copine8";
south = "town3_2";
west = 0;
safe = false;
_root.locate = 11;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 26
onClipEvent (load) {
numbers = 21;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 27
current = "copine7";
north = "ruins2";
east = 0;
south = "copine6";
west = 0;
safe = false;
_root.locate = 11;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1618 MovieClip "alter3" in Symbol 1858 MovieClip Frame 27
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.alters[2]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 27
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (!_root.alters[2]) {
mess = ["I have found a power orb fragment. Lethal's armor and Jagged Edge has been upgraded."];
_parent.alter3.gotoAndStop(2);
_root.alters[2] = true;
if (_root.hasKey("Broken Jagged Edge")) {
_root.removeKey("Broken Jagged Edge");
_root.addNewItem("lethal", _root.weapon.lethal.des, "Weapon", _root.weapon.lethal.wepType, int(_root.weapon.lethal.price * 0.5));
mess[1] = "Jagged Edge has been fixed.";
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
} else {
_root.weapon.lethal.str = _root.weapon.lethal.str + 25;
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
}
} else {
mess = ["There is nothing left on the alter."];
}
_root.talkActivate(mess, "general", extra);
}
Symbol 1858 MovieClip Frame 28
current = "ruins2";
north = 0;
east = 0;
south = "copine7";
west = 0;
safe = false;
_root.locate = 11;
_root.zone = "snow";
_root.locations.ruins2 = true;
_root.theMix = "mix3";
Instance of Symbol 1040 MovieClip in Symbol 1858 MovieClip Frame 28
onClipEvent (load) {
if (_root.ruins2allowed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 28
onClipEvent (load) {
numbers = 22;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 29
current = "copine8";
north = 0;
east = 0;
south = 0;
west = "copine6";
safe = false;
_root.locate = 11;
_root.zone = "snow";
_root.theMix = "mix3";
Instance of Symbol 1040 MovieClip in Symbol 1858 MovieClip Frame 29
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 29
onClipEvent (load) {
numbers = 23;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 30
current = "fate1";
north = "fate2";
east = 0;
south = 0;
west = 0;
safe = false;
_root.locate = 12;
_root.zone = "ruins";
_root.theMix = "mix2";
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = 163.05;
_root.mapy = 146;
_root.area = "ruins2";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 30
onClipEvent (load) {
numbers = 1;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 31
current = "fate2";
north = 0;
east = 0;
south = "fate1";
west = 0;
safe = false;
_root.locate = 12;
_root.zone = "ruins";
_root.theMix = "mix2";
Instance of Symbol 1618 MovieClip "alter" in Symbol 1858 MovieClip Frame 31
onClipEvent (load) {
if (_root.orbObtained) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 31
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("P8") && (!_root.orbObtained)) {
mess = ["The orb is now in my posession so I can now enter the ruins of Ag'mar and stop the Abyss Remnants. But first I should return to the elder of Ice Vault."];
_root.map.alter.gotoAndStop(2);
_root.orbObtained = true;
_root.addNewKey("Agmar Key", "Ag'mar Key: This key will allow me to gain access to Ag'mar ruins.", "none");
_root.quests[_root.findQuest("P8")].questObjective[0] = 1;
} else {
mess = ["There is nothing left on the alter."];
}
_root.talkActivate(mess, "general", extra);
}
Instance of Symbol 1618 MovieClip "alter4" in Symbol 1858 MovieClip Frame 31
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.alters[3]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 31
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (!_root.alters[3]) {
mess = ["I have found a power orb fragment. Lethal's armor and Jagged Edge has been upgraded."];
_parent.alter4.gotoAndStop(2);
_root.alters[3] = true;
if (_root.hasKey("Broken Jagged Edge")) {
_root.removeKey("Broken Jagged Edge");
_root.addNewItem("lethal", _root.weapon.lethal.des, "Weapon", _root.weapon.lethal.wepType, int(_root.weapon.lethal.price * 0.5));
mess[1] = "Jagged Edge has been fixed.";
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
} else {
_root.weapon.lethal.str = _root.weapon.lethal.str + 25;
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
}
} else {
mess = ["There is nothing left on the alter."];
}
_root.talkActivate(mess, "general", extra);
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 31
onClipEvent (load) {
numbers = 24;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1791 MovieClip in Symbol 1858 MovieClip Frame 31
onClipEvent (load) {
if (_root.guardianDead) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.locate = 13;
_root.shatter.play();
}
}
Symbol 1858 MovieClip Frame 32
current = "agmar1";
north = "agmar2";
east = 0;
south = 0;
west = 0;
safe = false;
_root.locate = 14;
_root.zone = "ruins";
_root.theMix = "mix2";
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = 287.05;
_root.mapy = 751;
_root.area = "ruins1";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 32
onClipEvent (load) {
numbers = 25;
types = "random";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Symbol 1858 MovieClip Frame 33
current = "agmar2";
north = 0;
east = 0;
south = "agmar1";
west = 0;
safe = false;
_root.locate = 14;
_root.zone = "ruins";
_root.theMix = "mix2";
Instance of Symbol 1797 MovieClip "portal" in Symbol 1858 MovieClip Frame 33
onClipEvent (load) {
if (_root.portalOpen == 1) {
this.gotoAndStop(2);
}
if ((_root.portalOpen == 2) && (!_root.endGame)) {
this.gotoAndStop(3);
}
if (_root.endGame == true) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 33
onClipEvent (load) {
numbers = 3;
types = "key";
if (_root.chests[numbers]) {
this.gotoAndStop(3);
}
}
Instance of Symbol 1618 MovieClip "alter5" in Symbol 1858 MovieClip Frame 33
onClipEvent (load) {
this.gotoAndStop(3);
if (_root.alters[4]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 33
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (!_root.alters[4]) {
mess = ["I have found a power orb fragment. Lethal's armor and Jagged Edge has been upgraded."];
_parent.alter5.gotoAndStop(2);
_root.alters[4] = true;
if (_root.hasKey("Broken Jagged Edge")) {
_root.removeKey("Broken Jagged Edge");
_root.addNewItem("lethal", _root.weapon.lethal.des, "Weapon", _root.weapon.lethal.wepType, int(_root.weapon.lethal.price * 0.5));
mess[1] = "Jagged Edge has been fixed.";
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
} else {
_root.weapon.lethal.str = _root.weapon.lethal.str + 25;
_root.armor.lethal.armor = _root.armor.lethal.armor + 2;
_root.armor.lethal.str = _root.armor.lethal.str + 2;
_root.armor.lethal.magic = _root.armor.lethal.magic + 5;
_root.armor.lethal.health = _root.armor.lethal.health + 5;
}
} else {
mess = ["There is nothing left on the alter."];
}
_root.talkActivate(mess, "general", extra);
}
Symbol 1858 MovieClip Frame 34
current = "doom1";
north = 0;
east = 0;
south = 0;
west = 0;
safe = false;
_root.locate = 22;
_root.zone = "ruins";
_root.theMix = "mix2";
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.map.man)) {
_root.mapx = -9.95;
_root.mapy = 556;
_root.area = "copine8";
_root.glider.gotoAndPlay("none");
this.unloadMovie();
}
}
Instance of Symbol 1492 MovieClip in Symbol 1858 MovieClip Frame 34
onClipEvent (load) {
numbers = 2;
types = "axe";
if (_root.chests[numbers]) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1801 MovieClip in Symbol 1858 MovieClip Frame 34
onClipEvent (load) {
if (_root.checkQuest("Job7") && (!_root.isQuestDone("Job7"))) {
} else {
this._visible = false;
}
}
Symbol 1858 MovieClip Frame 35
current = "inferno1";
north = "inferno2";
east = 0;
south = 0;
west = 0;
safe = false;
_root.locate = 23;
_root.zone = "inferno";
_root.theMix = "mix2";
Symbol 1858 MovieClip Frame 36
current = "inferno2";
north = "inferno3";
east = 0;
south = "inferno1";
west = 0;
safe = false;
_root.locate = 23;
_root.zone = "inferno";
_root.theMix = "mix2";
Symbol 1858 MovieClip Frame 37
current = "inferno3";
north = 0;
east = 0;
south = "inferno2";
west = 0;
safe = false;
_root.locate = 23;
_root.zone = "inferno";
_root.theMix = "mix2";
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 37
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["Come to me almighty Gladious! I sacrifice myself inorder to restore you to your former self! Come forth!!", "Trigger 3"];
_root.talkActivate(mess, "abyss1", extra);
}
onClipEvent (load) {
if (_root.endGame == true) {
_root.menuopen = false;
_root.cutscene._visible = true;
_root.cutscene.gotoAndPlay("end");
_root.cutscene.play();
}
}
Symbol 1858 MovieClip Frame 38
current = "space";
north = 0;
east = 0;
south = 0;
west = 0;
safe = true;
_root.locate = 14;
_root.theMix = "mix2";
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(10);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(4);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1435 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(random(_root.arrayOfPlp[0] + 1));
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1478 MovieClip in Symbol 1858 MovieClip Frame 38
onClipEvent (load) {
this.head.gotoAndStop(2);
this.body.gotoAndStop(random(_root.arrayOfPlp[1] + 1));
this.legs.gotoAndStop(random(_root.arrayOfPlp[2] + 1));
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.shopType = "Advanced";
_root.Menu1.gotoAndStop("Armor");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.shopType = "Advanced";
_root.Menu1.gotoAndStop("Weapon");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("accessories");
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["This is the lodge you stay at if you want to stay here for a while. I don't have anytime to sleep around so its of no use to me."];
_root.talkActivate(mess, "general", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.endGame) {
_root.shell._visible = true;
_root.Menu1._visible = true;
_root.menuopen = true;
_root.Menu1.gotoAndStop("Archive");
} else {
mess = ["The archive computers are down at the moment."];
_root.talkActivate(mess, "general", extra);
}
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
mess = ["Do you want to return to Ice Vault?", "Question", 2, "Yes", 2, 0, "No", 3, 0];
mess2 = ["Ok, hop in and lets go!", "RTF2"];
mess3 = ["Well if you want to, come back and speak to me."];
_root.talkActivate(mess, "NPC2", extra, mess2, mess3);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson you say. Hmmm, no thats not me."];
} else {
mess = ["Space can be both exciting and scary. I just can't make up my mind if I like it or not."];
}
extra = 4;
_root.talkActivate(mess, "femface", extra);
}
Instance of Symbol 1037 MovieClip in Symbol 1858 MovieClip Frame 38
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 0;
}
on (press) {
if (_root.checkQuest("Job5") && (!_root.isQuestDone("Job5"))) {
mess = ["Kylie Dawson, yes that is me. Oh you have that wine I asked for. That is quite funny really as it wasn't me who ordered it,", "It was that sleazy guy back in Bunker Town. I told him it was my favourite wine, so I guess he thought if he got it for me I'd instantly marry him or something.", "But I will definetly keep the wine. His loss I guess. Thanks for coming all this way for me, much appreciated."];
_root.quests[_root.findQuest("Job5")].questObjective[0] = 1;
_root.removeKey("Wine");
} else {
mess = ["I'm a traveller. I just love to explore and see new places."];
}
extra = 10;
_root.talkActivate(mess, "femface", extra);
}
Symbol 1860 Button
on (press) {
if (_root.Menu1._visible == false) {
menuopen = true;
Menu1.gotoAndStop(1);
}
}
Instance of Symbol 1864 MovieClip in Symbol 1865 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i < 4) {
_root["char" + i].leveled = int(_root["char" + i].XP / 1000) + 1;
_root["char" + i].lvl = "Level " + _root["char" + i].leveled;
_root["char" + i].str = _root["char" + i].leveled * 10;
_root["char" + i].MaxHealth = _root["char" + i].leveled * 100;
_root["char" + i].MaxMagic = 10 + (_root["char" + i].leveled * 10);
_root["char" + i].defence = 0;
_root["char" + i].defence = _root["char" + i].defence + _root.myDefence(i, "armor");
_root["char" + i].str = _root["char" + i].str + int(_root["char" + i].str * (0.01 * _root.myDefence(i, "str")));
_root["char" + i].MaxHealth = _root["char" + i].MaxHealth + int(_root["char" + i].MaxHealth * (0.01 * _root.myDefence(i, "health")));
_root["char" + i].MaxMagic = _root["char" + i].MaxMagic + int(_root["char" + i].MaxMagic * (0.01 * _root.myDefence(i, "magic")));
if (_root["char" + i].GHealth > _root["char" + i].MaxHealth) {
_root["char" + i].GHealth = _root["char" + i].MaxHealth;
}
if (_root["char" + i].GMagic > _root["char" + i].MaxMagic) {
_root["char" + i].GMagic = _root["char" + i].MaxMagic;
}
if (_root["char" + i].leveled > 4) {
_root.spells[_root["char" + i].Yclass + "3"][0] = true;
}
if (_root["char" + i].leveled > 9) {
_root.spells[_root["char" + i].Yclass + "4"][0] = true;
}
if (_root["char" + i].GHealth < 0) {
_root["char" + i].GHealth = 0;
}
i++;
}
_root.YHealth = (_root["char" + _root.current].GHealth + "/") + _root["char" + _root.current].MaxHealth;
_root.YMagic = (_root["char" + _root.current].GMagic + "/") + _root["char" + _root.current].MaxMagic;
_root.BBHealth = (_root.BHealth + "/") + _root.MaxBHealth;
_root.BBMagic = (_root.BMagic + "/") + _root.MaxBMagic;
if (int(_root.general.money) == NaN) {
_root.general.money = 0;
}
if (_root.BHealth < 0) {
_root.BHealth = 0;
}
}
Symbol 1869 MovieClip Frame 1
stop();
Instance of Symbol 1869 MovieClip in Symbol 1873 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.map.west != 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 1869 MovieClip in Symbol 1873 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.map.north != 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 1869 MovieClip in Symbol 1873 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.map.east != 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 1869 MovieClip in Symbol 1873 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.map.south != 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 1871 MovieClip in Symbol 1873 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.map.man._x / 40;
this._y = _root.map.man._y / 40;
}
Symbol 1878 Button
on (press) {
getURL ("http://www.funny-games.biz/main.html", "_blank");
}
Symbol 1884 Button
on (press) {
if (notes < (this["messages" + messageNo].length - 1)) {
notes++;
if (this["messages" + messageNo][notes] == "Question") {
gotoAndStop (2);
} else if (this["messages" + messageNo][notes] == "End") {
_visible = false;
} else if (this["messages" + messageNo][notes] == "RTF") {
_root.mapx = 169.05;
_root.mapy = -552.5;
_root.area = "space";
_root.glider.gotoAndPlay("none");
_visible = false;
} else if (this["messages" + messageNo][notes] == "RTF2") {
_root.mapx = 508.05;
_root.mapy = 578.5;
_root.area = "town3_2";
_root.glider.gotoAndPlay("none");
_visible = false;
} else if (this["messages" + messageNo][notes] == "Portal") {
_root.map.portal.posse.play();
_visible = false;
} else if (this["messages" + messageNo][notes] == "Battle") {
notes++;
_root.locate = this["messages" + messageNo][notes];
_root.shatter.play();
} else if (this["messages" + messageNo][notes] == "Jump") {
notes++;
tempNo = this["messages" + messageNo][notes];
notes++;
notes = this["messages" + messageNo][notes];
messageNo = tempNo;
note = this["messages" + messageNo][notes];
} else if (this["messages" + messageNo][notes] == "Trigger 1") {
_root.map.abyssman._visible = true;
_root.noter.symbol.gotoAndStop("abyss1");
notes++;
note = this["messages" + messageNo][notes];
} else if (this["messages" + messageNo][notes] == "Trigger 2") {
_root.quests[_root.findQuest("P6")].questObjective[0] = 1;
_root.hesDead = false;
_root.char1.karma = _root.char1.karma + 1;
_visible = false;
} else if (this["messages" + messageNo][notes] == "Trigger 3") {
_root.cutscene._visible = true;
_root.cutscene.gotoAndPlay("wrath");
_visible = false;
} else {
note = this["messages" + messageNo][notes];
}
} else {
_visible = false;
}
}
Symbol 1894 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1896 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1899 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1900 MovieClip Frame 1
stop();
Symbol 1900 MovieClip Frame 10
_root.enemykind = "Gladious";
Symbol 1905 MovieClip Frame 1
stop();
Symbol 1906 MovieClip Frame 1
stop();
note = this["messages" + messageNo][notes];
Symbol 1906 MovieClip Frame 2
i = 1;
while (i < 4) {
this["but" + i]._visible = false;
i++;
}
notes++;
number = this["messages" + messageNo][notes];
i = 1;
while (i < (number + 1)) {
notes++;
this["but" + i].choice = this["messages" + messageNo][notes];
notes++;
this["but" + i].messageNo = this["messages" + messageNo][notes];
notes++;
this["but" + i].notes = this["messages" + messageNo][notes];
this["but" + i]._visible = true;
i++;
}
Instance of Symbol 1905 MovieClip "but1" in Symbol 1906 MovieClip Frame 2
on (press) {
_parent.notes = this.notes;
_parent.messageNo = this.messageNo;
_parent.gotoAndStop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 1905 MovieClip "but2" in Symbol 1906 MovieClip Frame 2
on (press) {
_parent.notes = this.notes;
_parent.messageNo = this.messageNo;
_parent.gotoAndStop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 1905 MovieClip "but3" in Symbol 1906 MovieClip Frame 2
on (press) {
_parent.notes = this.notes;
_parent.messageNo = this.messageNo;
_parent.gotoAndStop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 1914 MovieClip Frame 1
stop();
Symbol 1914 MovieClip Frame 15
_root.mapx = _root.map._x;
_root.mapy = _root.map._y;
_root.area = _root.map.current;
_root.gotoAndStop("battle");
stop();
Symbol 1921 MovieClip Frame 1
stop();
Symbol 1921 MovieClip Frame 16
if (_root.map._currentframe == 1) {
_root.map.gotoAndStop(2);
_root.map.gotoAndStop(1);
} else {
_root.map.gotoAndStop(1);
}
Symbol 1921 MovieClip Frame 24
_root.map.man.teleport.play();
Symbol 1924 MovieClip Frame 1
stop();
Symbol 1924 MovieClip Frame 9
_root.map.gotoAndStop(_root.map.south);
_root.map.man._y = _root.map.man._y - 1700;
_root.map._y = _root.map._y + 1700;
Symbol 1924 MovieClip Frame 11
_root.playMusic(_root.theMix);
Symbol 1924 MovieClip Frame 18
gotoAndStop (1);
Symbol 1924 MovieClip Frame 26
_root.map.gotoAndStop(_root.map.north);
_root.map.man._y = _root.map.man._y + 1800;
_root.map._y = _root.map._y - 1800;
Symbol 1924 MovieClip Frame 28
_root.playMusic(_root.theMix);
Symbol 1924 MovieClip Frame 35
gotoAndStop (1);
Symbol 1924 MovieClip Frame 46
_root.map.gotoAndStop(_root.map.east);
_root.map.man._x = _root.map.man._x - 1700;
_root.map._x = _root.map._x + 1700;
Symbol 1924 MovieClip Frame 48
_root.playMusic(_root.theMix);
Symbol 1924 MovieClip Frame 54
gotoAndStop (1);
Symbol 1924 MovieClip Frame 65
_root.map.gotoAndStop(_root.map.west);
_root.map.man._x = _root.map.man._x + 1700;
_root.map._x = _root.map._x - 1700;
Symbol 1924 MovieClip Frame 67
_root.playMusic(_root.theMix);
Symbol 1924 MovieClip Frame 73
gotoAndStop (1);
Symbol 1924 MovieClip Frame 80
_root.runner = true;
_root.leaveBattle = true;
_root.map.gotoAndStop(1);
Symbol 1924 MovieClip Frame 82
_root.playMusic(_root.theMix);
Symbol 1927 MovieClip Frame 11
stop();
Symbol 1944 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1946 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1948 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1950 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 2006 MovieClip Frame 1
stop();
Symbol 2006 MovieClip Frame 30
_root.map.man.gotoAndStop(4);
this._visible = false;
gotoAndStop (1);
Symbol 2006 MovieClip Frame 31
_root.helmType = 2;
_root.enemykind = "Abyss Remnant";
Symbol 2006 MovieClip Frame 75
_root.map.demon_man.gotoAndStop(2);
mess = ["Well, I must admit, it feels so good being whole once more. Although my power is yet to be restored to its full potential, it is more than enough to start again.", "And this time I will not underestimate those conniving mages and their arcane magic. Oh but how rude of me, I have yet to introduce myself.", "I am lord Gladious, also known as Redemption! It seems a lot has happened since my damnation, judging by the memories of that poor fool.", "It seems the power I granted that dark mage, Usimaki Siren the Maverick Mage, was put to waste.", "Atleast your essence knew what his goal in life was and took my place as conquorer of the universe.", "Question", 2, "What are you trying to say?!", 2, 0, "Explain yourself demon?!", 2, 0];
mess2 = ["Let me make it nice and clear, you are a failure! I transfered some of my own power into a special orb and gave it to Siren so he could create the perfect warrior", "Half Demon, Half Man! You were designed to take my place if I were to be destroyed or trapped. Instead you defy your destiny!", "Don't tell me you care about these pathetic mortals. I grant you ultimate power and you repay me by casting it aside and destroying it.", "You destroyed Fatal, the part of yourself that knew his place. But enough of this talk, now that I am revived I have no need for you anyway.", "It seems those Abyss Remnants will be perfect tools at my disposal, they should fit into my plans nicely.", "As for you and your mortal friends, EXECUTION!", "Battle", 20];
_root.talkActivate(mess, "demon", extra, mess2);
this._visible = false;
gotoAndStop (1);
Symbol 2006 MovieClip Frame 76
_root.current = 1;
_root.playMusic("boss");
_root.tempSword = _root.char1.weapon;
_root.char1.weapon = "lethal";
play();
Symbol 2006 MovieClip Frame 106
_root.current = 2;
Symbol 2006 MovieClip Frame 127
_root.current = 3;
Symbol 2006 MovieClip Frame 150
_root.current = 1;
Symbol 2006 MovieClip Frame 272
_root.helmType = 2;
_root.enemykind = "Abyss Remnant";
Symbol 2006 MovieClip Frame 353
_root.char1.weapon = _root.tempSword;
Instance of Symbol 2004 MovieClip in Symbol 2006 MovieClip Frame 643
onClipEvent (load) {
if (_root.general.challenge) {
theWeapon = "ultima";
_root.addNewItem(theWeapon, _root.weapon[theWeapon].des, "Weapon", _root.weapon[theWeapon].wepType, 0);
_root.kongregateStats.submit("Challenge", 1);
} else {
this._visible = false;
}
}
Symbol 2006 MovieClip Frame 685
_root.mapx = 214.05;
_root.mapy = 600;
_root.removeQuest("P10");
_root.area = "agmar2";
_root.glider.gotoAndPlay("none");
Symbol 2006 MovieClip Frame 698
this._visible = false;
this.gotoAndStop(1);
Symbol 2043 MovieClip Frame 1
stop();
Symbol 2044 MovieClip Frame 1
stop();
Symbol 2044 MovieClip Frame 2
gotoAndPlay("attack" + int(random(2) + 1));
Symbol 2044 MovieClip Frame 9
_parent.blood.play();
Symbol 2044 MovieClip Frame 14
gotoAndStop ("idle");
Symbol 2044 MovieClip Frame 30
gotoAndStop ("idle");
Symbol 2044 MovieClip Frame 42
gotoAndStop ("idle");
Symbol 2044 MovieClip Frame 49
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2044 MovieClip Frame 54
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2044 MovieClip Frame 62
gotoAndStop ("idle");
_root.battle.play();
Symbol 2044 MovieClip Frame 67
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2044 MovieClip Frame 76
gotoAndStop ("idle");
_root.battle.play();
Symbol 2044 MovieClip Frame 91
_root.questObjectives();
Symbol 2044 MovieClip Frame 97
_root.battle.play();
stop();
Symbol 2044 MovieClip Frame 98
play();
Symbol 2044 MovieClip Frame 103
gotoAndStop ("idle");
_root.battle.play();
Symbol 2044 MovieClip Frame 108
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2044 MovieClip Frame 113
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2044 MovieClip Frame 123
gotoAndStop ("idle");
_root.battle.play();
Symbol 2045 MovieClip Frame 1
stop();
Symbol 2045 MovieClip Frame 2
gotoAndPlay("attack" + int(random(2) + 1));
Symbol 2045 MovieClip Frame 13
gotoAndStop ("idle");
Symbol 2045 MovieClip Frame 14
_parent.blood.play();
Symbol 2045 MovieClip Frame 19
gotoAndStop ("idle");
Symbol 2045 MovieClip Frame 30
gotoAndStop ("idle");
Symbol 2045 MovieClip Frame 37
_root.questObjectives();
Symbol 2045 MovieClip Frame 48
_root.battle.play();
stop();
Symbol 2045 MovieClip Frame 49
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2045 MovieClip Frame 53
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2045 MovieClip Frame 64
if (random(3) == 0) {
gotoAndPlay ("attack2");
}
Symbol 2045 MovieClip Frame 70
gotoAndStop ("idle");
_root.battle.play();
Symbol 2045 MovieClip Frame 71
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2045 MovieClip Frame 75
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2045 MovieClip Frame 86
if (random(3) == 0) {
gotoAndPlay ("attack1");
}
Symbol 2045 MovieClip Frame 90
gotoAndStop ("idle");
_root.battle.play();
Symbol 2045 MovieClip Frame 91
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2045 MovieClip Frame 95
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2045 MovieClip Frame 106
if (random(2) == 0) {
gotoAndPlay ("attack1");
}
Symbol 2045 MovieClip Frame 110
gotoAndStop ("idle");
_root.battle.play();
Symbol 2045 MovieClip Frame 111
play();
Symbol 2045 MovieClip Frame 124
gotoAndStop ("idle");
_root.battle.play();
Symbol 2055 MovieClip Frame 1
stop();
Symbol 2055 MovieClip Frame 2
gotoAndPlay("attack" + int(random(2) + 1));
Symbol 2055 MovieClip Frame 11
_parent.blood.play();
Symbol 2055 MovieClip Frame 22
gotoAndStop ("idle");
Symbol 2055 MovieClip Frame 33
gotoAndStop ("idle");
Symbol 2055 MovieClip Frame 46
gotoAndStop ("idle");
Symbol 2055 MovieClip Frame 49
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2055 MovieClip Frame 56
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2055 MovieClip Frame 65
gotoAndStop ("idle");
_root.battle.play();
Symbol 2055 MovieClip Frame 67
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2055 MovieClip Frame 80
gotoAndStop ("idle");
_root.battle.play();
Symbol 2055 MovieClip Frame 88
_root.questObjectives();
Symbol 2055 MovieClip Frame 100
_root.battle.play();
stop();
Symbol 2055 MovieClip Frame 102
play();
Symbol 2055 MovieClip Frame 115
gotoAndStop ("idle");
_root.battle.play();
Symbol 2055 MovieClip Frame 117
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2055 MovieClip Frame 126
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2055 MovieClip Frame 134
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2055 MovieClip Frame 142
gotoAndStop ("idle");
_root.battle.play();
Symbol 2058 MovieClip Frame 1
stop();
Symbol 2058 MovieClip Frame 2
mand = random(6);
if (mand < 4) {
gotoAndPlay ("attack1");
} else if ((_root.BMagic >= 10) && (_root.BName == "Abyss Tyrant")) {
gotoAndPlay ("cast1");
} else {
gotoAndPlay ("attack1");
}
Symbol 2058 MovieClip Frame 9
gotoAndStop ("idle");
Symbol 2058 MovieClip Frame 21
gotoAndStop ("idle");
Symbol 2058 MovieClip Frame 36
gotoAndStop ("idle");
Symbol 2058 MovieClip Frame 42
_root.questObjectives();
Symbol 2058 MovieClip Frame 58
_root.battle.play();
stop();
Symbol 2058 MovieClip Frame 59
play();
Symbol 2058 MovieClip Frame 77
gotoAndStop ("idle");
_root.battle.play();
Symbol 2058 MovieClip Frame 78
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2058 MovieClip Frame 84
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2058 MovieClip Frame 97
gotoAndStop ("idle");
_root.battle.play();
Symbol 2058 MovieClip Frame 101
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2058 MovieClip Frame 113
gotoAndStop ("idle");
_root.battle.play();
Symbol 2058 MovieClip Frame 119
_root["char" + _root.current].yStatus = "sick";
_root.Battack_func();
_root.playSound("stab");
_root.BMagic = _root.BMagic - 10;
_root.messages = "You have become very sick!";
Symbol 2058 MovieClip Frame 132
gotoAndStop ("idle");
_root.battle.play();
Symbol 2061 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 2062 MovieClip Frame 1
stop();
Symbol 2062 MovieClip Frame 2
mand = random(6);
if (mand < 4) {
gotoAndPlay ("attack1");
} else if (_root.BMagic >= 10) {
gotoAndPlay ("cast1");
} else {
gotoAndPlay ("attack1");
}
Symbol 2062 MovieClip Frame 17
gotoAndStop ("idle");
Symbol 2062 MovieClip Frame 28
gotoAndStop ("idle");
Symbol 2062 MovieClip Frame 42
gotoAndStop ("idle");
Symbol 2062 MovieClip Frame 56
_root.questObjectives();
Symbol 2062 MovieClip Frame 65
_root.battle.play();
stop();
Symbol 2062 MovieClip Frame 67
play();
Symbol 2062 MovieClip Frame 75
gotoAndStop ("idle");
_root.battle.play();
Symbol 2062 MovieClip Frame 79
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2062 MovieClip Frame 83
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2062 MovieClip Frame 91
gotoAndStop ("idle");
_root.battle.play();
Symbol 2062 MovieClip Frame 93
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2062 MovieClip Frame 107
gotoAndStop ("idle");
_root.battle.play();
Symbol 2062 MovieClip Frame 112
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2062 MovieClip Frame 119
_root.BMagic = _root.BMagic - 10;
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2062 MovieClip Frame 130
gotoAndStop ("idle");
_root.battle.play();
Symbol 2069 MovieClip Frame 4
_root.Battack_func();
_root.playSound("stab");
Symbol 2069 MovieClip Frame 9
_root.playSound("stab");
Symbol 2069 MovieClip Frame 15
_root.Battack_func();
_root.playSound("stab");
Symbol 2069 MovieClip Frame 20
_root.playSound("stab");
Symbol 2069 MovieClip Frame 25
_root.Battack_func();
_root.playSound("stab");
Symbol 2069 MovieClip Frame 35
stop();
Symbol 2070 MovieClip Frame 1
stop();
Symbol 2070 MovieClip Frame 2
mand = random(6);
if (rage != true) {
if (mand < 3) {
gotoAndPlay ("attack1");
} else {
mand = random(2);
if ((_root.BMagic >= 10) && (mand == 0)) {
gotoAndPlay ("cast1");
} else if ((_root.BMagic >= 20) && (mand == 1)) {
gotoAndPlay ("cast2");
} else {
gotoAndPlay ("attack1");
}
}
} else {
gotoAndPlay ("cast3");
}
Symbol 2070 MovieClip Frame 5
_parent.blood.play();
Symbol 2070 MovieClip Frame 9
gotoAndStop ("idle");
Symbol 2070 MovieClip Frame 20
gotoAndStop ("idle");
Symbol 2070 MovieClip Frame 33
gotoAndStop ("idle");
Symbol 2070 MovieClip Frame 43
_root.questObjectives();
Symbol 2070 MovieClip Frame 51
_root.battle.play();
stop();
Symbol 2070 MovieClip Frame 56
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2070 MovieClip Frame 59
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2070 MovieClip Frame 66
gotoAndStop ("idle");
_root.battle.play();
Symbol 2070 MovieClip Frame 69
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2070 MovieClip Frame 82
gotoAndStop ("idle");
_root.battle.play();
Symbol 2070 MovieClip Frame 104
_root.BMagic = _root.BMagic - 10;
Symbol 2070 MovieClip Frame 144
gotoAndStop ("idle");
_root.battle.play();
Symbol 2070 MovieClip Frame 150
rage = true;
_root.messages = "The mage has charged a powerful attack.";
Symbol 2070 MovieClip Frame 162
gotoAndStop ("idle");
_root.battle.play();
Symbol 2070 MovieClip Frame 163
rage = false;
Symbol 2070 MovieClip Frame 169
_root.Battack_func("charged");
_root.BMagic = _root.BMagic - 20;
Symbol 2070 MovieClip Frame 179
gotoAndStop ("idle");
_root.battle.play();
Symbol 2070 MovieClip Frame 180
play();
Symbol 2070 MovieClip Frame 189
gotoAndStop ("idle");
_root.battle.play();
Symbol 2086 MovieClip Frame 1
stop();
Symbol 2086 MovieClip Frame 2
mand = random(6);
if (mand < 3) {
gotoAndPlay ("attack1");
} else {
mand = random(2);
if (((_root.BMagic >= 20) && (mand == 0)) && (_root.enemykind != "Knight")) {
gotoAndPlay ("cast1");
} else if (mand == 1) {
gotoAndPlay ("attack2");
} else {
gotoAndPlay ("attack1");
}
}
Symbol 2086 MovieClip Frame 14
gotoAndStop ("idle");
Symbol 2086 MovieClip Frame 24
gotoAndStop ("idle");
Symbol 2086 MovieClip Frame 38
gotoAndStop ("idle");
Symbol 2086 MovieClip Frame 40
if (_root.enemykind == "Knight") {
gotoAndPlay ("death2");
}
Symbol 2086 MovieClip Frame 43
_root.questObjectives();
Symbol 2086 MovieClip Frame 49
_root.battle.play();
stop();
Symbol 2086 MovieClip Frame 53
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2086 MovieClip Frame 56
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2086 MovieClip Frame 60
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2086 MovieClip Frame 63
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2086 MovieClip Frame 65
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 2086 MovieClip Frame 67
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
_root.playSound("stab");
} else {
_root.playSound("miss");
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 2086 MovieClip Frame 78
gotoAndStop ("idle");
_root.battle.play();
Symbol 2086 MovieClip Frame 80
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 2086 MovieClip Frame 96
gotoAndStop ("idle");
_root.battle.play();
Symbol 2086 MovieClip Frame 105
_root.Battack_func();
_root.playSound("stab");
Symbol 2086 MovieClip Frame 119
gotoAndStop ("idle");
_root.battle.play();
Symbol 2086 MovieClip Frame 132
_root.BMagic = _root.BMagic - 20;
_root.Battack_func("ultimate");
_root.playSound("stab");
Symbol 2086 MovieClip Frame 153
gotoAndStop ("idle");
_root.battle.play();
Symbol 2086 MovieClip Frame 156
_root.questObjectives();
Symbol 2086 MovieClip Frame 167
_root.battle.play();
stop();
Symbol 2086 MovieClip Frame 168
play();
Symbol 2086 MovieClip Frame 178
gotoAndStop ("idle");
_root.battle.play();
Symbol 2087 MovieClip Frame 1
stop();
Symbol 2091 MovieClip Frame 1
stop();
Symbol 2099 MovieClip Frame 1
stop();
_root.key = 87;
Symbol 2099 MovieClip Frame 2
_root.key = 65;
Symbol 2099 MovieClip Frame 3
_root.key = 83;
Symbol 2099 MovieClip Frame 4
_root.key = 68;
Symbol 2104 MovieClip Frame 1
stop();
Instance of Symbol 2099 MovieClip "cube" in Symbol 2104 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.letter);
}
Symbol 2104 MovieClip Frame 2
_root.keyhitter();
Instance of Symbol 1864 MovieClip in Symbol 2104 MovieClip Frame 10
onClipEvent (keyDown) {
if (Key.isDown(_root.key)) {
_root.spark.play();
_root.hitHim = 1;
_parent.gotoAndPlay("success");
} else {
_parent.gotoAndPlay("fail");
}
}
Symbol 2104 MovieClip Frame 19
_root.hitHim = 0;
Symbol 2104 MovieClip Frame 26
_alpha = 75;
Symbol 2104 MovieClip Frame 27
_alpha = 50;
Symbol 2104 MovieClip Frame 28
_alpha = 100;
_root.hitneed = false;
_root.main.main.play();
_visible = false;
Symbol 2110 MovieClip Frame 1
stop();
Symbol 2114 Button
on (press) {
gotoAndStop (2);
}
Symbol 2118 Button
on (press) {
gotoAndStop (1);
}
Symbol 2127 MovieClip Frame 1
names = _root.BName;
stop();
Symbol 2127 MovieClip Frame 2
names = _root.BName;
level = "Level: " + _root.Blevel;
element = "Element: " + _root.Belement;
weakness = "Weakness: " + _root.element[_root.Belement][1];
Symbol 2128 MovieClip Frame 10
stop();
Symbol 2128 MovieClip Frame 20
stop();
Symbol 2137 MovieClip Frame 1
stop();
Symbol 2149 MovieClip Frame 1
stop();
Symbol 2149 MovieClip Frame 16
stop();
Symbol 2154 MovieClip Frame 16
stop();
Symbol 2154 MovieClip Frame 30
_root.gotoAndStop("map");
Symbol 2157 Button
on (press) {
_root.chosenmove = 1;
_root.choice1 = "attack";
_root.choice2 = "swing";
_parent.play();
}
Symbol 2158 Button
on (press) {
_root.choice1 = "none";
_root.choice2 = "none";
_root.menuchoice = "general";
_root.chosenmove = 2;
_parent.play();
_root.sMenu.play();
}
Symbol 2159 Button
on (press) {
_root.choice1 = "none";
_root.choice2 = "none";
_root.menuchoice = "skills";
_root.chosenmove = 2;
_parent.play();
_root.sMenu.play();
}
Symbol 2160 Button
on (press) {
_root.choice1 = "none";
_root.choice2 = "none";
_root.menuchoice = "potions";
_root.chosenmove = 2;
_parent.play();
_root.sMenu.play();
}
Symbol 2165 Button
on (press) {
if (!_root.boss) {
_root.chosenmove = 1;
_root.choice1 = "basic";
_root.choice2 = "run";
_parent.play();
} else {
_root.messages = "Can't run from a boss battle!";
}
}
Symbol 2171 MovieClip Frame 13
stop();
Symbol 2171 MovieClip Frame 25
if (_root.chosenmove == 1) {
_root.nextFrame();
} else {
stop();
}
Symbol 2175 Button
on (press) {
_root.menu1.play();
_parent.play();
}
Symbol 2178 Button
on (press) {
if (((_root.choice1 != "none") && (_root.choice2 != "switched")) && (_root.choice2 != "mage2")) {
_root.chosenmove = 1;
_parent.play();
} else if (_root.choice2 == "switched") {
popup._visible = true;
popup.gotoAndStop("switch");
} else if (_root.choice2 == "mage2") {
popup._visible = true;
popup.gotoAndStop("mage2");
}
}
Symbol 2180 MovieClip Frame 1
if (_root.menuchoice == "potions") {
gotoAndStop (2);
} else {
stop();
}
if (_root.menuchoice == "skills") {
texter = "Spells take advantage of the Arcane ways of battle. Each individual can store magic inside of them and by using this magic it is possible to master several spells to take advantage of the current situation.";
if (_root["char" + _root.current].Yclass == "knight") {
TheType = "knight";
type = ["", "knight1", "knight2", "knight3", "knight4"];
} else if (_root["char" + _root.current].Yclass == "mage") {
TheType = "mage";
type = ["", "mage1", "mage2", "mage3", "mage4"];
} else if (_root["char" + _root.current].Yclass == "warlock") {
TheType = "warlock";
type = ["", "warlock1", "warlock2", "warlock3", "warlock4"];
} else if (_root["char" + _root.current].Yclass == "rogue") {
TheType = "rogue";
type = ["", "rogue1", "rogue2", "rogue3", "rogue4"];
}
} else {
texter = "Spells take advantage of the Arcane ways of battle. Each individual can store magic inside of them and by using this magic it is possible to master several spells to take advantage of the current situation.";
TheType = "general";
type = ["", "switched", "aid", "burst", "handicap"];
}
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].iTemp = i;
this["q" + i].onPress = function () {
if (_root.spells[type[this.iTemp]][0] && (_root["char" + _root.current].GMagic >= _root.spells[type[this.iTemp]][3])) {
texter = _root.spells[type[this.iTemp]][2];
inv.gotoAndStop("Spell");
inv.object.gotoAndStop(type[this.iTemp]);
_root.choice1 = TheType;
_root.choice2 = type[this.iTemp];
} else {
texter = "That spell is currently unavailable";
inv.gotoAndStop("locked");
}
};
if ((_root.spells[type[i]][2] != undefined) || (_root.spells[type[i]][0] == true)) {
this["q" + i].note = _root.spells[type[i]][1];
this["q" + i]._visible = true;
} else {
this["q" + i]._visible = false;
}
i++;
}
Instance of Symbol 598 MovieClip "popup" in Symbol 2180 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 2180 MovieClip Frame 2
texter = "Potions and items are used to cure illness and restore your health.";
TheType = "general";
type = ["", "Small Potion", "Medium Potion", "Strong Potion", "Magic Potion", "Cure Potion", "Defence Potion"];
potionDes = ["", "Small Potion: Heals the user for 100HP.", "Medium Potion: Heals the user for 1000HP.", "Strong Potion: Heals the user for All HP.", "Magic Potion: Restores all of your magic", "Cure Potion: Cures Sickness and poison", "Defence Potion: Defend against the next attack in battle"];
i = 1;
while (i < 12) {
this["q" + i].iTemp = i;
this["q" + i].onRollOver = function () {
this.glow.gotoAndStop(2);
};
this["q" + i].onRollOut = function () {
this.glow.gotoAndStop(1);
};
this["q" + i].iTemp = i;
this["q" + i].onPress = function () {
if (_root.hasItem(type[this.iTemp])) {
texter = potionDes[this.iTemp];
inv.gotoAndStop("Potion");
inv.object.gotoAndStop(type[this.iTemp]);
inv.count = _root.inventoryItem[_root.findItem(type[this.iTemp])].itemNo;
_root.choice1 = TheType;
_root.choice2 = "potion";
_root.choice3 = type[this.iTemp];
} else {
texter = "You don't have any of that item";
inv.gotoAndStop("locked");
}
};
if (i < 7) {
this["q" + i].note = type[i];
this["q" + i]._visible = true;
} else {
this["q" + i]._visible = false;
}
i++;
}
Symbol 2181 MovieClip Frame 1
stop();
Symbol 2181 MovieClip Frame 16
stop();
Symbol 2181 MovieClip Frame 30
if (_root.chosenmove == 1) {
_root.nextFrame();
}
Symbol 2183 Button
on (press) {
if (_root.spells[classes + "4"][0] && (_root["char" + _root.current].GMagic >= _root.spells[classes + "4"][3])) {
_root.chosenmove = 1;
_root.choice1 = classes;
_root.choice2 = classes + "4";
_root.menu1.play();
} else {
_root.messages = "That spell is unavailable.";
}
}
Symbol 2184 Button
on (press) {
if (_root.spells[classes + "3"][0] && (_root["char" + _root.current].GMagic >= _root.spells[classes + "3"][3])) {
_root.chosenmove = 1;
_root.choice1 = classes;
_root.choice2 = classes + "3";
_root.menu1.play();
} else {
_root.messages = "That spell is unavailable.";
}
}
Symbol 2185 Button
on (press) {
if ((_root.spells[classes + "2"][0] && (_root["char" + _root.current].GMagic >= _root.spells[classes + "2"][3])) && ((classes + "2") != "mage2")) {
_root.chosenmove = 1;
_root.choice1 = classes;
_root.choice2 = classes + "2";
_root.menu1.play();
} else {
_root.messages = "That spell is unavailable.";
}
}
Symbol 2186 Button
on (press) {
if (_root.spells[classes + "1"][0] && (_root["char" + _root.current].GMagic >= _root.spells[classes + "1"][3])) {
_root.chosenmove = 1;
_root.choice1 = classes;
_root.choice2 = classes + "1";
_root.menu1.play();
} else {
_root.messages = "That spell is unavailable.";
}
}
Symbol 2187 Button
on (press) {
_root.chosenmove = 1;
_root.choice1 = "attack";
_root.choice2 = "swing";
_root.menu1.play();
}
Symbol 2193 MovieClip Frame 1
function keyGuess(numb) {
if ((_root.spells[classes + numb][0] && (_root["char" + _root.current].GMagic >= _root.spells[classes + numb][3])) && ((classes + numb) != "mage2")) {
_root.chosenmove = 1;
_root.choice1 = classes;
_root.choice2 = classes + numb;
_root.menu1.play();
} else {
_root.messages = "That spell is unavailable.";
}
}
classes = _root["char" + _root.current].Yclass;
onEnterFrame = function () {
if (Key.isDown(49)) {
keyGuess(1);
}
if (Key.isDown(50)) {
keyGuess(2);
}
if (Key.isDown(51)) {
keyGuess(3);
}
if (Key.isDown(52)) {
keyGuess(4);
}
if (Key.isDown(80) || (Key.isDown(192))) {
_root.chosenmove = 1;
_root.choice1 = "attack";
_root.choice2 = "swing";
_root.menu1.play();
}
};
Symbol 2194 MovieClip Frame 10
stop();
Symbol 2194 MovieClip Frame 20
stop();
Symbol 2198 MovieClip Frame 1
stop();
Symbol 2198 MovieClip Frame 101
_root.enemy.enemy.play();
Symbol 2199 MovieClip Frame 1
_root.main.gotoAndStop(_root.choice1);
_root.main.main.gotoAndPlay(_root.choice2);
stop();
Symbol 2199 MovieClip Frame 2
if ((_root.pet.select != "none") and (_root.BHealth > 0)) {
petstam = random(2);
if (petstam == 0) {
stop();
_root.battlepet.pet.play();
} else {
play();
}
} else {
play();
}
Symbol 2199 MovieClip Frame 3
_root.enemy.swapDepths(_root.battlepet);
_root.main.swapDepths(_root.battlepet);
Symbol 2199 MovieClip Frame 4
if (_root.BHealth >= 1) {
_root.enemy.enemy.play();
stop();
} else if (_root.Bstatus == "stunned") {
_root.messages == "The enemy is stunned and can't move.";
play();
}
Symbol 2199 MovieClip Frame 5
if (((_root.Bstatus == "sick") || (_root.Bstatus == "painsick")) && (_root.BHealth > 0)) {
if (!_root.boss) {
_root.messages = ("Enemy injured through his sickness by " + int(_root.MaxBHealth * 0.1)) + ".";
_root.BHealth = _root.BHealth - int(_root.MaxBHealth * 0.1);
} else {
_root.messages = ("Enemy injured through his sickness by " + int(_root.MaxBHealth * 0.05)) + ". It seems resistent to the sickness.";
_root.BHealth = _root.BHealth - int(_root.MaxBHealth * 0.05);
}
if (_root.Bstatus == "painsick") {
_root.BHealth = _root.BHealth - int(_root["char" + _root.current].str * 2);
_root.messages = _root.messages + ((" The enemy has also lost " + int(_root["char" + _root.current].str * 2)) + " from pain.");
}
_root.enemy.enemy.gotoAndPlay("hit");
if (random(5) == 0) {
_root.Bstatus = "normal";
_root.messages = _root.messages + " The enemy has recovered from its illness.";
}
} else if ((_root.Bstatus == "pain") && (_root.BHealth > 0)) {
_root.BHealth = _root.BHealth - int(_root["char" + _root.current].str * 2);
_root.messages = ("The enemy has lost " + int(_root["char" + _root.current].str * 2)) + " from pain.";
_root.enemy.enemy.gotoAndPlay("hit");
if (random(5) == 0) {
_root.Bstatus = "normal";
_root.messages = _root.messages + " The enemy has recovered from its illness.";
}
} else if ((_root.Bstatus == "wounded") && (_root.BHealth > 0)) {
_root.BHealth = _root.BHealth - int(_root["char" + _root.current].str);
_root.enemy.enemy.gotoAndPlay("hit");
if (random(3) == 0) {
_root.Bstatus = "normal";
_root.messages = _root.messages + " The enemy has recovered from its wound.";
}
} else if ((_root.Bstatus == "stunned") && (_root.BHealth > 0)) {
if (random(3) == 0) {
_root.Bstatus = "normal";
_root.messages = "The enemy has recovered.";
}
}
if (_root.stealth > 0) {
_root.stealth = _root.stealth - 1;
if (_root.stealth == 0) {
_root.main._alpha = 100;
_root.messages = _root.messages + " Your stealth wore off.";
}
}
if ((_root["char" + _root.current].yStatus == "sick") && (_root["char" + _root.current].GHealth > 0)) {
_root.messages = ("You were injured by sickness for " + int(_root["char" + _root.current].MaxHealth * 0.1)) + " damage.";
_root["char" + _root.current].GHealth = _root["char" + _root.current].GHealth - int(_root["char" + _root.current].MaxHealth * 0.1);
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("hit");
if (random(5) == 0) {
_root["char" + _root.current].yStatus = "normal";
_root.messages = _root.messages + " You have recovered from your illness.";
}
}
if (_root.BHealth <= 0) {
_root.enemy.enemy.gotoAndPlay("death");
stop();
}
Symbol 2199 MovieClip Frame 6
if (_root["char" + _root.current].GHealth <= 0) {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("death");
stop();
}
if (_root.BHealth <= 0) {
_root.BXPTotal = _root.BXPTotal + _root.BXP;
if (_root.Bcompany > 1) {
_root.Bcompany--;
trace(_root.Bcompany);
_root.newFoe();
stop();
} else {
stop();
_root.leaveBattle = true;
_root.redin.play();
}
}
Symbol 2199 MovieClip Frame 7
_root.main.swapDepths(_root.battlepet);
_root.enemy.swapDepths(_root.battlepet);
_root.prevFrame();
if ((_root.strBoost > 0) && (_root.strBoost != undefined)) {
_root.strBoost--;
}
Symbol 2210 Button
on (press) {
_root.save_slot = "char1";
_root.chosenmenu = "custom";
_root.gotoAndStop("intro");
}
Symbol 2214 Button
on (press) {
_root.save_slot = "char2";
_root.chosenmenu = "custom";
_root.gotoAndStop("intro");
}
Symbol 2218 Button
on (press) {
_root.save_slot = "char3";
_root.chosenmenu = "custom";
_root.gotoAndStop("intro");
}
Symbol 2219 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 2222 Button
on (press) {
if (money1 != "Empty") {
_root.save_slot = "char1";
_root.loadGame("char1");
_root.gotoAndStop("map");
}
}
Symbol 2226 Button
on (press) {
if (money2 != "Empty") {
_root.save_slot = "char2";
_root.loadGame("char2");
_root.gotoAndStop("map");
}
}
Symbol 2229 Button
on (press) {
if (money3 != "Empty") {
_root.save_slot = "char3";
_root.loadGame("char1");
_root.gotoAndStop("map");
}
}
Symbol 2236 Button
on (press) {
fader.gotoAndPlay(1);
prevFrame();
}
Symbol 2237 Button
on (press) {
fader.gotoAndPlay(1);
nextFrame();
}
Symbol 2241 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 2246 MovieClip Frame 1
stop();
pages = "1 / 3";
Symbol 2246 MovieClip Frame 2
pages = "2 / 3";
Symbol 2246 MovieClip Frame 3
pages = "3 / 3";
Symbol 2246 MovieClip Frame 4
pages = "1 / 1";
Symbol 2280 MovieClip Frame 1
more_btn.onRelease = function () {
getURL ("http://www.funny-games.biz/main.html", "_blank");
};
Symbol 2280 MovieClip Frame 181
_root.gotoAndPlay(2);