Frame 3
_root.kongregateServices.connect();
Stage.showMenu = false;
function resetLocations() {
_root.locations.pacific = [false, false, false, false, false];
_root.locations.archfin = [false, false, false, false, false];
_root.locations.garisona = [false, false, false, false, false];
_root.locations.peptidia = [false, false, false, false, false];
_root.locations.austrolokia = [false, false, false, false, false];
}
function finalMap() {
return(((_root.locations.pacific[4] && (_root.locations.archfin[4])) && (_root.locations.garisona[4])) && (_root.locations.peptidia[4]));
}
function howmanyCon() {
f = 0;
placesX = ["pacific", "archfin", "garisona", "peptidia", "austrolokia"];
i = 0;
while (i < 5) {
if (_root.locations[placesX[i]][4] == true) {
f++;
}
i++;
}
return(f);
}
function availableSpell(spell) {
return(_root.spells[spell][0] && (_root.lethal.GMagic >= _root.spells[spell][1]));
}
function useSpell(spell) {
_root.lethal.GMagic = _root.lethal.GMagic - _root.spells[spell][1];
}
function spellDescription(spell) {
if (availableSpell(spell)) {
return(_root.spells[spell][2]);
}
if (!_root.spells[spell][0]) {
extra = "You have not unlocked this spell.";
} else {
extra = ("You lack the magic points to cast this spell. " + _root.spells[spell][1]) + "mp required.";
}
return("You do not have access to this spell. " + extra);
}
function spellActive(spell) {
return((!_root.spells[spell][0]) && (_root.spells[_root.spells[spell][3]][0]));
}
_root.locations = new Object();
resetLocations();
_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 = ["Stone", "Electricity"];
_root.element.Electricity = ["Ice", "Fire"];
_root.element.Mechanical = ["Electricity", "Ice"];
_root.element.Stone = ["Nature", "Ice"];
_root.element.Neutral = ["Nothing", "Nothing"];
_root.element.Blast = ["Nothing", "Nothing"];
_root.spells = new Object();
_root.spells.none = [true, 0, "", "none"];
_root.spells.element = [false, 10, "Elemental Training: Allows access to elemental spells and adds 10 additional mp.", "none"];
_root.spells.arcane = [false, 10, "Arcane Training: Allows access to arcane spells and adds 10 additional mp.", "none"];
_root.spells.skills = [false, 10, "Skills Training: Allows access to skills and increases your maximum strength by 20.", "none"];
_root.spells.fire = [false, 10, "Fire Cast: A spell that is strong against enemies with a weakness to fire. [cost 5mp]", "element"];
_root.spells.water = [false, 10, "Water Cast: A spell that is strong against enemies with a weakness to water. [cost 5mp]", "element"];
_root.spells.nature = [false, 10, "Nature Cast: A spell that is strong against enemies with a weakness to nature. [cost 5mp]", "element"];
_root.spells.electricity = [false, 10, "Electric Cast: A spell that is strong against enemies with a weakness to electricity. [cost 5mp]", "element"];
_root.spells.ice = [false, 10, "Ice Cast: A spell that is strong against enemies with a weakness to ice. [cost 5mp]", "element"];
_root.spells.light = [false, 10, "Light Cast: A spell that is strong against enemies with a weakness to light. [cost 5mp]", "element"];
_root.spells.dark = [false, 10, "Dark Cast: A spell that is strong against enemies with a weakness to darkness. [cost 5mp]", "element"];
_root.spells.heal = [false, 15, "Heal: Heal 50% of your health. [cost 15mp]", "arcane"];
_root.spells.strheal = [false, 35, "Strong Heal: Heal 100% of your health. [cost 35mp]", "heal"];
_root.spells.absorb = [false, 15, "Natural Absorb: Damage your enemy with nature magic and absorb it to recover health. [cost 15mp]", "arcane"];
_root.spells.soul = [false, 15, "Soul Attack: Directly attack the foes magic. [cost 15mp]", "arcane"];
_root.spells.trap = [false, 35, "Arcane Trap: Stuns an enemy. [cost 35mp]", "arcane"];
_root.spells.boost = [false, 20, "Strength Boost: Increase your offensive damage. [cost 20mp]", "arcane"];
_root.spells.blast = [false, 100, "Legendary Blast: Crushes your foe with a huge blast. Attacks their HP and MP [cost 100mp]", "arcane"];
_root.spells.slash = [false, 10, "Power Slash: Use a charged slash that can stun. [cost 10mp]", "guard"];
_root.spells.double = [false, 20, "Double Slash: Use a double slash to do 2x damage. [cost 20mp]", "slash"];
_root.spells.guard = [false, 5, "Guard: Block the enemies next attack. [cost 5mp]", "skills"];
_root.spells.translight = [false, 75, "Light Form: Regain 5% - 10% of your health every turn, 25% added damage and attacks do light damage. [cost 75mp]", "none"];
_root.spells.transdark = [false, 100, "Dark Form: 50% added damage and attacks do dark damage. [cost 100mp]", "none"];
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.lethal = user_so.data.lethal;
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.lethal = _root.lethal;
user_so.flush();
}
function hasPotion(num) {
return(_root.general.potions[num] > 0);
}
function removePotion(num) {
return(_root.general.potions[num]--);
}
function potionDescription(num) {
if (hasPotion(num)) {
return(((_root.general.potions_des[num] + " You have ") + _root.general.potions[num]) + ".");
}
return("You have not got any potions of that type.");
}
_root.totalxp = 0;
_root.chatCount = new Array();
_root.theMix = "mix1";
_root.current = 1;
_root.actualstr = 0;
_root.portalOpen = 0;
_root.locate = 1;
_root.arrayOfPlp = [10, 19, 10];
_root.general = new Object();
_root.general.money = 0;
_root.general.hunter = 0;
_root.general.slotsAvailable = 24;
_root.general.hub = "town1";
_root.general.rank = 25;
_root.general.playMusic = true;
_root.general.pAttack = true;
_root.general.challenge = false;
_root.general.cc = false;
_root.general.questCompleted = 0;
_root.general.tournament = 1;
_root.general.yourLvl = 0;
_root.general.achievements = new Array();
i = 0;
while (i < 11) {
_root.general.achievements[i] = false;
i++;
}
_root.general.potions = [10, 5, 2];
_root.general.potions_des = ["Small Potion: Heals 100hp.", "Medium Potion: Heals 50% of your total hp.", "Large Potion: Heals all of your hp."];
_root.pet = new Object();
_root.pet.Goblin1 = ["Goblin1", 25, 250, 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 human foes."];
_root.pet.Dog1 = ["Dog1", 15, 200, 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, 200, false, "Hawk", "Hawk has an attack of 15. Strong against sea animals."];
_root.pet.Bird2 = ["Bird2", 50, 750, false, "Battle Hawk", "Battle Hawk has an attack of 50. Strong against stone foes"];
_root.pet.Bird3 = ["Bird3", 125, 2000, false, "Elite Eagle", "Elite Eagle has an attack of 125. Stong against reptiles."];
_root.pet.none = ["none", 0, 0, false, "No Pet"];
_root.pet.species = "none";
_root.pet.select = "none";
_root.lethal = new Object();
_root.lethal.XP = 0;
_root.lethal.weapon = 20;
_root.lethal.weapon_bar = 1;
_root.lethal.weapon_lvl = 1;
_root.lethal.defence = 5;
_root.lethal.defence_lvl = 1;
_root.lethal.defence_bar = 1;
_root.lethal.leveled = int((_root.lethal.XP / 1000) + 1);
_root.lethal.lvl = "Level " + _root.lethal.leveled;
_root.lethal.str = _root.lethal.leveled * 7;
_root.lethal.MaxHealth = _root.lethal.leveled * 100;
_root.lethal.MaxMagic = _root.lethal.leveled * 10;
_root.lethal.GHealth = _root.lethal.MaxHealth;
_root.lethal.GMagic = _root.lethal.MaxMagic;
_root.lethal.MaxHealthX = 0;
_root.lethal.MaxMagicX = 0;
_root.lethal.yName = "Lethal";
_root.lethal.EP = 300;
_root.lethal.ystatus = "normal";
_root.general.pAttack = false;
function attack_func(element) {
_root.actualstr = _root.lethal.str;
if (element != undefined) {
_root.elementExtra(element);
}
_root.bonusStats();
_root.BHealth = _root.BHealth - _root.actualstr;
_root.enemyHP.gotoAndPlay(1);
_root.enemy.enemy.gotoAndPlay("hit");
}
function bonusStats() {
if (_root.lethal.ystatus == "boost") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
}
if (_root.choice3 == "slash") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.35);
if (random(5) == 0) {
_root.Bstatus = "stunned";
_root.messages = "The enemy has been stunned";
}
}
if (_root.transformed == "translight") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
}
if (_root.transformed == "transdark") {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.5);
}
}
function Battack_func(types) {
_root.actualstr = _root.Bstr;
if (types == "charged") {
_root.actualstr = int(_root.lethal.MaxHealth * 0.5);
}
if (types == "king") {
_root.actualstr = _root.actualstr + int(_root.lethal.GHealth * 0.25);
}
if (types == "ultimate") {
_root.actualstr = int((_root.lethal.GHealth * 0.8) + 100);
}
defenced = int(_root.actualstr * (0.01 * _root.lethal.defence));
_root.actualstr = _root.actualstr - defenced;
if (_root.guard) {
_root.guard = false;
_root.main.main.play();
} else {
_root.lethal.GHealth = _root.lethal.GHealth - _root.actualstr;
_root.goodHP.gotoAndPlay(1);
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("hit");
}
}
function attack_pet_func() {
_root.actualstr = _root.pet[_root.pet.select][1] + int(0.5 * _root.lethal.str);
_root.pet_special();
_root.BHealth = _root.BHealth - _root.actualstr;
_root.enemyHP.gotoAndPlay(1);
_root.enemy.enemy.gotoAndPlay("hit");
}
function pet_special() {
if ((_root.pet.select == "Goblin3") && ((_root.enemykind.substr(0, 13) == "Human Soldier") || (_root.enemykind.substr(0, 12) == "Elite Guard"))) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.3);
_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.Belement == "Water")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Bird2") && (_root.Belement == "Stone")) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.25);
_root.messages = "That attack was effective.";
}
if ((_root.pet.select == "Bird3") && ((_root.enemykind.substr(0, 6) == "Raptor") || (_root.enemykind == "Serpent Lord"))) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.3);
_root.messages = "That attack was effective.";
}
}
function elementExtra(cast) {
affinity = cast;
Element = _root.Belement;
if (_root.element[affinity][0] == Element) {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.75);
_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.5);
_root.messages = "Your attack was extra ineffective against this type of foe.";
} else {
_root.actualstr = _root.actualstr + int(_root.actualstr * 0.2);
}
if (affinity == "Blast") {
_root.actualstr = _root.actualstr * 3;
_root.actualstr = _root.actualstr + 500;
}
}
function accuracy(chance) {
return(random(random(chance)));
}
function questObjectives() {
_root.totalxp = _root.totalxp + _root.BXP;
if (_root.Bcompany == 1) {
if ((_root.locate > 0) && (_root.locate < 6)) {
_root.locations.pacific[_root.locate - 1] = true;
}
if ((_root.locate > 8) && (_root.locate < 14)) {
_root.locations.archfin[_root.locate - 9] = true;
}
if ((_root.locate > 13) && (_root.locate < 19)) {
_root.locations.garisona[_root.locate - 14] = true;
}
if ((_root.locate > 20) && (_root.locate < 26)) {
_root.locations.peptidia[_root.locate - 21] = true;
}
if ((_root.locate > 26) && (_root.locate < 32)) {
_root.locations.austrolokia[_root.locate - 27] = true;
}
if (checkQuestsComp()) {
_root.general.questCompleted++;
}
if (_root.locate == "Tournament") {
if ((_root.general.tournament % 5) == 0) {
_root.general.money = _root.general.money + 1000;
_root.messages = ("You have won $1000 for getting beating level " + _root.general.tournament) + " of the tournament!";
}
_root.general.tournament++;
}
}
}
function checkQuestsComp() {
i = 32;
while (i < 42) {
if (_root.locate == i) {
return(true);
}
i++;
}
return(false);
}
function checkAchievements() {
if ((_root.lethal.leveled > 9) && (!_root.general.achievements[1])) {
_root.general.achievements[1] = true;
_root.general.money = _root.general.money + 200;
_root.achievementUnlock("Journeyman");
}
if ((_root.lethal.leveled > 19) && (!_root.general.achievements[2])) {
_root.general.achievements[2] = true;
_root.general.money = _root.general.money + 500;
_root.achievementUnlock("Knight");
}
if ((_root.lethal.leveled > 49) && (!_root.general.achievements[3])) {
_root.general.achievements[3] = true;
_root.lethal.EP = _root.lethal.EP + 10000;
_root.achievementUnlock("God");
}
if (_root.locations.austrolokia[4] && (!_root.general.achievements[4])) {
_root.general.achievements[4] = true;
_root.general.money = _root.general.money + 2000;
_root.achievementUnlock("Conquerer");
}
if (_root.general.challenge && (!_root.general.achievements[5])) {
_root.general.achievements[5] = true;
_root.general.money = _root.general.money + 5000;
_root.achievementUnlock("Story Teller");
}
if (_root.general.cc && (!_root.general.achievements[6])) {
_root.general.achievements[6] = true;
_root.general.money = _root.general.money + 100000;
_root.achievementUnlock("Challenger");
}
if (_root.allSpells() && (!_root.general.achievements[7])) {
_root.general.achievements[7] = true;
_root.general.money = _root.general.money + 1000;
_root.lethal.EP = _root.lethal.EP + 1000;
_root.achievementUnlock("Mage");
}
if (((_root.lethal.weapon_lvl > 9) && (_root.lethal.defence_lvl > 9)) && (!_root.general.achievements[8])) {
_root.general.achievements[8] = true;
_root.general.money = _root.general.money + 5000;
_root.achievementUnlock("Blacksmith");
}
if ((_root.general.tournament > 20) && (!_root.general.achievements[9])) {
_root.general.achievements[9] = true;
_root.general.money = _root.general.money + 5000;
_root.achievementUnlock("Fighter");
}
if ((_root.general.tournament > 50) && (!_root.general.achievements[10])) {
_root.general.achievements[10] = true;
_root.general.money = _root.general.money + 50000;
_root.achievementUnlock("Champion");
}
}
function achievementUnlock(nameX) {
_root.kongregateStats.submit(nameX, 1);
_root.achieve.nameX = nameX;
_root.achieve.gotoAndPlay(2);
}
function allSpells() {
spellsX = ["element", "fire", "water", "electricity", "ice", "light", "dark", "arcane", "heal", "strheal", "absorb", "trap", "soul", "boost", "blast", "skills", "guard", "slash", "double", "nature"];
i = 0;
while (i < (spellsX.length - 1)) {
if (!_root.spells[spellsX[i]][0]) {
return(false);
}
i++;
}
return(true);
}
function xpGrant(bLevel) {
level = 1;
i = 1;
while (i < 4) {
if (_root.lethal.leveled > level) {
level = _root.lethal.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 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);
}
}
Frame 4
stop();
Frame 5
function modifySpeed() {
if (_root.mapSpeed < 25) {
_root.mapSpeed = _root.mapSpeed * 1.02;
} else {
_root.mapSpeed = 25;
}
}
_root.mapSpeed = 10;
_root.playMusic("map");
if (_root.leaveBattle) {
_root.menuopen = true;
_root.leaveBattle = false;
_root.Menu1.gotoAndStop("win");
} else if (_root.died) {
_root.menuopen = true;
_root.died = false;
_root.Menu1.gotoAndStop("lose");
}
_root.map._y = _root.mapTempY;
_root.map._x = _root.mapTempX;
_root.lethal.GHealth = _root.lethal.MaxHealth;
_root.lethal.GMagic = _root.lethal.MaxMagic;
_root.lethal.ystatus = "normal";
_root.transformed = "normal";
_root.saveGame();
_root.checkAchievements();
Instance of Symbol 120 MovieClip in Frame 5
on (rollOver) {
this.gotoAndStop(2);
this.mover = true;
}
on (rollOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
on (press) {
_root.mapSpeed = 25;
}
on (release) {
_root.mapSpeed = 10;
}
onClipEvent (enterFrame) {
if (this.mover && (_root.map._y < 658.9)) {
_root.map._y = _root.map._y + _root.mapSpeed;
_root.modifySpeed();
}
}
on (dragOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
Instance of Symbol 120 MovieClip in Frame 5
on (rollOver) {
this.gotoAndStop(2);
this.mover = true;
}
on (rollOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
on (release) {
_root.mapSpeed = 10;
}
on (press) {
_root.mapSpeed = 25;
}
onClipEvent (enterFrame) {
if (this.mover && (_root.map._y > -270.9)) {
_root.map._y = _root.map._y - _root.mapSpeed;
_root.modifySpeed();
}
}
on (dragOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
Instance of Symbol 120 MovieClip in Frame 5
on (rollOver) {
this.gotoAndStop(2);
this.mover = true;
}
on (press) {
_root.mapSpeed = 25;
}
on (release) {
_root.mapSpeed = 10;
}
on (rollOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
onClipEvent (enterFrame) {
if (this.mover && (_root.map._x < 731.3)) {
_root.map._x = _root.map._x + _root.mapSpeed;
_root.modifySpeed();
}
}
on (dragOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
Instance of Symbol 120 MovieClip in Frame 5
on (rollOver) {
this.gotoAndStop(2);
this.mover = true;
}
on (rollOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
on (release) {
_root.mapSpeed = 10;
}
on (press) {
_root.mapSpeed = 25;
}
onClipEvent (enterFrame) {
if (this.mover && (_root.map._x > -203.6)) {
_root.map._x = _root.map._x - _root.mapSpeed;
_root.modifySpeed();
}
}
on (dragOut) {
this.gotoAndStop(1);
this.mover = false;
_root.mapSpeed = 10;
}
Instance of Symbol 752 MovieClip "Menu1" in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.menuopen == false) {
this.gotoAndStop(1);
this._visible = false;
}
if (_root.menuopen == true) {
this._visible = true;
}
}
Instance of Symbol 796 MovieClip "noter" in Frame 5
onClipEvent (load) {
this._visible = false;
}
Frame 7
_root.menuChoice = "start";
_root.playMusic("mix1");
stop();
Instance of Symbol 752 MovieClip "Menu1" in Frame 7
onClipEvent (load) {
this.gotoAndStop(_root.menuChoice);
this.cross._visible = false;
}
Frame 8
stop();
_root.loads = false;
user_so = SharedObject.getLocal("char1");
money1 = user_so.data.general.money;
lvl1 = user_so.data.lethal.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.lethal.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.lethal.lvl;
if (user_so.data.general.money == undefined) {
money3 = "Empty";
lvl3 = "Empty";
}
user_so.flush();
Frame 9
stop();
_root.loads = true;
user_so = SharedObject.getLocal("char1");
money1 = user_so.data.general.money;
lvl1 = user_so.data.lethal.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.lethal.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.lethal.lvl;
if (user_so.data.general.money == undefined) {
money3 = "Empty";
lvl3 = "Empty";
}
user_so.flush();
Frame 10
_root.playMusic("map");
Instance of Symbol 1278 MovieClip in Frame 10
onClipEvent (load) {
messages = ["In an age of chaos a crule dictator known as Lethal Jagged Spine ruled and enslaved the human race. He was a powerful half demon born from the blood of kings.", "Led by a heroic knight of old, the humans rebelled and fought their way to Lethal's Lair. After a huge fight Lethal was cast into the flames of his own kingdom.", "IMAGE", "fires", "However Lethal was still powerful in death. He battled through Hades seeking nothing more than revenge!!", "IMAGE", "Hades", "With all his power he escaped hades, plowing through rock and stone to return to his kingdom. As soon as he set foot in the mortal realm every volcano in the land erupted!", "IMAGE", "rise", "Lethal is back from the abyss and this time no mortal will stand in his way.", "END"];
i = 0;
dest = "NewGame";
}
Frame 12
messages = ["Hades is defeated!! You are free to rule the empire you have created! The human race are once more your slaves and your true power has returned to you.", "IMAGE", "throne", "But this is far from the end of Lethals story...", "CREDITS", "Programming and Design:\nBenSpyda\n\nSponsorship:\nwww.funny-games.biz", "Graphics:\nBenSpyda\n\nStory and Universe:\nBenSpyda", "Music:\nParishIsDead\nReone662", "UNCREDITS", "...", "END"];
if (!_root.general.challenge) {
messages[9] = "Thanks for playing\n\nYou have unlocked Challenge mode. You can now replay the game with all your previous gear and spells after the credits.";
_root.general.challenge = true;
_root.general.yourLvl = _root.lethal.leveled;
} else {
messages[9] = "Thanks for playing\n\nFor completing challenge mode you have been rewarded 100000 Gold.";
_root.general.cc = true;
_root.general.yourLvl = _root.lethal.leveled;
}
resetLocations();
_root.general.questCompleted = 0;
_root.playMusic("map");
Instance of Symbol 1278 MovieClip in Frame 12
onClipEvent (load) {
messages = _parent.messages;
i = 0;
dest = "map";
}
Frame 14
function randomEnemy() {
mrand = random(4);
if (mrand == 0) {
elementsX = ["Fire", "Water", "Ice", "Electricity", "Dark", "Light", "Stone"];
elementX = elementsX[random(6)];
elementX2 = elementX;
if (elementX2 == "Electricity") {
elementX2 = "Electric";
}
return(["elemental", elementX, elementX2 + " Element"]);
}
if (mrand == 1) {
namedX = ["Human Soldier M", "Human Soldier F", "Elite Guard M", "Elite Guard F"];
namesX = namedX[random(4)];
_root.BadArmor = random(4) + 1;
_root.BadWep = random(4) + 1;
return(["man", "Neutral", namesX]);
}
if (mrand == 2) {
namedX = [["Fish Man", "Water"], ["Crab Man", "Water"], ["Rogue Orc", "Nature"], ["Stone Man", "Stone"]];
namesX = namedX[random(4)];
return(["man", namesX[1], namesX[0]]);
}
if (mrand == 3) {
namedX = [["Raptor", "Nature"], ["Raptor King", "Fire"], ["Raptor Queen", "Dark"]];
namesX = namedX[random(3)];
return(["raptor", namesX[1], namesX[0]]);
}
}
function randomZone() {
return(random(18));
}
function enemySelect(type, frame1, Belement1, BName1, BLevel1, MaxBHealth1, MaxBMagic1, Bstr1, Bmoney1, BXP1) {
if ((type != "custom") || (_root.general.challenge)) {
if (_root.general.challenge && (_root.locate != "Tournament")) {
BLevel1 = BLevel1 + (_root.general.yourLvl + 5);
}
_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 = 10 * 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;
}
trace(Belement1);
trace(_root.element[Belement1][1]);
}
function randomGender() {
if (random(2) == 0) {
return("F");
}
return("M");
}
function newFoe() {
if (_root.locate == 1) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("custom", "man", "Water", "Fish Man", 1, 50, 10, 8, 10);
}
if (_root.Bcompany == 2) {
_root.enemySelect("custom", "man", "Water", "Fish Man", 1, 50, 10, 8, 10);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 1);
}
}
if (_root.locate == 2) {
_root.helmType = random(3) + 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", 1);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Nature", "Rogue Orc", 1);
}
}
if (_root.locate == 3) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 1);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Water", "Crab Crawler", 2);
}
}
if (_root.locate == 4) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "creature", "Water", "Crab Crawler", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Water", "Crab Crawler", 2);
}
}
if (_root.locate == 5) {
_root.boss = true;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 2);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("custom", "crab", "Water", "Crab King", 6, 750, 0, 40, 100);
}
}
if (_root.locate == 6) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Water", "Crab Crawler", 2);
}
}
if (_root.locate == 7) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Water", "Fish Man", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Water", "Crab Man", 1);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Water", "Crab Crawler", 1);
}
}
if ((_root.locate == 8) || (_root.locate == 9)) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Stone", "Stone Man", 3);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Stone", "Pillar Punch", 4);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Stone", "Stone Element", 4);
}
}
if (_root.locate == 10) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", 4);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 4);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Stone", "Stone Element", 5);
}
}
if ((_root.locate == 11) || (_root.locate == 12)) {
if (_root.Bcompany == 3) {
if (_root.locate == 11) {
_root.enemySelect("normal", "man", "Stone", "Stone Man", 4);
} else {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 5);
}
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Stone", "Pillar Punch", 5);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Stone", "Stone Element", 5);
}
}
if (_root.locate == 13) {
_root.boss = true;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "elemental", "Stone", "Stone Element", 5);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Stone", "Stone Man", 5);
}
if (_root.Bcompany == 1) {
_root.enemySelect("custom", "giant", "Stone", "Guardian", 10, 1200, 0, 60, 200);
}
}
if ((_root.locate == 14) || (_root.locate == 19)) {
_root.BadArmor = 1;
_root.BadWep = 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 5);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 6);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "gun", "Neutral", "Human Soldier", 6);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
}
if (_root.locate == 15) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 6);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 6);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 7);
}
}
if ((_root.locate == 16) || (_root.locate == 17)) {
_root.BadArmor = 2;
_root.BadWep = 2;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 7);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 7);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "mage", "Light", "Human Soldier", 7);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
}
if (_root.locate == 18) {
_root.boss = true;
_root.BadArmor = 1;
_root.BadWep = 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 8);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "mage", "Light", "Human Soldier", 8);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.BadArmor = 3;
_root.BadWep = 3;
_root.enemySelect("custom", "warrior", "Neutral", "Elite Guard", 18, 2000, 100, 90, 200);
_root.enemykind = _root.enemykind + " M";
}
}
if ((_root.locate == 20) || (_root.locate == 21)) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "raptor", "Nature", "Raptor", 10);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "raptor", "Nature", "Raptor", 10);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "raptor", "Fire", "Raptor King", 11);
}
}
if (_root.locate == 22) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "raptor", "Nature", "Raptor", 11);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "raptor", "Nature", "Raptor", 11);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "raptor", "Dark", "Raptor Queen", 12);
}
}
if (_root.locate == 23) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 12);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Water", "Water Element", 12);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Light", "Light Element", 12);
}
}
if (_root.locate == 24) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "raptor", "Nature", "Raptor", 12);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "raptor", "Dark", "Raptor Queen", 13);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "raptor", "Fire", "Raptor King", 13);
}
}
if (_root.locate == 25) {
_root.boss = true;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "raptor", "Dark", "Raptor Queen", 13);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "raptor", "Fire", "Raptor King", 14);
}
if (_root.Bcompany == 1) {
_root.enemySelect("custom", "snake", "Dark", "Serpent Lord", 25, 4000, 200, 120, 200);
}
}
if ((_root.locate == 26) || (_root.locate == 27)) {
_root.BadArmor = 1;
_root.BadWep = 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 15);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 15);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.BadArmor = 3;
_root.BadWep = 3;
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 15);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
}
if (_root.locate == 28) {
_root.BadArmor = 4;
_root.BadWep = 4;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "mage", "Neutral", "Human Soldier", 16);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "gun", "Neutral", "Human Soldier", 16);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "mage", "Neutral", "Human Soldier", 16);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
}
if (_root.locate == 29) {
_root.BadArmor = 2;
_root.BadWep = 2;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 17);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 17);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.BadArmor = 4;
_root.BadWep = 4;
_root.enemySelect("normal", "mage", "Neutral", "Human Soldier", 17);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
}
if (_root.locate == 30) {
_root.BadArmor = 3;
_root.BadWep = 3;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 18);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 18);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Neutral", "Elite Guard F", 18);
}
}
if (_root.locate == 31) {
_root.boss = true;
_root.BadArmor = 3;
_root.BadWep = 3;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 18);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 18);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.BadArmor = 5;
_root.BadWep = 5;
_root.enemySelect("custom", "man", "Neutral", "Human King", 30, 8000, 200, 180, 2500);
}
}
if (_root.locate == 32) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Pirate", 1);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "gun", "Neutral", "Pirate", 1);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Neutral", "Pirate", 2);
}
}
if (_root.locate == 33) {
_root.BadArmor = 1;
_root.BadWep = 1;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 2);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier M", 2);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "mage", "Neutral", "Human Soldier", 3);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
}
if (_root.locate == 34) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Dark", "Diablo Minion", 3);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Dark", "Diablo Minion", 3);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "gun", "Dark", "Diablo Minion", 4);
}
}
if (_root.locate == 35) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "elemental", "Fire", "Fire Element", 5);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "elemental", "Ice", "Ice Element", 5);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "elemental", "Water", "Water Element", 6);
}
}
if (_root.locate == 36) {
_root.boss = true;
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "cloak", "Light", "Light Priest", 10);
}
}
if (_root.locate == 37) {
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 8);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "creature", "Dark", "Wolf Man", 8);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "creature", "Light", "Snow Wolf", 9);
}
}
if (_root.locate == 38) {
_root.BadArmor = 3;
_root.BadWep = 3;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Human Soldier", 12);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "mage", "Neutral", "Human Soldier", 12);
_root.enemykind = _root.enemykind + (" " + randomGender());
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Neutral", "Elite Guard F", 13);
}
}
if (_root.locate == 39) {
_root.boss = true;
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "cloak", "Dark", "Dark Priest", 24);
}
}
if (_root.locate == 40) {
_root.BadArmor = 3;
_root.BadWep = 3;
if (_root.Bcompany == 3) {
_root.enemySelect("normal", "man", "Neutral", "Elite Guard F", 20);
}
if (_root.Bcompany == 2) {
_root.enemySelect("normal", "man", "Neutral", "Elite Guard M", 20);
}
if (_root.Bcompany == 1) {
_root.enemySelect("normal", "man", "Neutral", "Elite Guard M", 20);
}
}
if (_root.locate == 41) {
_root.boss = true;
_root.Bcompany = 1;
if (_root.Bcompany == 1) {
_root.enemySelect("custom", "giant", "Dark", "Hades", 35, 10000, 200, 250, 2500);
}
}
if (_root.locate == "Tournament") {
values = _root.randomEnemy();
_root.enemySelect("normal", values[0], values[1], values[2], _root.general.tournament);
}
_root.enemy.enemy.gotoAndPlay("enter");
}
_root.boss = false;
_root.Bcompany = 3;
_root.messages = "";
_root.menuopen = false;
_root.headX = random(5) + 1;
_root.hairX = random(5) + 1;
_root.lethal.GHealth = _root.lethal.MaxHealth;
_root.lethal.GMagic = _root.lethal.MaxMagic;
_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.curSituation = "Battle";
_root.strBoost = 0;
_root.newFoe();
if (_root.locate == "Tournament") {
_root.backscene.gotoAndStop(_root.randomZone());
} else {
_root.backscene.gotoAndStop(_root.zone);
}
play();
Instance of Symbol 1467 MovieClip "enemyHP" in Frame 14
onClipEvent (enterFrame) {
this.life.life = _root.actualstr;
}
Instance of Symbol 1467 MovieClip "goodHP" in Frame 14
onClipEvent (enterFrame) {
this.life.life = _root.actualstr;
}
Instance of Symbol 569 MovieClip "battlepet" in Frame 14
onClipEvent (load) {
if (_root.pet.select == "none") {
this.unloadMovie();
}
this.gotoAndStop(_root.pet.species);
}
Instance of Symbol 1565 MovieClip in Frame 14
onClipEvent (load) {
col = new Color(this.skins.bar);
col.setRGB(10027008);
}
onClipEvent (enterFrame) {
healtho = int((_root.lethal.GHealth / _root.lethal.MaxHealth) * 100);
if (healtho <= 0) {
healtho = 1;
}
this.gotoAndStop(healtho);
}
Instance of Symbol 1565 MovieClip in Frame 14
onClipEvent (load) {
col = new Color(this.skins.bar);
col.setRGB(39372);
}
onClipEvent (enterFrame) {
healtho = int((_root.lethal.GMagic / _root.lethal.MaxMagic) * 100);
if (healtho <= 0) {
healtho = 1;
}
this.gotoAndStop(healtho);
}
Instance of Symbol 1565 MovieClip in Frame 14
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 1565 MovieClip in Frame 14
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 1574 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.Bcompany > 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1574 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.Bcompany > 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1574 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.Bcompany > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 798 MovieClip in Frame 14
onClipEvent (load) {
_root.saveGame();
}
Frame 15
Einfo.gotoAndPlay(2);
quick.gotoAndPlay(2);
slidemenu._visible = false;
flee = random(2);
_root.lastChoice = _root.choice3;
_root.choice3 = "";
_root.enemyWeakness = _root.element[_root.Belement][1].toLowerCase();
stop();
if (_root.boss == true) {
_root.playMusic("boss");
} else {
_root.playMusic("battle");
}
Frame 16
Einfo.gotoAndPlay(11);
_root.messages = "";
Symbol 19 Button
on (press) {
getURL ("http://www.benspyda.com", "_blank");
}
Symbol 25 Button
on (press) {
getURL ("http://www.funny-games.biz/main.html", "_blank");
}
Symbol 29 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 29 MovieClip Frame 2
gotoAndPlay (1);
Symbol 29 MovieClip Frame 3
_root.gotoAndStop("sponsorship");
Symbol 33 Button
on (press) {
_root.gotoAndStop("intro");
}
Symbol 36 Button
on (press) {
_root.gotoAndStop("Continue");
}
Symbol 38 MovieClip Frame 1
stop();
if (_root.checkEnd()) {
gotoAndStop (2);
}
Symbol 39 MovieClip Frame 7
stop();
Symbol 56 Button
on (press) {
_root.locate = battleNo;
_root.zone = this.zone;
_root.mapTempY = _root.map._y;
_root.mapTempX = _root.map._x;
if (this.cutscene) {
_root.gotoAndStop("cutscene");
} else {
_root.gotoAndStop("battle");
}
}
Symbol 62 Button
on (press) {
_root.locate = battleNo;
_root.zone = this.zone;
_root.mapTempY = _root.map._y;
_root.mapTempX = _root.map._x;
if (this.cutscene) {
_root.gotoAndStop("cutscene");
} else {
_root.gotoAndStop("battle");
}
}
Symbol 66 Button
on (press) {
_root.locate = battleNo;
_root.zone = this.zone;
_root.mapTempY = _root.map._y;
_root.mapTempX = _root.map._x;
_root.gotoAndStop("battle");
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 84 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("buypets");
}
Symbol 85 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("story");
}
Symbol 89 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("supplies");
}
Symbol 90 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("spells");
}
Symbol 91 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("upgrade");
}
Symbol 95 Button
on (press) {
_root.locate = "Tournament";
_root.zone = "ruins";
_root.gotoAndStop("cutscene");
}
Symbol 108 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("meditate");
}
Symbol 116 Button
on (press) {
getURL ("http://www.funny-games.biz/search_res.html?search_string=RPG", "_blank");
}
Instance of Symbol 49 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.2;
if (this._x > 1000) {
this._x = -772.4;
}
}
Instance of Symbol 49 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.2;
if (this._x > 1000) {
this._x = -772.4;
}
}
Instance of Symbol 49 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.2;
if (this._x > 1000) {
this._x = -772.4;
}
}
Instance of Symbol 49 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.2;
if (this._x > 1000) {
this._x = -772.4;
}
}
Instance of Symbol 49 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.2;
if (this._x > 1000) {
this._x = -772.4;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.pacific[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.pacific[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.pacific[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 1;
this.zone = "tropics1";
this.cutscene = true;
if (_root.locations.pacific[0]) {
this.gotoAndStop("won");
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 2;
this.zone = "palms";
if (_root.locations.pacific[1]) {
this.gotoAndStop("won");
}
if (_root.locations.pacific[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.pacific[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.pacific[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("boss");
this.battleNo = 5;
this.zone = "tropics2";
this.cutscene = true;
if (_root.locations.pacific[4]) {
this.gotoAndStop("castle");
}
if (_root.locations.pacific[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 4;
this.zone = "palms";
if (_root.locations.pacific[3]) {
this.gotoAndStop("won");
}
if (_root.locations.pacific[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.pacific[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 3;
this.zone = "tropics2";
if (_root.locations.pacific[2]) {
this.gotoAndStop("won");
}
if (_root.locations.pacific[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 6;
this.zone = "tropics1";
this.gotoAndStop("train");
if (_root.locations.pacific[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 7;
this.zone = "tropics2";
this.gotoAndStop("train");
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.archfin[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.archfin[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 9;
this.zone = "woods1";
if (_root.locations.archfin[0]) {
this.gotoAndStop("won");
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 10;
this.zone = "mountain1";
if (_root.locations.archfin[1]) {
this.gotoAndStop("won");
}
if (_root.locations.archfin[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.archfin[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.archfin[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("boss");
this.battleNo = 13;
this.zone = "mountain1";
this.cutscene = true;
if (_root.locations.archfin[4]) {
this.gotoAndStop("castle");
}
if (_root.locations.archfin[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 12;
this.zone = "woods1";
if (_root.locations.archfin[3]) {
this.gotoAndStop("won");
}
if (_root.locations.archfin[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 11;
this.zone = "woods1";
if (_root.locations.archfin[2]) {
this.gotoAndStop("won");
}
if (_root.locations.archfin[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 8;
this.zone = "mountain1";
this.gotoAndStop("train");
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.garisona[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.garisona[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 14;
this.zone = "mountain1";
if (_root.locations.garisona[0]) {
this.gotoAndStop("won");
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 15;
this.zone = "woods2";
if (_root.locations.garisona[1]) {
this.gotoAndStop("won");
}
if (_root.locations.garisona[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.garisona[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.garisona[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("boss");
this.battleNo = 18;
this.zone = "temple";
this.cutscene = true;
if (_root.locations.garisona[4]) {
this.gotoAndStop("castle");
}
if (_root.locations.garisona[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 17;
this.zone = "woods2";
if (_root.locations.garisona[3]) {
this.gotoAndStop("won");
}
if (_root.locations.garisona[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 16;
this.zone = "woods2";
if (_root.locations.garisona[2]) {
this.gotoAndStop("won");
}
if (_root.locations.garisona[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 19;
this.zone = "mountain1";
this.gotoAndStop("train");
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 20;
this.zone = "prehistoric1";
this.gotoAndStop("train");
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.peptidia[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.peptidia[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 21;
this.zone = "prehistoric1";
if (_root.locations.peptidia[0]) {
this.gotoAndStop("won");
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 22;
this.zone = "rocks1";
if (_root.locations.peptidia[1]) {
this.gotoAndStop("won");
}
if (_root.locations.peptidia[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.peptidia[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.peptidia[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("boss");
this.battleNo = 25;
this.zone = "prehistoric1";
this.cutscene = true;
if (_root.locations.peptidia[4]) {
this.gotoAndStop("castle");
}
if (_root.locations.peptidia[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 24;
this.zone = "rocks1";
if (_root.locations.peptidia[3]) {
this.gotoAndStop("won");
}
if (_root.locations.peptidia[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 23;
this.zone = "prehistoric1";
if (_root.locations.peptidia[2]) {
this.gotoAndStop("won");
}
if (_root.locations.peptidia[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 26;
this.zone = "civil";
this.gotoAndStop("train");
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.austrolokia[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.austrolokia[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 27;
this.zone = "tropics1";
if (_root.locations.austrolokia[0]) {
this.gotoAndStop("won");
}
if (_root.finalMap()) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 28;
this.zone = "civil";
if (_root.locations.austrolokia[1]) {
this.gotoAndStop("won");
}
if (_root.locations.austrolokia[0]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.austrolokia[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 51 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
if (_root.locations.austrolokia[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("boss");
this.battleNo = 31;
this.zone = "temple";
this.cutscene = true;
if (_root.locations.austrolokia[4]) {
this.gotoAndStop("castle");
}
if (_root.locations.austrolokia[3]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 30;
this.zone = "civil";
if (_root.locations.austrolokia[3]) {
this.gotoAndStop("won");
}
if (_root.locations.austrolokia[2]) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 72 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
this.battleNo = 29;
this.zone = "prehistoric1";
if (_root.locations.austrolokia[2]) {
this.gotoAndStop("won");
}
if (_root.locations.austrolokia[1]) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.lethal.leveled = int((_root.lethal.XP / 1000) + 1);
_root.lethal.lvl = "Level " + _root.lethal.leveled;
_root.lethal.str = (_root.lethal.leveled * 7) + _root.lethal.weapon;
_root.lethal.MaxHealth = (_root.lethal.leveled * 100) + _root.lethal.MaxHealthX;
_root.lethal.MaxMagic = (_root.lethal.leveled * 10) + _root.lethal.MaxMagicX;
if (_root.spells.element[0]) {
_root.lethal.MaxMagic = _root.lethal.MaxMagic + 10;
}
if (_root.spells.arcane[0]) {
_root.lethal.MaxMagic = _root.lethal.MaxMagic + 10;
}
if (_root.spells.skills[0]) {
_root.lethal.str = _root.lethal.str + 20;
}
_root.YHealth = (_root.lethal.GHealth + "/") + _root.lethal.MaxHealth;
_root.YMagic = (_root.lethal.GMagic + "/") + _root.lethal.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;
}
if (_root.lethal.GHealth > _root.lethal.MaxHealth) {
_root.lethal.GHealth = _root.lethal.MaxHealth;
}
if (_root.lethal.GMagic > _root.lethal.MaxMagic) {
_root.lethal.GMagic = _root.lethal.MaxMagic;
}
}
Symbol 127 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("status");
}
Symbol 128 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("achievements");
}
Symbol 129 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("pets");
}
Symbol 130 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("options");
}
Symbol 131 Button
on (press) {
_root.menuopen = true;
_root.Menu1.gotoAndStop("help");
}
Symbol 141 Button
on (press) {
getURL ("http://www.funny-games.biz/main.html", "_blank");
}
Symbol 145 Button
on (press) {
note.scroll = note.scroll - 1;
}
Symbol 146 Button
on (press) {
note.scroll = note.scroll + 1;
}
Symbol 152 Button
on (press) {
_root.shopType = "Normal";
_root.menuopen = false;
_root.lethal.GHealth = _root.lethal.MaxHealth;
_root.lethal.GMagic = _root.lethal.MaxMagic;
_root.checkAchievements();
_root.saveGame();
}
Symbol 174 MovieClip Frame 1
contentsColour = new Color(cape);
oldRGB = newRGB;
if (_root.transformed == "translight") {
newRGB = 14277081 /* 0xD9D9D9 */;
} else if (_root.transformed == "transdark") {
newRGB = 1379350 /* 0x150C16 */;
} else {
newRGB = 0;
}
if (oldRGB != newRGB) {
contentsColour.setRGB(newRGB);
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
if (_root.transformed == "translight") {
armor.part.gotoAndStop("translight");
body.part.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
armor.part.gotoAndStop("transdark");
body.part.gotoAndStop("transdark");
} else {
armor.part.gotoAndStop(1);
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
if (_root.transformed == "translight") {
armor.part.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
armor.part.gotoAndStop("transdark");
} else {
armor.part.gotoAndStop(1);
}
Symbol 197 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
if (_root.transformed == "translight") {
armor.part.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
armor.part.gotoAndStop("transdark");
} else {
armor.part.gotoAndStop(1);
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
if (_root.transformed == "translight") {
armor.part.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
armor.part.gotoAndStop("transdark");
} else {
armor.part.gotoAndStop(1);
extra = _root.lethal.defence_lvl;
if (extra > 10) {
extra = 10;
}
armor.part.part.gotoAndStop(_root.lethal.defence_lvl);
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
if (_root.transformed == "translight") {
armor.part.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
armor.part.gotoAndStop("transdark");
} else {
armor.part.gotoAndStop(1);
}
Symbol 218 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
if (_root.transformed == "translight") {
armor.part.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
armor.part.gotoAndStop("transdark");
} else {
armor.part.gotoAndStop(1);
}
Symbol 235 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
extra = _root.lethal.weapon_lvl;
if (extra > 11) {
extra = 11;
}
weapon.lethalsword.gotoAndStop(_root.lethal.weapon_lvl);
Symbol 245 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 1
if (_root.transformed == "translight") {
head.part.gotoAndStop("translight");
hair.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
head.part.gotoAndStop("transdark");
hair.gotoAndStop("transdark");
} else {
head.part.gotoAndStop(1);
hair.gotoAndStop(1);
}
Symbol 285 MovieClip Frame 7
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 1
if (_root.transformed == "translight") {
cape.gotoAndStop("translight");
} else if (_root.transformed == "transdark") {
cape.gotoAndStop("transdark");
} else {
cape.gotoAndStop(1);
}
Symbol 306 MovieClip Frame 1
shield.gotoAndStop(_root["char" + _root.current].shield);
shield._visible = false;
if (_root["char" + _root.current].Yclass == "knight") {
shield._visible = true;
}
Symbol 309 MovieClip Frame 2
_parent.blood.play();
Symbol 309 MovieClip Frame 10
_root.main.gotoAndStop("breath");
Symbol 309 MovieClip Frame 33
stop();
_root.died = true;
_root.redin.play();
Symbol 309 MovieClip Frame 49
_root.main.gotoAndStop("breath");
Symbol 309 MovieClip Frame 64
_root.main.gotoAndStop("breath");
Symbol 309 MovieClip Frame 82
_root.current = _root.currentChange;
Symbol 309 MovieClip Frame 83
_root.main._alpha = 100;
_root.stealth = 0;
Symbol 309 MovieClip Frame 88
_root["participate" + _root.current] = true;
Symbol 309 MovieClip Frame 90
_root.battle.play();
_parent.gotoAndStop("breath");
Symbol 309 MovieClip Frame 95
if (random(3) != 0) {
} else {
_root.messages = "You were unable to run!";
_root.battle.play();
_root.main.gotoAndStop("breath");
}
Symbol 309 MovieClip Frame 104
stop();
_root.leaveBattle = true;
_root.runner = true;
_root.redin.play();
Symbol 309 MovieClip Frame 113
if (_root.choice3 == "small") {
_root.lethal.GHealth = _root.lethal.GHealth + 100;
_root.removePotion(0);
} else if (_root.choice3 == "medium") {
_root.lethal.GHealth = _root.lethal.GHealth + int(0.5 * _root.lethal.MaxHealth);
_root.removePotion(1);
} else {
_root.lethal.GHealth = _root.lethal.GHealth + _root.lethal.MaxHealth;
_root.removePotion(2);
}
Symbol 309 MovieClip Frame 122
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 322 MovieClip Frame 15
stop();
Symbol 329 MovieClip Frame 4
if (_root.choice3 == "slash") {
gotoAndPlay ("slash");
}
Symbol 329 MovieClip Frame 8
if (_root.transformed == "transdark") {
_root.attack_func("Dark");
} else if (_root.transformed == "translight") {
_root.attack_func("Light");
} else {
_root.attack_func();
}
_root.playSound("stab");
Symbol 329 MovieClip Frame 10
if (_root.choice3 == "double") {
gotoAndPlay ("double");
}
Symbol 329 MovieClip Frame 24
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 329 MovieClip Frame 25
if (_root.choice3 == "guard") {
gotoAndPlay ("guard");
}
if ((_root.choice3 == "slash") || (_root.choice3 == "double")) {
gotoAndPlay ("Swing");
}
if ((_root.choice3 == "translight") || (_root.choice3 == "transdark")) {
gotoAndPlay ("transform");
}
Symbol 329 MovieClip Frame 37
_root.cast.gotoAndPlay(_root.choice3);
Symbol 329 MovieClip Frame 40
stop();
Symbol 329 MovieClip Frame 54
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 329 MovieClip Frame 55
_root.guard = true;
Symbol 329 MovieClip Frame 57
_root.useSpell(_root.choice3);
_root.battle.play();
stop();
Symbol 329 MovieClip Frame 67
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 329 MovieClip Frame 70
_root.useSpell(_root.choice3);
Symbol 329 MovieClip Frame 78
gotoAndPlay ("swing2");
Symbol 329 MovieClip Frame 84
_root.useSpell(_root.choice3);
_root.transformed = _root.choice3;
Symbol 329 MovieClip Frame 91
_root.battle.play();
_root.main.gotoAndStop("breath");
Symbol 329 MovieClip Frame 102
_root.useSpell(_root.choice3);
_root.attack_func();
_root.playSound("stab");
Symbol 329 MovieClip Frame 104
gotoAndPlay ("swing3");
Symbol 330 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 351 Button
on (press) {
gotoAndStop (1);
_root.Menu1.popup._visible = false;
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip "armor2" in Symbol 376 MovieClip Frame 3
onClipEvent (enterFrame) {
this.part.gotoAndStop(_parent.armor.part._currentframe);
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 3
stop();
Symbol 408 MovieClip Frame 4
stop();
Symbol 408 MovieClip Frame 5
stop();
Symbol 408 MovieClip Frame 6
stop();
Symbol 408 MovieClip Frame 7
stop();
Symbol 413 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 417 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 421 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 425 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 429 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 433 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 437 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 6
_root.attack_pet_func();
Symbol 440 MovieClip Frame 21
gotoAndStop (1);
_root.battle.play();
Symbol 444 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 448 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 452 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 456 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 460 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 464 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 10
_root.attack_pet_func();
Symbol 468 MovieClip Frame 21
gotoAndStop (1);
_root.battle.play();
Symbol 472 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 476 MovieClip Frame 1
stop();
if (_root.menuopen == false) {
pet = _root.pet.select;
gotoAndStop(pet);
}
Symbol 480 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 1
stop();
Instance of Symbol 480 MovieClip "object" in Symbol 506 MovieClip Frame 7
onClipEvent (load) {
if (!_root.pet.Goblin1[3]) {
this.gotoAndStop("goblin");
this.pet.gotoAndStop("Goblin1");
} else {
this.gotoAndStop("locked");
}
}
Symbol 507 Button
on (press) {
gotoAndStop (1);
_visible = false;
}
Symbol 510 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 514 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 517 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 520 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 522 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 524 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 526 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 528 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 532 Button
on (press) {
if (amount < 99) {
amount++;
}
}
Symbol 533 Button
on (press) {
if (amount > 1) {
amount--;
}
}
Symbol 535 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 541 Button
on (press) {
_root.menu1.play();
_parent._parent.play();
}
Symbol 548 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 553 MovieClip Frame 1
stop();
note = "You can fill empty slots with items that can be used in various situations";
Symbol 553 MovieClip Frame 2
_root.Menu1.note = ((("Do you want to use a " + _root.inventoryItem[iTemp].itemName) + ". You currently have ") + _root.inventoryItem[iTemp].itemNo) + ".";
Symbol 553 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 553 MovieClip Frame 5
_root.Menu1.note = "Do you want to sell this item for $" + _root.inventoryItem[iTemp].itemSell;
Symbol 553 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 506 MovieClip "inv" in Symbol 553 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 553 MovieClip Frame 9
amount = 1;
Symbol 553 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 506 MovieClip "inv" in Symbol 553 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 553 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 553 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 568 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 13
_root.attack_pet_func();
Symbol 568 MovieClip Frame 28
gotoAndStop (1);
_root.battle.play();
Symbol 569 MovieClip Frame 1
stop();
Symbol 577 Button
on (press) {
if (_root.pet.Goblin1[3]) {
_root.pet.species = "Goblin";
_root.pet.select = "Goblin1";
note = "Slave Goblin, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 578 Button
on (press) {
if (_root.pet.Goblin1[3]) {
_root.pet.species = "Goblin";
_root.pet.select = "Goblin2";
note = "Berserker Goblin, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 579 Button
on (press) {
if (_root.pet.Goblin1[3]) {
_root.pet.species = "Goblin";
_root.pet.select = "Goblin3";
note = "War Goiblin, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 581 Button
on (press) {
if (_root.pet.Dog1[3]) {
_root.pet.species = "Dog";
_root.pet.select = "Dog1";
note = "Greyhound, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 582 Button
on (press) {
if (_root.pet.Dog2[3]) {
_root.pet.species = "Dog";
_root.pet.select = "Dog2";
note = "Snow Wolf, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 583 Button
on (press) {
if (_root.pet.Dog3[3]) {
_root.pet.species = "Dog";
_root.pet.select = "Dog3";
note = "Demon Hound, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 584 Button
on (press) {
if (_root.pet.Bird1[3]) {
_root.pet.species = "Bird";
_root.pet.select = "Bird1";
note = "Parrot, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 585 Button
on (press) {
if (_root.pet.Bird2[3]) {
_root.pet.species = "Bird";
_root.pet.select = "Bird2";
note = "Battle Hawk, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 586 Button
on (press) {
if (_root.pet.Bird3[3]) {
_root.pet.species = "Bird";
_root.pet.select = "Bird3";
note = "Elite Eagle, Selected";
} else {
note = "You do not own this pet.";
}
}
Symbol 594 Button
on (press) {
if (_root.leftArena == true) {
gotoAndStop ("arena");
} else {
_root.menuopen = false;
}
}
Symbol 607 MovieClip Frame 15
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 2
if (focused == true) {
lvlup.gotoAndStop(2);
}
Symbol 623 MovieClip Frame 1
stop();
Symbol 628 Button
on (press) {
_root._quality = "HIGH";
qual = "HIGH";
}
Symbol 630 Button
on (press) {
_root._quality = "MEDIUM";
qual = "MEDIUM";
}
Symbol 632 Button
on (press) {
_root._quality = "LOW";
qual = "LOW";
}
Symbol 637 Button
on (press) {
_root.general.playMusic = true;
_root.playMusic("map");
qual2 = "On";
}
Symbol 639 Button
on (press) {
_root.general.playMusic = false;
_root.theSound = "pp";
stopAllSounds();
qual2 = "Off";
}
Symbol 688 Button
on (press) {
if (_root.general.money >= scost) {
_root.general.money = _root.general.money - scost;
_root.lethal.weapon_bar = _root.lethal.weapon_bar + int(100 / (_root.lethal.weapon_lvl + 1));
if (_root.lethal.weapon_bar >= 100) {
sboom.play();
_root.lethal.weapon_bar = 1;
extra = 10 * (_root.lethal.weapon_lvl++);
_root.lethal.weapon = _root.lethal.weapon + extra;
_root.note = ("Your weapon damage has increased by " + extra) + ".";
}
}
}
Symbol 690 Button
on (press) {
if ((_root.general.money >= scost) && (_root.lethal.defence < 75)) {
_root.general.money = _root.general.money - scost;
_root.lethal.defence_bar = _root.lethal.defence_bar + int(100 / (_root.lethal.defence_lvl + 1));
if (_root.lethal.defence_bar >= 100) {
dboom.play();
_root.lethal.defence_bar = 1;
_root.lethal.defence_lvl++;
extra = 2;
_root.lethal.defence = _root.lethal.defence + extra;
_root.note = ("Your defence has increased by " + extra) + ".";
}
}
if (_root.lethal.defence >= 75) {
_root.note = "Your defence has been maxed.";
}
}
Symbol 723 Button
on (press) {
note = "Your goal as Lethal is to take control of all the islands on the map by defeating their leaders. Along the way you can follow specific story events that can be selected from your main island.";
}
Symbol 725 Button
on (press) {
note = "EP (Energy Points) is gained from battling opponents of equal or greater skill. These points then can be used to buy spells from your main island.";
}
Symbol 727 Button
on (press) {
note = "After selecting a node or story event a battle will trigger. You are then faced against 3 enemies on average. To win a battle you must bring their hp bars down to zero. You gain XP, EP and money from these fights which the amount varies on the difficulty of the fight.";
}
Symbol 729 Button
on (press) {
note = "Pets help you in battle by adding a possibility for an extra attack every turn. Some pets have strengths against certain enemies.";
}
Symbol 731 Button
on (press) {
note = "Most enemies have an affinity towards a certain element. By casting a spell of the type that they are weak against will do extra damage. Elemental spells can be bought on your main island.";
}
Symbol 733 Button
on (press) {
note = "Achievements are acknowledgements of your accomplishments in the game. They show up when you complete certain tasks.";
}
Symbol 735 Button
on (press) {
note = "In order to conquer an island you must face and defeat the islands warriors and boss. You fight your way to the boss by clicking on the red nodes and fighting the foes along the way. Conquering all the islands will give you access to the final story event!";
}
Symbol 737 Button
on (press) {
note = "Story events follow the events of Lethals attempt to retake the world and get his revenge against the humans who killed him. They can be accessed from your main island.";
}
Symbol 739 Button
on (press) {
note = "The options menu allows you to tweak the graphical settings to increase performance or turn off the music.";
}
Symbol 741 Button
on (press) {
note = "You can upgrade your armor and jagged edge (sword) at your home island. The cost of each upgrade increases each successful improvement.";
}
Symbol 743 Button
on (press) {
note = "Tournaments can be found on Gosha island. Every 5 rounds of the tournament you gain 1000 gold. Each round increases in difficulty from the last.";
}
Symbol 745 Button
on (press) {
note = "Navigate the map by scrolling over the array buttons on each direction of the screen. Hold down the mouse to increase the speed of the traversal.";
}
Symbol 750 Button
on (press) {
if (_root.lethal.EP > 99) {
note = ((("You have focused your power and in return gained 25 extra hit points and 5mp. Your maximum health is now " + (_root.lethal.MaxHealth + 25)) + " and maximum magic is ") + (_root.lethal.MaxMagic + 5)) + ".";
_root.lethal.MaxHealthX = _root.lethal.MaxHealthX + 25;
_root.lethal.MaxMagicX = _root.lethal.MaxMagicX + 5;
_root.lethal.EP = _root.lethal.EP - 100;
points = _root.lethal.EP;
sboom.play();
} else {
note = "You tried to focus but you lack the energy.";
}
}
Symbol 752 MovieClip Frame 1
stop();
named = _root.lethal.yName;
hp = (_root.lethal.GHealth + " / ") + _root.lethal.MaxHealth;
mp = (_root.lethal.GMagic + " / ") + _root.lethal.MaxMagic;
stats = _root.lethal.yStatus;
xp = _root.lethal.XP;
lvl = _root.lethal.lvl;
str = _root.lethal.str;
def = _root.lethal.defence;
wep = _root.weapon[_root.lethal.weapon].wepType;
hunt = _root.general.hunter;
money = _root.general.money;
ep = _root.lethal.EP;
con = _root.howmanyCon();
note = "Here you can view the stats of your current character.";
Instance of Symbol 342 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.lvl1 = _root.lethal.lvl;
initial = _root.lethal.XP - int((_root.lethal.leveled * 1000) - 1000);
this.note = initial + " XP / 1000 XP";
sp = int(initial / 10);
this.gotoAndStop(sp);
if (_parent.templvl != _root.lethal.leveled) {
_parent.boom.play();
_parent.templvl = _root.lethal.leveled;
}
}
Instance of Symbol 553 MovieClip "popup" in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 752 MovieClip Frame 2
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 569 MovieClip "battlepet" in Symbol 752 MovieClip Frame 2
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 480 MovieClip "pic3" in Symbol 752 MovieClip Frame 2
/* no clip actions */
Symbol 752 MovieClip Frame 3
note = "Welcome to the pet shop. Each species of pet has different attributes that will benefit you in battle.";
_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.";
}
};
this["slot" + i].onRollOver = function () {
if ((!_root.pet[josh[this.iTemp]][3]) && (popup._visible != true)) {
note = ("This pet costs $" + _root.pet[josh[this.iTemp]][2]) + ". Click for more info.";
} else if (popup._visible != true) {
note = "You already own that pet.";
}
};
i++;
}
Symbol 752 MovieClip Frame 4
xp1 = _root.totalxp;
ep = int(_root.totalxp / 10) + random(30);
_root.lethal.EP = _root.lethal.EP + ep;
epp = _root.lethal.EP;
earned = (random(_root.totalxp) + 50) + random(50);
earned2 = "$" + earned;
_root.general.money = _root.general.money + earned;
money = "$" + _root.general.money;
templvl = _root.lethal.leveled;
_root.lethal.XP = _root.lethal.XP + _root.totalxp;
_root.totalxp = 0;
_root.BXPTotal = 0;
levelX = int((_root.lethal.XP / 1000) + 1);
_root.checkAchievements();
note = "Well done, you have won the fight!";
Instance of Symbol 342 MovieClip in Symbol 752 MovieClip Frame 4
onClipEvent (enterFrame) {
_parent.lvl1 = _root.lethal.lvl;
initial = _root.lethal.XP - int((_root.lethal.leveled * 1000) - 1000);
this.note = initial + " XP / 1000 XP";
sp = int(initial / 10);
this.gotoAndStop(sp);
if (_parent.templvl != _root.lethal.leveled) {
_parent.boom.play();
_parent.templvl = _root.lethal.leveled;
}
}
Symbol 752 MovieClip Frame 5
note = "You unfortunately failed to defeat your opponent.";
_root.totalxp = 0;
Symbol 752 MovieClip Frame 6
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 752 MovieClip Frame 7
function setButtons() {
points = _root.lethal.EP;
i = 1;
while (i < 21) {
if (_root.spellActive(spells[i])) {
this["s" + i].gotoAndStop("active");
} else if (_root.spells[spells[i]][0]) {
this["s" + i].gotoAndStop("sold");
} else {
this["s" + i].gotoAndStop("inactive");
}
this["s" + i].spell = spells[i];
this["s" + i].i = i;
this["s" + i].onRollOver = function () {
if (_root.spellActive(this.spell)) {
this.gotoAndStop("over");
epCost = _root.spells[this.spell][1] * 10;
note = ((_root.spells[this.spell][2] + " Energy Point cost:") + epCost) + ".";
} else if (_root.spells[spells[this.i]][0]) {
note = _root.spells[this.spell][2] + " (Learnt)";
} else {
note = "This spell is unavailable.";
}
};
this["s" + i].onRollOut = function () {
if (_root.spellActive(this.spell)) {
this.gotoAndStop("active");
} else if (_root.spells[spells[this.i]][0]) {
this.gotoAndStop("sold");
} else {
this.gotoAndStop("inactive");
}
};
this["s" + i].onPress = function () {
epCost = _root.spells[this.spell][1] * 10;
if (_root.spellActive(this.spell) && (_root.lethal.EP >= epCost)) {
_root.spells[this.spell][0] = true;
_root.lethal.EP = _root.lethal.EP - epCost;
}
setButtons();
};
i++;
}
}
spells = [0, "element", "fire", "water", "electricity", "ice", "light", "dark", "arcane", "heal", "strheal", "absorb", "trap", "soul", "boost", "blast", "skills", "guard", "slash", "double", "nature"];
note = "To purchase a spell you need energy points gained from battles. Some spells need previous knowledge of other skills to be learnt.";
setButtons();
Symbol 752 MovieClip Frame 8
function setButtons() {
i = 1;
while (i < 11) {
if (_root.general.questCompleted == (i - 1)) {
this["b" + i].but.gotoAndStop("active");
this["b" + i].note = questTitle[i];
} else if (_root.general.questCompleted > (i - 1)) {
this["b" + i].but.gotoAndStop("sold");
this["b" + i].note = questTitle[i];
} else {
this["b" + i].but.gotoAndStop("inactive");
this["b" + i].note = "...";
}
this["b" + i].but.i = i;
this["b" + i].but.onRollOver = function () {
if ((_root.general.questCompleted == (this.i - 1)) && (notFinalEncounter(this.i))) {
this.gotoAndStop("over");
note = questDes[this.i];
} else if (_root.general.questCompleted > (this.i - 1)) {
note = "This quest has been completed.";
} else if (!notFinalEncounter(this.i)) {
note = "The entire map must be conquered to play this mission.";
} else {
note = "This quest is not available.";
}
};
this["b" + i].but.onRollOut = function () {
if (_root.general.questCompleted == (this.i - 1)) {
this.gotoAndStop("active");
} else if (_root.general.questCompleted > (this.i - 1)) {
this.gotoAndStop("sold");
} else {
this.gotoAndStop("inactive");
}
};
this["b" + i].but.onPress = function () {
if ((_root.general.questCompleted == (this.i - 1)) && (notFinalEncounter(this.i))) {
_root.locate = locations[this.i];
_root.zone = zones[this.i];
_root.mapTempY = _root.map._y;
_root.mapTempX = _root.map._x;
_root.gotoAndStop("cutscene");
}
setButtons();
};
i++;
}
}
function notFinalEncounter(j) {
if (j == 10) {
return(_root.locations.austrolokia[4]);
}
return(true);
}
note = "Story events follow the events of Lethals attempt to retake the world and get his revenge against the humans who killed him.";
questDes = [0, "Just risin from the abyss of hades you find your kingdom in shambles. Pirate raiders have been pilaging your island in your absence. You see a ship in the distance just off the shore. It is time to show them that those who mess with you suffer a fate worse than death.", "The humans have learnt of your rebirth and have sent a strike force to stop you before you regain your strength.", "A group of Diablo Minions stole an orb of power from your temple while you were dead. Its time to find their camp and get it back.", "Deep in the caverns of your temple a mass of elementals have been building up causing damage to the temples supports.", "There a rumors of a distant temple where a creature known as the Priest of Light can unlock the hidden power of a being. Since your rebirth, your power is not what it used to be; This might be a chance to recover what was lost.", "Its time to put some of your new skills to the test. What way is more perfect than hunting werewolves!", "An army of humans are heading towards the island. You must stop them before they reach the shore and sink their fleet!", "Another priest has been rumored to exist in a distant land. If you can beat him you will claim his power. The power of Darkness!", "One of the main enemy strongholds is undefended. This is you chance to cripple them and get your revenge.", "Hades has risen from the depths of the underworld to bring you back! Hades is one of the most powerful beings in the universe. This will be the fight for your freedom!"];
questTitle = [0, "A New Destiny", "Homefront Attack", "Stolen Treasure", "Elemental Thrath", "Seeking the Light", "The Hunt", "The Assault", "Seeking the Dark", "Seeking Revenge", "Revenge of Hades"];
locations = [0, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41];
zones = [0, "ship", "home", "desert", "ruins", "temple", "woods1", "ship", "temple", "civil", "home"];
setButtons();
Symbol 752 MovieClip Frame 9
note = "Upgrading your sword will increase your overall damage and upgrading your armor will increase your defence.";
Instance of Symbol 687 MovieClip "bar1" in Symbol 752 MovieClip Frame 9
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lethal.weapon_bar);
_parent.scost = 250;
_parent.dcost = 250;
_parent.sw = _root.lethal.weapon;
_parent.dw = _root.lethal.defence;
_parent.slvl = _root.lethal.weapon_lvl;
_parent.dlvl = _root.lethal.defence_lvl;
_parent.money = _root.general.money;
}
Instance of Symbol 687 MovieClip "bar2" in Symbol 752 MovieClip Frame 9
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lethal.defence_bar);
}
Symbol 752 MovieClip Frame 10
function setButtons() {
money = _root.general.money;
i = 1;
while (i < 4) {
this["cost" + i] = "$" + costs[i];
this["own" + i] = _root.general.potions[i - 1];
this["b" + i].gotoAndStop(pots[i]);
this["b" + i].i = i;
this["b" + i].onRollOver = function () {
note = _root.general.potions_des[this.i - 1];
this._yscale = this._yscale + 30;
this._xscale = this._xscale + 30;
};
this["b" + i].onRollOut = function () {
this._yscale = yscale;
this._xscale = xscale;
};
this["b" + i].onRelease = function () {
this._yscale = yscale;
this._xscale = xscale;
};
this["b" + i].onPress = function () {
if (_root.general.money >= costs[this.i]) {
_root.general.money = _root.general.money - costs[this.i];
_root.general.potions[this.i - 1]++;
}
_root.general.potions[i - 1];
this._yscale = yscale - 10;
this._xscale = xscale - 10;
setButtons();
};
i++;
}
}
pots = [0, "small", "medium", "large"];
costs = [0, 100, 200, 350];
xscale = b1._xscale;
yscale = b1._yscale;
note = "Welcome to the supplies store where you can spend money on importing healing potions to use in battle to recover health.";
setButtons();
Symbol 752 MovieClip Frame 11
note = "Select a topic to recieve a useful hint.";
Symbol 752 MovieClip Frame 12
function setButtons() {
i = 1;
while (i < 11) {
this["b" + i].note = titles[i];
this["b" + i].but.i = i;
if (_root.general.achievements[i]) {
this["b" + i].but.gotoAndStop("sold");
} else {
this["b" + i].but.gotoAndStop("active");
}
this["b" + i].but.onRollOver = function () {
note = notes[this.i];
if (_root.general.achievements[this.i]) {
note = note + " This achievement has been unlocked.";
}
};
i++;
}
}
_root.checkAchievements();
note = "Here you can view your accomplishments in the game. Gold icons mean you have unlocked the achievement.";
notes = ["", "Fight enough enemies to level up to 10. Reward $200.", "Fight enough enemies to level up to 20. Reward $500.", "Fight enough enemies to level up to 50. Reward 10000 EP.", "Conquer all the islands. Reward $2000.", "Complete all the story events. Reward $5000.", "Finish the challenge mode. Reward $100000.", "Unlock all the spells. Reward $1000 and 1000 EP.", "Upgrade your weapon and armor past level 10. Reward $5000.", "Fight through 20 levels of the tournament. Reward $5000.", "Fight through 50 levels of the tournament. Reward $50000."];
titles = ["", "Journeyman", "Knight", "Ultimate God", "Conquerer", "Story Teller", "Challenger", "Mage", "Blacksmith", "Fighter", "Champion"];
setButtons();
Symbol 752 MovieClip Frame 13
note = "Here you can meditate on your power. This act costs 100 EP for an extra 25hp and 5mp.";
points = _root.lethal.EP;
Instance of Symbol 623 MovieClip in Symbol 752 MovieClip Frame 13
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 611 MovieClip "sboom" in Symbol 752 MovieClip Frame 13
onClipEvent (load) {
this.focused = true;
}
Symbol 756 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 772 MovieClip Frame 1
stop();
lengths = 10;
Symbol 783 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 787 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 790 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 791 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 10
_root.enemykind = "Gladious";
Symbol 795 MovieClip Frame 1
stop();
Symbol 796 MovieClip Frame 1
stop();
note = this["messages" + messageNo][notes];
Symbol 796 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 795 MovieClip "but1" in Symbol 796 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 795 MovieClip "but2" in Symbol 796 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 795 MovieClip "but3" in Symbol 796 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 801 MovieClip Frame 21
stop();
Symbol 807 MovieClip Frame 1
stop();
Symbol 807 MovieClip Frame 15
_root.mapx = _root.map._x;
_root.mapy = _root.map._y;
_root.area = _root.map.current;
_root.gotoAndStop("battle");
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 16
if (_root.map._currentframe == 1) {
_root.map.gotoAndStop(2);
_root.map.gotoAndStop(1);
} else {
_root.map.gotoAndStop(1);
}
Symbol 814 MovieClip Frame 24
_root.map.man.teleport.play();
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 2
achieve.note = nameX;
play();
Symbol 903 MovieClip Frame 1
stop();
Symbol 904 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 923 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 929 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 940 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 949 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 959 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 971 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 982 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 991 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 1002 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1017 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 1026 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 1037 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1039 MovieClip Frame 1
stop();
Symbol 1045 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1055 MovieClip Frame 1
part.gotoAndStop(_root.hairX);
faced.gotoAndStop(_root.headX);
if (_root.enemykind == "Elite Guard M") {
part.gotoAndStop("Elite Guard M");
}
if (_root.enemykind == "Human King") {
part.gotoAndStop("Human King");
faced.gotoAndStop("Human King");
}
Symbol 1064 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 1
part.gotoAndStop(_root.hairX);
faced.gotoAndStop(_root.headX);
if (_root.enemykind == "Elite Guard F") {
part.gotoAndStop("Elite Guard F");
}
Symbol 1069 MovieClip Frame 1
stop();
gotoAndStop(_root.helmType);
Symbol 1081 MovieClip Frame 1
stop();
gotoAndStop(_root.helmType);
Symbol 1082 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1087 MovieClip Frame 1
gotoAndStop(_root.BadWep);
Symbol 1099 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1107 MovieClip Frame 1
this.gotoAndStop(_root.BadArmor);
Symbol 1119 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1131 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1137 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1141 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1146 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1150 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1154 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1194 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1203 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1212 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1216 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1218 MovieClip Frame 1
stop();
Symbol 1221 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 6
_parent.character.gotoAndStop(_parent.newChar);
_parent.note = _parent.nextMessage();
_parent.speech.gotoAndStop(_parent.bubble);
_parent.backscene.gotoAndStop(_parent.bubble);
Symbol 1231 MovieClip Frame 1
stop();
Symbol 1231 MovieClip Frame 15
_root.allowaccess = true;
Symbol 1232 MovieClip Frame 1
function setButton() {
i = 0;
note = nextMessage();
b1.onPress = function () {
if (_root.allowaccess) {
if (checkScene()) {
note = nextMessage();
}
}
if (note == undefined) {
if ((_root.locate == "light") || (_root.locate == "dark")) {
_root.gotoAndStop("map");
} else {
_root.gotoAndStop("Battle");
}
}
};
}
function checkScene() {
_root.allowaccess = false;
safety.gotoAndPlay(2);
if (messages[i] == "ENEMY") {
i++;
newChar = newCharacter;
changeChar.play();
bubble = 2;
return(false);
}
if (messages[i] == "YOU") {
i++;
newChar = "you";
changeChar.play();
bubble = 1;
return(false);
}
if (messages[i] == "BATTLE") {
_root.gotoAndStop("Battle");
}
if (messages[i] == "MAP") {
_root.gotoAndStop("map");
}
return(true);
}
function nextMessage() {
return(messages[i++]);
}
_root.allowaccess = true;
if (_root.locate == 1) {
messages = ["Where is your leader? I need to speak with it.", "ENEMY", "I know why you are here. We are no longer your puppets Lethal. You should of stayed dead. We now follow the humans!", "The king has told us to attack you on site if you do not leave. So what will it be?", "YOU", "I think you already know the answer to that question!!", "BATTLE"];
newCharacter = "person";
_root.enemykind = "Fish Man";
}
if (_root.locate == 5) {
messages = ["Your people will now fight for me against the human race.", "ENEMY", "You failed to protect my people, and you will ultimately fail to defeat the humans. My allegiance lies with them.", "YOU", "Well I guess King Crab is on the menu then!!", "BATTLE"];
newCharacter = "crab";
_root.enemykind = "Crab King";
}
if (_root.locate == 13) {
messages = ["So your the big boss of the stone people. You've abandoned me too I see. It seems everyone has joined the humans in my absence.", "I got a feeling you don't play nice.", "ENEMY", "Death to the half demon who has brought death and destruction to my people!", "YOU", "That doesn't sound good!", "BATTLE"];
newCharacter = "stone";
_root.enemykind = "Guardian";
}
if (_root.locate == 18) {
messages = ["This should be interesting...", "ENEMY", "So the rumors are true; the tyrant of Dark Force, the half demon, Lethal Jagged Spine lives. I am not surprised, evil like yourself never seems to die. It just lingers like a foul odor. Oh I am so going to enjoy beating you down for the honor of my people and my country.", "YOU", "Ha ha! I didn't expect less from a stuck up snob like yourself. So confident in your ability. Well this foul odor is here to stay. The human race, the most disgusting creatures on this planet, will be destroyed by my hand!", "BATTLE"];
newCharacter = "person";
_root.BadArmor = 3;
_root.BadWep = 3;
_root.enemykind = "Elite Guard M";
}
if (_root.locate == 25) {
messages = ["Oh...... You've grown a bit since we last met.", "ENEMY", "ssssssssssssssss", "YOU", "So what will it be Serpent Lord, will you fight for me.", "ENEMY", "I fight for no hot bloodssss, not you or those foolish humansssss.", "YOU", "Well I'm sure the humans wouldn't call me hot blooded. Maybe you'll see reason when I beat you over the head a few times.", "BATTLE"];
newCharacter = "snake";
_root.enemykind = "Serpent Lord";
}
if (_root.locate == 31) {
messages = ["It's over! I have taken control of all the islands. Bow down to your new king, YOUR NEW GOD!!", "ENEMY", "You're no god, demon. Your rotten core of a heart has disapated along with your humanity. Your hunger for power has ruined everything my people have spent their entire lives creating.", "Lethal, can't you remember the days when you were human? Before you succumbed to this evil you were noble. You fought for the empire, you fought for us.", "Redeem yourself Lethal, stop this evil. Reach deep down and find the little piece of humanity you have left.", "YOU", "You're right! what have I become?", "ENEMY", "Please Lethal, leave us and return to the abyss.", "YOU", "Ummmm.. No! I don't think I will. I did not come all this way to have a little cry with you, I came here for MAXIMUM REVENGE. Prepare for oblivion.", "BATTLE"];
newCharacter = "person";
_root.BadArmor = 5;
_root.BadWep = 5;
_root.enemykind = "Human King";
}
if (_root.locate == 32) {
messages = ["I hope you are enjoying yourselves my friends.", "ENEMY", "What! How did you get here? Who the hell do you think you are coming on my ship? Come on guys, lets get rid this little nuisance!", "YOU", "I have only been gone a short while and yet you fools straight away come and start ruining my kingdom. Well believe me you will suffer for this!", "BATTLE"];
newCharacter = "person";
_root.enemykind = "Pirate";
}
if (_root.locate == 33) {
messages = ["So the empire already knows about my return. I may have been weakened from my ordeal, but if they think I will be downed by weaklings like you then they are about to learn a valuable lesson!", "ENEMY", "Don't underestimate my team. We are trained in the art of assassination and you are at the top of our list! ", "BATTLE"];
newCharacter = "person";
_root.BadArmor = 1;
_root.BadWep = 1;
_root.enemykind = "Human Soldier M";
}
if (_root.locate == 34) {
messages = ["It was quite a challenge hunting you down. Give me my orb and I may spare your lives.", "ENEMY", "Now we have your power orb we will have the power to stop you. Leave now and we will spare YOUR life!!", "YOU", "Too bad that orb has no power outside of my kingdom", "ENEMY", "Oh....", "BATTLE"];
newCharacter = "person";
_root.enemykind = "Diablo Minion";
}
if (_root.locate == 35) {
messages = ["What the hell do you think you are doing to my home!", "ENEMY", "TARNA OPMA TOSH BINUTAKMATA", "YOU", "Well whatever that is I'm going to have to stop you.", "BATTLE"];
newCharacter = "elemental";
_root.Belement = "Ice";
_root.enemykind = "Ice Elemental";
}
if (_root.locate == 36) {
messages = ["Are you the Light Priest I have heard rumors of?", "ENEMY", "It is your Destiny, Lethal, to save those you hold so much hatred towards. You will soon understand your place in existance.", "I know why you are here. You wish for the power that I possess. If you want my power you must prove you are ready and face me in combat!", "YOU", "I wouldn't have it any other way!", "BATTLE"];
newCharacter = "cloak";
_root.enemykind = "Light Priest";
}
if (_root.locate == 37) {
messages = ["Time to do some hunting!!", "BATTLE"];
}
if (_root.locate == "light") {
messages = ["I feel... different.", "[ You have unlocked the 'Light Transformation' ]", "MAP"];
newCharacter = "cloak";
_root.enemykind = "Light Priest";
}
if (_root.locate == "dark") {
messages = ["The power of darkness is now mine!", "[ You have unlocked the 'Dark Transformation' ]", "MAP"];
newCharacter = "cloak";
_root.enemykind = "Dark Priest";
}
if (_root.locate == 38) {
messages = ["I'm afraid I am going to have to stop you from invading my home.", "ENEMY", "Ofcourse you are and we are prepared for all you have to offer!", "BATTLE"];
newCharacter = "person";
_root.BadArmor = 3;
_root.BadWep = 3;
_root.enemykind = "Elite Guard F";
}
if (_root.locate == 39) {
messages = ["I challenge you priest! Your power will be mine.", "ENEMY", "I see the darkness in you Lethal. You will use my power to destroy the human race. So be it.", "BATTLE"];
newCharacter = "cloak";
_root.enemykind = "Dark Priest";
}
if (_root.locate == 40) {
messages = ["Sending out the majority of your soldiers to attack my island was a big mistake. Leaving one of your major cities open to attack is the perfect opportunity for me to have my revenge.", "ENEMY", "How did you? No it can't be! You monster!!!", "Come on my royal guard let us beat this thing down for the surival of mankind!", "BATTLE"];
newCharacter = "person";
_root.BadArmor = 3;
_root.BadWep = 3;
_root.enemykind = "Elite Guard M";
}
if (_root.locate == 41) {
messages = ["It cannot be!", "ENEMY", "Your soul belongs to me, Lethal. I am the embodiment of Hades, my power is beyond anything of the mortal realm.", "This evil you bring upon the planet will end here. I will devour your soul, permanetly destroying you so this will not happen again.", "BATTLE"];
newCharacter = "stone";
_root.enemykind = "Hades";
}
if (_root.locate == "Tournament") {
if (_root.general.tournament > 1) {
messages = ["How's it going tournament master chick. I am here to fight.", "ENEMY", ("You are currently on round " + _root.general.tournament) + " of the tournament. Good luck on your next battle.", "BATTLE"];
} else {
messages = ["Who are you and what is this place?", "ENEMY", "This is the entrance to the tournament and I am the tournament master. Once you enter the tournament, you will be warped to anywhere on the planet to fight an assortment of 3 random foes.", "Upon their defeat you will raise a rank on the tournament, thus the next match you fight will be harder. You will gain 1000 gold every 5 ranks you progress. Good luck on your first battle.", "BATTLE"];
}
newCharacter = "tournament";
}
if (_root.locate == "intro") {
messages = ["I have alot to do. I need to recover my former strength and destroy the human race. But first I must prepare.", "I should learn some spells and then focus on conquering the Pacific Isles. I'll need to take control of the other islands before I even attempt a strike on Austrolokia, the capital of the humans.", "MAP"];
newCharacter = "stone";
_root.zone = "home";
}
backscene.backscene.gotoAndStop(_root.zone);
setButton();
Symbol 1245 Button
on (press) {
_root.save_slot = "char1";
_root.chosenmenu = "custom";
_root.locate = "intro";
_root.gotoAndStop("cutscene");
}
Symbol 1249 Button
on (press) {
_root.save_slot = "char2";
_root.chosenmenu = "custom";
_root.locate = "intro";
_root.gotoAndStop("cutscene");
}
Symbol 1253 Button
on (press) {
_root.save_slot = "char3";
_root.chosenmenu = "custom";
_root.locate = "intro";
_root.gotoAndStop("cutscene");
}
Symbol 1254 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 1258 Button
on (press) {
if (money1 != "Empty") {
_root.save_slot = "char1";
_root.loadGame("char1");
_root.gotoAndStop("map");
}
}
Symbol 1262 Button
on (press) {
if (money2 != "Empty") {
_root.save_slot = "char2";
_root.loadGame("char2");
_root.gotoAndStop("map");
}
}
Symbol 1265 Button
on (press) {
if (money3 != "Empty") {
_root.save_slot = "char3";
_root.loadGame("char1");
_root.gotoAndStop("map");
}
}
Symbol 1275 MovieClip Frame 1
stop();
Symbol 1278 MovieClip Frame 1
image.gotoAndStop(1);
note.note = messages[i++];
if (messages[i - 1] == "END") {
_root.gotoAndStop(dest);
}
if (messages[i - 1] == "IMAGE") {
image.gotoAndStop(messages[i++]);
}
if (messages[i - 1] == "CREDITS") {
credits = true;
note.note = messages[i++];
}
if (messages[i - 1] == "UNCREDITS") {
credits = false;
note.note = messages[i++];
}
Symbol 1278 MovieClip Frame 86
if ((messages[i - 2] == "IMAGE") || (credits)) {
gotoAndPlay ("image");
}
Symbol 1282 Button
on (press) {
_root.gotoAndStop("NewGame");
}
Symbol 1293 MovieClip Frame 78
_root.gotoAndStop("outro2");
Symbol 1327 MovieClip Frame 1
more_btn.onRelease = function () {
getURL ("http://www.funny-games.biz/main.html", "_blank");
};
Symbol 1327 MovieClip Frame 131
_root.gotoAndStop(3);
Symbol 1337 MovieClip Frame 7
stop();
Symbol 1354 MovieClip Frame 1
stop();
Symbol 1354 MovieClip Frame 2
if (((_root.BHealth < 500) && (((_root.enemykind == "Elite Guard M") || (_root.enemykind == "Elite Guard F")) || (_root.enemykind == "Human King"))) && (_root.BMagic >= 50)) {
_root.BMagic = _root.BMagic - 50;
gotoAndPlay ("heal");
} else {
gotoAndPlay("attack" + int(random(2) + 1));
}
Symbol 1354 MovieClip Frame 9
_parent.blood.play();
Symbol 1354 MovieClip Frame 14
gotoAndStop ("idle");
Symbol 1354 MovieClip Frame 30
gotoAndStop ("idle");
Symbol 1354 MovieClip Frame 42
gotoAndStop ("idle");
Symbol 1354 MovieClip Frame 54
_root.Battack_func();
_root.playSound("stab");
Symbol 1354 MovieClip Frame 61
if ((_root.enemykind == "Elite Guard M") || (_root.enemykind == "Elite Guard F")) {
gotoAndPlay ("attack2");
}
Symbol 1354 MovieClip Frame 62
gotoAndStop ("idle");
_root.battle.play();
Symbol 1354 MovieClip Frame 67
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1354 MovieClip Frame 76
gotoAndStop ("idle");
_root.battle.play();
Symbol 1354 MovieClip Frame 91
_root.questObjectives();
Symbol 1354 MovieClip Frame 97
_root.battle.play();
stop();
Symbol 1354 MovieClip Frame 98
play();
Symbol 1354 MovieClip Frame 103
gotoAndStop ("idle");
_root.battle.play();
Symbol 1354 MovieClip Frame 108
if (_root.enemykind == "Human King") {
gotoAndPlay ("power");
}
Symbol 1354 MovieClip Frame 113
_root.Battack_func();
_root.playSound("stab");
Symbol 1354 MovieClip Frame 123
gotoAndStop ("idle");
_root.battle.play();
Symbol 1354 MovieClip Frame 134
_root.BHealth = _root.BHealth + int(_root.MaxBHealth * 0.25);
Symbol 1354 MovieClip Frame 150
gotoAndStop ("idle");
_root.battle.play();
Symbol 1354 MovieClip Frame 174
_root.Battack_func("king");
_root.playSound("stab");
Symbol 1354 MovieClip Frame 185
gotoAndStop ("idle");
_root.battle.play();
Symbol 1356 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1363 MovieClip Frame 6
stop();
Symbol 1369 MovieClip Frame 6
stop();
Symbol 1371 MovieClip Frame 1
stop();
Symbol 1371 MovieClip Frame 2
gotoAndPlay("attack" + int(random(2) + 1));
Symbol 1371 MovieClip Frame 13
gotoAndStop ("idle");
Symbol 1371 MovieClip Frame 14
_parent.blood.play();
Symbol 1371 MovieClip Frame 19
gotoAndStop ("idle");
Symbol 1371 MovieClip Frame 30
gotoAndStop ("idle");
Symbol 1371 MovieClip Frame 37
_root.questObjectives();
Symbol 1371 MovieClip Frame 48
_root.battle.play();
stop();
Symbol 1371 MovieClip Frame 49
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1371 MovieClip Frame 53
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1371 MovieClip Frame 64
if (random(3) == 0) {
gotoAndPlay ("attack2");
}
Symbol 1371 MovieClip Frame 70
gotoAndStop ("idle");
_root.battle.play();
Symbol 1371 MovieClip Frame 71
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1371 MovieClip Frame 75
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1371 MovieClip Frame 90
gotoAndStop ("idle");
_root.battle.play();
Symbol 1371 MovieClip Frame 91
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1371 MovieClip Frame 95
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1371 MovieClip Frame 106
if (random(2) == 0) {
gotoAndPlay ("attack1");
}
Symbol 1371 MovieClip Frame 110
gotoAndStop ("idle");
_root.battle.play();
Symbol 1371 MovieClip Frame 111
play();
Symbol 1371 MovieClip Frame 124
gotoAndStop ("idle");
_root.battle.play();
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 2
gotoAndPlay("attack" + int(random(2) + 1));
Symbol 1386 MovieClip Frame 11
_parent.blood.play();
Symbol 1386 MovieClip Frame 22
gotoAndStop ("idle");
Symbol 1386 MovieClip Frame 33
gotoAndStop ("idle");
Symbol 1386 MovieClip Frame 46
gotoAndStop ("idle");
Symbol 1386 MovieClip Frame 49
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1386 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 1386 MovieClip Frame 65
gotoAndStop ("idle");
_root.battle.play();
Symbol 1386 MovieClip Frame 67
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1386 MovieClip Frame 80
gotoAndStop ("idle");
_root.battle.play();
Symbol 1386 MovieClip Frame 88
_root.questObjectives();
Symbol 1386 MovieClip Frame 100
_root.battle.play();
stop();
Symbol 1386 MovieClip Frame 102
play();
Symbol 1386 MovieClip Frame 115
gotoAndStop ("idle");
_root.battle.play();
Symbol 1386 MovieClip Frame 117
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1386 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 1386 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 1386 MovieClip Frame 142
gotoAndStop ("idle");
_root.battle.play();
Symbol 1393 MovieClip Frame 15
stop();
Symbol 1395 MovieClip Frame 1
stop();
Symbol 1395 MovieClip Frame 2
mand = random(3);
if (mand == 0) {
gotoAndPlay ("attack1");
} else if (mand == 1) {
gotoAndPlay ("attack2");
} else if ((_root.BMagic >= 35) && (_root.BName == "Hades")) {
gotoAndPlay ("cast2");
} else {
gotoAndPlay ("attack1");
}
Symbol 1395 MovieClip Frame 9
gotoAndStop ("idle");
Symbol 1395 MovieClip Frame 21
gotoAndStop ("idle");
Symbol 1395 MovieClip Frame 36
gotoAndStop ("idle");
Symbol 1395 MovieClip Frame 42
_root.questObjectives();
Symbol 1395 MovieClip Frame 58
_root.battle.play();
stop();
Symbol 1395 MovieClip Frame 59
play();
Symbol 1395 MovieClip Frame 77
gotoAndStop ("idle");
_root.battle.play();
Symbol 1395 MovieClip Frame 78
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1395 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 1395 MovieClip Frame 97
gotoAndStop ("idle");
_root.battle.play();
Symbol 1395 MovieClip Frame 101
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1395 MovieClip Frame 113
gotoAndStop ("idle");
_root.battle.play();
Symbol 1395 MovieClip Frame 119
_root.Battack_func();
_root.playSound("stab");
_root.BMagic = _root.BMagic - 10;
_root.messages = "You have become very sick!";
Symbol 1395 MovieClip Frame 132
gotoAndStop ("idle");
_root.battle.play();
Symbol 1395 MovieClip Frame 140
_root.Battack_func("king");
Symbol 1395 MovieClip Frame 146
gotoAndStop ("idle");
_root.battle.play();
Symbol 1395 MovieClip Frame 155
_root.Battack_func("ultimate");
_root.BMagic = _root.BMagic - 35;
Symbol 1395 MovieClip Frame 170
gotoAndStop ("idle");
_root.battle.play();
Symbol 1400 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1401 MovieClip Frame 1
stop();
Symbol 1401 MovieClip Frame 2
mand = random(6);
if (mand < 4) {
gotoAndPlay ("attack1");
} else if ((_root.BMagic >= 10) && (_root.enemykind != "Pillar Punch")) {
gotoAndPlay ("cast1");
} else {
gotoAndPlay ("attack1");
}
Symbol 1401 MovieClip Frame 17
gotoAndStop ("idle");
Symbol 1401 MovieClip Frame 28
gotoAndStop ("idle");
Symbol 1401 MovieClip Frame 42
gotoAndStop ("idle");
Symbol 1401 MovieClip Frame 56
_root.questObjectives();
Symbol 1401 MovieClip Frame 65
_root.battle.play();
stop();
Symbol 1401 MovieClip Frame 67
play();
Symbol 1401 MovieClip Frame 75
gotoAndStop ("idle");
_root.battle.play();
Symbol 1401 MovieClip Frame 79
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1401 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 1401 MovieClip Frame 91
gotoAndStop ("idle");
_root.battle.play();
Symbol 1401 MovieClip Frame 93
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1401 MovieClip Frame 107
gotoAndStop ("idle");
_root.battle.play();
Symbol 1401 MovieClip Frame 112
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1401 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 1401 MovieClip Frame 130
gotoAndStop ("idle");
_root.battle.play();
Symbol 1415 MovieClip Frame 4
_root.Battack_func();
_root.playSound("stab");
Symbol 1415 MovieClip Frame 9
_root.playSound("stab");
Symbol 1415 MovieClip Frame 15
_root.Battack_func();
_root.playSound("stab");
Symbol 1415 MovieClip Frame 20
_root.playSound("stab");
Symbol 1415 MovieClip Frame 25
_root.Battack_func();
_root.playSound("stab");
Symbol 1415 MovieClip Frame 35
stop();
Symbol 1417 MovieClip Frame 1
stop();
Symbol 1417 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 1417 MovieClip Frame 5
_parent.blood.play();
Symbol 1417 MovieClip Frame 9
gotoAndStop ("idle");
Symbol 1417 MovieClip Frame 20
gotoAndStop ("idle");
Symbol 1417 MovieClip Frame 33
gotoAndStop ("idle");
Symbol 1417 MovieClip Frame 43
_root.questObjectives();
Symbol 1417 MovieClip Frame 51
_root.battle.play();
stop();
Symbol 1417 MovieClip Frame 56
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1417 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 1417 MovieClip Frame 66
gotoAndStop ("idle");
_root.battle.play();
Symbol 1417 MovieClip Frame 69
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1417 MovieClip Frame 82
gotoAndStop ("idle");
_root.battle.play();
Symbol 1417 MovieClip Frame 104
_root.BMagic = _root.BMagic - 10;
Symbol 1417 MovieClip Frame 144
gotoAndStop ("idle");
_root.battle.play();
Symbol 1417 MovieClip Frame 150
rage = true;
_root.messages = "The mage has charged a powerful attack.";
Symbol 1417 MovieClip Frame 162
gotoAndStop ("idle");
_root.battle.play();
Symbol 1417 MovieClip Frame 163
rage = false;
Symbol 1417 MovieClip Frame 169
_root.Battack_func("charged");
_root.BMagic = _root.BMagic - 20;
Symbol 1417 MovieClip Frame 179
gotoAndStop ("idle");
_root.battle.play();
Symbol 1417 MovieClip Frame 180
play();
Symbol 1417 MovieClip Frame 189
gotoAndStop ("idle");
_root.battle.play();
Symbol 1418 MovieClip Frame 2
gotoAndPlay("attack" + int(random(2) + 1));
Symbol 1418 MovieClip Frame 13
gotoAndStop ("idle");
Symbol 1418 MovieClip Frame 19
gotoAndStop ("idle");
Symbol 1418 MovieClip Frame 30
gotoAndStop ("idle");
Symbol 1418 MovieClip Frame 37
_root.questObjectives();
Symbol 1418 MovieClip Frame 48
_root.battle.play();
stop();
Symbol 1418 MovieClip Frame 49
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1418 MovieClip Frame 53
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1418 MovieClip Frame 64
if (random(3) == 0) {
gotoAndPlay ("attack2");
}
Symbol 1418 MovieClip Frame 70
gotoAndStop ("idle");
_root.battle.play();
Symbol 1418 MovieClip Frame 71
rand = _root.hitMe("Bguard");
if (rand != "guard") {
} else {
gotoAndPlay ("guard");
}
Symbol 1418 MovieClip Frame 75
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1418 MovieClip Frame 86
if (random(9) == 0) {
gotoAndPlay ("attack1");
}
Symbol 1418 MovieClip Frame 90
gotoAndStop ("idle");
_root.battle.play();
Symbol 1418 MovieClip Frame 91
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("block");
Symbol 1418 MovieClip Frame 95
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1418 MovieClip Frame 106
if (random(2) == 0) {
gotoAndPlay ("attack1");
}
Symbol 1418 MovieClip Frame 110
gotoAndStop ("idle");
_root.battle.play();
Symbol 1418 MovieClip Frame 111
play();
Symbol 1418 MovieClip Frame 124
gotoAndStop ("idle");
_root.battle.play();
Symbol 1422 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1426 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1430 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1434 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1438 MovieClip Frame 1
stop();
gotoAndStop(_root.enemykind);
Symbol 1443 MovieClip Frame 1
stop();
Symbol 1443 MovieClip Frame 2
if ((_root.enemykind == "Raptor King") && (_root.BMagic >= 25)) {
_root.BMagic = _root.BMagic - 25;
cast = random(2) + 1;
gotoAndPlay ("cast1");
} else {
gotoAndPlay("attack" + int(random(2) + 1));
}
Symbol 1443 MovieClip Frame 6
_parent.blood.play();
Symbol 1443 MovieClip Frame 16
gotoAndStop ("idle");
Symbol 1443 MovieClip Frame 24
_root.questObjectives();
Symbol 1443 MovieClip Frame 31
stop();
_root.battle.play();
Symbol 1443 MovieClip Frame 36
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1443 MovieClip Frame 46
if (((random(2) == 0) && (_root.BMagic >= 50)) && (_root.enemykind != "Raptor Queen")) {
_root.BMagic = _root.BMagic - 50;
gotoAndPlay ("attack2");
} else if (_root.BMagic >= 20) {
_root.BMagic = _root.BMagic - 20;
gotoAndPlay ("attack2");
}
Symbol 1443 MovieClip Frame 48
gotoAndStop ("idle");
_root.battle.play();
Symbol 1443 MovieClip Frame 59
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1443 MovieClip Frame 69
gotoAndStop ("idle");
_root.battle.play();
Symbol 1443 MovieClip Frame 70
play();
Symbol 1443 MovieClip Frame 77
gotoAndStop ("idle");
_root.battle.play();
Symbol 1443 MovieClip Frame 84
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1443 MovieClip Frame 87
if (cast > 0) {
cast = cast - 1;
gotoAndPlay ("cast1");
}
Symbol 1443 MovieClip Frame 89
gotoAndStop ("idle");
_root.battle.play();
Symbol 1444 MovieClip Frame 1
stop();
Symbol 1444 MovieClip Frame 2
if ((random(3) == 0) && (_root.BMagic >= 25)) {
_root.BMagic = _root.BMagic - 25;
gotoAndPlay ("cast1");
} else {
gotoAndPlay ("attack1");
}
Symbol 1444 MovieClip Frame 5
gotoAndStop ("idle");
Symbol 1444 MovieClip Frame 15
gotoAndStop ("idle");
Symbol 1444 MovieClip Frame 21
_root.questObjectives();
Symbol 1444 MovieClip Frame 30
stop();
_root.battle.play();
Symbol 1444 MovieClip Frame 38
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1444 MovieClip Frame 50
gotoAndStop ("idle");
_root.battle.play();
Symbol 1444 MovieClip Frame 56
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1444 MovieClip Frame 58
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1444 MovieClip Frame 60
if (!_root.hitMe("Bmiss")) {
_root.Battack_func();
} else {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("miss");
}
Symbol 1444 MovieClip Frame 68
gotoAndStop ("idle");
_root.battle.play();
Symbol 1444 MovieClip Frame 69
play();
Symbol 1444 MovieClip Frame 77
gotoAndStop ("idle");
_root.battle.play();
Symbol 1462 MovieClip Frame 1
stop();
Symbol 1462 MovieClip Frame 2
if ((_root.BMagic >= 10) && (random(2) == 0)) {
_root.BMagic = _root.BMagic - 10;
if (_root.BName == "Light Priest") {
gotoAndPlay ("cast");
} else {
gotoAndPlay ("cast2");
}
} else {
gotoAndPlay ("attack1");
}
Symbol 1462 MovieClip Frame 10
gotoAndStop (1);
Symbol 1462 MovieClip Frame 16
_root.Battack_func();
_root.playSound("stab");
Symbol 1462 MovieClip Frame 23
gotoAndStop ("idle");
_root.battle.play();
Symbol 1462 MovieClip Frame 34
_root.Battack_func();
_root.playSound("king");
Symbol 1462 MovieClip Frame 42
gotoAndStop ("idle");
_root.battle.play();
Symbol 1462 MovieClip Frame 43
play();
Symbol 1462 MovieClip Frame 50
gotoAndStop ("idle");
_root.battle.play();
Symbol 1462 MovieClip Frame 54
_root.questObjectives();
Symbol 1462 MovieClip Frame 58
stop();
_root.battle.play();
Symbol 1462 MovieClip Frame 68
_root.Battack_func();
_root.playSound("king");
Symbol 1462 MovieClip Frame 74
gotoAndStop ("idle");
_root.battle.play();
Symbol 1463 MovieClip Frame 1
stop();
Symbol 1467 MovieClip Frame 1
stop();
Symbol 1478 MovieClip Frame 8
_root.attack_func("Fire");
_root.useSpell(_root.choice3);
Symbol 1478 MovieClip Frame 19
stop();
Symbol 1486 MovieClip Frame 10
stop();
Symbol 1495 MovieClip Frame 9
stop();
Symbol 1535 MovieClip Frame 1
stop();
Symbol 1535 MovieClip Frame 2
play();
Symbol 1535 MovieClip Frame 10
Symbol 1535 MovieClip Frame 26
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 34
_root.attack_func("Water");
_root.useSpell(_root.choice3);
_root.playSound("stab");
Symbol 1535 MovieClip Frame 40
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 45
_root.attack_func("Electricity");
_root.useSpell(_root.choice3);
_root.playSound("stab");
Symbol 1535 MovieClip Frame 54
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 60
_root.attack_func("Ice");
_root.useSpell(_root.choice3);
_root.playSound("stab");
Symbol 1535 MovieClip Frame 65
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 69
_root.attack_func("Dark");
_root.useSpell(_root.choice3);
_root.playSound("stab");
Symbol 1535 MovieClip Frame 79
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 83
_root.attack_func("Light");
_root.useSpell(_root.choice3);
_root.playSound("stab");
Symbol 1535 MovieClip Frame 95
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 100
_root.lethal.GHealth = _root.lethal.GHealth + int(_root.lethal.MaxHealth * 0.5);
_root.useSpell(_root.choice3);
Symbol 1535 MovieClip Frame 107
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 112
_root.lethal.GHealth = _root.lethal.MaxHealth;
_root.useSpell(_root.choice3);
Symbol 1535 MovieClip Frame 119
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 128
_root.attack_func("Nature");
_root.useSpell(_root.choice3);
_root.playSound("stab");
Symbol 1535 MovieClip Frame 132
_root.lethal.GHealth = _root.lethal.GHealth + _root.actualstr;
Symbol 1535 MovieClip Frame 137
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 151
_root.Bstatus = "stunned";
_root.messages = "The enemy has been trapped";
_root.useSpell(_root.choice3);
Symbol 1535 MovieClip Frame 158
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 164
_root.BMagic = _root.BMagic - 25;
_root.enemy.enemy.gotoAndPlay("hit");
_root.useSpell(_root.choice3);
if (_root.BMagic <= 0) {
_root.BMagic = 0;
}
Symbol 1535 MovieClip Frame 171
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 178
_root.lethal.ystatus = "boost";
_root.messages = "You strength has risen!";
_root.useSpell(_root.choice3);
Symbol 1535 MovieClip Frame 186
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 220
_root.attack_func("Blast");
_root.useSpell(_root.choice3);
_root.playSound("stab");
_root.BMagic = _root.BMagic - 25;
_root.enemy.enemy.gotoAndPlay("hit");
if (_root.BMagic <= 0) {
_root.BMagic = 0;
}
Symbol 1535 MovieClip Frame 229
_root.main.main.play();
gotoAndStop (1);
Symbol 1535 MovieClip Frame 235
_root.attack_func("Nature");
_root.useSpell(_root.choice3);
Symbol 1535 MovieClip Frame 243
_root.main.main.play();
gotoAndStop (1);
Symbol 1539 Button
on (press) {
gotoAndStop (2);
}
Symbol 1550 Button
on (press) {
gotoAndStop (1);
}
Symbol 1551 MovieClip Frame 1
names = _root.BName;
stop();
Symbol 1551 MovieClip Frame 2
names = _root.BName;
level = "Level: " + _root.Blevel;
element = "Element: " + _root.Belement;
element2 = "Weakness: " + _root.element[_root.Belement][1];
Symbol 1552 MovieClip Frame 10
stop();
Symbol 1552 MovieClip Frame 20
stop();
Symbol 1565 MovieClip Frame 1
stop();
Symbol 1577 MovieClip Frame 16
stop();
Symbol 1577 MovieClip Frame 30
if (_root.locate == 36) {
_root.spells.translight[0] = true;
_root.locate = "light";
_root.gotoAndStop("cutscene");
} else if (_root.locate == 39) {
_root.spells.transdark[0] = true;
_root.locate = "dark";
_root.gotoAndStop("cutscene");
} else if (_root.locate == 41) {
_root.gotoAndStop("outro");
} else {
_root.gotoAndStop("map");
}
Symbol 1584 MovieClip Frame 1
stop();
Symbol 1584 MovieClip Frame 4
stop();
Symbol 1588 Button
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = "A basic attack that uses no magic output but can still cause major damage.";
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
on (press) {
_root.choice1 = "attack";
_root.choice2 = "swing";
_root.nextFrame();
}
Symbol 1589 Button
on (press) {
if (!key2) {
setKeys(2);
gotoAndStop ("element");
} else {
setKeys(0);
gotoAndStop ("main");
}
}
Symbol 1590 Button
on (press) {
if (!key1) {
setKeys(1);
gotoAndStop ("spells");
} else {
setKeys(0);
gotoAndStop ("main");
}
}
Symbol 1591 Button
on (press) {
if (!key3) {
setKeys(3);
gotoAndStop ("skills");
} else {
setKeys(0);
gotoAndStop ("main");
}
}
Symbol 1592 Button
on (press) {
if (!key4) {
setKeys(4);
gotoAndStop ("potion");
} else {
setKeys(0);
gotoAndStop ("main");
}
}
Symbol 1593 Button
on (press) {
if (!key5) {
setKeys(5);
gotoAndStop ("trans");
} else {
setKeys(0);
gotoAndStop ("main");
}
}
Symbol 1600 Button
on (rollOver) {
_root.notes.gotoAndPlay(2);
if (_root.flee == 0) {
_root.notes.note = "Flee from the battle?";
} else {
_root.notes.note = "You can't flee at the moment.";
}
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
on (press) {
if (_root.flee == 0) {
_root.totalxp = 0;
_root.leaveBattle = false;
_root.redin.play();
}
}
Symbol 1605 MovieClip Frame 1
stop();
Symbol 1626 Button
on (press) {
if (_root.hasPotion(0)) {
_root.choice1 = "basic";
_root.choice2 = "potion";
_root.choice3 = "small";
_root.choice4 = 0;
_root.nextFrame();
}
}
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = _root.potionDescription(0);
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
Symbol 1627 Button
on (press) {
if (_root.hasPotion(1)) {
_root.choice1 = "basic";
_root.choice2 = "potion";
_root.choice3 = "medium";
_root.choice4 = 1;
_root.nextFrame();
}
}
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = _root.potionDescription(1);
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
Symbol 1628 Button
on (press) {
if (_root.hasPotion(2)) {
_root.choice1 = "basic";
_root.choice2 = "potion";
_root.choice3 = "large";
_root.choice4 = 2;
_root.nextFrame();
}
}
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = _root.potionDescription(2);
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
Symbol 1634 MovieClip Frame 1
function setKeys(num) {
i = 1;
while (i < 10) {
this["key" + i] = false;
i++;
}
this["key" + num] = true;
}
function setButtons() {
i = 1;
while (i < 8) {
this["b" + i].i = i;
this["b" + i].onPress = function () {
if (_root.availableSpell(spells[this.i])) {
_root.choice1 = "attack";
_root.choice2 = "cast";
_root.choice3 = spells[this.i];
_root.nextFrame();
}
};
this["b" + i].onRollOver = function () {
this.gotoAndStop(2);
_root.notes.gotoAndPlay(2);
_root.notes.note = _root.spellDescription(spells[this.i]);
};
this["b" + i].onRollOut = function () {
this.gotoAndStop(1);
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
};
i++;
}
}
stop();
Symbol 1634 MovieClip Frame 2
spells = [0, "fire", "water", "ice", "electricity", "dark", "light", "nature"];
setButtons();
Symbol 1634 MovieClip Frame 3
spells = [0, "heal", "strheal", "absorb", "trap", "soul", "boost", "blast"];
setButtons();
Symbol 1634 MovieClip Frame 4
spells = [0, "guard", "slash", "double"];
setButtons();
Symbol 1634 MovieClip Frame 6
spells = [0, "translight", "transdark"];
setButtons();
Symbol 1636 Button
on (press) {
if (!slidemenu._visible) {
slidemenu._visible = true;
} else {
slidemenu._visible = false;
}
}
Symbol 1640 Button
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = "A basic attack that uses no magic output but can still cause major damage.";
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
on (press) {
_root.choice1 = "attack";
_root.choice2 = "swing";
_root.nextFrame();
}
Symbol 1642 Button
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = "Auto-cast: Automatically casts the foes weakness if you have that spell.";
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
on (press) {
if (_root.availableSpell(_root.enemyWeakness)) {
_root.choice1 = "attack";
_root.choice2 = "cast";
_root.choice3 = _root.enemyWeakness;
_root.nextFrame();
}
}
Symbol 1644 Button
on (rollOver) {
_root.notes.gotoAndPlay(2);
_root.notes.note = "Re-cast: Automatically casts the same spell as before.";
}
on (rollOut) {
_root.notes.gotoAndPlay("end");
_root.notes.note = "";
}
on (press) {
if (_root.choice2 == "swing") {
_root.choice1 = "attack";
_root.nextFrame();
} else if (_root.choice2 == "cast") {
if (_root.availableSpell(_root.lastChoice)) {
_root.choice3 = _root.lastChoice;
_root.nextFrame();
}
} else if (_root.hasPotion(_root.choice4)) {
_root.choice3 = _root.lastChoice;
_root.nextFrame();
}
}
Symbol 1649 MovieClip Frame 1
stop();
Symbol 1649 MovieClip Frame 101
_root.enemy.enemy.play();
Symbol 1650 Button
on (press) {
_root.lethal.GHealth = _root.lethal.MaxHealth;
_root.lethal.GMagic = _root.lethal.MaxMagic;
_root.redin.gotoAndPlay(1);
_root.gotoAndPlay("battle");
}
Symbol 1652 Button
on (press) {
_root.leaveBattle = true;
_root.redin.play();
}
Symbol 1654 MovieClip Frame 1
_root.main.gotoAndStop(_root.choice1);
_root.main.main.gotoAndPlay(_root.choice2);
stop();
Symbol 1654 MovieClip Frame 2
if ((_root.pet.select != "none") && (_root.BHealth > 0)) {
if (random(2) == 0) {
_root.battlepet.pet.play();
stop();
} else {
play();
}
} else {
play();
}
Symbol 1654 MovieClip Frame 3
_root.enemy.swapDepths(_root.battlepet);
_root.main.swapDepths(_root.battlepet);
Symbol 1654 MovieClip Frame 4
if ((_root.BHealth >= 1) && (_root.Bstatus != "stunned")) {
_root.enemy.enemy.play();
stop();
} else if (_root.BHealth < 1) {
_root.enemy.enemy.gotoAndPlay("death");
stop();
} else if (_root.Bstatus == "stunned") {
_root.messages = "The enemy is stunned and can't move.";
if (random(2) == 0) {
_root.Bstatus = "normal";
_root.messages = _root.messages + " They have recovered";
}
play();
}
Symbol 1654 MovieClip Frame 5
if (_root.lethal.GHealth <= 0) {
_root.main.gotoAndStop("basic");
_root.main.main.gotoAndPlay("death");
stop();
} else if (_root.transformed == "translight") {
quicval = (5 + random(6)) * 0.01;
_root.lethal.GHealth = _root.lethal.GHealth + int(_root.lethal.MaxHealth * quicval);
}
if (_root.BHealth <= 0) {
_root.BXPTotal = _root.BXPTotal + _root.BXP;
if (_root.Bcompany > 1) {
_root.Bcompany--;
trace(_root.Bcompany);
_root.headX = random(5) + 1;
_root.hairX = random(5) + 1;
_root.newFoe();
stop();
} else if (_root.locate == "Tournament") {
_root.main.swapDepths(_root.battlepet);
_root.enemy.swapDepths(_root.battlepet);
gotoAndStop (7);
} else {
stop();
_root.leaveBattle = true;
_root.redin.play();
}
}
Symbol 1654 MovieClip Frame 6
_root.main.swapDepths(_root.battlepet);
_root.enemy.swapDepths(_root.battlepet);
if (_root.guard) {
_root.guard = false;
_root.main.main.play();
}
_root.prevFrame();
Symbol 1654 MovieClip Frame 7
stop();