Frame 1
soundon = "On";
qualityset = 0;
tilelock = true;
qset2 = "HIGH";
soundset = 0;
fscommand ("showmenu", "false");
Stage.showMenu = false;
_root._focusrect = false;
Instance of Symbol 104 MovieClip "Bar" in Frame 1
onClipEvent (enterFrame) {
setProperty(_this, _width , 112.2 * (_root.getBytesLoaded() / _root.getBytesTotal()));
}
Instance of Symbol 87 MovieClip [FScrollBarSymbol] in Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
} else {
gotoAndPlay (1);
}
Frame 3
function playSound(name) {
if (soundon == "On") {
soundfx.gotoAndPlay(name);
}
}
stop();
Frame 6
playSound("songstart1");
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 17
function Heal(healpoints, whotoheal, healtype) {
_root[whotoheal + healtype] = _root[whotoheal + healtype] + healpoints;
if (_root[whotoheal + healtype] > _root[(whotoheal + healtype) + "max"]) {
_root[whotoheal + healtype] = _root[(whotoheal + healtype) + "max"];
}
_root[whotoheal + "counter"].dmg = healpoints;
_root[whotoheal + "counter"].gotoAndPlay(healtype);
}
function SearchNone() {
i = 4;
while (i < 12) {
if ((_root.itemstats[[i]] == "None") && (_root.Searched != true)) {
_root.Searched = true;
}
i++;
}
}
function SearchItem(item, ask) {
i = 0;
while (i < 12) {
if ((_root.itemstats[[i]] == item) && (_root.Searched != true)) {
_root.Searched = true;
if ((ask = true)) {
_root.itemstats[[i]] = "None";
}
}
i++;
}
}
function ItemRand(k0, k1, k2) {
ia = new Array();
if (k0 != "") {
ia.push(k0);
}
if (k1 != "") {
ia.push(k1);
}
if (k2 != "") {
ia.push(k2);
}
rand = random(ia.length);
droppedstuff = ia[rand];
trace(droppedstuff);
}
function GetItemDrop(item) {
didget = false;
i = 4;
while (i < 12) {
if ((_root.itemstats[[i]] == "None") && (didget == false)) {
itemsign._visible = true;
_root.itemstats[[i]] = item;
didget = true;
}
i++;
}
}
function GetItem(item, cost) {
if (_root.gold >= cost) {
didget = false;
i = 4;
while (i < 12) {
if ((_root.itemstats[[i]] == "None") && (didget == false)) {
_root.itemstats[[i]] = item;
_root.playSound("itemget");
_root.gold = _root.gold - cost;
_root.got = true;
didget = true;
} else if (i == 11) {
_root.playSound("no");
}
i++;
}
}
}
function ExplainItem() {
_root.itemarray = ["", "", "Physical Damage", "Magic/Elemental Damage", "Extra Shield Damage", "Physical Defence", "Magic/Elemental Defence", "Shield Phys. Defence", "Shield Magic/Elem. Defence", "Shield Hit Points", "Speed", "Bonus Life", "Bonus Mana", "Specail Skill"];
i = 0;
while (i < 4) {
_root.inventory.explainbox["statname" + i] = "";
_root.inventory.explainbox["stat" + i] = "";
i++;
}
if ((_root.itempick == "None") && (_root.itemstats[_root.slotnum] != "None")) {
if ((_root.item[_root.itemstats[_root.slotnum]][1] == "Food") || (_root.item[_root.itemstats[_root.slotnum]][1] == "Drink")) {
_root.itemarray[2] = "Energy Points";
_root.itemarray[3] = "Life Points";
_root.itemarray[4] = "Mana Points";
}
_root.inventory.explainbox.name = _root.item[_root.itemstats[_root.slotnum]][0];
_root.inventory.explainbox.itemtype = _root.item[_root.itemstats[_root.slotnum]][1];
_root.inventory.explainbox.strneed = _root.item[_root.itemstats[_root.slotnum]][14];
_root.inventory.explainbox.explain = _root.item[_root.itemstats[_root.slotnum]][15];
itmnum = 0;
i = 2;
while (i < 14) {
if ((_root.item[_root.itemstats[_root.slotnum]][i] != 0) && (itmnum < 4)) {
_root.inventory.explainbox["statname" + itmnum] = _root.itemarray[i];
_root.inventory.explainbox["stat" + itmnum] = _root.item[_root.itemstats[_root.slotnum]][i];
itmnum++;
}
i++;
}
_root.inventory.explainbox._visible = true;
}
}
function AddItem(name, itmtyp, itmpdmg, itmmdmg, itmsdmg, itmpdef, itmmdef, itmspdef, itmsmdef, itmspts, itmspd, itmlif, itmstr, itmskl, strneed, itmx) {
_root.item[name] = new Array();
statsputin = [name, itmtyp, itmpdmg, itmmdmg, itmsdmg, itmpdef, itmmdef, itmspdef, itmsmdef, itmspts, itmspd, itmlif, itmstr, itmskl, strneed, itmx];
i = 0;
while (i < 16) {
_root.item[name][i] = statsputin[i];
i++;
}
}
function order(a, b) {
var name1 = a;
var name2 = b;
if (name1 < name2) {
return(-1);
}
if (name1 > name2) {
return(1);
}
}
function speedorder() {
_root.playermove = new Array();
_root.turnnum = 0;
spdturn = new Array();
spdturn = [_root.hero1speed, _root.hero2speed, _root.enemy1speed, _root.enemy2speed];
spdturn.sort(_root.order);
spdturn.reverse();
i = 0;
while (i < 4) {
j = 1;
while (j < 3) {
if ((((_root.spdturn[i] == _root[("enemy" + [j]) + "speed"]) && (_root.playermove[i - 1] != ("enemy" + [j]))) && (_root.playermove[i - 2] != ("enemy" + [j]))) && (_root.playermove[i - 3] != ("enemy" + [j]))) {
_root.playermove[i] = "enemy" + [j];
} else if ((((_root.spdturn[i] == _root[("hero" + [j]) + "speed"]) && (_root.playermove[i - 1] != ("hero" + [j]))) && (_root.playermove[i - 2] != ("hero" + [j]))) && (_root.playermove[i - 3] != ("hero" + [j]))) {
_root.playermove[i] = "hero" + [j];
}
j++;
}
i++;
}
}
function enemyDamage(magdmg, phydmg, nomiss, dmgtoshd, strdmg, atkspd, ran) {
spdran1 = random(atkspd / 2) + (atkspd / 2);
spdran2 = random(_root[_root.enemytarget + "speed"] / 2);
if (nomiss == true) {
spdran2 = -1;
}
if (spdran2 < spdran1) {
if (_root[_root.enemytarget + "shdpts"] > 0) {
shddmg = Math.round((((((phydmg - Math.ceil((phydmg / 100) * _root[_root.enemytarget + "shdphydef"])) + magdmg) - Math.ceil((magdmg / 100) * _root[_root.enemytarget + "shdmagdef"])) + strdmg) - Math.ceil((strdmg / 100) * _root[_root.enemytarget + "shdphydef"])) + dmgtoshd) + ran;
_root[_root.enemytarget + "counter"].dmg = shddmg;
_root[_root.enemytarget + "counter"].gotoAndPlay("blockdmg");
if ((_root[_root.enemytarget + "shdpts"] - shddmg) <= 0) {
_root[_root.enemytarget].gotoAndStop("blockbreak");
_root[_root.enemytarget + "shdpts"] = 0;
} else {
_root[_root.enemytarget].gotoAndStop("block");
_root[_root.enemytarget + "shdpts"] = _root[_root.enemytarget + "shdpts"] - shddmg;
}
} else {
totaldmg = Math.round(((((phydmg - Math.ceil((phydmg / 100) * _root[_root.enemytarget + "phydef"])) + magdmg) - Math.ceil((magdmg / 100) * _root[_root.enemytarget + "magdef"])) + strdmg) - Math.ceil((strdmg / 100) * _root[_root.enemytarget + "phydef"])) + ran;
_root[_root.enemytarget + "counter"].dmg = totaldmg;
_root[_root.enemytarget + "counter"].gotoAndPlay(2);
_root[_root.enemytarget].gotoAndStop("hit");
_root[_root.enemytarget + "life"] = _root[_root.enemytarget + "life"] - totaldmg;
if (_root[_root.enemytarget + "life"] <= 0) {
_root[_root.enemytarget].gotoAndStop("die");
_root[_root.enemytarget + "life"] = 0;
}
}
} else {
_root[_root.enemytarget + "counter"].dmg = "miss";
_root[_root.enemytarget + "counter"].gotoAndPlay(2);
_root[_root.enemytarget].gotoAndStop("miss");
}
}
function heroDamage(magdmg, phydmg, nomiss, dmgtoshd, strdmg, atkspd, ran) {
spdran1 = random(atkspd / 2) + (atkspd / 2);
spdran2 = random(_root[_root.herotarget + "speed"] / 2);
if (nomiss == true) {
spdran2 = -1;
}
if (spdran2 < spdran1) {
if (_root[_root.herotarget + "shdpts"] > 0) {
shddmg = Math.round((((((phydmg - Math.ceil((phydmg / 100) * _root[_root.herotarget + "shdphydef"])) + magdmg) - Math.ceil((magdmg / 100) * _root[_root.herotarget + "shdmagdef"])) + strdmg) - Math.ceil((strdmg / 100) * _root[_root.herotarget + "shdphydef"])) + dmgtoshd) + ran;
_root[_root.herotarget + "counter"].dmg = shddmg;
_root[_root.herotarget + "counter"].gotoAndPlay("blockdmg");
if ((_root[_root.herotarget + "shdpts"] - shddmg) <= 0) {
_root[_root.herotarget].gotoAndStop("blockbreak");
_root[_root.herotarget + "shdpts"] = 0;
} else {
_root[_root.herotarget].gotoAndStop("block");
_root[_root.herotarget + "shdpts"] = _root[_root.herotarget + "shdpts"] - shddmg;
}
} else {
totaldmg = Math.round(((((phydmg - Math.ceil((phydmg / 100) * _root[_root.herotarget + "phydef"])) + magdmg) - Math.ceil((magdmg / 100) * _root[_root.herotarget + "magdef"])) + strdmg) - Math.ceil((strdmg / 100) * _root[_root.herotarget + "phydef"])) + ran;
_root[_root.herotarget + "counter"].dmg = totaldmg;
_root[_root.herotarget + "counter"].gotoAndPlay(2);
_root[_root.herotarget].gotoAndStop("hit");
_root[_root.herotarget + "life"] = _root[_root.herotarget + "life"] - totaldmg;
if (_root[_root.herotarget + "life"] <= 0) {
_root[_root.herotarget].gotoAndStop("die");
_root[_root.herotarget + "life"] = 0;
}
}
} else {
_root[_root.herotarget + "counter"].dmg = "miss";
_root[_root.herotarget + "counter"].gotoAndPlay(2);
_root[_root.herotarget].gotoAndStop("miss");
}
}
function EnemyMeet() {
_root.save_stage = _root.currentstage;
_root.save_x = _root.grid.char._x;
_root.save_y = _root.grid.char._y;
_root.clearstage = true;
_root.clearscene = true;
}
function RemoveItem(label, need) {
_root[need] = "None";
_root.phydmgb = _root.phydmgb - _root.item[label][2];
_root.magdmgb = _root.magdmgb - _root.item[label][3];
_root.shddmgb = _root.shddmgb - _root.item[label][4];
_root.phydefb = _root.phydefb - _root.item[label][5];
_root.magdefb = _root.magdefb - _root.item[label][6];
_root.shdphydefb = _root.shdphydefb - _root.item[label][7];
_root.shdmagdefb = _root.shdmagdefb - _root.item[label][8];
_root.shdptsb = _root.shdptsb - _root.item[label][9];
_root.speedb = _root.speedb - _root.item[label][10];
_root.lifemaxb = _root.lifemaxb - _root.item[label][11];
_root.manamaxb = _root.manamaxb - _root.item[label][12];
_root.manab = _root.manab - _root.item[label][12];
if (_root.manab < 0) {
_root.manab = 0;
}
_root.itemskill = "None";
}
function EquipItem(label, need) {
_root[need] = _root.item[label][0];
_root.phydmgb = _root.phydmgb + _root.item[label][2];
_root.magdmgb = _root.magdmgb + _root.item[label][3];
_root.shddmgb = _root.shddmgb + _root.item[label][4];
_root.phydefb = _root.phydefb + _root.item[label][5];
_root.magdefb = _root.magdefb + _root.item[label][6];
_root.shdphydefb = _root.shdphydefb + _root.item[label][7];
_root.shdmagdefb = _root.shdmagdefb + _root.item[label][8];
_root.shdptsb = _root.shdptsb + _root.item[label][9];
_root.speedb = _root.speedb + _root.item[label][10];
_root.lifemaxb = _root.lifemaxb + _root.item[label][11];
_root.manamaxb = _root.manamaxb + _root.item[label][12];
_root.manab = _root.manab + _root.item[label][12];
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
_root.itemskill = _root.item[label][13];
}
function NewStage(chardir, charposx, charposy) {
_root.grid.char.gotoAndStop(chardir);
_root.grid.char._x = (charposx * 30) - 15;
_root.grid.char._y = (charposy * 30) - 15;
_root.game.char.x = (charposx * 30) - 15;
_root.game.char.y = (charposy * 30) - 15;
_root.charything = _root.grid.char._y;
var j = 1;
while (j <= game.rows) {
var i = 1;
while (i <= game.columns) {
var name = ((("cell" + i) + "_") + j);
game[name].type = 1;
i++;
}
j++;
}
}
function Fight(move) {
_root[_root.playermove[_root.turnnum]].gotoAndStop(move);
}
_root.playSound("Dream");
_root.item = new Object();
AddItem("name", "itmtyp", "itmpdmg", "itmmdmg", "itmsdmg", "itmpdef", "itmmdef", "itmspdef", "itmsmdef", "itmspts", "itmspd", "itmlif", "itmman", "itmskl", "strneed", "itmx");
AddItem("None", "None", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "");
AddItem("Iron Knife", "Weapon", 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, "");
AddItem("Energy Knife", "Weapon", 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, "");
AddItem("Silver Knife", "Weapon", 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, "");
AddItem("Long Sword", "Weapon", 12, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, "");
AddItem("Spiked Axe", "Weapon", 11, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, "");
AddItem("Heavy Blade", "Weapon", 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, "");
AddItem("Katana", "Weapon", 24, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, "");
AddItem("Shield Breaker", "Weapon", 17, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, "");
AddItem("Blaze Edge", "Weapon", 20, 13, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, "");
AddItem("Fusion Edge", "Weapon", 24, 18, 5, 0, 0, 0, 0, 0, 0, 0, 20, 0, 25, "");
AddItem("Spike Sword", "Weapon", 38, 12, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, "");
AddItem("Demon Sword", "Weapon", 19, 32, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, "");
AddItem("Blood Razor", "Weapon", 58, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, "");
AddItem("Raider Sword", "Weapon", 8, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, "");
AddItem("Guard Blade", "Weapon", 90, 0, 10, 15, 0, 0, 0, 0, 0, 0, -40, 0, 40, "");
AddItem("Golden Blade", "Weapon", 46, 24, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, "");
AddItem("Double Razor", "Weapon", 13, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, "");
AddItem("Shadow Katana", "Weapon", 33, 32, 10, 0, 0, 0, 0, 0, 15, 0, 0, 0, 24, "");
AddItem("Shadow Spirit", "Weapon", 21, 44, 5, 0, 0, 0, 0, 0, 0, 0, 80, 0, 19, "");
AddItem("Fallen Blade", "Weapon", 75, 10, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 40, "");
AddItem("Wooden Rod", "Weapon", 5, 16, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, 15, "");
AddItem("Golden Rod", "Weapon", 7, 34, 0, 0, 0, 0, 0, 0, 0, 0, 60, 0, 15, "");
AddItem("Wooden Staff", "Weapon", 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 15, "");
AddItem("Ion Bo", "Weapon", 10, 60, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 20, "");
AddItem("Rust Blade", "Weapon", 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, "");
AddItem("Leather Wrist", "Shield", 0, 0, 0, 0, 0, 10, 0, 25, 0, 0, 0, 0, 5, "");
AddItem("Metal Wrist", "Shield", 0, 0, 0, 0, 0, 20, 0, 40, 0, 0, 0, 0, 5, "");
AddItem("Wooden Guard", "Shield", 0, 0, 0, 0, 0, 15, 0, 50, 0, 0, 0, 0, 15, "");
AddItem("Hand Blade", "Shield", 0, 0, 0, 0, 0, 50, 0, 60, 0, 0, 0, 0, 17, "");
AddItem("Metal Guard", "Shield", 0, 0, 0, 0, 0, 35, 0, 80, 0, 0, 0, 0, 18, "");
AddItem("Double Blade", "Shield", 0, 0, 0, 0, 0, 80, 0, 75, 0, 0, 0, 0, 19, "");
AddItem("Wooden Shield", "Shield", 0, 0, 0, 0, 0, 20, 20, 80, 0, 0, 0, 0, 15, "");
AddItem("Metal Shield", "Shield", 0, 0, 0, 0, 0, 40, 40, 160, 0, 0, 0, 0, 21, "");
AddItem("Demon Shield", "Shield", 0, 0, 0, 0, 0, 30, 40, 200, 0, 0, 20, 0, 21, "");
AddItem("Spike Shield", "Shield", 20, 0, 0, 0, 0, 40, 40, 180, 0, 0, 0, 0, 21, "");
AddItem("Claw Blade", "Shield", 0, 0, 0, 0, 0, 85, 0, 100, 0, 0, 0, 0, 23, "");
AddItem("Shadow Wrist", "Shield", 0, 0, 0, 0, 0, 40, 60, 100, 5, 0, 0, 0, 16, "");
AddItem("Energy Wrist", "Shield", 0, 0, 0, 0, 0, 20, 80, 120, 0, 0, 30, 0, 18, "");
AddItem("The Guardian", "Shield", 0, 0, 0, 0, 0, 50, 50, 300, 0, 0, 0, 0, 25, "");
AddItem("Blade Shield", "Shield", 0, 0, 0, 0, 0, 70, 30, 170, 0, 0, 0, 0, 24, "");
AddItem("Fallen Shield", "Shield", 0, 0, 0, 0, 0, 70, 30, 250, 0, 0, 0, 0, 24, "");
AddItem("Voodoo Shield", "Shield", 0, 0, 0, 0, 0, 0, 92, 120, 0, 0, 40, 0, 18, "");
AddItem("Name", "Head Gear", itmpdmg, itmmdmg, 0, itmpdef, itmmdef, 0, 0, 0, itmspd, 0, itmman, 0, strneed, "");
AddItem("Bandana", "Head Gear", 0, 0, 0, 7, 5, 0, 0, 0, 0, 0, 0, 0, 1, "");
AddItem("Metal Band", "Head Gear", 0, 0, 0, 15, 3, 0, 0, 0, 0, 0, 0, 0, 10, "");
AddItem("Focus Band", "Head Gear", 0, 0, 0, 5, 12, 0, 0, 0, 0, 0, 30, 0, 10, "");
AddItem("Fire Band", "Head Gear", 0, 7, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 15, "");
AddItem("Power Band", "Head Gear", 13, 0, 0, 12, 3, 0, 0, 0, 0, 0, 0, 0, 17, "");
AddItem("Golden Band", "Head Gear", 0, 0, 0, 20, 15, 0, 0, 0, 0, 0, 0, 0, 18, "");
AddItem("Demon Skin", "Head Gear", 8, 12, 0, 15, 10, 0, 0, 0, 0, 0, 0, 0, 22, "");
AddItem("Shadow Band", "Head Gear", 0, 0, 0, 10, 10, 0, 0, 0, 5, 0, 20, 0, 19, "");
AddItem("Snake Band", "Head Gear", 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 10, 0, 15, "");
AddItem("Ki Band", "Head Gear", 0, 15, 0, 15, 5, 0, 0, 0, 0, 0, 50, 0, 15, "");
AddItem("Leather Armour", "Suit", 0, 0, 0, 20, 10, 0, 0, 0, 0, 0, 0, 0, 13, "");
AddItem("Metal Plates", "Suit", 0, 0, 0, 30, 15, 0, 0, 0, 0, 0, 0, 0, 19, "");
AddItem("Metal Armour", "Suit", 0, 0, 0, 40, 20, 0, 0, 0, 0, 0, 0, 0, 21, "");
AddItem("Golden Armour", "Suit", 0, 0, 0, 60, 60, 0, 0, 0, 0, 0, 0, 0, 20, "");
AddItem("Demon Rags", "Suit", 15, 0, 0, 50, 15, 0, 0, 0, 0, 0, 0, 0, 28, "");
AddItem("Focus Armour", "Suit", 0, 10, 0, 15, 30, 0, 0, 0, 0, 0, 100, 0, 17, "");
AddItem("Snake Skin", "Suit", 0, 6, 0, 10, 30, 0, 0, 0, 0, 0, 15, 0, 15, "");
AddItem("Shadow Armour", "Suit", 0, 0, 0, 35, 50, 0, 0, 0, 13, 0, 0, 0, 22, "");
AddItem("Medicine", "Drink", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "A medicine made from herbs. Sell it to a merchant to make money.");
AddItem("Mendo's Ring", "Relic", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "An old ring which seems be be not of any value, but it emits a strong spiritual force.");
AddItem("White Leaves", "Herb", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Rare white leaves. Can be made into a medicine.");
stop();
droppedstuff = "None";
Balanced = [10, 10, 2, 2, "Balanced"];
Warrior = [15, 5, 3, 1, "Warrior"];
Spellcaster = [10, 15, 1, 2, "Spell Caster"];
Shadow = [10, 10, 1, 3, "Shadow Ninja"];
prevsound = 0;
_root.playername = "Sinjid";
user = SharedObject.getLocal("user_profile");
portal2 = new Array();
portal1 = new Array();
portal3 = new Array();
rests = 10;
i = 1;
while (i < 21) {
portal1[i] = "HUMAN" + i;
i++;
}
i = 1;
while (i < 21) {
portal2[i] = "MONSTER" + i;
i++;
}
i = 1;
while (i < 21) {
portal3[i] = "DARK" + i;
i++;
}
portalstages = ["Snow", "Coast", "Grass", "Desert"];
portallevel = new Array();
portallevel = [0, 0, 0];
i = 0;
while (i < 3) {
_root.portallevel[i] = 1;
i++;
}
pause = false;
itemlog = new Array();
i = 0;
while (i < 30) {
_root.itemlog[i] = false;
i++;
}
_root.skill = new Array();
i = 0;
while (i < 20) {
_root.skill[i] = 0;
i++;
}
BodyParts = new Array();
BodyParts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
_root.itemstats = new Array();
i = 0;
while (i < 28) {
_root.itemstats[i] = "None";
i++;
}
area = "Arena";
Helmet = "None";
Suit = "None";
Weapon = "Iron Knife";
level = 1;
gold = 75;
Shield = "None";
statpts = 0;
lifepots = 5;
manapots = 5;
manamaxb = 75;
manab = 75;
speedb = 15;
strb = 15;
lifemaxb = 75;
lifeb = 75;
engmaxb = 50;
engb = engmaxb;
expmaxb = 50;
expb = 0;
phydmgb = 0;
magdmgb = 0;
phydefb = 0;
magdefb = 0;
shddmgb = 0;
shdphydefb = 0;
shdmagdefb = 0;
shdptsb = 0;
skillpts = 0;
moon_q = false;
_root.phydmgb = _root.phydmgb + _root.item["iron Knife"][2];
_root.itempick = "None";
_root.itemstats[0] = "Iron Knife";
Instance of Symbol 465 MovieClip "itemmouse" in Frame 17
onClipEvent (enterFrame) {
startDrag (this, true);
}
Instance of Symbol 480 MovieClip in Frame 17
onClipEvent (load) {
this.swapDepths(190000);
}
Instance of Symbol 481 MovieClip in Frame 17
onClipEvent (load) {
this.gotoAndPlay("FadeIn");
}
Frame 18
stop();
Instance of Symbol 87 MovieClip [FScrollBarSymbol] in Frame 18
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Frame 19
stop();
Frame 20
stopAllSounds();
_root.playSound("Flute");
function gameClicked(mx, my) {
if (tilelock == false) {
var x = Math.ceil(mx / game.spacing);
var y = Math.ceil(my / game.spacing);
var cell = ((("cell" + x) + "_") + y);
var ob = game[cell];
trace(("game." + ((cell = (("cell" + x) + "_") + y))) + ".type = 2");
if (ob.type < game.numberOfTypes) {
ob.type++;
} else {
ob.type = 1;
}
ob.clip.tile.gotoAndStop(ob.type);
}
}
function movechar(dir) {
ob = game.char;
if (dir == "right") {
var tempx = ((ob.x + ob.radius) + game.speed);
var tempy = ob.y;
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(tempy / game.spacing);
var tempCell = game[(("cell" + cellx) + "_") + celly];
if (tempCell.type != 1) {
return(undefined);
}
ob.x = ob.x + game.speed;
ob.clip._x = ob.x;
} else if (dir == "left") {
var tempx = ((ob.x - ob.radius) - game.speed);
var tempy = ob.y;
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(tempy / game.spacing);
var tempCell = game[(("cell" + cellx) + "_") + celly];
if (tempCell.type != 1) {
return(undefined);
}
ob.x = ob.x - game.speed;
ob.clip._x = ob.x;
} else if (dir == "up") {
var tempx = ob.x;
var tempy = ((ob.y - ob.radius) - game.speed);
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(tempy / game.spacing);
var tempCell = game[(("cell" + cellx) + "_") + celly];
if (tempCell.type != 1) {
return(undefined);
}
ob.y = ob.y - game.speed;
ob.clip._y = ob.y;
charything = ob.y;
} else if (dir == "down") {
var tempx = ob.x;
var tempy = ((ob.y + ob.radius) + game.speed);
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(tempy / game.spacing);
var tempCell = game[(("cell" + cellx) + "_") + celly];
if (tempCell.type != 1) {
return(undefined);
}
ob.y = ob.y + game.speed;
ob.clip._y = ob.y;
charything = ob.y;
}
}
function initializeChar(start_x, start_y) {
game.speed = 5.25;
game.path.char.swapDepths(10200);
game.char = {startx:start_x, starty:start_y, clip:game.path.char};
var x = (((game.char.startx - 1) * game.spacing) + (game.spacing / 2));
var y = (((game.char.starty - 1) * game.spacing) + (game.spacing / 2));
game.char.clip._x = x;
game.char.clip._y = y;
game.char.x = x;
game.char.y = y;
game.char.radius = game.char.clip._width / 3;
}
function buildGrid() {
var j = 1;
while (j <= game.rows) {
var i = 1;
while (i <= game.columns) {
var name = ((("cell" + i) + "_") + j);
var x = ((i - 1) * game.spacing);
var y = ((j - 1) * game.spacing);
var type = 1;
game.path.attachMovie("cell", name, ++game.depth);
game.path[name]._x = x;
game.path[name]._y = y;
game[name] = {x:i, y:j, name:name, type:type, clip:game.path[name]};
i++;
}
j++;
}
}
game = {};
game.columns = 20;
game.rows = 11;
game.spacing = 30;
game.depth = 1020;
game.path = _root.grid;
game.numberOfTypes = 2;
_root.onEnterFrame = function () {
if (pause == false) {
if (_root.engb > 0) {
game.speed = 6;
} else {
game.speed = 4;
}
if (Key.isDown(39) || (Key.isDown(68))) {
movechar("right");
} else if (Key.isDown(37) || (Key.isDown(65))) {
movechar("left");
}
if (Key.isDown(38) || (Key.isDown(87))) {
movechar("up");
} else if (Key.isDown(40) || (Key.isDown(83))) {
movechar("down");
}
}
};
_root.onMouseDown = function () {
if (Key.isDown(16)) {
var mx = _xmouse;
var my = _ymouse;
if (game.path.hitTest(mx, my)) {
gameClicked(game.path._xmouse, game.path._ymouse);
}
}
};
buildGrid();
initializeChar(10.5, 7);
charything = game.char.clip._y;
Instance of Symbol 622 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 909 MovieClip "grid" in Frame 20
onClipEvent (load) {
this.swapDepths(100);
if (_root.reload == true) {
_root.reload = false;
buildGrid();
initializeChar(_root.save_x, _root.save_y);
_root.game.char.x = _root.save_x;
_root.game.char.y = _root.save_y;
_root.grid.char._x = _root.save_x;
_root.grid.char._y = _root.save_y;
_root.gotoAndStop(_root.save_stage);
}
}
onClipEvent (enterFrame) {
if (_root.cleargrid == true) {
removeMovieClip(this);
}
}
Instance of Symbol 922 MovieClip "encounter" in Frame 20
onClipEvent (load) {
this.swapDepths(230000);
}
Instance of Symbol 923 MovieClip "blackout" in Frame 20
onClipEvent (load) {
this.swapDepths(235467);
}
Instance of Symbol 932 MovieClip "TalkBox" in Frame 20
onClipEvent (load) {
this._visible = false;
this.swapDepths(942600);
}
Instance of Symbol 939 MovieClip "objectives" in Frame 20
onClipEvent (load) {
this._visible = false;
this.swapDepths(9999000);
}
Instance of Symbol 1458 MovieClip "inventory" in Frame 20
onClipEvent (load) {
this.gotoAndStop("blanki");
this.swapDepths(1000000);
}
Frame 21
stop();
bgstage = "Arena2";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena0";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell7_9.type = 2;
game.cell4_6.type = 2;
game.cell8_5.type = 2;
game.cell18_5.type = 2;
game.cell17_5.type = 2;
game.cell13_5.type = 2;
game.cell17_8.type = 2;
Instance of Symbol 1504 MovieClip in Frame 21
onClipEvent (load) {
stagelabel = "Arena1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("up", 10.5, 9.5);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1542 MovieClip in Frame 21
onClipEvent (load) {
persontype = "Elder";
inventorytype = "Save";
objectnum = 0;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 21
onClipEvent (load) {
persontype = "Healer";
objectnum = 1;
inventorytype = "Heal";
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 21
onClipEvent (load) {
speak = "This is the arena entrance. If you are hurt, the man in the white robes will heal you for a cheap price. If you want to save, talk to the old man with the stick.";
persontype = "Student";
objectnum = 2;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1544 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1544 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1584 MovieClip in Frame 21
onClipEvent (load) {
objectnum = 3;
with (this) {
gotoAndStop("Vase");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 21
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("Vase");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1504 MovieClip in Frame 21
onClipEvent (load) {
speak = "Once you have completed all 20 levels in the human gateway, come here to exit the arena. The other two portals are optional.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if ((((this.hitTest(_root.grid.char.stepper) && (Key.isDown(32))) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
if (_root.portallevel[0] > 20) {
_root.clearstage = true;
stopAllSounds();
_root.clearstage = true;
_root.cleargrid = true;
removeMovieClip("TalkBox");
removeMovieClip("inventory");
removeMovieClip("objectives");
removeMovieClip("blackout");
this.gotoAndPlay("change");
_root.gotoAndPlay("theend");
} else {
_root.TalkBox.SpeakerText = "Information";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
Instance of Symbol 1584 MovieClip in Frame 21
onClipEvent (load) {
objectnum = 5;
with (this) {
gotoAndStop("Bamboo");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 21
onClipEvent (load) {
objectnum = 6;
with (this) {
gotoAndStop("Bamboo2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 21
onClipEvent (load) {
objectnum = 7;
with (this) {
gotoAndStop("Rock2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(239001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 22
stop();
bgstage = "Arena";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena1";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell5_6.type = 2;
game.cell6_6.type = 2;
game.cell7_6.type = 2;
game.cell8_6.type = 2;
game.cell9_6.type = 2;
game.cell9_5.type = 2;
game.cell9_4.type = 2;
game.cell12_4.type = 2;
game.cell12_5.type = 2;
game.cell12_6.type = 2;
game.cell13_6.type = 2;
game.cell14_6.type = 2;
game.cell15_6.type = 2;
game.cell3_5.type = 2;
game.cell18_5.type = 2;
game.cell16_6.type = 2;
game.cell17_6.type = 2;
game.cell17_5.type = 2;
game.cell17_4.type = 2;
game.cell4_6.type = 2;
game.cell4_5.type = 2;
game.cell4_4.type = 2;
game.cell17_10.type = 2;
Instance of Symbol 1542 MovieClip in Frame 22
onClipEvent (load) {
persontype = "Food Vendor";
}
Instance of Symbol 1542 MovieClip in Frame 22
onClipEvent (load) {
persontype = "Potion Vendor";
}
Instance of Symbol 1599 MovieClip in Frame 22
onClipEvent (load) {
item = "Meal_0";
objectnum = 0;
inventorytype = item;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1599 MovieClip in Frame 22
onClipEvent (load) {
item = "Pots";
objectnum = 1;
inventorytype = item;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1504 MovieClip in Frame 22
onClipEvent (load) {
stagelabel = "Arena0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("down", 10.5, 5.5);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1602 MovieClip in Frame 22
onClipEvent (load) {
stagelabel = "Arena2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("left");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("left", 19, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1602 MovieClip in Frame 22
onClipEvent (load) {
stagelabel = "Arena3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("right");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("right", 2, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1542 MovieClip in Frame 22
onClipEvent (load) {
speak = "The first portal to the enemy is to the left, but if you want to buy equipment turn right. If your energy is low, you should eat something, otherwise your life and mana will start decreasing.";
persontype = "Ninja";
objectnum = 2;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 22
onClipEvent (load) {
objectnum = 3;
with (this) {
gotoAndStop("lamp2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 22
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("lamp2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 22
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 22
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 22
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 22
onClipEvent (load) {
this.swapDepths(239029);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 23
stop();
bgstage = "Arena";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena2";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell15_6.type = 2;
game.cell5_9.type = 2;
game.cell9_5.type = 2;
game.cell10_5.type = 2;
game.cell11_5.type = 2;
game.cell12_5.type = 2;
game.cell12_4.type = 2;
game.cell13_4.type = 2;
game.cell9_4.type = 2;
game.cell8_4.type = 2;
game.cell7_5.type = 2;
Instance of Symbol 1504 MovieClip in Frame 23
onClipEvent (load) {
level = 0;
_root.levelsave = level;
speak = "You have completed all the levels in this portal.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper)) {
if (Key.isDown(32) && (_root.pause == false)) {
if (_root.portallevel[level] <= 20) {
_root.encounter.portaltype = "Human Gateway";
_root.encounter.level = [_root.portallevel[level]];
_root.encounter.label = _root.portal1[_root.portallevel[level]];
_root.bgstage = _root.portalstages[random(_root.portalstages.length)];
_root.encounter.play();
_root.portallevel[level]++;
_root.meet = true;
_root.pause = true;
} else {
_root.TalkBox.SpeakerText = "Information";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 1602 MovieClip in Frame 23
onClipEvent (load) {
stagelabel = "Arena1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("right");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("right", 2, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1542 MovieClip in Frame 23
onClipEvent (load) {
speak = "Step into the portal to fight a human enemy. Make sure you are ready before each battle. Check your potions, equipment, and energy.";
persontype = "Apprentice";
objectnum = 1;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 23
onClipEvent (load) {
speak = "If you find this portal too hard, go train in the training room upstairs.";
persontype = "Guard";
objectnum = 0;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1544 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1584 MovieClip in Frame 23
onClipEvent (load) {
objectnum = 10;
with (this) {
gotoAndStop("Vase");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(239014);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 24
stop();
bgstage = "Arena";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena3";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell7_5.type = 2;
game.cell8_5.type = 2;
game.cell6_5.type = 2;
game.cell4_4.type = 2;
game.cell6_4.type = 2;
game.cell8_4.type = 2;
game.cell15_10.type = 2;
game.cell16_10.type = 2;
game.cell8_10.type = 2;
game.cell17_10.type = 2;
game.cell17_9.type = 2;
Instance of Symbol 1542 MovieClip in Frame 24
onClipEvent (load) {
persontype = "Item Vendor";
inventorytype = "Items_0";
objectnum = 0;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
}
Instance of Symbol 1602 MovieClip in Frame 24
onClipEvent (load) {
stagelabel = "Arena1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("left");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("left", 19, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1504 MovieClip in Frame 24
onClipEvent (load) {
stagelabel = "Arena4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("up", 14, 9.5);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1544 MovieClip in Frame 24
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1584 MovieClip in Frame 24
onClipEvent (load) {
objectnum = 2;
with (this) {
gotoAndStop("Crate");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 24
onClipEvent (load) {
objectnum = 1;
with (this) {
gotoAndStop("Crate");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 24
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("Barrel");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 24
onClipEvent (load) {
speak = "You can buy items here. There are more item vendors upstairs. If you run out of money, talk to the busy merchant at the crates.";
persontype = "Apprentice";
objectnum = 11;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 24
onClipEvent (load) {
persontype = "Item Vendor2";
inventorytype = "Trade";
objectnum = 3;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 24
onClipEvent (load) {
this.gotoAndStop("lamp1");
}
Instance of Symbol 1586 MovieClip in Frame 24
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 24
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 24
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 25
stop();
bgstage = "Arena3";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena0";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell12_6.type = 2;
game.cell13_6.type = 2;
game.cell14_6.type = 2;
game.cell15_6.type = 2;
game.cell16_6.type = 2;
game.cell9_10.type = 2;
game.cell8_10.type = 2;
game.cell7_10.type = 2;
game.cell6_10.type = 2;
game.cell5_10.type = 2;
game.cell4_10.type = 2;
game.cell10_10.type = 2;
game.cell5_4.type = 2;
Instance of Symbol 1504 MovieClip in Frame 25
onClipEvent (load) {
stagelabel = "Arena3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("down", 14, 5.5);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1602 MovieClip in Frame 25
onClipEvent (load) {
stagelabel = "Arena5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("left");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("left", 19, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1544 MovieClip in Frame 25
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1584 MovieClip in Frame 25
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("JapTable2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 25
onClipEvent (load) {
speak = "No.. no.. YOU shut up!";
persontype = "Drinker";
objectnum = 3;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = "Axel-san";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 25
onClipEvent (load) {
speak = "Stop trying to take my bottle!";
persontype = "Drunkard";
objectnum = 5;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 25
onClipEvent (load) {
objectnum = 0;
with (this) {
gotoAndStop("JapTable");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 25
onClipEvent (load) {
speak = "I love you. *hic*";
persontype = "Drinker";
objectnum = 1;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 25
onClipEvent (load) {
speak = "These people shouldn't be drinking. It disrupts the chi and derranges the positive ions formations of their bodies. Not to mention the disturbances within the feng chui.";
persontype = "Ninja";
objectnum = 6;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 25
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 25
onClipEvent (load) {
this.swapDepths(239032);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 25
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 26
stop();
bgstage = "Arena3";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena0";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell15_5.type = 2;
game.cell12_8.type = 2;
game.cell8_5.type = 2;
game.cell13_5.type = 2;
game.cell8_10.type = 2;
game.cell7_10.type = 2;
game.cell6_10.type = 2;
game.cell5_10.type = 2;
game.cell4_10.type = 2;
Instance of Symbol 1602 MovieClip in Frame 26
onClipEvent (load) {
stagelabel = "Arena6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("left");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("left", 19, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1602 MovieClip in Frame 26
onClipEvent (load) {
stagelabel = "Arena4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("right");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("right", 2, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1504 MovieClip in Frame 26
onClipEvent (load) {
stagelabel = "Arena7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("up", 10.5, 9.5);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1542 MovieClip in Frame 26
onClipEvent (load) {
persontype = "Vendor2";
inventorytype = "Items_1";
objectnum = 0;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 26
onClipEvent (load) {
speak = "Before you buy an item, make sure you are strong enough to carry it, otherwise it's a waste of money.";
persontype = "Apprentice";
objectnum = 2;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 26
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("bon2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 26
onClipEvent (load) {
objectnum = 5;
with (this) {
gotoAndStop("bon1");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1695 MovieClip in Frame 26
onClipEvent (load) {
objectnum = 1;
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 26
onClipEvent (load) {
persontype = "Vendor";
inventorytype = "Items_2";
objectnum = 6;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 26
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 26
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 26
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 26
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 27
stop();
bgstage = "Arena3";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena0";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell5_5.type = 2;
game.cell6_5.type = 2;
game.cell7_5.type = 2;
game.cell8_5.type = 2;
game.cell9_5.type = 2;
game.cell10_5.type = 2;
game.cell11_5.type = 2;
game.cell12_5.type = 2;
game.cell13_5.type = 2;
game.cell14_5.type = 2;
game.cell15_5.type = 2;
game.cell16_5.type = 2;
game.cell16_4.type = 2;
game.cell5_4.type = 2;
game.cell8_9.type = 2;
game.cell4_5.type = 2;
game.cell3_5.type = 2;
game.cell2_5.type = 2;
game.cell16_9.type = 2;
game.cell1_5.type = 2;
game.cell18_5.type = 2;
game.cell17_5.type = 2;
game.cell17_4.type = 2;
game.cell18_4.type = 2;
game.cell3_6.type = 2;
Instance of Symbol 1602 MovieClip in Frame 27
onClipEvent (load) {
stagelabel = "Arena5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("right");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("right", 2, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1599 MovieClip in Frame 27
onClipEvent (load) {
item = "Books";
inventorytype = "Books";
objectnum = 1;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.itemthing.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.itemthing.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 27
onClipEvent (load) {
speak = "Welcome to the library! The books and scrolls here contains a lot of helpful information. Reading them might help you overcome the monster portal and the dark rift.";
persontype = "Scribe";
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
}
Instance of Symbol 1544 MovieClip in Frame 27
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1542 MovieClip in Frame 27
onClipEvent (load) {
speak1 = "I've been studying herbs here. If you bring me white leaves, I can make medicine out of it for you.";
speak2 = "Ah! You found some white leaves! Here's your medicine.";
persontype = "Lady";
objectnum = 7;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
speak = speak1;
i = 4;
while (i < 12) {
_root.SearchItem("White Leaves", true);
if (_root.Searched == true) {
_root.GetItem("Medicine", 0);
_root.Searched = false;
speak = speak2;
}
i++;
}
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 27
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("bon1");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 27
onClipEvent (load) {
objectnum = 5;
with (this) {
gotoAndStop("vase2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 27
onClipEvent (load) {
speak = "Most of the books here are very resourceful. I just finished reading the one about Shadow Wolves.";
persontype = "Relaxing Ninja";
objectnum = 2;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 27
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 27
onClipEvent (load) {
this.swapDepths(239014);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 28
stop();
bgstage = "Arena";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena0";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell6_6.type = 2;
game.cell11_6.type = 2;
game.cell10_6.type = 2;
game.cell15_6.type = 2;
game.cell12_6.type = 2;
game.cell9_6.type = 2;
game.cell10_7.type = 2;
game.cell11_7.type = 2;
game.cell3_5.type = 2;
game.cell18_5.type = 2;
Instance of Symbol 1504 MovieClip in Frame 28
onClipEvent (load) {
stagelabel = "Arena5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("down", 10.5, 5.5);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1542 MovieClip in Frame 28
onClipEvent (load) {
persontype = "Statue";
objectnum = 0;
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 28
onClipEvent (load) {
persontype = "Statue2";
objectnum = 1;
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 28
onClipEvent (load) {
persontype = "Statue2";
objectnum = 2;
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1602 MovieClip in Frame 28
onClipEvent (load) {
stagelabel = "Arena8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("right");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("right", 2, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1584 MovieClip in Frame 28
onClipEvent (load) {
objectnum = 3;
with (this) {
gotoAndStop("Urn");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 28
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("Urn");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 28
onClipEvent (load) {
objectnum = 5;
with (this) {
gotoAndStop("Bamboo");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 28
onClipEvent (load) {
objectnum = 6;
with (this) {
gotoAndStop("Bamboo");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1602 MovieClip in Frame 28
onClipEvent (load) {
stagelabel = "Arena9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("left");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("left", 19, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1702 MovieClip in Frame 28
onClipEvent (load) {
speak = "The power of the moon is imbued into your body. You gain an extra skill point!";
_root.Searched = false;
}
onClipEvent (keyDown) {
if ((((this.hitTest(_root.grid.char.stepper) && (Key.isDown(32))) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.SearchItem("Mendo's Ring", true);
if (_root.Searched == true) {
_root.skillpts++;
_root.Searched = false;
_root.TalkBox.SpeakerText = "Information";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
Instance of Symbol 1586 MovieClip in Frame 28
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 28
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 28
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 28
onClipEvent (load) {
this.swapDepths(239029);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 29
stop();
bgstage = "Arena";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena8";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell12_10.type = 2;
game.cell14_4.type = 2;
game.cell18_4.type = 2;
game.cell14_5.type = 2;
game.cell15_5.type = 2;
game.cell16_5.type = 2;
game.cell17_5.type = 2;
game.cell18_5.type = 2;
game.cell15_11.type = 2;
game.cell17_11.type = 2;
game.cell18_9.type = 2;
game.cell10_4.type = 2;
game.cell11_4.type = 2;
game.cell12_4.type = 2;
game.cell13_4.type = 2;
Instance of Symbol 1602 MovieClip in Frame 29
onClipEvent (load) {
stagelabel = "Arena7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("left");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("left", 19, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1544 MovieClip in Frame 29
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1707 MovieClip in Frame 29
onClipEvent (load) {
speak = "Training Room - Step inside and choose your type of training. Hit the target to gain EXP. When the target's shield breaks, you will gain an EXP bonus.";
persontype = "Posted Note";
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
}
Instance of Symbol 1504 MovieClip in Frame 29
onClipEvent (load) {
level = 1;
_root.levelsave = level;
speak = "You have completed all the levels in this portal.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper)) {
if (Key.isDown(32) && (_root.pause == false)) {
if (_root.portallevel[level] <= 10) {
_root.encounter.portaltype = "Monster Portal";
_root.encounter.level = _root.portallevel[level];
_root.encounter.label = _root.portal2[_root.portallevel[level]];
_root.bgstage = _root.portalstages[random(_root.portalstages.length)];
_root.encounter.play();
_root.portallevel[level] = _root.portallevel[level] + 1;
_root.meet = true;
_root.pause = true;
} else {
_root.TalkBox.SpeakerText = "Information";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 1504 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.levelsave = 9;
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop("Training");
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
Instance of Symbol 1542 MovieClip in Frame 29
onClipEvent (load) {
persontype = "Vendor3";
inventorytype = "Items_3";
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
}
Instance of Symbol 1542 MovieClip in Frame 29
onClipEvent (load) {
speak = "The training room can be dangerous, if you are not careful. End the training if your life or energy starts running low. You will still recieve the EXP you earned.";
persontype = "Dark Ninja";
objectnum = 1;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 29
onClipEvent (load) {
speak = "The monsters in the blue portal are very strong. You should at least be around level 7 before entering.";
persontype = "Guard";
objectnum = 0;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 29
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 29
onClipEvent (load) {
this.swapDepths(239032);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 30
stop();
bgstage = "Arena";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena9";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell7_4.type = 2;
game.cell14_4.type = 2;
game.cell8_9.type = 2;
game.cell9_9.type = 2;
game.cell10_9.type = 2;
game.cell9_7.type = 2;
game.cell7_9.type = 2;
game.cell5_7.type = 2;
Instance of Symbol 1544 MovieClip in Frame 30
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1602 MovieClip in Frame 30
onClipEvent (load) {
stagelabel = "Arena7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char)) {
_root.grid.char.pointer.gotoAndPlay("right");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char)) {
if (Key.isDown(32) && (_root.pause == false)) {
_root.clearstage = true;
_root.NewStage("right", 2, Math.ceil(_root.grid.char._y / 30));
this.gotoAndPlay("change");
}
}
}
Instance of Symbol 1584 MovieClip in Frame 30
onClipEvent (load) {
with (this) {
gotoAndStop("vase1");
}
}
Instance of Symbol 1584 MovieClip in Frame 30
onClipEvent (load) {
with (this) {
gotoAndStop("vase3");
}
}
Instance of Symbol 1542 MovieClip in Frame 30
onClipEvent (load) {
speak = "The doorway there will take you to a chamber which only the greatest warriors are allowed to enter.";
persontype = "Dark Ninja";
objectnum = 0;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1504 MovieClip in Frame 30
onClipEvent (load) {
speak = "You must have completed the Human Gateway to enter.";
stagelabel = "Arena10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (((((this.hitTest(_root.grid.char.stepper) && (Key.isDown(32))) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (spacedown != true)) {
if (_root.portallevel[0] > 20) {
_root.clearstage = true;
spacedown = true;
_root.NewStage("up", 10.5, 10);
this.gotoAndPlay("change");
} else {
spacedown = true;
_root.TalkBox.SpeakerText = "Information";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1542 MovieClip in Frame 30
onClipEvent (load) {
speak1 = "I was strolling down the beach yesterday, when I found this strange ring washed on the shore. I don't like it much, so you can have it... it may do you good.";
speak2 = "Did you find a good use for the ring I gave you?";
speak3 = "I have something to give you, but you seem to be full. Come back to me when you can carry another item.";
persontype = "Meditating Ninja";
objectnum = 1;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
if (_root.moon_q == false) {
_root.SearchNone();
if (_root.Searched == true) {
_root.Searched == false;
_root.GetItem("Mendo's Ring", 0);
speak = speak1;
_root.moon_q = true;
} else {
speak = speak3;
}
} else {
speak = speak2;
}
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 30
onClipEvent (load) {
objectnum = 2;
this.gotoAndStop("JapTable");
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 30
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 30
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 30
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 31
stop();
bgstage = "Dark";
bg.gotoAndStop(bgstage);
_root.clearstage = false;
_root.currentstage = "Arena10";
_root.area = "Arena";
game.cell1_3.type = 2;
game.cell2_3.type = 2;
game.cell3_3.type = 2;
game.cell4_3.type = 2;
game.cell5_3.type = 2;
game.cell6_3.type = 2;
game.cell7_3.type = 2;
game.cell8_3.type = 2;
game.cell9_3.type = 2;
game.cell10_3.type = 2;
game.cell11_3.type = 2;
game.cell12_3.type = 2;
game.cell13_3.type = 2;
game.cell14_3.type = 2;
game.cell15_3.type = 2;
game.cell16_3.type = 2;
game.cell17_3.type = 2;
game.cell18_3.type = 2;
game.cell19_3.type = 2;
game.cell20_3.type = 2;
_root.meet = false;
game.cell4_8.type = 2;
game.cell14_6.type = 2;
game.cell5_5.type = 2;
game.cell6_5.type = 2;
game.cell4_5.type = 2;
game.cell18_8.type = 2;
game.cell11_5.type = 2;
game.cell10_5.type = 2;
game.cell12_5.type = 2;
game.cell9_4.type = 2;
game.cell13_4.type = 2;
Instance of Symbol 1544 MovieClip in Frame 31
onClipEvent (load) {
this.swapDepths(30020);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1544 MovieClip in Frame 31
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1504 MovieClip "ar2" in Frame 31
onClipEvent (load) {
level = 2;
_root.levelsave = level;
speak = "You have completed all the levels in this portal.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper) && (_root.portallevel[level] <= 5)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (_root.clearstage == false)) {
if (Key.isDown(32) && (_root.pause == false)) {
if (_root.portallevel[level] > 5) {
_root.TalkBox.SpeakerText = "Information";
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
} else {
_root.encounter.portaltype = "Dark Rift";
_root.encounter.level = _root.portallevel[level];
_root.encounter.label = _root.portal3[_root.portallevel[level]];
_root.bgstage = _root.portalstages[random(_root.portalstages.length)];
_root.encounter.play();
_root.portallevel[level] = _root.portallevel[level] + 1;
_root.meet = true;
_root.pause = true;
}
}
}
}
Instance of Symbol 1542 MovieClip in Frame 31
onClipEvent (load) {
speak = "This is the final portal of the temple. There are only 5 levels in here, but each is extremely hard. You should go find some information about your enemies before you engage them.";
persontype = "Guard";
objectnum = 0;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 31
onClipEvent (load) {
persontype = "Vendor4";
inventorytype = "Items_4";
objectnum = 2;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 31
onClipEvent (load) {
persontype = "Shadow";
inventorytype = "Items_5";
objectnum = 1;
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
_root.hold = false;
}
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) && (_root.meet == false)) && (_root.talking != true)) {
_root.grid.char.movement.gotoAndStop(1);
_root.inventory.gotoAndStop(inventorytype);
_root.inventory._visible = true;
_root.pause = true;
_root.hold = true;
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1504 MovieClip "ar1" in Frame 31
onClipEvent (load) {
stagelabel = "Arena9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.grid.char.stepper)) {
this.gotoAndPlay("yellow");
}
}
onClipEvent (keyDown) {
if (this.hitTest(_root.grid.char.stepper) && (spacedown != true)) {
if (Key.isDown(32)) {
spacedown = true;
_root.clearstage = true;
_root.NewStage("down", 10.5, 6);
this.gotoAndPlay("change");
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
spacedown = false;
}
}
Instance of Symbol 1584 MovieClip in Frame 31
onClipEvent (load) {
objectnum = 3;
with (this) {
gotoAndStop("Bamboo");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 31
onClipEvent (load) {
objectnum = 4;
with (this) {
gotoAndStop("Rock2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1542 MovieClip in Frame 31
onClipEvent (load) {
speak = "I went into the dark rift, but I was defeated by the blood spirit. It has high magical attacks, but no physical damage at all. Its shield was unbreakable!";
persontype = "Wounded Warrior";
objectnum = 5;
}
onClipEvent (keyDown) {
if (this.person.hitTest(_root.grid.char)) {
if (((Key.isDown(32) && (_root.pause == false)) && (_root.talking != true)) && (_root.clearstage == false)) {
_root.TalkBox.SpeakerText = persontype;
_root.TalkBox.TalkText = speak;
_root.TalkBox._visible = true;
_root.pause = true;
_root.talking = true;
_root.TalkBox.gotoAndPlay(1);
}
}
}
onClipEvent (enterFrame) {
if (this.person.hitTest(_root.grid.char)) {
this.gotoAndPlay("yellow");
}
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1584 MovieClip in Frame 31
onClipEvent (load) {
objectnum = 6;
with (this) {
gotoAndStop("Bamboo2");
}
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
if (this._y > _root.charything) {
this.swapDepths(20000 + objectnum);
} else {
this.swapDepths(0 + objectnum);
}
}
Instance of Symbol 1586 MovieClip in Frame 31
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 31
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1586 MovieClip in Frame 33
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 33
onClipEvent (load) {
this.swapDepths(239014);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 33
onClipEvent (load) {
this.swapDepths(239001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 33
onClipEvent (load) {
this.swapDepths(239032);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 33
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1586 MovieClip in Frame 34
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 34
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 34
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 34
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1588 MovieClip in Frame 34
onClipEvent (load) {
this.swapDepths(239029);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 35
stop();
expup = 60;
goldup = 100;
engcost = 20;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2suit = "Thief";
enemy1suit = "Bandit";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Iron Knife";
enemy1shieldtypeb = "Leather Wrist";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 15;
enemy1lifemax = 100;
enemy1life = enemy1lifemax;
enemy1shddmg = 5;
enemy1phydmg = 4;
enemy1magdmg = 0;
enemy1shdptsmax = 35;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 0;
enemy1shdphydef = 20;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Iron Knife";
enemy2shieldtypeb = "Leather Wrist";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 15;
enemy2lifemax = 140;
enemy2life = enemy2lifemax;
enemy2shddmg = 5;
enemy2phydmg = 7;
enemy2magdmg = 0;
enemy2shdptsmax = 35;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 10;
enemy2phydef = 15;
enemy2shdmagdef = 0;
enemy2shdphydef = 20;
enemy2str = 0;
Instance of Symbol 1909 MovieClip "enemy2" in Frame 35
onClipEvent (load) {
attacks = ["attack"];
numofmoves = 1;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 35
onClipEvent (load) {
attacks = ["attack", "Skille0"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "hero2" in Frame 35
onClipEvent (load) {
attacks = ["attack"];
numofmoves = 1;
mcname2 = "hero2";
subject2 = "hero2";
dmgtype2 = "hero";
}
onClipEvent (enterFrame) {
if (_root.hero2life == 0) {
this._visible = false;
} else {
this._visible = true;
}
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero2")) {
if (_root.hero2life > 0) {
if ((_root.enemy1life + _root.enemy2life) > 0) {
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1914 MovieClip "hero2counter" in Frame 35
onClipEvent (load) {
thing = "hero2";
}
Instance of Symbol 1909 MovieClip "hero1" in Frame 35
onClipEvent (load) {
mcname2 = "hero1";
subject2 = "hero1";
dmgtype2 = "hero";
}
Instance of Symbol 1914 MovieClip "hero1counter" in Frame 35
onClipEvent (load) {
thing = "hero1";
}
Instance of Symbol 530 MovieClip "hero1manabar" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.hero1mana / _root.hero1manamax) * widthkeep;
}
Instance of Symbol 526 MovieClip "enemy1bar" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 530 MovieClip "enemy1bar2" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 526 MovieClip "enemy2bar" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 530 MovieClip "enemy2bar2" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 526 MovieClip "hero1bar" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 530 MovieClip "hero1bar2" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 526 MovieClip "hero2bar" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 530 MovieClip "hero2bar2" in Frame 35
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 1927 MovieClip in Frame 35
onClipEvent (load) {
gotoAndStop (35);
}
Instance of Symbol 618 MovieClip in Frame 35
onClipEvent (load) {
this.gotoAndStop(_root.ninjaav);
}
Instance of Symbol 618 MovieClip "fightav2" in Frame 35
onClipEvent (load) {
stop();
}
Instance of Symbol 618 MovieClip "fightav1" in Frame 35
onClipEvent (load) {
stop();
}
Instance of Symbol 1979 MovieClip "pointer1" in Frame 35
onClipEvent (load) {
gotoAndStop (35);
target = "enemy1";
typeoftarget = "herotarget";
otherpointer = "pointer2";
}
Instance of Symbol 1914 MovieClip "enemy1counter" in Frame 35
onClipEvent (load) {
thing = "enemy1";
}
Instance of Symbol 1979 MovieClip "pointer2" in Frame 35
onClipEvent (enterFrame) {
target = "enemy2";
typeoftarget = "herotarget";
otherpointer = "pointer1";
}
Instance of Symbol 1914 MovieClip "enemy2counter" in Frame 35
onClipEvent (load) {
thing = "enemy2";
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[11] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[1] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[12] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[2] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[13] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[3] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[14] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[15] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[5] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[16] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[6] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[17] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[9] > 0) {
this._visible = false;
}
}
Instance of Symbol 1983 MovieClip in Frame 35
onClipEvent (load) {
if (_root.Skill[18] > 0) {
this._visible = false;
}
}
Instance of Symbol 1986 MovieClip in Frame 35
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) {
if (_root.enemy1life > 0) {
_root.pointer1._visible = true;
}
if (_root.enemy2life > 0) {
_root.pointer2._visible = true;
}
this._visible = false;
} else {
this._visible = true;
_root.pointer2._visible = false;
_root.pointer1._visible = false;
}
}
Instance of Symbol 1988 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.hero2life == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1990 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.enemy2life == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1992 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.enemy1life == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 36
stop();
expup = 80;
goldup = 130;
engcost = 30;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2suit = "Warrior";
enemy1suit = "Raider";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Raider Sword";
enemy1shieldtypeb = "Metal Wrist";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 15;
enemy1lifemax = 200;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 5;
enemy1magdmg = 0;
enemy1shdptsmax = 70;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 0;
enemy1shdphydef = 20;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Long Sword";
enemy2shieldtypeb = "Wooden Shield";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 15;
enemy2lifemax = 230;
enemy2life = enemy2lifemax;
enemy2shddmg = 5;
enemy2phydmg = 3;
enemy2magdmg = 0;
enemy2shdptsmax = 140;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 10;
enemy2phydef = 15;
enemy2shdmagdef = 0;
enemy2shdphydef = 20;
enemy2str = 0;
Instance of Symbol 1909 MovieClip "enemy2" in Frame 36
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 36
onClipEvent (load) {
attacks = ["attack", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 37
stop();
expup = 100;
goldup = 220;
engcost = 30;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Seer";
enemy2suit = "Warrior";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Wooden Rod";
enemy1shieldtypeb = "Metal Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 17;
enemy1lifemax = 260;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 3;
enemy1magdmg = 7;
enemy1shdptsmax = 100;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 40;
enemy1phydef = 10;
enemy1shdmagdef = 30;
enemy1shdphydef = 0;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Long Sword";
enemy2shieldtypeb = "Metal Shield";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 14;
enemy2lifemax = 280;
enemy2life = enemy2lifemax;
enemy2shddmg = 10;
enemy2phydmg = 6;
enemy2magdmg = 0;
enemy2shdptsmax = 320;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 10;
enemy2phydef = 30;
enemy2shdmagdef = 0;
enemy2shdphydef = 30;
enemy2str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 37
onClipEvent (load) {
attacks = ["attack", "Skille1", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 38
stop();
ItemRand("Double Razor", "", "", "");
expup = 150;
goldup = 260;
engcost = 30;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Mecenary";
enemy2suit = "Assailant";
enemy2av = enemy2suit;
enemy1av = "Mercenary";
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Double Razor";
enemy1shieldtypeb = "Metal Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 10;
enemy1lifemax = 420;
enemy1life = enemy1lifemax;
enemy1shddmg = 15;
enemy1phydmg = 10;
enemy1magdmg = 0;
enemy1shdptsmax = 170;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 0;
enemy1phydef = 30;
enemy1shdmagdef = 0;
enemy1shdphydef = 30;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Katana";
enemy2shieldtypeb = "Metal Guard";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 50;
enemy2lifemax = 110;
enemy2life = enemy2lifemax;
enemy2shddmg = 15;
enemy2phydmg = 13;
enemy2magdmg = 0;
enemy2shdptsmax = 80;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 10;
enemy2phydef = 25;
enemy2shdmagdef = 10;
enemy2shdphydef = 25;
enemy2str = 0;
Instance of Symbol 1909 MovieClip "enemy2" in Frame 38
onClipEvent (load) {
attacks = ["attack", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 38
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille1", "Skille2", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 39
stop();
expup = 500;
goldup = 320;
engcost = 35;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Ronin";
enemy2suit = "Shaman";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "None";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 20;
enemy1lifemax = 1000;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 10;
enemy1magdmg = 11;
enemy1shdptsmax = 1;
enemy1shdpts = 0;
enemy1magdef = 40;
enemy1phydef = 40;
enemy1shdmagdef = 0;
enemy1shdphydef = 0;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Wooden Rod";
enemy2shieldtypeb = "None";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 20;
enemy2lifemax = 1000;
enemy2life = enemy2lifemax;
enemy2shddmg = 8;
enemy2phydmg = 9;
enemy2magdmg = 8;
enemy2shdptsmax = 1;
enemy2shdpts = 0;
enemy2magdef = 50;
enemy2phydef = 20;
enemy2shdmagdef = 0;
enemy2shdphydef = 0;
enemy2str = 0;
Instance of Symbol 1909 MovieClip "enemy2" in Frame 39
onClipEvent (load) {
attacks = ["attack", "Skille1", "Skille3", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 39
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille4", "Skille5", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 40
stop();
expup = 550;
goldup = 750;
engcost = 35;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Samurai";
enemy2suit = "Samurai";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "Metal Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 17;
enemy1lifemax = 1350;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 14;
enemy1magdmg = 10;
enemy1shdpts = 150;
enemy1shdptsmax = enemy1shdpts;
enemy1magdef = 30;
enemy1phydef = 40;
enemy1shdmagdef = 30;
enemy1shdphydef = 40;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Long Sword";
enemy2shieldtypeb = "Double Blade";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 17;
enemy2lifemax = 1350;
enemy2life = enemy2lifemax;
enemy2shddmg = 10;
enemy2phydmg = 10;
enemy2magdmg = 14;
enemy2shdptsmax = 150;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 30;
enemy2phydef = 40;
enemy2shdmagdef = 30;
enemy2shdphydef = 40;
enemy2str = 0;
Instance of Symbol 1909 MovieClip "enemy2" in Frame 40
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille4"];
numofmoves = attacks.length;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 40
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille4"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 41
stop();
expup = 300;
goldup = 450;
engcost = 45;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Skeleton";
enemy2suit = "Zombie";
enemy2av = "Undead";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Big Axe";
enemy1shieldtypeb = "Metal Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 25;
enemy1lifemax = 400;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 14;
enemy1magdmg = 10;
enemy1shdpts = 300;
enemy1shdptsmax = enemy1shdpts;
enemy1magdef = 10;
enemy1phydef = 10;
enemy1shdmagdef = 10;
enemy1shdphydef = 10;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Hammer";
enemy2shieldtypeb = "None";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 17;
enemy2lifemax = 1500;
enemy2life = enemy2lifemax;
enemy2shddmg = 10;
enemy2phydmg = 30;
enemy2magdmg = 0;
enemy2shdptsmax = 1;
enemy2shdpts = 0;
enemy2magdef = 20;
enemy2phydef = 60;
enemy2shdmagdef = 20;
enemy2shdphydef = 40;
enemy2str = 0;
Frame 42
stop();
expup = 350;
goldup = 450;
engcost = 50;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Skeleton Mage";
enemy2suit = "Skeleton";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1shieldtypeb = "Robe";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 27;
enemy1lifemax = 500;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 5;
enemy1magdmg = 28;
enemy1shdpts = 1200;
enemy1shdptsmax = enemy1shdpts;
enemy1magdef = 50;
enemy1phydef = 10;
enemy1shdmagdef = 50;
enemy1shdphydef = 30;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2swordtype = "Raider Sword";
enemy2shieldtypeb = "Metal Shield";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 27;
enemy2lifemax = 450;
enemy2life = enemy2lifemax;
enemy2shddmg = 10;
enemy2phydmg = 17;
enemy2magdmg = 5;
enemy2shdptsmax = 350;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 20;
enemy2phydef = 20;
enemy2shdmagdef = 20;
enemy2shdphydef = 20;
enemy2str = 0;
Instance of Symbol 2010 MovieClip "enemy1" in Frame 42
onClipEvent (load) {
attacks = ["attack1", "attack2", "heal"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
} else {
_root.enemytarget = "hero1";
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 43
stop();
expup = 350;
goldup = 460;
engcost = 35;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2suit = "Mountain Naga";
enemy1suit = "Golem";
enemy2av = enemy2suit;
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
fightav2.gotoAndStop(enemy2av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Club";
enemy1shieldtypeb = "Rock Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 27;
enemy1lifemax = 1000;
enemy1life = enemy1lifemax;
enemy1shddmg = 20;
enemy1phydmg = 25;
enemy1magdmg = 0;
enemy1shdpts = 300;
enemy1shdptsmax = enemy1shdpts;
enemy1magdef = 30;
enemy1phydef = 50;
enemy1shdmagdef = 80;
enemy1shdphydef = 80;
enemy1str = 0;
enemy2bodyparts = new Array();
enemy2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy2helmet = enemy2suit;
enemy2shieldtypeb = "Metal Shield";
enemy2shieldtype = enemy2shieldtypeb;
enemy2speed = 27;
enemy2lifemax = 1150;
enemy2life = enemy2lifemax;
enemy2shddmg = 0;
enemy2phydmg = 17;
enemy2magdmg = 10;
enemy2shdptsmax = 450;
enemy2shdpts = enemy2shdptsmax;
enemy2magdef = 30;
enemy2phydef = 30;
enemy2shdmagdef = 30;
enemy2shdphydef = 30;
enemy2str = 0;
Instance of Symbol 2041 MovieClip "enemy2" in Frame 43
onClipEvent (load) {
attacks = ["attack2", "attack"];
numofmoves = attacks.length;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
} else {
_root.enemytarget = "hero1";
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 43
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille4"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 49
enemy1speed = 15;
stop();
expup = 30;
goldup = 30;
engcost = 10;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Thief";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Iron Knife";
enemy1shieldtypeb = "Leather Wrist";
enemy1shieldtype = enemy1shieldtypeb;
enemy1phydmg = 5;
enemy1magdmg = 0;
enemy1shddmg = 5;
enemy1lifemax = 60;
enemy1shdptsmax = 20;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 0;
enemy1shdphydef = 20;
enemy1str = 0;
enemy1life = enemy1lifemax;
enemy1shdpts = enemy1shdptsmax;
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
Instance of Symbol 2061 MovieClip "enemy2" in Frame 49
onClipEvent (load) {
attacks = ["attack"];
numofmoves = 1;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1909 MovieClip "enemy1" in Frame 49
onClipEvent (load) {
attacks = ["attack"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 50
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 30;
goldup = 40;
engcost = 10;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Bandit";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Iron Knife";
enemy1shieldtypeb = "Metal Wrist";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 15;
enemy1lifemax = 40;
enemy1life = enemy1lifemax;
enemy1shddmg = 5;
enemy1phydmg = 7;
enemy1magdmg = 0;
enemy1shdptsmax = 60;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 0;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 50
onClipEvent (load) {
attacks = ["attack", "Skille0"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 51
stop();
ItemRand("Raider Sword", "", "", "");
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 40;
goldup = 50;
engcost = 10;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Raider";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Raider Sword";
enemy1shieldtypeb = "Metal Wrist";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 15;
enemy1lifemax = 120;
enemy1life = enemy1lifemax;
enemy1shddmg = 5;
enemy1phydmg = 9;
enemy1magdmg = 0;
enemy1shdptsmax = 15;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 0;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 51
onClipEvent (load) {
attacks = ["attack", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 52
stop();
ItemRand("Wooden Shield", "Long Sword", "", "");
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 40;
goldup = 60;
engcost = 15;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Warrior";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Long Sword";
enemy1shieldtypeb = "Wooden Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 15;
enemy1lifemax = 180;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 8;
enemy1magdmg = 0;
enemy1shdptsmax = 200;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 0;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 52
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 53
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 40;
goldup = 70;
engcost = 15;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Seer";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Wooden Rod";
enemy1shieldtypeb = "Wooden Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 17;
enemy1lifemax = 200;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 2;
enemy1magdmg = 8;
enemy1shdptsmax = 170;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 30;
enemy1phydef = 10;
enemy1shdmagdef = 60;
enemy1shdphydef = 15;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 53
onClipEvent (load) {
attacks = ["attack", "Skille1", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 54
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 60;
goldup = 80;
engcost = 15;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Mecenary";
enemy1av = "Mercenary";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Long Sword";
enemy1shieldtypeb = "Metal Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 14;
enemy1lifemax = 400;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 12;
enemy1magdmg = 0;
enemy1shdptsmax = 150;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 20;
enemy1phydef = 20;
enemy1shdmagdef = 70;
enemy1shdphydef = 70;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 54
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille1", "Skille2", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 55
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 60;
goldup = 90;
engcost = 15;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Assailant";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "Hand Blade";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 50;
enemy1lifemax = 100;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 14;
enemy1magdmg = 0;
enemy1shdptsmax = 40;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 5;
enemy1phydef = 30;
enemy1shdmagdef = 15;
enemy1shdphydef = 15;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 55
onClipEvent (load) {
attacks = ["attack", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 56
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 150;
goldup = 160;
engcost = 20;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Agent";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "Metal Wrist";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 19;
enemy1lifemax = 550;
enemy1life = enemy1lifemax;
enemy1shddmg = 15;
enemy1phydmg = 17;
enemy1magdmg = 0;
enemy1shdptsmax = 250;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = -15;
enemy1phydef = 40;
enemy1shdmagdef = 25;
enemy1shdphydef = 50;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 56
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille1", "Skille2", "Skille3", "Skille4", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 57
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 150;
goldup = 120;
engcost = 20;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Seer";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Golden Rod";
enemy1shieldtypeb = "Metal Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 19;
enemy1lifemax = 600;
enemy1life = enemy1lifemax;
enemy1shddmg = 15;
enemy1phydmg = 4;
enemy1magdmg = 15;
enemy1shdptsmax = 250;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 60;
enemy1phydef = 15;
enemy1shdmagdef = 60;
enemy1shdphydef = 30;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 57
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille1", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 58
stop();
enemy2lifemax = 0;
ItemRand("Wooden Staff", "", "", "");
enemy2life = enemy2lifemax;
expup = 200;
goldup = 70;
engcost = 20;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Shaman";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Wooden Staff";
enemy1shieldtypeb = "None";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 19;
enemy1phydmg = 7;
enemy1magdmg = 14;
enemy1shddmg = 7;
enemy1lifemax = 700;
enemy1shdpts = 0;
enemy1shdptsmax = 1;
enemy1life = enemy1lifemax;
enemy1magdef = 40;
enemy1phydef = 40;
enemy1shdmagdef = 0;
enemy1shdphydef = 0;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 58
onClipEvent (load) {
attacks = ["attack", "Skille1", "Skille2", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 59
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 120;
goldup = 120;
engcost = 25;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Assailant";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "Double Blade";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 60;
enemy1phydmg = 23;
enemy1magdmg = 0;
enemy1shddmg = 20;
enemy1lifemax = 180;
enemy1shdpts = 70;
enemy1shdptsmax = enemy1shdpts;
enemy1life = enemy1lifemax;
enemy1magdef = 15;
enemy1phydef = 40;
enemy1shdmagdef = 15;
enemy1shdphydef = 40;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 59
onClipEvent (load) {
attacks = ["attack", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 60
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 120;
goldup = 120;
engcost = 25;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Ronin";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "None";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 19;
enemy1phydmg = 10;
enemy1magdmg = 13;
enemy1shddmg = 20;
enemy1lifemax = 900;
enemy1shdpts = 0;
enemy1shdptsmax = 1;
enemy1life = enemy1lifemax;
enemy1magdef = 40;
enemy1phydef = 40;
enemy1shdmagdef = 0;
enemy1shdphydef = 0;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 60
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille4", "Skille5", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 61
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 120;
goldup = 140;
engcost = 25;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Agent";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Silver Knife";
enemy1shieldtypeb = "Double Blade";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 21;
enemy1phydmg = 19;
enemy1magdmg = 0;
enemy1shddmg = 10;
enemy1lifemax = 1000;
enemy1shdpts = 120;
enemy1shdptsmax = enemy1shdpts;
enemy1life = enemy1lifemax;
enemy1magdef = -10;
enemy1phydef = 40;
enemy1shdmagdef = 90;
enemy1shdphydef = 90;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 61
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille1", "Skille2", "Skille3", "Skille4", "Skille5", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 62
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 160;
goldup = 230;
engcost = 25;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Samurai";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Katana";
enemy1shieldtypeb = "Metal Guard";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 18;
enemy1phydmg = 18;
enemy1magdmg = 0;
enemy1shddmg = 10;
enemy1lifemax = 1100;
enemy1shdpts = 150;
enemy1shdptsmax = enemy1shdpts;
enemy1life = enemy1lifemax;
enemy1magdef = 30;
enemy1phydef = 40;
enemy1shdmagdef = 30;
enemy1shdphydef = 40;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 62
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille4", "Skille5", "heallife"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 64
enemy1speed = 35;
stop();
expup = 170;
goldup = 250;
engcost = 30;
enemy1av = "Poison Wasp";
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1phydmg = 16;
enemy1magdmg = 0;
enemy1shddmg = 5;
enemy1lifemax = 550;
enemy1shdptsmax = 1;
enemy1magdef = 10;
enemy1phydef = 15;
enemy1shdmagdef = 10;
enemy1shdphydef = 10;
enemy1str = 0;
enemy1life = enemy1lifemax;
enemy1shdpts = 0;
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
Instance of Symbol 2061 MovieClip "enemy1" in Frame 64
onClipEvent (load) {
attacks = ["attack", "attack2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 65
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 180;
goldup = 225;
engcost = 30;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Zombie";
enemy1av = "Undead";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Hammer";
enemy1shieldtype = "None";
enemy1speed = 15;
enemy1lifemax = 1200;
enemy1life = enemy1lifemax;
enemy1shddmg = 7;
enemy1phydmg = 28;
enemy1magdmg = 0;
enemy1shdptsmax = 1;
enemy1shdpts = 0;
enemy1magdef = 10;
enemy1phydef = 40;
enemy1shdmagdef = 20;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 65
onClipEvent (load) {
attacks = ["attack", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 66
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 200;
goldup = 260;
engcost = 30;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1av = "Skeleton Mage";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1shieldtypeb = "Robe";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 22;
enemy1lifemax = 400;
enemy1life = enemy1lifemax;
enemy1shddmg = 0;
enemy1phydmg = 0;
enemy1magdmg = 32;
enemy1shdptsmax = 800;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 30;
enemy1phydef = 10;
enemy1shdmagdef = 60;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 2010 MovieClip "enemy1" in Frame 66
onClipEvent (load) {
attacks = ["attack1", "attack2", "heal"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 67
stop();
ItemRand("Metal Shield", "", "", "");
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 200;
goldup = 265;
engcost = 30;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Mountain Naga";
enemy1av = "Mountain Naga";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1shieldtypeb = "Metal Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 22;
enemy1lifemax = 1100;
enemy1life = enemy1lifemax;
enemy1shddmg = 30;
enemy1phydmg = 25;
enemy1magdmg = 4;
enemy1shdptsmax = 400;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 40;
enemy1phydef = 40;
enemy1shdmagdef = 20;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 2041 MovieClip "enemy1" in Frame 67
onClipEvent (load) {
attacks = ["attack2", "attack"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
} else {
_root.enemytarget = "hero1";
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 68
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 200;
goldup = 270;
engcost = 35;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Golem";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Club";
enemy1shieldtypeb = "Rock Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 20;
enemy1lifemax = 700;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 28;
enemy1magdmg = 3;
enemy1shdptsmax = 200;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 40;
enemy1phydef = 60;
enemy1shdmagdef = 80;
enemy1shdphydef = 80;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 68
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 69
stop();
ItemRand("Demon Sword", "Demon Shield", "", "");
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 300;
goldup = 300;
engcost = 40;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Semi Demon";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Demon Sword";
enemy1shieldtypeb = "Demon Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 25;
enemy1lifemax = 2300;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 25;
enemy1magdmg = 10;
enemy1shdptsmax = 200;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 10;
enemy1phydef = 50;
enemy1shdmagdef = 30;
enemy1shdphydef = 30;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 69
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille2", "Skille3", "Skille4", "Skille5"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 70
stop();
ItemRand("Spike Sword", "Spike Shield", "", "");
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 500;
goldup = 500;
engcost = 40;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Flesh Fiend";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Spike Sword";
enemy1shieldtypeb = "Spike Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 30;
enemy1lifemax = 2350;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 30;
enemy1magdmg = 10;
enemy1shdptsmax = 350;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 40;
enemy1phydef = 40;
enemy1shdmagdef = 60;
enemy1shdphydef = 60;
enemy1str = 0;
Frame 72
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 300;
goldup = 300;
engcost = 50;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Liquid Metal";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Guard Blade";
enemy1shieldtypeb = "Metal Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 27;
enemy1lifemax = 3000;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 60;
enemy1magdmg = 0;
enemy1shdptsmax = 350;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 20;
enemy1phydef = 70;
enemy1shdmagdef = 30;
enemy1shdphydef = 30;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 72
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille4", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 73
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 400;
goldup = 300;
engcost = 55;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Blood Spirit";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1speed = 35;
enemy1lifemax = 1800;
enemy1life = enemy1lifemax;
enemy1shddmg = 0;
enemy1phydmg = 0;
enemy1magdmg = 65;
enemy1shdptsmax = 4000;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 65;
enemy1phydef = 0;
enemy1shdmagdef = 50;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 2100 MovieClip "enemy1" in Frame 73
onClipEvent (load) {
attacks = ["attack", "ice", "fire"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 74
stop();
ItemRand("Fallen Blade", "Fallen Shield", "", "");
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 500;
goldup = 400;
engcost = 70;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Fallen Guardian";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Fallen Blade";
enemy1shieldtypeb = "Fallen Shield";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 38;
enemy1lifemax = 4000;
enemy1life = enemy1lifemax;
enemy1shddmg = 10;
enemy1phydmg = 50;
enemy1magdmg = 20;
enemy1shdptsmax = 2300;
enemy1shdpts = enemy1shdptsmax;
enemy1magdef = 40;
enemy1phydef = 40;
enemy1shdmagdef = 20;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 74
onClipEvent (load) {
attacks = ["attack", "Skille0", "Skille4", "Skille2"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 75
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 600;
goldup = 500;
engcost = 80;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Fallen Ninja";
enemy1av = "Anti Ninja";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Shadow Katana";
enemy1shieldtypeb = "None";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 80;
enemy1lifemax = 4000;
enemy1life = enemy1lifemax;
enemy1shddmg = 5;
enemy1phydmg = 65;
enemy1magdmg = 15;
enemy1shdptsmax = 1;
enemy1shdpts = 0;
enemy1magdef = 0;
enemy1phydef = 0;
enemy1shdmagdef = 20;
enemy1shdphydef = 20;
enemy1str = 0;
Frame 76
stop();
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
expup = 700;
goldup = 600;
engcost = 80;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1suit = "Shadow Reaper";
enemy1av = enemy1suit;
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1swordtype = "Scythe";
enemy1shieldtypeb = "None";
enemy1shieldtype = enemy1shieldtypeb;
enemy1speed = 60;
enemy1lifemax = 1000;
enemy1life = enemy1lifemax;
enemy1shddmg = 5;
enemy1phydmg = 65;
enemy1magdmg = 15;
enemy1shdptsmax = 1;
enemy1shdpts = 0;
enemy1magdef = 85;
enemy1phydef = 85;
enemy1shdmagdef = 20;
enemy1shdphydef = 20;
enemy1str = 0;
Instance of Symbol 1909 MovieClip "enemy1" in Frame 76
onClipEvent (load) {
attacks = ["Skille6", "Skille7"];
numofmoves = attacks.length;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 79
enemy1speed = 40;
_root.endtrain = false;
enemy1suit = "Training Ward";
enemy1av = enemy1suit;
stop();
expup = 0;
goldup = 0;
engcost = 0;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1shieldtypeb = "Invisi";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1phydmg = 12;
enemy1magdmg = 12;
enemy1shddmg = 100;
enemy1lifemax = 300;
enemy1shdptsmax = 700;
enemy1magdef = 50;
enemy1phydef = 0;
enemy1shdmagdef = 0;
enemy1shdphydef = 50;
enemy1str = 0;
enemy1life = enemy1lifemax;
enemy1shdpts = enemy1shdptsmax;
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
Instance of Symbol 2124 MovieClip "enemy1" in Frame 79
onClipEvent (load) {
attacks = ["attack", "none", "heal", "ice", "fire"];
numofmoves = 5;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 526 MovieClip "engbar" in Frame 79
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Frame 80
enemy1speed = 30;
_root.endtrain = false;
enemy1suit = "Training Ward";
enemy1av = enemy1suit;
stop();
expup = 0;
goldup = 0;
engcost = 0;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1shieldtypeb = "Invisi";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1phydmg = 8;
enemy1magdmg = 8;
enemy1shddmg = 100;
enemy1lifemax = 180;
enemy1shdptsmax = 500;
enemy1magdef = 50;
enemy1phydef = 0;
enemy1shdmagdef = 0;
enemy1shdphydef = 50;
enemy1str = 0;
enemy1life = enemy1lifemax;
enemy1shdpts = enemy1shdptsmax;
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
Instance of Symbol 2124 MovieClip "enemy1" in Frame 80
onClipEvent (load) {
attacks = ["attack", "none", "heal", "ice"];
numofmoves = 4;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 81
enemy1speed = 15;
_root.endtrain = false;
enemy1suit = "Training Ward";
enemy1av = enemy1suit;
stop();
expup = 0;
goldup = 0;
engcost = 0;
enemy1bodyparts = new Array();
enemy1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
enemy1shieldtypeb = "Invisi";
fightav1.gotoAndStop(enemy1av);
enemy1helmet = enemy1suit;
enemy1phydmg = 5;
enemy1magdmg = 5;
enemy1shddmg = 100;
enemy1lifemax = 80;
enemy1shdptsmax = 300;
enemy1magdef = 50;
enemy1phydef = 0;
enemy1shdmagdef = 0;
enemy1shdphydef = 50;
enemy1str = 0;
enemy1life = enemy1lifemax;
enemy1shdpts = enemy1shdptsmax;
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
Instance of Symbol 2124 MovieClip "enemy1" in Frame 81
onClipEvent (load) {
attacks = ["attack", "none", "heal"];
numofmoves = 3;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
if (_root.hero2life > 0) {
randtarg = random(2) + 1;
_root.enemytarget = "hero" + randtarg;
} else {
_root.enemytarget = "hero1";
}
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Frame 82
enemy2lifemax = 0;
enemy2life = enemy2lifemax;
stop();
expup = 30;
engcost = 10;
goldup = 15;
enemy1speed = 15;
enemy1str = 0;
enemy1lifemax = 50;
enemy1life = enemy1lifemax;
enemy1shddmg = 3;
enemy1phydmg = 8;
enemy1magdmg = 0;
enemy1shdpts = 0;
enemy1shdptsmax = 1;
enemy1magdef = 0;
enemy1phydef = 30;
enemy1shdmagdef = 0;
enemy1shdphydef = 0;
Instance of Symbol 2061 MovieClip "enemy1" in Frame 82
onClipEvent (load) {
attacks = ["attack"];
numofmoves = 1;
mcname2 = "enemy1";
subject2 = "enemy1";
dmgtype2 = "enemy";
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy1")) {
if (_root.enemy1life > 0) {
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1979 MovieClip "pointer1" in Frame 82
onClipEvent (load) {
if (_root.enemy1life == 0) {
this._visible = false;
}
gotoAndStop (35);
target = "enemy1";
typeoftarget = "herotarget";
otherpointer = "pointer2";
}
Frame 83
enemy2life = 45;
enemy2lifemax = enemy2life;
stop();
expup = 75;
engcost = 15;
goldup = 40;
enemy1speed = 15;
enemy1str = 0;
enemy1life = 75;
enemy1lifemax = enemy1life;
enemy1shddmg = 5;
enemy1phydmg = 6;
enemy1magdmg = 0;
enemy1shdptsmax = 1;
enemy1shdpts = 0;
enemy1magdef = 0;
enemy1phydef = 30;
enemy1shdmagdef = 0;
enemy1shdphydef = 0;
enemy2speed = 15;
enemy2str = 0;
enemy2life = 40;
enemy2lifemax = enemy2life;
enemy2shddmg = 1;
enemy2phydmg = 9;
enemy2magdmg = 0;
enemy2shdpts = 0;
enemy2shdptsmax = 1;
enemy2magdef = 0;
enemy2phydef = 30;
enemy2shdmagdef = 0;
enemy2shdphydef = 0;
Instance of Symbol 1979 MovieClip "pointer2" in Frame 83
onClipEvent (load) {
target = "enemy2";
typeoftarget = "herotarget";
otherpointer = "pointer1";
}
onClipEvent (enterFrame) {
if (_root.enemy2life == 0) {
this._visible = false;
}
}
Instance of Symbol 2061 MovieClip "enemy2" in Frame 83
onClipEvent (load) {
attacks = ["attack"];
numofmoves = 1;
mcname2 = "enemy2";
subject2 = "enemy2";
dmgtype2 = "enemy";
if (_root.enemy2life == 0) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "enemy2")) {
if (_root.enemy2life > 0) {
_root.Fight(attacks[random(numofmoves)]);
_root.midfight = true;
}
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Instance of Symbol 1979 MovieClip "pointer1" in Frame 83
onClipEvent (load) {
gotoAndStop (35);
target = "enemy1";
typeoftarget = "herotarget";
otherpointer = "pointer2";
}
onClipEvent (enterFrame) {
if (_root.enemy1life == 0) {
this._visible = false;
}
}
Frame 85
itemsign._visible = false;
if (droppedstuff != "None") {
GetItemDrop(droppedstuff);
droppedstuff = "None";
}
_root.conbut._visible = false;
stopAllSounds();
_root.playSound("Orc");
Instance of Symbol 526 MovieClip in Frame 85
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.expb / _root.expmaxb) * widthkeep;
}
onClipEvent (enterFrame) {
this._width = (_root.expb / _root.expmaxb) * widthkeep;
}
Instance of Symbol 2164 MovieClip in Frame 85
onClipEvent (load) {
function goldUP() {
if (_root.goldup > 0) {
_root.goldup--;
_root.gold++;
}
}
function expUP() {
if (_root.expup > 0) {
_root.expup--;
_root.expb++;
if (_root.expb == _root.expmaxb) {
_root.statpts++;
_root.skillpts++;
_root.lifemaxb = _root.lifemaxb + 5;
_root.manamaxb = _root.manamaxb + 5;
_root.engmaxb = _root.engmaxb + 3;
_root.level++;
i = 1;
while (i < 20) {
if ((_root.level / 5) == i) {
_root.strb = _root.strb + 2;
_root.speedb = _root.speedb + 2;
_root.skillpts++;
_root.bonusplus._visible = true;
}
i++;
}
_root.expb = 0;
_root.expmaxb = 50 * _root.level;
_root.expb = _root.expb + _root.expup;
if (_root.expb >= _root.expmaxb) {
_root.expb = _root.expmaxb - 1;
}
_root.gotoAndStop("levelup");
}
}
}
}
onClipEvent (enterFrame) {
if (_root.goldup > 0) {
goldUP();
goldUP();
goldUP();
goldUP();
goldUP();
goldUP();
goldUP();
goldUP();
} else if (_root.expup > 0) {
expUP();
expUP();
expUP();
expUP();
expUP();
expUP();
expUP();
} else {
_root.conbut._visible = true;
}
}
Instance of Symbol 2175 MovieClip "bonusplus" in Frame 85
onClipEvent (load) {
this._visible = false;
}
Frame 87
_root.conbut._visible = false;
Frame 88
for (i in _root.skill) {
_root["skillx" + i] = _root.skill[i];
}
_root.skillx19 = _root.skill[19];
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[2] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[3] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[6] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[8] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[9] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[7] > 0)) && (_root.skill[11] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[12] > 0)) && (_root.skill[5] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (((_root.level >= 15) && (_root.skill[13] > 0)) && (_root.skill[14] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if ((_root.level >= 15) && (_root.skill[15] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Frame 88
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Frame 89
prevFrame();
Frame 90
user = SharedObject.getLocal("user_profile");
_root.conbut._visible = false;
stopAllSounds();
_root.playSound("Over");
Frame 91
stop();
Frame 101
playSound("Dream");
stop();
Instance of Symbol 87 MovieClip [FScrollBarSymbol] in Frame 101
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Frame 102
stopAllSounds();
playSound("Over2");
stop();
Frame 103
stop();
Frame 104
stop();
Frame 105
stop();
Frame 106
stopAllSounds();
playSound("Violin");
Frame 323
stop();
Instance of Symbol 481 MovieClip in Frame 323
onClipEvent (load) {
this.gotoAndPlay("FadeIn");
}
Symbol 3 MovieClip [FLabelSymbol] Frame 1
#initclip 3
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 6 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 6 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 6 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 7 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 20 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 29 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 38 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 39 MovieClip [UpArrow] Frame 1
stop();
Symbol 39 MovieClip [UpArrow] Frame 2
stop();
Symbol 39 MovieClip [UpArrow] Frame 3
stop();
Symbol 46 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 53 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 58 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 59 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 67 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 75 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 83 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 84 MovieClip [DownArrow] Frame 1
stop();
Symbol 84 MovieClip [DownArrow] Frame 2
stop();
Symbol 84 MovieClip [DownArrow] Frame 3
stop();
Symbol 86 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 87 MovieClip [FScrollBarSymbol] Frame 1
#initclip 5
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 88 MovieClip [DataProviderSymbol] Frame 1
#initclip 2
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
this.items = new Array();
this.uniqueID = 0;
this.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var eventObj = {event:"updateAll"};
viewRef.modelChanged(eventObj);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
if (index < this.getLength()) {
this.items.splice(index, 0, "tmp");
}
this.items[index] = new Object();
if (typeof(value) == "object") {
this.items[index] = value;
} else {
this.items[index].label = value;
}
this.items[index].__ID__ = this.uniqueID++;
var eventObj = {event:"addRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var tmpItm = this.items[index];
this.items.splice(index, 1);
var eventObj = {event:"deleteRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
this.items = new Array();
this.updateViews({event:"deleteRows", firstRow:0, lastRow:this.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
if ((index < 0) || (index >= this.getLength())) {
return(undefined);
}
var tmpID = this.getItemID(index);
if (typeof(itemObj) == "object") {
this.items[index] = itemObj;
} else {
this.items[index].label = itemObj;
}
this.items[index].__ID__ = tmpID;
this.updateViews({event:"updateRows", firstRow:index, lastRow:index});
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
this.items.sortOn(fieldName);
if (order == "DESC") {
this.items.reverse();
}
this.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var i = 0;
while (i < this.views.length) {
this.views[i].modelChanged(eventObj);
i++;
}
};
#endinitclip
Symbol 89 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 7
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
if (this._name != "itemAsset") {
this.highlighted = false;
this.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
this.displayContent(itmObj, selected);
if ((this.highlighted != selected) || ((this.controller.focused != this.oldFocus) && (selected))) {
this.setHighlighted(selected);
}
this.oldFocus = this.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var LOWEST_DEPTH = -16384;
this.width = width;
this.layoutContent(width);
this.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH);
this.highlight_mc._x = 0.5;
this.highlight_mc._width = width - 0.5;
this.highlight_mc._height = height;
this.highlight_mc.controller = this;
this.highlight_mc._alpha = 0;
this.highlight_mc.trackAsMenu = true;
this.highlight_mc.onPress = function () {
if (this.controller.enable) {
this.controller.controller.clickHandler(this.controller.itemNum);
}
};
this.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
this.highlight_mc.useHandCursor = false;
this.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
this.enable = enabledFlag;
this.fLabel_mc.setEnabled(enabledFlag);
this.highlight_mc.gotoAndStop((enabledFlag ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller});
this.fLabel_mc._x = 2;
this.fLabel_mc._y = 0;
this.fLabel_mc.setSize(width - 2);
this.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var tmpLabel = "";
if (itmObj.label != undefined) {
tmpLabel = itmObj.label;
} else if (typeof(itmObj) == "object") {
for (var i in itmObj) {
if (i != "__ID__") {
tmpLabel = (itmObj[i] + ", ") + tmpLabel;
}
}
tmpLabel = tmpLabel.substring(0, tmpLabel.length - 2);
} else {
tmpLabel = itmObj;
}
if (this.fLabel_mc.labelField.text != tmpLabel) {
this.fLabel_mc.setLabel(tmpLabel);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
fade = this.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!flag)) {
this.highlight_mc._alpha = (flag ? 100 : 0);
delete this.onEnterFrame;
} else {
this.fadeN = fade;
this.fadeX = 1;
this.highLight_mc._alpha = 20;
this.onEnterFrame = function () {
this.highLight_mc._alpha = (60 * Math.sqrt((this.fadeX++) / this.fadeN)) + 40;
if (this.fadeX > this.fadeN) {
delete this.onEnterFrame;
}
};
}
this.highlighted = flag;
};
#endinitclip
Symbol 90 MovieClip [FSelectableListSymbol] Frame 1
#initclip 4
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
super.init();
this.enable = true;
this.selected = new Array();
this.topDisplayed = (this.numDisplayed = 0);
this.lastSelected = 0;
this.tabChildren = false;
if (this._name != undefined) {
this.dataProvider = new DataProviderClass();
this.dataProvider.addView(this);
}
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndex();
var item = this.getItemAt(index);
this.dataProvider.removeItemAt(index);
return(item);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
this.lastSelID = this.dataProvider.getItemID(this.lastSelected);
this.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
for (var uniqueID in this.selected) {
var tmpInd = this.selected[uniqueID].sIndex;
if (tmpInd != undefined) {
return(tmpInd);
}
}
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var item = this.getSelectedItem();
return(((item.data == undefined) ? (item.label) : (item.data)));
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
if (((index >= 0) && (index < this.getLength())) && (this.enable)) {
this.clearSelected();
this.selectItem(index, true);
this.lastSelected = index;
this.invalidate("updateControl");
if (flag != false) {
this.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
this.setScrollPosition(0);
this.clearSelected();
if (obj instanceof Array) {
this.dataProvider = new DataProviderClass();
var i = 0;
while (i < obj.length) {
var value = ((typeof(obj[i]) == "string") ? ({label:obj[i]}) : (obj[i]));
this.dataProvider.addItem(value);
i++;
}
} else {
this.dataProvider = obj;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
this.tmpPos = this.getScrollPosition();
this.itemSymbol = linkID;
this.invalidate("setSize");
this.setScrollPosition(this.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
this.cleanUI();
super.setEnabled(enabledFlag);
this.enable = enabledFlag;
this.boundingBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
var limit = Math.min(this.numDisplayed, this.getLength());
var i = 0;
while (i < limit) {
this.container_mc[("fListItem" + i) + "_mc"].setEnabled(this.enable);
i++;
}
if (this.enable) {
this.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + i), this.isSelected(this.topDisplayed + i));
i++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.boundingBox_mc._xscale = (this.boundingBox_mc._yscale = 100);
this.boundingBox_mc._xscale = (this.width * 100) / this.boundingBox_mc._width;
this.boundingBox_mc._yscale = (this.height * 100) / this.boundingBox_mc._height;
var i = 0;
while (i < this.numDisplayed) {
this.container_mc.attachMovie(this.itemSymbol, ("fListItem" + i) + "_mc", 10 + i, {controller:this, itemNum:i});
var item_mc = this.container_mc[("fListItem" + i) + "_mc"];
var offset = ((this.scrollOffset == undefined) ? 0 : (this.scrollOffset));
item_mc.setSize(this.width - offset, this.itmHgt);
item_mc._y = (this.itmHgt - 2) * i;
i++;
}
this.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var i in this.selected) {
if ((this.selected[i].sIndex != undefined) && (this.selected[i].sIndex >= firstRow)) {
this.selected[i].sIndex = this.selected[i].sIndex + ((lastRow - firstRow) + 1);
this.setSelectedIndex(this.selected[i].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (this.selectHolder == index) {
this.selectionDeleted = true;
}
if (((this.topDisplayed + this.numDisplayed) >= this.getLength()) && (this.topDisplayed > 0)) {
this.topDisplayed--;
if (this.selectionDeleted && ((index - 1) >= 0)) {
this.setSelectedIndex(index - 1, false);
}
} else if (this.selectionDeleted) {
var len = this.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
this.setSelectedIndex(index - 1, false);
} else {
this.setSelectedIndex(index, false);
}
}
for (var i in this.selected) {
if (this.selected[i].sIndex > firstRow) {
this.selected[i].sIndex--;
}
}
} else {
this.clearSelected();
this.topDisplayed = 0;
}
} else if (event == "sort") {
var len = this.getLength();
var i = 0;
while (i < len) {
if (this.isSelected(i)) {
var id = this.dataProvider.getItemID(i);
if (id == this.lastSelID) {
this.lastSelected = i;
}
this.selected[String(id)].sIndex = i;
}
i++;
}
}
this.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
this.attachMovie(this.itemSymbol, "tmpItem_mc", 0, {controller:this});
this.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
this.itmHgt = this.tmpItem_mc._height;
this.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
if (selectedFlag && (!this.isSelected(index))) {
this.selected[String(this.dataProvider.getItemID(index))] = {sIndex:index};
} else if (!selectedFlag) {
delete this.selected[String(this.dataProvider.getItemID(index))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
for (var uniqueID in this.selected) {
var index = this.selected[uniqueID].sIndex;
if (((index != undefined) && (this.topDisplayed <= index)) && (index < (this.topDisplayed + this.numDisplayed))) {
this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), false);
}
}
delete this.selected;
this.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var tmpInd = (this.topDisplayed + itemNum);
if (this.getItemAt(tmpInd == undefined)) {
this.changeFlag = false;
return(undefined);
}
this.changeFlag = true;
this.clearSelected();
this.selectItem(tmpInd, true);
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(tmpInd), this.isSelected(tmpInd));
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var itmNum = this.getSelectedIndex();
var newItm = (itmNum + incr);
newItm = Math.max(0, newItm);
newItm = Math.min(this.getLength() - 1, newItm);
if (newItm == itmNum) {
return(undefined);
}
if ((itmNum < this.topDisplayed) || (itmNum >= (this.topDisplayed + this.numDisplayed))) {
this.setScrollPosition(itmNum);
}
if ((newItm >= (this.topDisplayed + this.numDisplayed)) || (newItm < this.topDisplayed)) {
this.setScrollPosition(this.topDisplayed + incr);
}
this.selectionHandler(newItm - this.topDisplayed);
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
this.focusRect.removeMovieClip();
if (!this.focused) {
this.pressFocus();
}
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
if (this.changeFlag) {
this.executeCallBack();
}
this.changeFlag = false;
this.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("enabled");
i++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
super.myOnKillFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("unfocused");
i++;
}
};
#endinitclip
Instance of Symbol 88 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 90 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 89 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 90 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 91 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 6
function FScrollSelectListClass() {
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
if (this.enable) {
pos = Math.min(pos, this.getLength() - this.numDisplayed);
pos = Math.max(pos, 0);
this.scrollBar_mc.setScrollPosition(pos);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
this.permaScrollBar = !flag;
this.setSize(this.width, this.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var pos = this.getScrollPosition();
super.setSize(w, h);
if (this.scrollBar_mc != undefined) {
this.removed = true;
}
this.scrollBar_mc = undefined;
this.initScrollBar();
this.setScrollPosition(pos);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
if ((!this.permaScrollBar) && (this.getLength() <= this.numDisplayed)) {
if (this.removed) {
this.scrollBar_mc.removeMovieClip();
this.scrollBar_mc = undefined;
this.scrollOffset = undefined;
this.invalidate("setSize");
}
} else {
if (this.scrollBar_mc == undefined) {
this.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:this.styleTable});
this.scrollBar_mc = this.container_mc.scrollBar_mc;
this.scrollBar_mc.setChangeHandler("scrollHandler", this);
this.scrollBar_mc.setSize(this.height);
this.scrollBar_mc._x = this.width - this.scrollBar_mc._width;
this.scrollBar_mc._y = 0;
this.scrollBar_mc.setLargeScroll(this.numDisplayed - 1);
this.scrollOffset = this.scrollBar_mc._width;
this.invalidate("setSize");
}
this.scrollBar_mc.setScrollProperties(this.numDisplayed, 0, this.getLength() - this.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var pos = scrollBar.getScrollPosition();
this.topDisplayed = pos;
if (this.lastPosition != pos) {
this.updateControl();
}
this.lastPosition = pos;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
super.clickHandler(itmNum);
if ((this.dragScrolling == undefined) && (this.scrollBar_mc != undefined)) {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
clearInterval(this.dragScrolling);
if (this.container_mc._ymouse < 0) {
this.setScrollPosition(this.getScrollPosition() - 1);
this.selectionHandler(0);
this.scrollInterval = Math.max(25, (-23.8 * (-this.container_mc._ymouse)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else if (this.container_mc._ymouse > ((this.itmHgt - 2) * this.numDisplayed)) {
this.setScrollPosition(this.getScrollPosition() + 1);
this.selectionHandler(this.numDisplayed - 1);
this.scrollInterval = Math.max(25, (-23.8 * Math.abs((this.container_mc._ymouse - ((this.itmHgt - 2) * this.numDisplayed)) - 2)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
if (this.focused) {
this.keyCodes = new Array(40, 38, 34, 33, 36, 35);
this.keyIncrs = new Array(1, -1, this.numDisplayed - 1, -(this.numDisplayed - 1), -this.getLength(), this.getLength());
var i = 0;
while (i < this.keyCodes.length) {
if (Key.isDown(this.keyCodes[i])) {
this.moveSelBy(this.keyIncrs[i]);
return(undefined);
}
i++;
}
this.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var tmpCode = Key.getAscii();
if ((tmpCode >= 33) && (tmpCode <= 126)) {
this.findString(String.fromCharCode(tmpCode));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
return(undefined);
}
var itemNum = this.getSelectedIndex();
var jump = 0;
var i = (itemNum + 1);
while (i != itemNum) {
var itmStr = this.getItemAt(i).label.substring(0, str.length);
if ((str == itmStr) || (str.toUpperCase() == itmStr.toUpperCase())) {
var jump = (i - itemNum);
break;
}
if (i >= (this.getLength() - 1)) {
i = -1;
}
i++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
};
#endinitclip
Instance of Symbol 87 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 91 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 90 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 91 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 92 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 9
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 97 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 97 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 100 MovieClip [FComboBoxSymbol] Frame 1
#initclip 8
function FComboBoxClass() {
_global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1));
this.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
var testContainer = this.superHolder.createEmptyMovieClip("testCont", 20000);
var testBox = testContainer.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
if (testBox._name == undefined) {
this.superHolder.removeMovieClip();
this.superHolder = this._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
} else {
testContainer.removeMovieClip();
}
if (this.rowCount == undefined) {
this.rowCount = 8;
this.editable = false;
}
this.itemSymbol = "FComboBoxItemSymbol";
this.init();
this.permaScrollBar = false;
this.proxyBox_mc.gotoAndStop(1);
this.width = this._width;
this.height = (this.proxyBox_mc._height * this._yscale) / 100;
var i = 0;
while (i < this.labels.length) {
this.addItem(this.labels[i], this.data[i]);
i++;
}
this.lastSelected = 0;
this.selectItem(0);
this._xscale = (this._yscale = 100);
this.opened = false;
this.setSize(this.width);
this.highlightTop(false);
if (this.changeHandler.length > 0) {
this.setChangeHandler(this.changeHandler);
}
this.onUnload = function () {
this.superHolder.removeMovieClip();
};
this.setSelectedIndex(0, false);
this.value = "";
this.focusEnabled = true;
this.changeFlag = false;
}
FComboBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FComboBoxSymbol", FComboBoxClass);
FComboBoxClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
var event = eventObj.event;
if ((event == "addRows") || (event == "deleteRows")) {
var diff = ((eventObj.lastRow - eventObj.firstRow) + 1);
var mode = ((event == "addRows") ? 1 : -1);
var len = this.getLength();
var lenBefore = (len - (mode * diff));
if ((this.rowCount > lenBefore) || (this.rowCount > len)) {
this.invalidate("setSize");
}
if (this.getSelectedIndex() == undefined) {
this.setSelectedIndex(0, false);
}
} else if (event == "updateAll") {
this.invalidate("setSize");
}
};
FComboBoxClass.prototype.removeAll = function () {
if (!this.enable) {
return(undefined);
}
super.removeAll();
if (this.editable) {
this.value = "";
}
this.invalidate("setSize");
};
FComboBoxClass.prototype.setSize = function (w) {
if ((((w == undefined) || (typeof(w) != "number")) || (w <= 0)) || (!this.enable)) {
return(undefined);
}
this.proxyBox_mc._width = w;
this.container_mc.removeMovieClip();
this.measureItmHgt();
this.container_mc = this.superHolder.createEmptyMovieClip("container", 3);
this.container_mc.tabChildren = false;
this.setPopUpLocation(this.container_mc);
this.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
this.boundingBox_mc = this.container_mc.boundingBox_mc;
this.boundingBox_mc.component = this;
this.registerSkinElement(this.boundingBox_mc.boundingBox, "background");
this.proxyBox_mc._height = this.itmHgt;
this.numDisplayed = Math.min(this.rowCount, this.getLength());
if (this.numDisplayed < 3) {
this.numDisplayed = Math.min(3, this.getLength());
}
this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2;
super.setSize(w, this.height);
this.attachMovie("DownArrow", "downArrow", 10);
this.downArrow._y = 0;
this.downArrow._width = this.itmHgt;
this.downArrow._height = this.itmHgt;
this.downArrow._x = this.proxyBox_mc._width - this.downArrow._width;
this.setEditable(this.editable);
this.container_mc._visible = this.opened;
this.highlightTop(false);
this.fader = this.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4);
this.registerSkinElement(this.fader.boundingBox, "background");
this.fader._width = this.width;
this.fader._height = this.height;
this.fader._visible = false;
};
FComboBoxClass.prototype.setDataProvider = function (dp) {
super.setDataProvider(dp);
this.invalidate("setSize");
this.setSelectedIndex(0);
};
FComboBoxClass.prototype.getValue = function () {
if (this.editable) {
return(this.fLabel_mc.getLabel());
}
return(super.getValue());
};
FComboBoxClass.prototype.getRowCount = function () {
return(this.rowCount);
};
FComboBoxClass.prototype.setRowCount = function (count) {
this.rowCount = ((this.getLength() > count) ? (Math.max(count, 3)) : (count));
this.setSize(this.width);
var len = this.getLength();
if ((len - this.getScrollPosition()) < this.rowCount) {
this.setScrollPosition(len - Math.min(this.rowCount, len));
this.invalidate("updateControl");
}
};
FComboBoxClass.prototype.setEditable = function (editableFlag) {
if (!this.enable) {
return(undefined);
}
this.editable = editableFlag;
if (!this.editable) {
this.onPress = this.pressHandler;
this.useHandCursor = false;
this.trackAsMenu = true;
this.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:this, itemNum:-1});
this.fLabel_mc.onRollOver = undefined;
this.fLabel_mc.setSize((this.width - this.itmHgt) + 1, this.itmHgt);
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, false);
this.highlightTop(false);
} else {
this.attachMovie("FLabelSymbol", "fLabel_mc", 5);
this.fLabel_txt = this.fLabel_mc.labelField;
this.fLabel_txt.type = "input";
this.fLabel_txt._x = 4;
this.fLabel_txt.onSetFocus = this.onLabelFocus;
this.fLabel_mc.setSize((this.width - this.itmHgt) - 3);
delete this.onPress;
this.fLabel_txt.onKillFocus = function () {
this._parent._parent.myOnKillFocus();
};
this.fLabel_mc.setLabel(this.value);
this.fLabel_txt.onChanged = function () {
this._parent._parent.findInputText();
};
this.downArrow.onPress = this.buttonPressHandler;
this.downArrow.useHandCursor = false;
this.downArrow.trackAsMenu = true;
}
};
FComboBoxClass.prototype.setEnabled = function (enabledFlag) {
enabledFlag = (((enabledFlag == undefined) || (typeof(enabledFlag) != "boolean")) ? true : (enabledFlag));
super.setEnabled(enabledFlag);
this.registerSkinElement(this.boundingBox_mc.boundingBox, "background");
this.proxyBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
this.downArrow.gotoAndStop((this.enable ? 1 : 3));
if (this.editable) {
this.fLabel_txt.type = (enabledFlag ? "input" : "dynamic");
this.fLabel_txt.selectable = enabledFlag;
} else if (enabledFlag) {
this.fLabel_mc.drawItem(this.topLabel, false);
this.setSelectedIndex(this.getSelectedIndex(), false);
}
this.fLabel_mc.setEnabled(this.enable);
this.fLabel_txt.onSetFocus = (enabledFlag ? (this.onLabelFocus) : undefined);
};
FComboBoxClass.prototype.setSelectedIndex = function (index, flag) {
super.setSelectedIndex(index, flag);
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, false);
} else {
this.value = ((flag != undefined) ? "" : (this.getSelectedItem().label));
this.fLabel_mc.setLabel(this.value);
}
this.invalidate("updateControl");
};
FComboBoxClass.prototype.setValue = function (value) {
if (this.editable) {
this.fLabel_mc.setLabel(value);
this.value = value;
}
};
FComboBoxClass.prototype.pressHandler = function () {
this.focusRect.removeMovieClip();
if (this.enable) {
if (!this.opened) {
this.onMouseUp = this.releaseHandler;
} else {
this.onMouseUp = undefined;
}
this.changeFlag = false;
if (!this.focused) {
this.pressFocus();
this.clickFilter = (this.editable ? false : true);
}
if (!this.clickFilter) {
this.openOrClose(!this.opened);
} else {
this.clickFilter = false;
}
}
};
FComboBoxClass.prototype.clickHandler = function (itmNum) {
if (!this.focused) {
if (this.editable) {
this.fLabel_txt.onKillFocus = undefined;
}
this.pressFocus();
}
super.clickHandler(itmNum);
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FComboBoxClass.prototype.highlightTop = function (flag) {
if (!this.editable) {
this.fLabel_mc.drawItem(this.topLabel, flag);
}
};
FComboBoxClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
this.fLabel_mc.highlight_mc.gotoAndStop("enabled");
this.highlightTop(true);
};
FComboBoxClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this._height + 4);
};
FComboBoxClass.prototype.myOnKillFocus = function () {
if (Selection.getFocus().indexOf("labelField") != -1) {
return(undefined);
}
super.myOnKillFocus();
delete this.fLabel_txt.onKeyDown;
this.openOrClose(false);
this.highlightTop(false);
};
FComboBoxClass.prototype.setPopUpLocation = function (mcRef) {
mcRef._x = this._x;
var point = {x:this._x, y:this._y + this.proxyBox_mc._height};
this._parent.localToGlobal(point);
mcRef._parent.globalToLocal(point);
mcRef._x = point.x;
mcRef._y = point.y;
if ((this.height + mcRef._y) >= Stage.height) {
this.upward = true;
mcRef._y = (point.y - this.height) - this.proxyBox_mc._height;
} else {
this.upward = false;
}
};
FComboBoxClass.prototype.openOrClose = function (flag) {
if (this.getLength() == 0) {
return(undefined);
}
this.setPopUpLocation(this.container_mc);
if ((this.lastSelected != -1) && ((this.lastSelected < this.topDisplayed) || (this.lastSelected > (this.topDisplayed + this.numDisplayed)))) {
super.moveSelBy(this.lastSelected - this.getSelectedIndex());
}
if (!flag) {
(this.downArrow.gotoAndStop(1));// not popped
} else {
(this.downArrow.gotoAndStop(2));// not popped
}
if (flag == this.opened) {
return(undefined);
}
this.highlightTop(!flag);
this.fadeRate = this.styleTable.popUpFade.value;
if (((!flag) || (this.fadeRate == undefined)) || (this.fadeRate == 0)) {
this.opened = (this.container_mc._visible = flag);
return(undefined);
}
this.setPopUpLocation(this.fader);
this.time = 0;
this.const = 85 / Math.sqrt(this.fadeRate);
this.fader._alpha = 85;
this.container_mc._visible = (this.fader._visible = true);
this.onEnterFrame = function () {
this.fader._alpha = 100 - ((this.const * Math.sqrt(++this.time)) + 15);
if (this.time >= this.fadeRate) {
this.fader._visible = false;
delete this.onEnterFrame;
this.opened = true;
}
};
};
FComboBoxClass.prototype.fireChange = function () {
this.lastSelected = this.getSelectedIndex();
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, true);
} else {
this.value = this.getSelectedItem().label;
this.fLabel_mc.setLabel(this.value);
}
this.executeCallback();
};
FComboBoxClass.prototype.releaseHandler = function () {
var onCombo = this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse);
if (this.changeFlag) {
if (onCombo) {
this.fireChange();
}
this.openOrClose(!this.opened);
} else if (onCombo) {
this.openOrClose(false);
} else {
this.onMouseDown = function () {
if ((!this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse)) && (!this.hitTest(_root._xmouse, _root._ymouse))) {
this.onMouseDown = undefined;
this.openOrClose(false);
}
};
}
this.changeFlag = false;
this.onMouseUp = undefined;
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
};
FComboBoxClass.prototype.moveSelBy = function (itemNum) {
if (itemNum != 0) {
super.moveSelBy(itemNum);
if (this.editable) {
this.setValue(this.getSelectedItem().label);
}
if (!this.opened) {
if (this.changeFlag && (!this.isSelected(this.lastSelected))) {
this.fireChange();
}
}
}
};
FComboBoxClass.prototype.myOnKeyDown = function () {
if (!this.focused) {
return(undefined);
}
if (this.editable && (Key.isDown(13))) {
this.setValue(this.fLabel_mc.getLabel());
this.executeCallback();
this.openOrClose(false);
} else if ((Key.isDown(13) || (Key.isDown(32) && (!this.editable))) && (this.opened)) {
if (this.getSelectedIndex() != this.lastSelected) {
this.fireChange();
}
this.openOrClose(false);
this.fLabel_txt.hscroll = 0;
}
super.myOnKeyDown();
};
FComboBoxClass.prototype.findInputText = function () {
if (!this.editable) {
super.findInputText();
}
};
FComboBoxClass.prototype.onLabelFocus = function () {
this._parent._parent.tabFocused = false;
this._parent._parent.focused = true;
this.onKeyDown = function () {
this._parent._parent.myOnKeyDown();
};
Key.addListener(this);
};
FComboBoxClass.prototype.buttonPressHandler = function () {
this._parent.pressHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 91 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 100 MovieClip [FComboBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 140 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}
Symbol 148 MovieClip Frame 9
stop();
Symbol 150 MovieClip Frame 30
stop();
Symbol 151 Button
on (release) {
stopAllSounds();
play();
}
Symbol 163 MovieClip Frame 1
_root.playSound("thunder");
Symbol 163 MovieClip Frame 63
_root.playSound("howl");
Symbol 163 MovieClip Frame 128
_root.play();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 3
gotoAndStop (1);
Symbol 180 MovieClip Frame 5
gotoAndStop (1);
Symbol 180 MovieClip Frame 7
gotoAndStop (1);
Symbol 180 MovieClip Frame 9
gotoAndStop (1);
Symbol 180 MovieClip Frame 11
gotoAndStop (1);
Symbol 180 MovieClip Frame 13
gotoAndStop (1);
Symbol 180 MovieClip Frame 15
gotoAndStop (1);
Symbol 180 MovieClip Frame 17
gotoAndStop (1);
Symbol 180 MovieClip Frame 19
gotoAndStop (1);
Symbol 180 MovieClip Frame 21
gotoAndStop (1);
Symbol 180 MovieClip Frame 23
gotoAndStop (1);
Symbol 180 MovieClip Frame 29
gotoAndStop (1);
Symbol 180 MovieClip Frame 54
gotoAndStop (1);
Symbol 180 MovieClip Frame 56
gotoAndStop (1);
Symbol 180 MovieClip Frame 58
gotoAndStop (1);
Symbol 180 MovieClip Frame 60
gotoAndStop (1);
Symbol 180 MovieClip Frame 62
gotoAndStop (1);
Symbol 180 MovieClip Frame 64
gotoAndStop (1);
Symbol 180 MovieClip Frame 66
gotoAndStop (1);
Symbol 184 Button
on (release) {
stopAllSounds();
gotoAndStop (17);
}
Symbol 218 MovieClip Frame 49
_root.playSound("footsteps2");
Symbol 218 MovieClip Frame 109
_root.play();
Symbol 255 MovieClip Frame 488
_root.play();
Symbol 262 MovieClip Frame 62
_root.play();
Symbol 322 MovieClip Frame 8
gotoAndPlay (5);
Symbol 349 MovieClip Frame 1
_root.playSound("footsteps1");
Symbol 349 MovieClip Frame 385
stopAllSounds();
Symbol 349 MovieClip Frame 426
_root.playSound("songstart2");
Symbol 349 MovieClip Frame 593
_root.play();
Symbol 364 MovieClip Frame 147
stop();
Symbol 368 MovieClip Frame 110
_root.playSound("swordc1");
Symbol 368 MovieClip Frame 153
_root.play();
Symbol 373 MovieClip Frame 11
stop();
Symbol 377 MovieClip Frame 1
_root.playSound("swordc2");
Symbol 377 MovieClip Frame 12
_root.playSound("swordc2");
Symbol 377 MovieClip Frame 210
_root.play();
Symbol 465 MovieClip Frame 1
stop();
Symbol 466 Button
on (release) {
_root.options.nextFrame();
}
Symbol 467 Button
on (release) {
_root.cleargrid = false;
datasave = new Array();
datasave = ["strb", "speedb", "lifemaxb", "manamaxb", "expb", "engmaxb", "gold", "phydmgb", "magdmgb", "phydefb", "magdefb", "shdphydefb", "shdmagdefb", "shdptsb", "shddmgb", "level", "playername", "newobjective", "Helmet", "Suit", "Weapon", "Shield", "manapots", "lifepots", "skillpts", "expmaxb", "rests", "ninjaav", "classname", "classtype", "moon_q"];
if (user.data.stats[strb] != undefined) {
for (i in datasave) {
_root[datasave[i]] = user.data.stats[i];
}
for (i in _root.skill) {
_root.skill[i] = user.data.skill[i];
}
for (i in _root.itemstats) {
_root.itemstats[i] = user.data.itemstats[i];
}
_root.portallevel[0] = user.data.p1;
_root.portallevel[1] = user.data.p2;
_root.portallevel[2] = user.data.p3;
lifeb = user.data.life;
manab = user.data.mana;
engb = user.data.eng;
user.flush();
gotoAndPlay (20);
}
}
Symbol 468 Button
on (release) {
play();
_root.cleargrid = false;
}
Symbol 472 Button
on (release) {
gotoAndStop (3);
}
Symbol 477 Button
on (release) {
nextFrame();
}
Symbol 478 MovieClip Frame 1
stop();
Instance of Symbol 100 MovieClip [FComboBoxSymbol] in Symbol 478 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "High";
labels[1] = "Medium";
labels[2] = "Low";
data = [];
data[0] = "HIGH";
data[1] = "MEDIUM";
data[2] = "LOW";
rowCount = 3;
changeHandler = "";
}
onClipEvent (load) {
this.setSelectedIndex(_root.qualityset);
}
onClipEvent (enterFrame) {
_root.qualityset = lastSelected;
_root.qset2 = this.Data[lastSelected];
_quality = _root.qset2;
}
Instance of Symbol 100 MovieClip [FComboBoxSymbol] in Symbol 478 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "On";
labels[1] = "Off";
data = [];
data[0] = "On";
data[1] = "Off";
rowCount = 3;
changeHandler = "";
}
onClipEvent (load) {
this.setSelectedIndex(_root.soundset);
if (_root.soundon == "Off") {
played = false;
} else {
played = true;
}
}
onClipEvent (enterFrame) {
_root.soundset = lastSelected;
_root.soundon = this.Labels[lastSelected];
if (_root.soundon == "Off") {
stopAllSounds();
played = false;
}
if (_root.soundon == "On") {
if (played == false) {
_root.playSound("Dream");
played = true;
}
}
}
Symbol 478 MovieClip Frame 3
gotoAndStop (1);
Symbol 481 MovieClip Frame 16
stop();
Symbol 481 MovieClip Frame 31
stop();
Symbol 511 MovieClip Frame 20
stop();
Symbol 512 Button
on (release) {
ninjaav = "Sinjid_W";
skill[0] = 1;
classtype = "Warrior";
classname = _root[classtype][4];
manamaxb = 65;
manab = 65;
speedb = 13;
strb = 17;
lifemaxb = 85;
lifeb = 85;
phydmgb = phydmgb + 5;
magdmgb = magdmgb + 0;
phydefb = phydefb + 5;
magdefb = magdefb + 0;
play();
}
Symbol 513 Button
on (release) {
ninjaav = "Sinjid_Sh";
skill[7] = 1;
classtype = "Shadow";
classname = _root[classtype][4];
manamaxb = 80;
manab = 80;
speedb = 17;
strb = 13;
lifemaxb = 70;
lifeb = 70;
phydmgb = phydmgb + 3;
magdmgb = magdmgb + 3;
phydefb = phydefb + 2;
magdefb = magdefb + 2;
play();
}
Symbol 514 Button
on (release) {
ninjaav = "Sinjid_B";
skill[1] = 1;
classtype = "Balanced";
classname = _root[classtype][4];
manamaxb = 75;
manab = 75;
lifeb = 75;
lifemaxb = 75;
speedb = 15;
strb = 15;
phydmgb = phydmgb + 3;
magdmgb = magdmgb + 2;
phydefb = phydefb + 3;
magdefb = magdefb + 2;
play();
}
Symbol 515 Button
on (release) {
ninjaav = "Sinjid_S";
skill[9] = 1;
classtype = "Spellcaster";
Weapon = "Energy Knife";
_root.itemstats[0] = "Energy Knife";
phydmgb = 0;
magdmgb = 5;
classname = _root[classtype][4];
manamaxb = 90;
manab = 90;
speedb = 13;
strb = 15;
lifemaxb = 75;
lifeb = 75;
phydmgb = phydmgb + 0;
magdmgb = magdmgb + 5;
phydefb = phydefb + 0;
magdefb = magdefb + 5;
play();
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 540 Button
on (release) {
if (((_root.meet == false) && (_root.talking != true)) && (_root.pause == false)) {
_root.inventory.gotoAndStop("Inventory");
_root.grid.char.movement.gotoAndStop(1);
_root.inventory._visible = true;
_root.pause = true;
}
}
Symbol 541 Button
on (release) {
if (((_root.meet == false) && (_root.talking != true)) && (_root.pause == false)) {
_root.inventory.gotoAndStop("Inventory");
_root.grid.char.movement.gotoAndStop(1);
_root.inventory._visible = true;
_root.pause = true;
}
}
Symbol 542 Button
on (release) {
if (((_root.meet == false) && (_root.talking != true)) && (_root.pause == false)) {
_root.inventory.gotoAndStop("Skills");
_root.grid.char.movement.gotoAndStop(1);
_root.inventory._visible = true;
_root.pause = true;
}
}
Symbol 543 Button
on (release) {
if (((_root.meet == false) && (_root.talking != true)) && (_root.pause == false)) {
_root.inventory.gotoAndStop("Skills");
_root.grid.char.movement.gotoAndStop(1);
_root.inventory._visible = true;
_root.pause = true;
}
}
Symbol 546 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 549 Button
on (release) {
if (((_root.meet == false) && (_root.talking != true)) && (_root.lifepots > 0)) {
_root.lifeb = _root.lifeb + 80;
_root.lifepots = _root.lifepots - 1;
_root.playSound("potion");
lifepotmc.gotoAndPlay(2);
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
}
}
Symbol 550 Button
on (release) {
if (((_root.meet == false) && (_root.talking != true)) && (_root.manapots > 0)) {
_root.manab = _root.manab + 80;
_root.manapots = _root.manapots - 1;
_root.playSound("potion");
manapotmc.gotoAndPlay(2);
manabar.gotoAndPlay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
}
Instance of Symbol 526 MovieClip "lifebar" in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 530 MovieClip "manabar" in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 526 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.expb / _root.expmaxb) * widthkeep;
}
Instance of Symbol 526 MovieClip "engbar" in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Instance of Symbol 618 MovieClip in Symbol 621 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ninjaav);
}
Symbol 622 MovieClip Frame 12
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 24
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 36
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 48
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 60
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 72
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 84
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 96
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 107
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 120
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 132
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 145
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 156
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 168
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 179
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 192
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 204
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 216
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 229
if (_root.engb == 0) {
if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
Symbol 622 MovieClip Frame 240
if (_root.engb > 0) {
_root.engb--;
} else if (_root.lifeb > 1) {
_root.lifeb--;
if (_root.manab > 1) {
_root.manab--;
}
}
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
Symbol 710 MovieClip Frame 1
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
stop();
Instance of Symbol 699 MovieClip "head" in Symbol 710 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.outfit[0]);
}
}
Instance of Symbol 709 MovieClip "feet1" in Symbol 710 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.outfit[0]);
}
}
Instance of Symbol 709 MovieClip "feet2" in Symbol 710 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.outfit[0]);
}
}
Symbol 710 MovieClip Frame 2
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 710 MovieClip Frame 11
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 710 MovieClip Frame 21
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
gotoAndPlay (2);
Symbol 715 MovieClip Frame 1
stop();
Symbol 715 MovieClip Frame 4
gotoAndPlay (1);
Symbol 715 MovieClip Frame 7
gotoAndPlay (1);
Symbol 715 MovieClip Frame 10
gotoAndPlay (1);
Symbol 715 MovieClip Frame 13
gotoAndPlay (1);
Symbol 875 MovieClip Frame 1
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 875 MovieClip Frame 2
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 875 MovieClip Frame 11
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 875 MovieClip Frame 21
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
gotoAndPlay (2);
Symbol 907 MovieClip Frame 1
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
stop();
Symbol 907 MovieClip Frame 2
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 907 MovieClip Frame 11
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 907 MovieClip Frame 21
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
gotoAndPlay (2);
Symbol 908 MovieClip Frame 1
stop();
Instance of Symbol 908 MovieClip "char" in Symbol 909 MovieClip Frame 1
onClipEvent (keyUp) {
this.movement.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (Key.isDown(39) || (Key.isDown(68))) {
this.gotoAndStop("right");
} else if (Key.isDown(37) || (Key.isDown(65))) {
this.gotoAndStop("left");
}
if (((((Key.isDown(38) || (Key.isDown(87))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
this.gotoAndStop("up");
} else if (((((Key.isDown(40) || (Key.isDown(83))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
this.gotoAndStop("down");
}
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
if (((((((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) || (Key.isDown(39))) || (Key.isDown(65))) || (Key.isDown(83))) || (Key.isDown(68))) || (Key.isDown(87))) {
this.movement.play();
}
}
}
Symbol 912 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 11
_root.EnemyMeet();
_root.pause = false;
_root.cleargrid = true;
_root.gotoAndStop("find");
Symbol 922 MovieClip Frame 68
_root.meet = false;
_root.midfight = false;
_root.cleargrid = false;
_root.gotoAndPlay(label);
stopAllSounds();
if (prevsound < 3) {
prevsound++;
} else {
prevsound = 1;
}
_root.playSound("Battle" + prevsound);
Symbol 923 MovieClip Frame 2
removeMovieClip(this);
Symbol 931 Button
on (release, keyPress "<Space>") {
_root.pause = false;
this._visible = false;
_root.talking = false;
}
Symbol 932 MovieClip Frame 2
if (Key.isDown(32)) {
gotoAndPlay (1);
}
Symbol 932 MovieClip Frame 3
stop();
Symbol 934 Button
on (release, keyPress "<Space>") {
_root.pause = false;
this._visible = false;
}
Symbol 943 Button
on (release, keyPress "<Space>") {
if (_root.itempick == "None") {
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
gotoAndStop (1);
_root.pause = false;
}
}
Symbol 944 Button
on (press) {
if (_root.item[_root.itempick][1] != "Required Item") {
_root.itempick = "None";
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
Symbol 946 Button
on (rollOver, press, release) {
_root.slotnum = 8;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 947 Button
on (rollOver, press, release) {
_root.slotnum = 9;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 948 Button
on (rollOver, press, release) {
_root.slotnum = 10;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 949 Button
on (rollOver, press, release) {
_root.slotnum = 11;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 950 Button
on (rollOver, press, release) {
_root.slotnum = 4;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 951 Button
on (rollOver, press, release) {
_root.slotnum = 5;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 952 Button
on (rollOver, press, release) {
_root.slotnum = 6;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 953 Button
on (rollOver, press, release) {
_root.slotnum = 7;
_root.ExplainItem();
}
on (press) {
_root.inventory.explainbox._visible = false;
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
_root.itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = _root.itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.slotnum = undefined;
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 955 Button
on (rollOver, press, release) {
_root.slotnum = 3;
_root.ExplainItem();
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
on (press) {
if (_root.item[_root.itempick][1] == "None") {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Helmet");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
} else if ((_root.item[_root.itempick][1] == "Head Gear") && (_root.strb >= _root.item[_root.itempick][14])) {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Helmet");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.EquipItem(_root.itemstats[_root.slotnum], "Helmet");
} else {
_root.playSound("no");
}
}
on (rollOut) {
_root.slotnum = undefined;
}
Symbol 956 Button
on (rollOver, press, release) {
_root.slotnum = 2;
_root.ExplainItem();
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
on (press) {
if (_root.item[_root.itempick][1] == "None") {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Suit");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
} else if ((_root.item[_root.itempick][1] == "Suit") && (_root.strb >= _root.item[_root.itempick][14])) {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Suit");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.EquipItem(_root.itemstats[_root.slotnum], "Suit");
} else {
_root.playSound("no");
}
}
on (rollOut) {
_root.slotnum = undefined;
}
Symbol 957 Button
on (rollOver, press, release) {
_root.slotnum = 0;
_root.ExplainItem();
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
on (press) {
if (_root.item[_root.itempick][1] == "None") {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Weapon");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
} else if ((_root.item[_root.itempick][1] == "Weapon") && (_root.strb >= _root.item[_root.itempick][14])) {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Weapon");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.EquipItem(_root.itemstats[_root.slotnum], "Weapon");
} else {
_root.playSound("no");
}
}
on (rollOut) {
_root.slotnum = undefined;
}
Symbol 958 Button
on (rollOver, press, release) {
_root.slotnum = 1;
_root.ExplainItem();
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
on (press) {
if (_root.item[_root.itempick][1] == "None") {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Shield");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
} else if ((_root.item[_root.itempick][1] == "Shield") && (_root.strb >= _root.item[_root.itempick][14])) {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Shield");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.EquipItem(_root.itemstats[_root.slotnum], "Shield");
} else {
_root.playSound("no");
}
}
on (rollOut) {
_root.slotnum = undefined;
}
Symbol 1003 Button
on (release, keyPress "<Space>") {
if ((_root.itempick == "None") && (_root.hold != true)) {
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
gotoAndStop (1);
_root.pause = false;
}
}
Symbol 1010 Button
on (rollOver) {
pricegain = 1.3;
itemlist = ["Weapon", "Suit", "Shield", "Head Gear"];
itemcheck = false;
for (i in itemlist) {
if (_root.item[_root.itempick][1] == itemlist[i]) {
itemcheck = true;
}
}
if (itemcheck == true) {
sellprice = 0;
if (_root.item[_root.itempick][1] == "Head Gear") {
pricegain = 0.7;
}
if (_root.item[_root.itempick][1] == "Shield") {
pricegain = 0.4;
}
if (_root.item[_root.itempick][1] == "Suit") {
pricegain = pricegain * 1.8;
}
valuework = 0;
i = 2;
while (i < 13) {
valuework = valuework + (_root.item[_root.itempick][i] * pricegain);
i++;
}
sellprice = Math.round(valuework);
}
}
on (rollOut) {
sellprice = "";
}
on (press) {
if ((itemcheck == true) && (sellprice != "")) {
_root.playSound("coins");
_root.itempick = "None";
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.gold = _root.gold + sellprice;
sellprice = "";
}
}
Symbol 1024 Button
on (rollOver, press, release) {
cost = 30;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1025 Button
on (rollOver, press, release) {
cost = 60;
_root.slotnum = 21;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1026 Button
on (rollOver, press, release) {
cost = 90;
_root.slotnum = 22;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1027 Button
on (rollOver, press, release) {
cost = 15;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1028 Button
on (rollOver, press, release) {
cost = 30;
_root.slotnum = 24;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1029 Button
on (rollOver, press, release) {
cost = 40;
_root.slotnum = 25;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1030 Button
on (rollOver, press, release) {
cost = 60;
_root.slotnum = 26;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1031 Button
on (rollOver, press, release) {
cost = 10;
_root.slotnum = 27;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1032 Button
on (rollOver, press, release) {
cost = 15;
_root.slotnum = 28;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1033 Button
on (rollOver, press, release) {
cost = 100;
_root.slotnum = 29;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1042 Button
on (rollOver, press, release) {
cost = 120;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1043 Button
on (rollOver, press, release) {
cost = 150;
_root.slotnum = 21;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1044 Button
on (rollOver, press, release) {
cost = 200;
_root.slotnum = 22;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1045 Button
on (rollOver, press, release) {
cost = 330;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1046 Button
on (rollOver, press, release) {
cost = 120;
_root.slotnum = 24;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1047 Button
on (rollOver, press, release) {
cost = 150;
_root.slotnum = 25;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1048 Button
on (rollOver, press, release) {
cost = 200;
_root.slotnum = 26;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1049 Button
on (rollOver, press, release) {
cost = 400;
_root.slotnum = 27;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1050 Button
on (rollOver, press, release) {
cost = 400;
_root.slotnum = 28;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1054 Button
on (rollOver, press, release) {
cost = 40;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1055 Button
on (rollOver, press, release) {
cost = 100;
_root.slotnum = 22;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1056 Button
on (rollOver, press, release) {
cost = 150;
_root.slotnum = 24;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1057 Button
on (rollOver, press, release) {
cost = 350;
_root.slotnum = 25;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1058 Button
on (rollOver, press, release) {
cost = 60;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1059 Button
on (rollOver, press, release) {
cost = 170;
_root.slotnum = 26;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1067 Button
on (rollOver, press, release) {
cost = 700;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1068 Button
on (rollOver, press, release) {
cost = 220;
_root.slotnum = 21;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1069 Button
on (rollOver, press, release) {
cost = 800;
_root.slotnum = 22;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1070 Button
on (rollOver, press, release) {
cost = 210;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1071 Button
on (rollOver, press, release) {
cost = 800;
_root.slotnum = 24;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1072 Button
on (rollOver, press, release) {
cost = 560;
_root.slotnum = 25;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1073 Button
on (rollOver, press, release) {
cost = 600;
_root.slotnum = 26;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1077 Button
on (rollOver, press, release) {
cost = 1000;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1078 Button
on (rollOver, press, release) {
cost = 1000;
_root.slotnum = 21;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1079 Button
on (rollOver, press, release) {
cost = 1500;
_root.slotnum = 22;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1080 Button
on (rollOver, press, release) {
cost = 400;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1081 Button
on (rollOver, press, release) {
cost = 400;
_root.slotnum = 24;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1086 Button
on (rollOver, press, release) {
cost = 1100;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1087 Button
on (rollOver, press, release) {
cost = 900;
_root.slotnum = 21;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1088 Button
on (rollOver, press, release) {
cost = 1600;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1089 Button
on (rollOver, press, release) {
cost = 980;
_root.slotnum = 25;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1090 Button
on (rollOver, press, release) {
cost = 800;
_root.slotnum = 26;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1099 Button
on (rollOver) {
itemlist = ["Drink"];
itemcheck = false;
for (i in itemlist) {
if (_root.item[_root.itempick][1] == itemlist[i]) {
itemcheck = true;
}
}
if (itemcheck == true) {
sellprice = 3;
}
}
on (rollOut) {
sellprice = "";
}
on (press) {
if ((itemcheck == true) && (sellprice != "")) {
_root.playSound("coins");
_root.itempick = "None";
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.gold = _root.gold + sellprice;
sellprice = "";
}
}
Symbol 1105 Button
on (rollOver, press, release) {
cost = 0;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1110 Button
on (rollOver, press, release) {
_root.slotnum = 3;
_root.ExplainItem();
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
on (press) {
if (_root.item[_root.itempick][1] == "None") {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Helmet");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
} else if ((_root.item[_root.itempick][1] == "Helmet") && (_root.strb >= _root.item[_root.itempick][14])) {
_root.inventory.explainbox._visible = false;
_root.RemoveItem(_root.itemstats[_root.slotnum], "Helmet");
_root.inventory["slot" + _root.slotnum].gotoAndStop(_root.itempick);
itemhold = _root.itemstats[_root.slotnum];
_root.itemstats[_root.slotnum] = _root.itempick;
_root.itempick = itemhold;
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.EquipItem(_root.itemstats[_root.slotnum], "Helmet");
} else {
_root.playSound("no");
}
}
on (rollOut) {
_root.slotnum = undefined;
}
Symbol 1118 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 20;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1119 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 21;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1120 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 22;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1121 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 23;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1122 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 24;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1123 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 25;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1124 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 26;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1125 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 27;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1126 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 28;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1127 Button
on (rollOver, press, release) {
cost = 50;
_root.slotnum = 29;
_root.ExplainItem();
}
on (press) {
if ((_root.itempick == "None") && (_root.gold >= cost)) {
_root.gold = _root.gold - cost;
_root.inventory.explainbox._visible = false;
_root.itempick = _root.itemstats[_root.slotnum];
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
on (rollOut) {
_root.inventory.explainbox._visible = false;
}
Symbol 1128 Button
on (rollOver) {
pricegain = 1.3;
itemlist = ["Weapon", "Suit", "Shield", "Head Gear"];
itemcheck = false;
for (i in itemlist) {
if (_root.item[_root.itempick][1] == itemlist[i]) {
itemcheck = true;
}
}
if (itemcheck == true) {
sellprice = 0;
if (_root.item[_root.itempick][1] == "Suit") {
pricegain = pricegain * 1.8;
}
valuework = 0;
i = 2;
while (i < 13) {
valuework = valuework + (_root.item[_root.itempick][i] * pricegain);
i++;
}
sellprice = Math.round(valuework);
}
}
on (rollOut) {
sellprice = "";
}
on (press) {
if ((itemcheck == true) && (sellprice != "")) {
_root.itempick = "None";
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
_root.gold = _root.gold + sellprice;
sellprice = "";
}
}
Symbol 1137 Button
on (rollOver) {
skilllabel = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1138 Button
on (rollOver) {
skilllabel = 0;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1139 Button
on (rollOver) {
skilllabel = 2;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[0] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1140 Button
on (rollOver) {
skilllabel = 3;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[0] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1141 Button
on (rollOver) {
skilllabel = 4;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[1] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1142 Button
on (rollOver) {
skilllabel = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[1] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1143 Button
on (rollOver) {
skilllabel = 6;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[2] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1144 Button
on (rollOver) {
skilllabel = 18;
levelreq = 15;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[15] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1145 Button
on (rollOver) {
skilllabel = 11;
levelreq = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[8] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1146 Button
on (rollOver) {
skilllabel = 12;
levelreq = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[9] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1147 Button
on (rollOver) {
skilllabel = 13;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[10] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1148 Button
on (rollOver) {
skilllabel = 9;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[4] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1149 Button
on (rollOver) {
skilllabel = 17;
levelreq = 15;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[13] != 0)) && (_root.skill[14] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1150 Button
on (rollOver) {
skilllabel = 14;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[10] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1151 Button
on (rollOver) {
skilllabel = 15;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[7] != 0)) && (_root.skill[11] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1152 Button
on (rollOver) {
skilllabel = 16;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[5] != 0)) && (_root.skill[12] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1153 Button
on (rollOver) {
skilllabel = 8;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[4] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1154 Button
on (rollOver) {
skilllabel = 7;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[3] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1155 Button
on (rollOver) {
skilllabel = 10;
levelreq = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[6] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (14);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 1284 MovieClip Frame 1
stop();
Symbol 1284 MovieClip Frame 2
if (_root.skill[0] == 0) {
d1 = "-";
} else {
d1 = _root.skill[0] * 4;
}
d2 = (_root.skill[0] + 1) * 4;
Symbol 1284 MovieClip Frame 3
if (_root.skill[1] == 0) {
d1 = "-";
} else {
d1 = 15 + (_root.skill[1] * 7);
}
d2 = 15 + ((_root.skill[1] + 1) * 7);
Symbol 1284 MovieClip Frame 4
if (_root.skill[2] == 0) {
d1 = "-";
} else {
d1 = (52 + (_root.skill[2] * 8)) + "%";
}
d2 = (52 + ((_root.skill[2] + 1) * 8)) + "%";
Symbol 1284 MovieClip Frame 5
if (_root.skill[3] == 0) {
d1 = "-";
} else {
d1 = (_root.skill[3] * 60) + "% Speed";
}
d2 = ((_root.skill[3] + 1) * 60) + "% Speed";
Symbol 1284 MovieClip Frame 6
if (_root.skill[4] == 0) {
d1 = "-";
} else {
d1 = 40 + (_root.skill[4] * 9);
}
d2 = 40 + ((_root.skill[4] + 1) * 9);
Symbol 1284 MovieClip Frame 7
if (_root.skill[5] == 0) {
d1 = "-";
} else {
d1 = (7 + (_root.skill[5] * 5)) + " each shot";
}
d2 = (7 + ((_root.skill[5] + 1) * 5)) + " each shot";
Symbol 1284 MovieClip Frame 8
if (_root.skill[6] == 0) {
d1 = "-";
} else {
d1 = (_root.skill[6] * 80) + "%";
}
d2 = ((_root.skill[6] + 1) * 80) + "%";
Symbol 1284 MovieClip Frame 9
if (_root.skill[7] == 0) {
d1 = "-";
} else {
d1 = _root.skill[7] * 2;
}
d2 = (_root.skill[7] + 1) * 2;
Symbol 1284 MovieClip Frame 10
if (_root.skill[8] == 0) {
d1 = "-";
} else {
d1 = _root.skill[8] * 7;
}
d2 = (_root.skill[8] + 1) * 7;
Symbol 1284 MovieClip Frame 11
if (_root.skill[9] == 0) {
d1 = "-";
} else {
d1 = _root.skill[9] * 25;
}
d2 = (_root.skill[9] + 1) * 25;
Symbol 1284 MovieClip Frame 12
if (_root.skill[10] == 0) {
d1 = "-";
} else {
d1 = _root.skill[10] * 5;
}
d2 = (_root.skill[10] + 1) * 5;
Symbol 1284 MovieClip Frame 13
if (_root.skill[11] == 0) {
d1 = "-";
} else {
d1 = (70 + (_root.skill[11] * 80)) + "% Mana Remaining";
}
d2 = (70 + ((_root.skill[11] + 1) * 80)) + "% Mana Remaining";
Symbol 1284 MovieClip Frame 14
if (_root.skill[12] == 0) {
d1 = "-";
} else {
d1 = (13 + (_root.skill[12] * 12)) + "%";
}
d2 = (13 + ((_root.skill[12] + 1) * 12)) + "%";
Symbol 1284 MovieClip Frame 15
if (_root.skill[13] == 0) {
d1 = "-";
} else {
d1 = (100 + (_root.skill[13] * 100)) + "% of life lost";
}
d2 = (100 + ((_root.skill[13] + 1) * 100)) + "% of life lost";
Symbol 1284 MovieClip Frame 16
if (_root.skill[14] == 0) {
d1 = "-";
} else {
d1 = (10 + (_root.skill[14] * 2)) + "% of enemy life";
}
d2 = (10 + ((_root.skill[14] + 1) * 2)) + "% of enemy life";
Symbol 1284 MovieClip Frame 17
if (_root.skill[15] == 0) {
d1 = "-";
} else {
d1 = 60 + (_root.skill[15] * 25);
}
d2 = 60 + ((_root.skill[15] + 1) * 25);
Symbol 1284 MovieClip Frame 18
if (_root.skill[16] == 0) {
d1 = "-";
} else {
d1 = (15 + (_root.skill[16] * 7)) + " each hit";
}
d2 = (15 + ((_root.skill[16] + 1) * 7)) + " each hit";
Symbol 1284 MovieClip Frame 19
if (_root.skill[17] == 0) {
d1 = "-";
} else {
d1 = (70 + (_root.skill[17] * 5)) + "% attack per hit";
}
d2 = (70 + ((_root.skill[17] + 1) * 5)) + "% attack per hit";
Symbol 1284 MovieClip Frame 20
if (_root.skill[18] == 0) {
d1 = "-";
} else {
d1 = (70 + (_root.skill[18] * 30)) + " life";
}
d2 = (70 + ((_root.skill[18] + 1) * 30)) + " life";
Symbol 1291 Button
on (release, keyPress "<Space>") {
if (_root.hold != true) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
gotoAndStop (1);
_root.pause = false;
}
}
Symbol 1313 MovieClip Frame 1
stop();
Symbol 1314 Button
on (rollOver) {
mealset = "Meal_0";
foodcost = 5;
foodeng = 20;
foodlife = 5;
foodmana = 5;
}
on (rollOut) {
foodcost = "-";
foodeng = "-";
foodlife = "-";
foodmana = "-";
}
on (release) {
if (_root.gold >= foodcost) {
tellTarget (mealset) {
gotoAndPlay (2);
};
_root.gold = _root.gold - foodcost;
_root.lifeb = _root.lifeb + foodlife;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
_root.engb = _root.engb + foodeng;
engbar.gotoandplay("up");
if (_root.engb > _root.engmaxb) {
_root.engb = _root.engmaxb;
}
engbar._width = (_root.engb / _root.engmaxb) * engbar.widthkeep;
_root.manab = _root.manab + foodmana;
manabar.gotoandplay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
}
Symbol 1315 Button
on (rollOver) {
mealset = "Meal_2";
foodcost = 15;
foodeng = 50;
foodlife = 15;
foodmana = 15;
}
on (rollOut) {
foodcost = "-";
foodeng = "-";
foodlife = "-";
foodmana = "-";
}
on (release) {
if (_root.gold >= foodcost) {
tellTarget (mealset) {
gotoAndPlay (2);
};
_root.gold = _root.gold - foodcost;
_root.lifeb = _root.lifeb + foodlife;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
_root.engb = _root.engb + foodeng;
engbar.gotoandplay("up");
if (_root.engb > _root.engmaxb) {
_root.engb = _root.engmaxb;
}
engbar._width = (_root.engb / _root.engmaxb) * engbar.widthkeep;
_root.manab = _root.manab + foodmana;
manabar.gotoandplay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
}
Symbol 1316 Button
on (rollOver) {
mealset = "Meal_1";
foodcost = 20;
foodeng = 60;
foodlife = 20;
foodmana = 20;
}
on (rollOut) {
foodcost = "-";
foodeng = "-";
foodlife = "-";
foodmana = "-";
}
on (release) {
if (_root.gold >= foodcost) {
tellTarget (mealset) {
gotoAndPlay (2);
};
_root.gold = _root.gold - foodcost;
_root.lifeb = _root.lifeb + foodlife;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
_root.engb = _root.engb + foodeng;
engbar.gotoandplay("up");
if (_root.engb > _root.engmaxb) {
_root.engb = _root.engmaxb;
}
engbar._width = (_root.engb / _root.engmaxb) * engbar.widthkeep;
_root.manab = _root.manab + foodmana;
manabar.gotoandplay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
}
Symbol 1317 Button
on (rollOver) {
mealset = "Meal_3";
foodcost = 1;
foodeng = 2;
foodlife = 2;
foodmana = 2;
}
on (rollOut) {
foodcost = "-";
foodeng = "-";
foodlife = "-";
foodmana = "-";
}
on (release) {
if (_root.gold >= foodcost) {
tellTarget (mealset) {
gotoAndPlay (2);
};
_root.gold = _root.gold - foodcost;
_root.lifeb = _root.lifeb + foodlife;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
_root.engb = _root.engb + foodeng;
engbar.gotoandplay("up");
if (_root.engb > _root.engmaxb) {
_root.engb = _root.engmaxb;
}
engbar._width = (_root.engb / _root.engmaxb) * engbar.widthkeep;
_root.manab = _root.manab + foodmana;
manabar.gotoandplay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
}
Symbol 1320 Button
on (release, keyPress "<Space>") {
if (_root.hold != true) {
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
gotoAndStop (1);
_root.pause = false;
}
}
Symbol 1332 Button
on (release) {
_root.inventory.saved.play();
datasave = new Array();
datasave = ["strb", "speedb", "lifemaxb", "manamaxb", "expb", "engmaxb", "gold", "phydmgb", "magdmgb", "phydefb", "magdefb", "shdphydefb", "shdmagdefb", "shdptsb", "shddmgb", "level", "playername", "newobjective", "Helmet", "Suit", "Weapon", "Shield", "manapots", "lifepots", "skillpts", "expmaxb", "rests", "ninjaav", "classname", "classtype", "moon_q"];
_root.user.data.stats = new Array();
_root.user.data.itemstats = new Array();
_root.user.data.skill = new Array();
for (i in datasave) {
_root.user.data.stats[i] = _root[datasave[i]];
}
for (i in _root.skill) {
_root.user.data.skill[i] = _root.skill[i];
}
for (i in _root.itemstats) {
_root.user.data.itemstats[i] = _root.itemstats[i];
}
_root.user.data.p1 = _root.portallevel[0];
_root.user.data.p2 = _root.portallevel[1];
_root.user.data.p3 = _root.portallevel[2];
_root.user.data.life = _root.lifeb;
_root.user.data.mana = _root.manab;
_root.user.data.eng = _root.engb;
_root.user.flush();
}
Symbol 1333 Button
on (release) {
if (_root.rests > 0) {
_root.rests--;
_root.engb = _root.engmaxb;
_root.manab = _root.manamaxb;
_root.lifeb = _root.lifemaxb;
}
}
Symbol 1358 MovieClip Frame 1
stop();
Symbol 1361 MovieClip Frame 15
stop();
Symbol 1362 Button
on (release) {
book = "b";
gotoAndStop (19);
}
Symbol 1365 Button
on (release) {
book = "e";
gotoAndStop (19);
}
Symbol 1366 Button
on (release) {
book = "d";
gotoAndStop (19);
}
Symbol 1369 Button
on (release) {
book = "a";
gotoAndStop (19);
}
Symbol 1383 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip [FScrollBarSymbol] in Symbol 1383 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Symbol 1386 Button
on (release, keyPress "<Space>") {
if ((_root.itempick == "None") && (_root.hold != true)) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_parent.inventory._visible = false;
_root.pause = false;
}
}
Symbol 1394 Button
on (release) {
if (_root.gold >= 25) {
_root.gold = _root.gold - 25;
_root.lifepots = _root.lifepots + 1;
lifepotmc.gotoAndPlay(2);
}
}
Symbol 1395 Button
on (release) {
if (_root.gold >= 15) {
_root.gold = _root.gold - 15;
_root.manapots = _root.manapots + 1;
manapotmc.gotoAndPlay(2);
}
}
Symbol 1401 Button
on (release, keyPress "<Space>") {
if ((_root.itempick == "None") && (_root.hold != true)) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_parent.inventory._visible = false;
gotoAndStop (1);
_root.pause = false;
}
}
Symbol 1408 Button
on (release) {
if (_root.gold >= 10) {
_root.gold = _root.gold - 10;
_root.lifeb = _root.lifeb + 40;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
}
}
Symbol 1409 Button
on (release) {
if (_root.gold >= 5) {
_root.gold = _root.gold - 5;
_root.manab = _root.manab + 40;
manabar.gotoAndPlay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
}
Symbol 1410 Button
on (release) {
if (_root.gold >= 20) {
_root.gold = _root.gold - 20;
_root.manab = _root.manab + 60;
_root.lifeb = _root.lifeb + 60;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
}
manabar.gotoAndPlay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
Symbol 1411 Button
on (release) {
if (_root.gold >= 30) {
_root.gold = _root.gold - 30;
_root.manab = _root.manab + 120;
_root.lifeb = _root.lifeb + 120;
lifebar.gotoAndPlay("up");
if (_root.lifeb > _root.lifemaxb) {
_root.lifeb = _root.lifemaxb;
}
lifebar._width = (_root.lifeb / _root.lifemaxb) * lifebar.widthkeep;
}
manabar.gotoAndPlay("up");
if (_root.manab > _root.manamaxb) {
_root.manab = _root.manamaxb;
}
manabar._width = (_root.manab / _root.manamaxb) * manabar.widthkeep;
}
Symbol 1428 Button
on (release, keyPress "<Space>") {
if ((_root.itempick == "None") && (_root.hold != true)) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
gotoAndStop (1);
_root.pause = false;
}
}
Symbol 1453 Button
on (release) {
_root.exprate = 3;
_root.engrate = 2;
level = 1;
if (_root.engb > 0) {
if ((_root.itempick == "None") && (_root.hold != true)) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_parent.inventory._visible = false;
_root.pause = false;
}
_root.encounter.portaltype = "Training Room";
_root.encounter.level = level;
_root.encounter.label = "TRAIN" + [level];
_root.bgstage = "Arena";
_root.encounter.play();
_root.meet = true;
_root.pause = true;
}
}
Symbol 1454 Button
on (release) {
_root.exprate = 5;
_root.engrate = 3;
level = 2;
if (_root.engb > 0) {
if ((_root.itempick == "None") && (_root.hold != true)) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_parent.inventory._visible = false;
_root.pause = false;
}
_root.encounter.portaltype = "Training Room";
_root.encounter.level = level;
_root.encounter.label = "TRAIN" + [level];
_root.bgstage = "Arena";
_root.encounter.play();
_root.meet = true;
_root.pause = true;
}
}
Symbol 1455 Button
on (release) {
_root.exprate = 20;
_root.engrate = 10;
level = 3;
if (_root.engb > 0) {
if ((_root.itempick == "None") && (_root.hold != true)) {
gotoAndStop (1);
sellprice = "";
for (i in _root.BodyParts) {
_root.grid.char.movement[_root.BodyParts[i]].gotoAndStop(_root.Suit);
}
with (_root.grid.char.movement) {
head.gotoAndStop(_root.Helmet);
}
_root.walkmenu.engbar._width = (_root.engb / _root.engmaxb) * _root.walkmenu.engbar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.manabar._width = (_root.manab / _root.manamaxb) * _root.walkmenu.manabar.widthkeep;
_root.walkmenu.lifebar._width = (_root.lifeb / _root.lifemaxb) * _root.walkmenu.lifebar.widthkeep;
_parent.inventory._visible = false;
_root.pause = false;
}
_root.encounter.portaltype = "Training Room";
_root.encounter.level = level;
_root.encounter.label = "TRAIN" + [level];
_root.bgstage = "Arena";
_root.encounter.play();
_root.meet = true;
_root.pause = true;
}
}
Symbol 1458 MovieClip Frame 1
stop();
Symbol 1458 MovieClip Frame 2
stop();
_root.itempick = "None";
Instance of Symbol 465 MovieClip "slot4" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[4]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[5]);
}
Instance of Symbol 465 MovieClip "slot6" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[6]);
}
Instance of Symbol 465 MovieClip "slot7" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[7]);
}
Instance of Symbol 465 MovieClip "slot8" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[8]);
}
Instance of Symbol 465 MovieClip "slot9" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[9]);
}
Instance of Symbol 465 MovieClip "slot10" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[10]);
}
Instance of Symbol 465 MovieClip "slot11" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[11]);
}
Instance of Symbol 465 MovieClip "slot3" in Symbol 1458 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[3]);
}
Instance of Symbol 465 MovieClip "slot2" in Symbol 1458 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[2]);
}
Instance of Symbol 465 MovieClip "slot0" in Symbol 1458 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[0]);
}
Instance of Symbol 465 MovieClip "slot1" in Symbol 1458 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[1]);
}
Instance of Symbol 1001 MovieClip "explainbox" in Symbol 1458 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 465 MovieClip "itemmouse" in Symbol 1458 MovieClip Frame 2
onClipEvent (enterFrame) {
startDrag (this, true);
}
Symbol 1458 MovieClip Frame 3
_root.itemstats[20] = "Silver Knife";
_root.itemstats[21] = "Spiked Axe";
_root.itemstats[22] = "Heavy Blade";
_root.itemstats[23] = "Leather Wrist";
_root.itemstats[24] = "Metal Wrist";
_root.itemstats[25] = "Wooden Guard";
_root.itemstats[26] = "Hand Blade";
_root.itemstats[27] = "Bandana";
_root.itemstats[28] = "Metal Band";
_root.itemstats[29] = "Leather Armour";
Instance of Symbol 465 MovieClip "slot4" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[4]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[5]);
}
Instance of Symbol 465 MovieClip "slot6" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[6]);
}
Instance of Symbol 465 MovieClip "slot7" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[7]);
}
Instance of Symbol 465 MovieClip "slot8" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[8]);
}
Instance of Symbol 465 MovieClip "slot9" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[9]);
}
Instance of Symbol 465 MovieClip "slot10" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[10]);
}
Instance of Symbol 465 MovieClip "slot11" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[11]);
}
Instance of Symbol 465 MovieClip "slot3" in Symbol 1458 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[3]);
}
Instance of Symbol 465 MovieClip "slot2" in Symbol 1458 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[2]);
}
Instance of Symbol 465 MovieClip "slot0" in Symbol 1458 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[0]);
}
Instance of Symbol 465 MovieClip "slot1" in Symbol 1458 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[1]);
}
Instance of Symbol 1001 MovieClip "explainbox" in Symbol 1458 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[20]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[21]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[22]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[24]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[27]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[28]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[29]);
}
Symbol 1458 MovieClip Frame 4
_root.itemstats[20] = "Rust Blade";
_root.itemstats[21] = "Katana";
_root.itemstats[22] = "Shield Breaker";
_root.itemstats[23] = "Blaze Edge";
_root.itemstats[24] = "Wooden Rod";
_root.itemstats[25] = "Metal Guard";
_root.itemstats[26] = "Double Blade";
_root.itemstats[27] = "Claw Blade";
_root.itemstats[28] = "Golden Rod";
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 4
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[28]);
}
Symbol 1458 MovieClip Frame 5
_root.itemstats[20] = "Focus Band";
_root.itemstats[21] = "Fire Band";
_root.itemstats[22] = "Power Band";
_root.itemstats[23] = "Snake Band";
_root.itemstats[24] = "Metal Plates";
_root.itemstats[25] = "Metal Armour";
_root.itemstats[26] = "Snake Skin";
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[21]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[22]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[24]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Symbol 1458 MovieClip Frame 6
_root.itemstats[20] = "Fusion Edge";
_root.itemstats[21] = "Demon Skin";
_root.itemstats[22] = "Demon Rags";
_root.itemstats[23] = "Ki Band";
_root.itemstats[24] = "Focus Armour";
_root.itemstats[25] = "Energy Wrist";
_root.itemstats[26] = "Blade Shield";
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Symbol 1458 MovieClip Frame 7
_root.itemstats[20] = "Shadow Katana";
_root.itemstats[21] = "Shadow Spirit";
_root.itemstats[22] = "Shadow Armour";
_root.itemstats[23] = "Shadow Band";
_root.itemstats[24] = "Shadow Wrist";
Symbol 1458 MovieClip Frame 8
_root.itemstats[20] = "Golden Blade";
_root.itemstats[21] = "Ion Bo";
_root.itemstats[22] = "Guard Blade";
_root.itemstats[23] = "Golden Armour";
_root.itemstats[24] = "Golden Band";
_root.itemstats[25] = "The Guardian";
_root.itemstats[26] = "Voodoo Shield";
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 8
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 8
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Symbol 1458 MovieClip Frame 9
_root.itemstats[20] = "White Leaves";
Symbol 1458 MovieClip Frame 12
_root.itemstats[20] = "Long Sword";
_root.itemstats[21] = "Chain Mail";
_root.itemstats[22] = "Long Sword";
_root.itemstats[23] = "Chain Mail";
_root.itemstats[24] = "Long Sword";
_root.itemstats[25] = "Chain Mail";
_root.itemstats[26] = "Long Sword";
_root.itemstats[27] = "Chain Mail";
_root.itemstats[28] = "Long Sword";
_root.itemstats[29] = "Chain Mail";
Instance of Symbol 465 MovieClip "slot4" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[4]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[5]);
}
Instance of Symbol 465 MovieClip "slot6" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[6]);
}
Instance of Symbol 465 MovieClip "slot7" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[7]);
}
Instance of Symbol 465 MovieClip "slot8" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[8]);
}
Instance of Symbol 465 MovieClip "slot9" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[9]);
}
Instance of Symbol 465 MovieClip "slot10" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[10]);
}
Instance of Symbol 465 MovieClip "slot11" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[11]);
}
Instance of Symbol 465 MovieClip "slot3" in Symbol 1458 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[3]);
}
Instance of Symbol 465 MovieClip "slot2" in Symbol 1458 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[2]);
}
Instance of Symbol 465 MovieClip "slot0" in Symbol 1458 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[0]);
}
Instance of Symbol 465 MovieClip "slot1" in Symbol 1458 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[1]);
}
Instance of Symbol 1001 MovieClip "explainbox" in Symbol 1458 MovieClip Frame 12
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[20]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[21]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[22]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[24]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[27]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[28]);
}
Instance of Symbol 465 MovieClip "slot5" in Symbol 1458 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[29]);
}
Symbol 1458 MovieClip Frame 13
for (i in _root.skill) {
_root["skillx" + i] = _root.skill[i];
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[2] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[3] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[6] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[8] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[9] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[7] > 0)) && (_root.skill[11] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[12] > 0)) && (_root.skill[5] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (((_root.level >= 15) && (_root.skill[13] > 0)) && (_root.skill[14] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 15) && (_root.skill[15] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1458 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Symbol 1458 MovieClip Frame 14
prevFrame();
Instance of Symbol 526 MovieClip "lifebar" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 530 MovieClip "manabar" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 526 MovieClip "engbar" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Instance of Symbol 1313 MovieClip "Meal_0" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Dish0");
}
Instance of Symbol 1313 MovieClip "Meal_2" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Dish1");
}
Instance of Symbol 1313 MovieClip "Meal_1" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Bowl0");
}
Instance of Symbol 1313 MovieClip "Meal_3" in Symbol 1458 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Glass0");
}
Instance of Symbol 526 MovieClip "lifebar" in Symbol 1458 MovieClip Frame 17
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 530 MovieClip "manabar" in Symbol 1458 MovieClip Frame 17
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 526 MovieClip "engbar" in Symbol 1458 MovieClip Frame 17
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Instance of Symbol 618 MovieClip in Symbol 1458 MovieClip Frame 17
onClipEvent (load) {
this.gotoAndStop(_root.ninjaav);
}
Instance of Symbol 1383 MovieClip "book" in Symbol 1458 MovieClip Frame 19
onClipEvent (load) {
this.gotoAndStop(_parent.book);
}
Instance of Symbol 526 MovieClip "lifebar" in Symbol 1458 MovieClip Frame 20
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 530 MovieClip "manabar" in Symbol 1458 MovieClip Frame 20
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 526 MovieClip "engbar" in Symbol 1458 MovieClip Frame 22
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Symbol 1461 Button
on (release) {
toggleHighQuality();
}
Symbol 1462 Button
on (release) {
stopAllSounds();
_root.clearstage = true;
_root.cleargrid = true;
removeMovieClip("TalkBox");
removeMovieClip("inventory");
removeMovieClip("objectives");
removeMovieClip("blackout");
gotoAndPlay (17);
}
Symbol 1463 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}
Symbol 1504 MovieClip Frame 1
stop();
Symbol 1504 MovieClip Frame 9
gotoAndStop (1);
Symbol 1504 MovieClip Frame 12
_root.cover._visible = false;
_root.gotoAndStop(stagelabel);
_root.clearstage = false;
Symbol 1542 MovieClip Frame 1
person.gotoAndStop(persontype);
stop();
Symbol 1599 MovieClip Frame 1
itemthing.gotoAndStop(item);
stop();
Symbol 1602 MovieClip Frame 1
stop();
Symbol 1602 MovieClip Frame 3
_root.cover._visible = false;
Symbol 1602 MovieClip Frame 4
_root.gotoAndStop(stagelabel);
_root.clearstage = false;
Symbol 1702 MovieClip Frame 1
stop();
Symbol 1707 MovieClip Frame 1
person.gotoAndStop(persontype);
stop();
Instance of Symbol 1757 MovieClip in Symbol 1761 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud._x, this._y)) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
} else if (this._alpha < 50) {
this._alpha = this._alpha + 5;
}
}
Symbol 1819 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1819 MovieClip Frame 2
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1819 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1819 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
gotoAndPlay (2);
Symbol 1820 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1820 MovieClip Frame 6
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1820 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1820 MovieClip Frame 15
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1820 MovieClip Frame 19
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1820 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1821 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1821 MovieClip Frame 2
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1821 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
if (subject == "hero1") {
_root.Heal(80, subject, "life");
} else {
_root.Heal(4 * _root.portallevel[0], subject, "life");
}
Symbol 1821 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1822 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1822 MovieClip Frame 2
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1822 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.Heal(80, subject, "mana");
Symbol 1822 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1824 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1824 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1824 MovieClip Frame 19
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1824 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 1820 MovieClip "hero" in Symbol 1825 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1825 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1825 MovieClip Frame 23
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1825 MovieClip Frame 25
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1825 MovieClip Frame 27
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1825 MovieClip Frame 30
if (subject == "hero1") {
_root[dmgtype + "Damage"](_root[mcname + "phydmg"] + (_root.skill[10] * 5), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
} else {
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
}
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1825 MovieClip Frame 34
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1825 MovieClip Frame 35
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1825 MovieClip Frame 55
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1826 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1826 MovieClip Frame 3
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1826 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1826 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1826 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1827 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1827 MovieClip Frame 5
_root[subject + "shieldtype"] = "None";
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1827 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1827 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1828 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1828 MovieClip Frame 3
select = "humanhit" + random(2);
_root.playSound(select);
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1828 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1828 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1828 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1830 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1830 MovieClip Frame 3
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1830 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1830 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1830 MovieClip Frame 13
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1830 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1830 MovieClip Frame 21
stop();
_root.blackout.play();
Symbol 1831 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1831 MovieClip Frame 4
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1831 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root[mcname].gotoAndStop("stand");
Symbol 1832 MovieClip Frame 1
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Instance of Symbol 1820 MovieClip "hero" in Symbol 1832 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1832 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1832 MovieClip Frame 35
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1832 MovieClip Frame 36
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1832 MovieClip Frame 56
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1834 MovieClip Frame 1
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1834 MovieClip Frame 15
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1820 MovieClip "hero" in Symbol 1836 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1836 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1836 MovieClip Frame 29
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1836 MovieClip Frame 33
_root[dmgtype + "Damage"]((_root[mcname + "phydmg"] + (_root.skill[10] * 5)) + (_root.skill[0] * 4), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1836 MovieClip Frame 42
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1836 MovieClip Frame 44
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1836 MovieClip Frame 45
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1836 MovieClip Frame 65
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1843 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1843 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 24
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 26
_root[dmgtype + "Damage"](((_root[mcname + "phydmg"] / 100) * (52 + (8 * _root.skill[2]))) + (_root.skill[10] * 5), (_root[mcname + "magdmg"] / 100) * (52 + (8 * _root.skill[2])), false, (_root[mcname + "shddmg"] / 100) * (62 + (8 * _root.skill[1])), (_root[mcname + "str"] / 100) * (52 + (8 * _root.skill[2])), _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 27
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 33
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 35
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 36
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 38
if (_root[_root.herotarget + "life"] > 0) {
_root[dmgtype + "Damage"](((_root[mcname + "phydmg"] / 100) * (52 + (8 * _root.skill[2]))) + (_root.skill[10] * 5), (_root[mcname + "magdmg"] / 100) * (52 + (8 * _root.skill[2])), false, (_root[mcname + "shddmg"] / 100) * (62 + (8 * _root.skill[1])), (_root[mcname + "str"] / 100) * (52 + (8 * _root.skill[2])), _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
}
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1843 MovieClip Frame 45
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1843 MovieClip Frame 46
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1843 MovieClip Frame 66
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1845 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 8
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 13
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 19
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 23
_root[dmgtype + "Damage"]((_root[mcname + "phydmg"] + ((_root.skill[3] * 0.6) * _root.hero1speed)) + (_root.skill[10] * 5), _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"] + 7, random(_root[mcname + "phydmg"] / 3) + random(5));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 27
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 28
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 31
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 32
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1845 MovieClip Frame 36
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1820 MovieClip "hero" in Symbol 1847 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1847 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 15
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 23
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 25
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 46
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 47
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 48
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 49
_root[dmgtype + "Damage"](_root[mcname + "phydmg"] + (_root.skill[10] * 5), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"] * (1 + (0.8 * _root.skill[6])), _root[mcname + "speed"] - 2, random(_root[mcname + "phydmg"] / 3) + random(5));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 50
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1847 MovieClip Frame 54
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1847 MovieClip Frame 55
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1847 MovieClip Frame 75
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1848 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1848 MovieClip Frame 18
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1848 MovieClip Frame 30
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1848 MovieClip Frame 34
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1848 MovieClip Frame 35
_root[dmgtype + "Damage"]((_root[mcname + "phydmg"] + (_root.skill[10] * 5)) + ((_root.skill[13] + 1) * (_root[mcname + "lifemax"] - _root[mcname + "life"])), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
Symbol 1848 MovieClip Frame 44
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1848 MovieClip Frame 49
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1848 MovieClip Frame 50
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1848 MovieClip Frame 70
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1849 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1849 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 25
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 26
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 28
_root[dmgtype + "Damage"](((_root[mcname + "phydmg"] / 100) * (60 + (5 * _root.skill[17]))) + (_root.skill[10] * 5), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 30
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 31
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 35
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 37
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 38
if (_root[_root.herotarget + "life"] > 0) {
_root[dmgtype + "Damage"](((_root[mcname + "phydmg"] / 100) * (60 + (5 * _root.skill[17]))) + (_root.skill[10] * 5), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
}
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 42
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 44
if (_root[_root.herotarget + "life"] > 0) {
_root[dmgtype + "Damage"](((_root[mcname + "phydmg"] / 100) * (60 + (5 * _root.skill[17]))) + (_root.skill[10] * 5), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
}
Symbol 1849 MovieClip Frame 45
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 46
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 47
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 49
if (_root[_root.herotarget + "life"] > 0) {
_root[dmgtype + "Damage"](((_root[mcname + "phydmg"] / 100) * (60 + (5 * _root.skill[17]))) + (_root.skill[10] * 5), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
}
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 55
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1849 MovieClip Frame 59
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1849 MovieClip Frame 60
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1849 MovieClip Frame 80
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1851 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1851 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 22
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 23
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 24
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 28
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 33
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 43
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 46
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 50
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 54
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 58
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 62
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 64
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 65
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1851 MovieClip Frame 66
_root[dmgtype + "Damage"]((_root[mcname + "phydmg"] + (_root.skill[10] * 5)) + ((_root[_root.herotarget + "life"] / 100) * (10 + (2 * _root.skill[14]))), _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(10));
Instance of Symbol 1824 MovieClip "hero" in Symbol 1851 MovieClip Frame 66
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1851 MovieClip Frame 86
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1862 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1862 MovieClip Frame 4
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1862 MovieClip Frame 10
_root.playSound("miss");
Symbol 1862 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1862 MovieClip Frame 18
_root.savetarget = _root.herotarget;
if (_root.enemy1life > 0) {
_root.herotarget = "enemy1";
_root[dmgtype + "Damage"](0, (_root[mcname + "magdmg"] + (15 + (_root.skill[1] * 7))) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
}
if (_root.enemy2life > 0) {
_root.herotarget = "enemy2";
_root[dmgtype + "Damage"](0, (_root[mcname + "magdmg"] + (15 + (_root.skill[1] * 7))) + (_root.skill[8] * 7), false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
}
_root.herotarget = _root.savetarget;
Symbol 1862 MovieClip Frame 25
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1877 MovieClip Frame 12
stop();
Symbol 1878 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 9
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 14
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 17
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 19
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 20
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 23
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 25
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 40) + (9 * _root.skill[4])) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"] + 5, random(_root[mcname + "phydmg"] / 3));
Symbol 1878 MovieClip Frame 28
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1878 MovieClip Frame 37
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1880 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1880 MovieClip Frame 4
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1880 MovieClip Frame 9
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1880 MovieClip Frame 10
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1880 MovieClip Frame 13
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1880 MovieClip Frame 17
_root.savetarget = _root.herotarget;
if (_root.enemy1life > 0) {
_root.herotarget = "enemy1";
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 7) + (5 * _root.skill[5])) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"] + 5, random(_root[mcname + "phydmg"] / 3) + random(5));
}
if (_root.enemy2life > 0) {
_root.herotarget = "enemy2";
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 7) + (5 * _root.skill[5])) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"] + 5, random(_root[mcname + "phydmg"] / 3) + random(5));
}
_root.herotarget = _root.savetarget;
Symbol 1880 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1880 MovieClip Frame 26
_root.savetarget = _root.herotarget;
if (_root.enemy1life > 0) {
_root.herotarget = "enemy1";
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 7) + (5 * _root.skill[5])) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"] + 5, random(_root[mcname + "phydmg"] / 3) + random(5));
}
if (_root.enemy2life > 0) {
_root.herotarget = "enemy2";
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 7) + (5 * _root.skill[5])) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"] + 5, random(_root[mcname + "phydmg"] / 3) + random(5));
}
_root.herotarget = _root.savetarget;
Symbol 1880 MovieClip Frame 37
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1881 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1881 MovieClip Frame 2
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1881 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.Heal(Math.round((_root[[subject] + "lifemax"] / 100) * ((_root.skill[12] * 12) + 13)), subject, "life");
Symbol 1881 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1882 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1882 MovieClip Frame 2
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1882 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.Heal(Math.round(_root.skill[9] * 25), subject, "mana");
Symbol 1882 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1885 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1885 MovieClip Frame 6
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1885 MovieClip Frame 12
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1885 MovieClip Frame 26
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1885 MovieClip Frame 27
_root[dmgtype + "Damage"](0, _root[subject + "mana"] * (0.7 + (0.8 * _root.skill[11])), false, 0, 0, _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
_root.hero1mana = 0;
Symbol 1885 MovieClip Frame 30
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1885 MovieClip Frame 46
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1887 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1887 MovieClip Frame 7
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1887 MovieClip Frame 14
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1887 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1887 MovieClip Frame 22
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1887 MovieClip Frame 24
_root[dmgtype + "Damage"](0, (_root[mcname + "magdmg"] + (60 + (_root.skill[1] * 25))) + (_root.skill[8] * 7), true, 0, 0, _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
Symbol 1887 MovieClip Frame 32
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1896 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1896 MovieClip Frame 6
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1896 MovieClip Frame 16
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 15) + (_root.skill[1] * 7)) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
Symbol 1896 MovieClip Frame 25
if (_root[_root.herotarget + "life"] > 0) {
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 15) + (_root.skill[1] * 7)) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
}
Symbol 1896 MovieClip Frame 36
if (_root[_root.herotarget + "life"] > 0) {
_root[dmgtype + "Damage"](0, ((_root[mcname + "magdmg"] + 15) + (_root.skill[1] * 7)) + (_root.skill[8] * 7), false, 0, 0, _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
}
Symbol 1896 MovieClip Frame 44
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1896 MovieClip Frame 50
if (_root.eded != true) {
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
}
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1898 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1898 MovieClip Frame 8
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1898 MovieClip Frame 14
_root.hero2lifemax = 70 + (30 * _root.skill[18]);
_root.hero2phydmg = 13 + (12 * _root.skill[18]);
_root.hero2magdmg = 13 + (12 * _root.skill[18]);
_root.hero2speed = _root.hero1speed + (4 * _root.skill[18]);
_root.hero2life = _root.hero2lifemax;
_root.hero2bar._width = (_root.hero2life / _root.hero2lifemax) * _root.hero2bar.widthkeep;
Symbol 1898 MovieClip Frame 19
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1899 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1899 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1899 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1899 MovieClip Frame 18
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1899 MovieClip Frame 23
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1899 MovieClip Frame 25
_root[dmgtype + "Damage"](0, _root[mcname + "magdmg"] + 10, false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"] + 10, random(_root[mcname + "phydmg"] / 3));
Symbol 1899 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1900 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1900 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1900 MovieClip Frame 23
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1900 MovieClip Frame 26
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1900 MovieClip Frame 28
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1900 MovieClip Frame 30
_root[dmgtype + "Damage"](_root[mcname + "phydmg"] * 1.5, _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"] + 3, random(_root[mcname + "phydmg"] / 3));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1900 MovieClip Frame 34
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1900 MovieClip Frame 39
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1900 MovieClip Frame 40
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1900 MovieClip Frame 60
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1901 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1901 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1901 MovieClip Frame 29
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1901 MovieClip Frame 33
_root[dmgtype + "Damage"](_root[mcname + "phydmg"] + 5, _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3) + random(5));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1901 MovieClip Frame 42
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1901 MovieClip Frame 44
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1901 MovieClip Frame 45
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1901 MovieClip Frame 65
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1902 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1902 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1902 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1902 MovieClip Frame 18
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1902 MovieClip Frame 23
_root[dmgtype + "Damage"](0, _root[mcname + "magdmg"] + 15, false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"] + 10, random(_root[mcname + "phydmg"] / 3));
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1902 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1904 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1904 MovieClip Frame 3
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1904 MovieClip Frame 6
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1904 MovieClip Frame 11
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1904 MovieClip Frame 13
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1904 MovieClip Frame 16
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1904 MovieClip Frame 27
_root[dmgtype + "Damage"](_root[mcname + "phydmg"] + 10, 0, false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 1904 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1820 MovieClip "hero" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1906 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1906 MovieClip Frame 33
_root[dmgtype + "Damage"](_root[mcname + "phydmg"] * 2, _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 1906 MovieClip Frame 35
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1906 MovieClip Frame 36
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1906 MovieClip Frame 56
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1820 MovieClip "hero" in Symbol 1907 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1907 MovieClip Frame 21
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1907 MovieClip Frame 50
dmg = _root[_root.enemytarget + "life"];
_root[dmgtype + "Damage"](dmg, 0, false, 999, 0, _root[mcname + "speed"], 0);
Symbol 1907 MovieClip Frame 54
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Instance of Symbol 1824 MovieClip "hero" in Symbol 1907 MovieClip Frame 55
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1907 MovieClip Frame 75
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1908 MovieClip Frame 1
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1908 MovieClip Frame 5
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1908 MovieClip Frame 16
_root[dmgtype + "Damage"](25, 0, true, 0, 0, _root[mcname + "speed"], 0);
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1908 MovieClip Frame 18
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1908 MovieClip Frame 23
_root.Heal(30, subject, "life");
sword.gotoAndStop(_root[subject + "swordtype"]);
head.gotoAndStop(_root[subject + "Helmet"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
for (i in _root[subject + "BodyParts"]) {
tellTarget (_root[subject + "BodyParts"][i]) {
gotoAndStop(_root[_parent.subject + "Suit"]);
};
}
Symbol 1908 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1909 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 1909 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 10
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 12
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 13
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 15
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 16
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 17
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 18
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 19
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 20
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 21
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 23
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 24
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 25
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 26
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 27
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 28
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 29
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 30
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 31
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 33
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 34
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 35
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 36
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 37
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 38
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 39
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1909 MovieClip Frame 40
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1911 Button
on (release) {
if (((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.Fight("attack");
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1914 MovieClip Frame 1
stop();
Symbol 1914 MovieClip Frame 2
counter.dmg2 = dmg;
_root[thing + "bar"]._width = (_root[thing + "life"] / _root[thing + "lifemax"]) * _root[thing + "bar"].widthkeep;
Symbol 1914 MovieClip Frame 25
gotoAndStop (1);
Symbol 1914 MovieClip Frame 26
counter.dmg2 = dmg;
_root[thing + "bar"]._width = (_root[thing + "life"] / _root[thing + "lifemax"]) * _root[thing + "bar"].widthkeep;
Symbol 1914 MovieClip Frame 49
gotoAndStop (1);
Symbol 1914 MovieClip Frame 50
counter.dmg2 = dmg;
Symbol 1914 MovieClip Frame 73
gotoAndStop (1);
Symbol 1914 MovieClip Frame 74
counter.dmg2 = dmg;
_root[thing + "bar2"]._width = (_root[thing + "shdpts"] / _root[thing + "shdptsmax"]) * _root[thing + "bar2"].widthkeep;
Symbol 1938 Button
on (release) {
if ((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.lifepots > 0)) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.Fight("heallife");
_root.midfight = true;
_root.turnnum++;
_root.lifepots--;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1939 Button
on (release) {
if ((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.manapots > 0)) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.Fight("healmana");
_root.midfight = true;
_root.turnnum++;
_root.manapots--;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1940 Button
on (rollOver) {
skilllabel = 1;
if (_root.Skill[skilllabel] > 0) {
manareq = 20;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1941 Button
on (rollOver) {
skilllabel = 0;
if (_root.Skill[skilllabel] > 0) {
manareq = 15;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1942 Button
on (rollOver) {
skilllabel = 2;
if (_root.Skill[skilllabel] > 0) {
manareq = 20;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1943 Button
on (rollOver) {
skilllabel = 3;
if (_root.Skill[skilllabel] > 0) {
manareq = 20;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1944 Button
on (rollOver) {
skilllabel = 4;
if (_root.Skill[skilllabel] > 0) {
manareq = 25;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1945 Button
on (rollOver) {
skilllabel = 5;
if (_root.Skill[skilllabel] > 0) {
manareq = 25;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1946 Button
on (rollOver) {
skilllabel = 6;
if (_root.Skill[skilllabel] > 0) {
manareq = 20;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1947 Button
on (rollOver) {
skilllabel = 18;
if (_root.Skill[skilllabel] > 0) {
manareq = 100;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) && (_root.Skill[skilllabel] > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1948 Button
on (rollOver) {
skilllabel = 11;
if (_root.Skill[skilllabel] > 0) {
manareq = 1;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1949 Button
on (rollOver) {
skilllabel = 12;
if (_root.Skill[skilllabel] > 0) {
manareq = 15;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1950 Button
on (rollOver) {
skilllabel = 13;
if (_root.Skill[skilllabel] > 0) {
manareq = 25;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1951 Button
on (rollOver) {
skilllabel = 9;
if (_root.Skill[skilllabel] > 0) {
manareq = 0;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1952 Button
on (rollOver) {
skilllabel = 17;
if (_root.Skill[skilllabel] > 0) {
manareq = 70;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1953 Button
on (rollOver) {
skilllabel = 14;
if (_root.Skill[skilllabel] > 0) {
manareq = 25;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1954 Button
on (rollOver) {
skilllabel = 15;
if (_root.Skill[skilllabel] > 0) {
manareq = 40;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1955 Button
on (rollOver) {
skilllabel = 16;
if (_root.Skill[skilllabel] > 0) {
manareq = 60;
_root.manacostv = "Mana Cost: ";
_root.manacostv2 = manareq;
}
}
on (rollOut) {
_root.manacostv = "";
_root.manacostv2 = "";
}
on (release) {
if ((((((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) && (_root.Skill[skilllabel] > 0)) && (_root.hero1mana >= manareq)) && (_root.Weapon != "None")) && ((_root.enemy1life + _root.enemy2life) > 0)) {
_root.hero1mana = _root.hero1mana - manareq;
_root.Fight(["Skill" + skilllabel]);
_root.midfight = true;
_root.turnnum++;
if (_root.turnnum == 4) {
_root.turnnum = 0;
}
}
}
Symbol 1977 Button
on (release, keyPress "<Space>") {
_root[typeoftarget] = target;
gotoAndPlay (2);
_root[otherpointer].gotoAndStop(1);
}
Symbol 1979 MovieClip Frame 1
stop();
Symbol 1979 MovieClip Frame 2
stop();
Symbol 1993 MovieClip Frame 1
_root.endtrain = false;
_root.midfight = true;
_root.bg.gotoAndStop(_root.bgstage);
_root.hero1bodyparts = new Array();
_root.hero1bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
_root.hero1suit = _root.Suit;
_root.hero1helmet = _root.Helmet;
_root.hero1swordtype = _root.Weapon;
_root.hero1shieldtype = _root.Shield;
_root.hero1speed = _root.speedb + (_root.skill[7] * 2);
_root.hero1str = _root.strb;
_root.hero1manamax = _root.manamaxb;
_root.hero1mana = _root.manab;
_root.hero1lifemax = _root.lifemaxb;
_root.hero1life = _root.lifeb;
_root.hero1bar._width = (_root.hero1life / _root.hero1lifemax) * _root.hero1bar.widthkeep;
_root.hero1shddmg = _root.shddmgb;
_root.hero1phydmg = _root.phydmgb;
_root.hero1magdmg = _root.magdmgb;
if (_root.shdptsb == 0) {
_root.hero1shdptsmax = 1;
} else {
_root.hero1shdptsmax = _root.shdptsb;
}
_root.hero1shdpts = _root.shdptsb;
_root.hero1phydef = _root.phydefb;
_root.hero1magdef = _root.magdefb;
_root.hero1shdmagdef = _root.shdphydefb;
_root.hero1shdphydef = _root.shdmagdefb;
_root.hero2bodyparts = new Array();
_root.hero2bodyparts = ["body", "arm1", "arm2", "handarm1", "handarm2", "leg1", "leg2", "feetleg1", "feetleg2", "feet1", "feet2"];
_root.hero2suit = "Shadow";
_root.hero2helmet = _root.hero2suit;
_root.hero2swordtype = _root.hero2suit;
_root.hero2shieldtype = _root.hero2suit;
_root.hero2speed = _root.speedb;
_root.hero2str = _root.strb;
_root.hero2manamax = _root.manamaxb;
_root.hero2mana = _root.manab;
_root.hero2lifemax = 1;
_root.hero2life = 0;
_root.hero2bar._width = (_root.hero2life / _root.hero2lifemax) * _root.hero2bar.widthkeep;
_root.hero2shddmg = _root.shddmgb;
_root.hero2phydmg = _root.phydmgb;
_root.hero2magdmg = _root.magdmgb;
if (_root.shdptsb == 0) {
_root.hero2shdptsmax = 1;
} else {
_root.hero2shdptsmax = _root.shdptsb;
}
_root.hero2shdpts = _root.shdptsb;
_root.hero2phydef = _root.phydefb;
_root.hero2magdef = _root.magdefb;
_root.hero2shdmagdef = _root.shdphydefb;
_root.hero2shdphydef = _root.shdmagdefb;
Symbol 1993 MovieClip Frame 3
setthing = ["hero1", "hero2", "enemy1", "enemy2"];
for (i in setthing) {
_root[setthing[i] + "bar2"]._width = (_root[setthing[i] + "shdpts"] / _root[setthing[i] + "shdptsmax"]) * _root[setthing[i] + "bar2"].widthkeep;
}
Symbol 1993 MovieClip Frame 11
_root.midfight = false;
_root.herotarget = "enemy1";
_root.enemytarget = "hero1";
_root.speedorder();
Symbol 1993 MovieClip Frame 12
stop();
Symbol 1993 MovieClip Frame 14
if (_root.hero1life <= 0) {
if (_root.midfight == false) {
_root.midfight = true;
gotoAndPlay (23);
} else {
gotoAndPlay (13);
}
} else if (((_root.enemy1life + _root.enemy2life) <= 0) || (_root.endtrain == true)) {
if (_root.midfight == false) {
_root.midfight = true;
gotoAndPlay (15);
} else {
gotoAndPlay (13);
}
} else {
gotoAndStop (12);
}
if (_root.enemy1life <= 0) {
_root.herotarget = "enemy2";
_root.pointer1._visible = false;
_root.pointer2.gotoAndStop("choosen");
}
if (_root.enemy2life <= 0) {
_root.herotarget = "enemy1";
_root.pointer2._visible = false;
_root.pointer1.gotoAndStop("choosen");
}
Symbol 1993 MovieClip Frame 15
_root.midfight = true;
Symbol 1993 MovieClip Frame 22
_root.gotoAndStop("victory");
stop();
Symbol 1993 MovieClip Frame 23
_root.midfight = true;
Symbol 1993 MovieClip Frame 30
_root.gotoAndStop("defeat");
stop();
Symbol 2001 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2001 MovieClip Frame 11
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2001 MovieClip Frame 21
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2002 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2002 MovieClip Frame 11
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2002 MovieClip Frame 14
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2002 MovieClip Frame 18
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2002 MovieClip Frame 22
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2002 MovieClip Frame 26
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2003 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2003 MovieClip Frame 11
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2003 MovieClip Frame 14
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2003 MovieClip Frame 37
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2003 MovieClip Frame 41
_root[dmgtype + "Damage"](0, _root[mcname + "magdmg"] + 20, false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"] + 10, random(_root[mcname + "phydmg"] / 3));
Symbol 2003 MovieClip Frame 48
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2004 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2004 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root.Heal(95, subject, "life");
Symbol 2004 MovieClip Frame 11
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2005 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2005 MovieClip Frame 6
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2005 MovieClip Frame 12
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root[mcname].gotoAndStop("stand");
Symbol 2006 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2006 MovieClip Frame 7
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root[subject + "shieldtype"] = "None";
Symbol 2006 MovieClip Frame 13
_root[mcname].gotoAndStop("stand");
Symbol 2007 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2007 MovieClip Frame 12
_root[mcname].gotoAndStop("stand");
Symbol 2008 MovieClip Frame 55
stop();
_root.blackout.play();
Symbol 2009 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2009 MovieClip Frame 3
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2009 MovieClip Frame 7
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2009 MovieClip Frame 10
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2009 MovieClip Frame 13
_root[mcname].gotoAndStop("stand");
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2010 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2010 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2010 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2021 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2021 MovieClip Frame 10
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2021 MovieClip Frame 21
gotoAndPlay (2);
Symbol 2023 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2023 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2023 MovieClip Frame 10
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2023 MovieClip Frame 12
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2023 MovieClip Frame 15
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2023 MovieClip Frame 17
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2023 MovieClip Frame 19
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2025 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2025 MovieClip Frame 6
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2025 MovieClip Frame 9
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"]);
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2025 MovieClip Frame 15
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2025 MovieClip Frame 22
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2027 MovieClip Frame 16
_root[mcname].gotoAndStop("stand");
Symbol 2035 MovieClip Frame 1
_root.eded = true;
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2035 MovieClip Frame 48
stop();
_root.eded = false;
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root.blackout.play();
Symbol 2037 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2037 MovieClip Frame 3
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2037 MovieClip Frame 7
_root[mcname].gotoAndStop("stand");
Symbol 2039 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2039 MovieClip Frame 3
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2039 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2039 MovieClip Frame 14
_root[mcname].gotoAndStop("stand");
Symbol 2040 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2040 MovieClip Frame 3
_root[subject + "shieldtype"] = "None";
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2040 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 2040 MovieClip Frame 14
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root[mcname].gotoAndStop("stand");
Symbol 2041 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2041 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2041 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2041 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2041 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2041 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2041 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2041 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2050 MovieClip Frame 21
gotoAndPlay (2);
Symbol 2056 MovieClip Frame 21
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"]);
Symbol 2056 MovieClip Frame 39
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2057 MovieClip Frame 14
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"]);
Symbol 2057 MovieClip Frame 25
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2058 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 2059 MovieClip Frame 33
stop();
_root.blackout.play();
Symbol 2060 MovieClip Frame 10
_root[mcname].gotoAndStop("stand");
Symbol 2061 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2061 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2061 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2061 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2061 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2061 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2080 MovieClip Frame 26
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2080 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2082 MovieClip Frame 38
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2082 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2083 MovieClip Frame 32
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2083 MovieClip Frame 50
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2083 MovieClip Frame 78
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2083 MovieClip Frame 90
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2084 MovieClip Frame 10
_root[mcname].gotoAndStop("stand");
Symbol 2085 MovieClip Frame 37
stop();
_root.blackout.play();
Symbol 2086 MovieClip Frame 19
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2092 MovieClip Frame 16
_root[mcname].gotoAndStop("stand");
Symbol 2098 MovieClip Frame 17
_root[mcname].gotoAndStop("stand");
_root[subject + "shieldtype"] = "None";
Symbol 2099 MovieClip Frame 5
_root.Heal(300, subject, "life");
Symbol 2099 MovieClip Frame 15
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2100 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2100 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2100 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
_root.enemy1shddmg = 5;
Symbol 2100 MovieClip Frame 10
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2104 MovieClip Frame 26
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2104 MovieClip Frame 51
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2105 MovieClip Frame 26
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2105 MovieClip Frame 34
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2105 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2106 MovieClip Frame 32
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2106 MovieClip Frame 50
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2106 MovieClip Frame 78
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], true, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"], random(_root[mcname + "phydmg"] / 3));
Symbol 2106 MovieClip Frame 90
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2107 MovieClip Frame 3
_root.engb = _root.engb - _root.engrate;
_root.expup = _root.expup + Math.ceil(_root.exprate * 2);
if (_root.engb <= 0) {
_root.engb = 0;
_root.endtrain = true;
_root.blackout.play();
stop();
}
_root.engbar._width = (_root.engb / _root.engmaxb) * _root.engbar.widthkeep;
Symbol 2107 MovieClip Frame 10
_root[mcname].gotoAndStop("stand");
Symbol 2108 MovieClip Frame 23
stop();
_root.blackout.play();
Symbol 2109 MovieClip Frame 14
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2115 MovieClip Frame 3
_root.engb = _root.engb - _root.engrate;
_root.expup = _root.expup + _root.exprate;
if (_root.engb <= 0) {
_root.engb = 0;
_root.endtrain = true;
_root.blackout.play();
stop();
}
_root.engbar._width = (_root.engb / _root.engmaxb) * _root.engbar.widthkeep;
Symbol 2115 MovieClip Frame 16
_root[mcname].gotoAndStop("stand");
Symbol 2120 MovieClip Frame 17
_root[mcname].gotoAndStop("stand");
_root[subject + "shieldtype"] = "None";
Symbol 2122 MovieClip Frame 11
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2123 MovieClip Frame 5
_root.Heal(300, subject, "life");
Symbol 2123 MovieClip Frame 15
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2124 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2124 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 10
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2124 MovieClip Frame 11
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2132 Button
on (release) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) {
_root.endtrain = true;
_root.blackout.play();
}
}
Symbol 2170 Button
on (release, keyPress "<Space>") {
_root.engb = _root.engb - _root.engcost;
if (_root.engb < 0) {
_root.engb = 0;
}
_root.lifeb = _root.hero1life;
_root.manab = _root.hero1mana;
_root.pause = false;
_root.clearstage = false;
_root.reload = true;
_root.gotoAndStop("reload");
}
Symbol 2177 MovieClip Frame 20
stop();
Symbol 2178 Button
on (release, keyPress "<Space>") {
nextFrame();
}
Symbol 2186 Button
on (release, keyPress "<Space>") {
_root.manab = _root.manamaxb;
_root.engb = _root.engmaxb;
_root.lifeb = _root.lifemaxb;
nextFrame();
}
Symbol 2196 Button
on (release) {
if (_root.statpts > 0) {
_root.conbut._visible = true;
_root.statpts--;
_root.strb = _root.strb + _root[classtype][2];
_root.engmaxb = _root.engmaxb + 2;
}
}
Symbol 2197 Button
on (release) {
if (_root.statpts > 0) {
_root.conbut._visible = true;
_root.statpts--;
trace(classtype);
trace(_root[classtype][3]);
_root.speedb = _root.speedb + _root[classtype][3];
_root.engmaxb = _root.engmaxb + 2;
}
}
Symbol 2198 Button
on (release) {
if (_root.statpts > 0) {
_root.conbut._visible = true;
_root.statpts--;
_root.lifemaxb = _root.lifemaxb + _root[classtype][0];
}
}
Symbol 2199 Button
on (release) {
if (_root.statpts > 0) {
_root.conbut._visible = true;
_root.statpts--;
_root.manamaxb = _root.manamaxb + _root[classtype][1];
}
}
Symbol 2202 Button
on (release, keyPress "<Space>") {
_root.pause = false;
_root.clearstage = false;
_root.reload = true;
_root.gotoAndStop("reload");
}
Symbol 2207 Button
on (rollOver) {
skilllabel = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2208 Button
on (rollOver) {
skilllabel = 0;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2209 Button
on (rollOver) {
skilllabel = 2;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[0] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2210 Button
on (rollOver) {
skilllabel = 3;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[0] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2211 Button
on (rollOver) {
skilllabel = 4;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[1] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2212 Button
on (rollOver) {
skilllabel = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.skill[1] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2213 Button
on (rollOver) {
skilllabel = 6;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[2] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2214 Button
on (rollOver) {
skilllabel = 18;
levelreq = 15;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[15] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2215 Button
on (rollOver) {
skilllabel = 11;
levelreq = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[8] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2216 Button
on (rollOver) {
skilllabel = 12;
levelreq = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[9] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2217 Button
on (rollOver) {
skilllabel = 13;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[10] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2218 Button
on (rollOver) {
skilllabel = 9;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[4] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2219 Button
on (rollOver) {
skilllabel = 17;
levelreq = 15;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[13] != 0)) && (_root.skill[14] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2220 Button
on (rollOver) {
skilllabel = 14;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[10] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2221 Button
on (rollOver) {
skilllabel = 15;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[7] != 0)) && (_root.skill[11] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2222 Button
on (rollOver) {
skilllabel = 16;
levelreq = 10;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if (((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[5] != 0)) && (_root.skill[12] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2223 Button
on (rollOver) {
skilllabel = 8;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[4] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2224 Button
on (rollOver) {
skilllabel = 7;
levelreq = 1;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[3] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2225 Button
on (rollOver) {
skilllabel = 10;
levelreq = 5;
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
}
on (rollOut) {
_root.inventory.skillbox.gotoAndStop(1);
}
on (release) {
if ((((_root.skill[skilllabel] < 10) && (_root.skillpts > 0)) && (_root.level >= levelreq)) && (_root.skill[6] != 0)) {
_root.skillpts--;
_root.skill[skilllabel]++;
_root.playSound("skillup");
gotoAndPlay (89);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2250 Button
on (release) {
stopAllSounds();
_root.portallevel[_root.levelsave]--;
manab = 5;
lifeb = 5;
engb = 5;
_root.pause = false;
_root.clearstage = false;
_root.reload = true;
_root.gotoAndStop("reload");
}
Symbol 2253 Button
on (release, keyPress "<Space>") {
_root.lifeb = _root.hero1life;
_root.pause = false;
_root.clearstage = false;
_root.reload = true;
_root.gotoAndStop(_root.save_stage);
}
Symbol 2254 Button
on (release) {
stopAllSounds();
_root.cleargrid = false;
datasave = new Array();
datasave = ["strb", "speedb", "lifemaxb", "manamaxb", "expb", "engmaxb", "gold", "phydmgb", "magdmgb", "phydefb", "magdefb", "shdphydefb", "shdmagdefb", "shdptsb", "shddmgb", "level", "playername", "newobjective", "Helmet", "Suit", "Weapon", "Shield", "manapots", "lifepots", "skillpts", "expmaxb", "rests", "ninjaav", "classname", "classtype"];
if (user.data.stats[strb] != undefined) {
for (i in datasave) {
_root[datasave[i]] = user.data.stats[i];
}
for (i in _root.skill) {
_root.skill[i] = user.data.skill[i];
}
for (i in _root.itemstats) {
_root.itemstats[i] = user.data.itemstats[i];
}
_root.portallevel[0] = user.data.p1;
_root.portallevel[1] = user.data.p2;
_root.portallevel[2] = user.data.p3;
lifeb = user.data.life;
manab = user.data.mana;
engb = user.data.eng;
user.flush();
_root.pause = false;
gotoAndPlay (20);
}
}
Symbol 2255 Button
on (release) {
stopAllSounds();
gotoAndStop (17);
}
Symbol 2257 Button
on (release) {
_root.inventory.saved.play();
datasave = new Array();
datasave = ["strb", "speedb", "lifemaxb", "manamaxb", "expb", "engmaxb", "gold", "phydmgb", "magdmgb", "phydefb", "magdefb", "shdphydefb", "shdmagdefb", "shdptsb", "shddmgb", "level", "playername", "newobjective", "Helmet", "Suit", "Weapon", "Shield", "manapots", "lifepots", "skillpts", "expmaxb", "rests", "ninjaav", "classname", "classtype"];
_root.user.data.stats = new Array();
_root.user.data.itemstats = new Array();
_root.user.data.skill = new Array();
for (i in datasave) {
_root.user.data.stats[i] = _root[datasave[i]];
}
for (i in _root.skill) {
_root.user.data.skill[i] = _root.skill[i];
}
for (i in _root.itemstats) {
_root.user.data.itemstats[i] = _root.itemstats[i];
}
_root.user.data.p1 = _root.portallevel[0];
_root.user.data.p2 = _root.portallevel[1];
_root.user.data.p3 = _root.portallevel[2];
_root.user.data.life = _root.lifeb;
_root.user.data.mana = _root.manab;
_root.user.data.eng = _root.engb;
_root.user.flush();
play();
}
Symbol 2258 Button
on (release) {
play();
}
Symbol 2272 MovieClip Frame 119
_root.play();
Symbol 2286 MovieClip Frame 96
_root.play();
Symbol 2303 MovieClip Frame 96
_root.play();
Symbol 2307 MovieClip Frame 96
_root.play();
Symbol 2316 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}