Frame 1
soundon = "On";
qualityset = 0;
tilelock = true;
qset2 = "HIGH";
soundset = 0;
fscommand ("showmenu", "false");
_root._focusrect = false;
Instance of Symbol 108 MovieClip "Bar" in Frame 1
onClipEvent (enterFrame) {
eval (_this)._width = (112.2 * _root.getBytesLoaded()) / _root.getBytesTotal();
}
Instance of Symbol 100 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 56
playSound("songstart1");
stop();
Frame 57
stop();
Frame 58
stop();
Frame 59
stop();
Frame 60
stop();
Frame 61
stop();
Frame 62
stop();
Frame 67
function Heal(healpoints, whotoheal, healtype) {
var _local1 = _root;
var _local2 = whotoheal;
var _local3 = healtype;
_local1[_local2 + _local3] = _local1[_local2 + _local3] + healpoints;
if (_local1[_local2 + _local3] > _local1[(_local2 + _local3) + "max"]) {
_local1[_local2 + _local3] = _local1[(_local2 + _local3) + "max"];
}
_local1[_local2 + "counter"].dmg = healpoints;
_local1[_local2 + "counter"].gotoAndPlay(_local3);
}
function SearchNone() {
var _local1 = _root;
i = 4;
for(;;){
if (i >= 12) {
return;
}
if ((_local1.itemstats[[i]] == "None") && (_local1.Searched != true)) {
_local1.Searched = true;
}
i++;
};
}
function SearchItem(item, ask) {
var _local1 = _root;
var _local2 = ask;
var _local3 = item;
i = 0;
for(;;){
if (i >= 12) {
return;
}
if ((_local1.itemstats[[i]] == _local3) && (_local1.Searched != true)) {
_local1.Searched = true;
_local2 = true;
if (_local2) {
_local1.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) {
var _local1 = _root;
var _local2 = item;
didget = false;
i = 4;
for(;;){
if (i >= 12) {
return;
}
if ((_local1.itemstats[[i]] == "None") && (didget == false)) {
itemsign._visible = true;
_local1.itemstats[[i]] = _local2;
didget = true;
}
i++;
};
}
function GetItem(item, cost) {
var _local1 = _root;
var _local2 = cost;
var _local3 = item;
if (_local1.gold >= _local2) {
didget = false;
i = 4;
for(;;){
if (i >= 12) {
return;
}
if ((_local1.itemstats[[i]] == "None") && (didget == false)) {
_local1.itemstats[[i]] = _local3;
_local1.playSound("itemget");
_local1.gold = _local1.gold - _local2;
_local1.got = true;
didget = true;
} else if (i == 11) {
_local1.playSound("no");
}
i++;
};
}
}
function ExplainItem() {
var _local1 = _root;
_local1.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) {
_local1.inventory.explainbox["statname" + i] = "";
_local1.inventory.explainbox["stat" + i] = "";
i++;
}
if ((_local1.itempick == "None") && (_local1.itemstats[_local1.slotnum] != "None")) {
if ((_local1.item[_local1.itemstats[_local1.slotnum]][1] == "Food") || (_local1.item[_local1.itemstats[_local1.slotnum]][1] == "Drink")) {
_local1.itemarray[2] = "Energy Points";
_local1.itemarray[3] = "Life Points";
_local1.itemarray[4] = "Mana Points";
}
_local1.inventory.explainbox.name = _local1.item[_local1.itemstats[_local1.slotnum]][0];
_local1.inventory.explainbox.itemtype = _local1.item[_local1.itemstats[_local1.slotnum]][1];
_local1.inventory.explainbox.strneed = _local1.item[_local1.itemstats[_local1.slotnum]][14];
_local1.inventory.explainbox.explain = _local1.item[_local1.itemstats[_local1.slotnum]][15];
itmnum = 0;
i = 2;
while (i < 14) {
if ((_local1.item[_local1.itemstats[_local1.slotnum]][i] != 0) && (itmnum < 4)) {
_local1.inventory.explainbox["statname" + itmnum] = _local1.itemarray[i];
_local1.inventory.explainbox["stat" + itmnum] = _local1.item[_local1.itemstats[_local1.slotnum]][i];
itmnum++;
}
i++;
}
_local1.inventory.explainbox._visible = true;
}
}
function AddItem(name, itmtyp, itmpdmg, itmmdmg, itmsdmg, itmpdef, itmmdef, itmspdef, itmsmdef, itmspts, itmspd, itmlif, itmstr, itmskl, strneed, itmx) {
var _local1 = name;
var _local2 = _root;
_local2.item[_local1] = new Array();
statsputin = [_local1, itmtyp, itmpdmg, itmmdmg, itmsdmg, itmpdef, itmmdef, itmspdef, itmsmdef, itmspts, itmspd, itmlif, itmstr, itmskl, strneed, itmx];
i = 0;
for(;;){
if (i >= 16) {
return;
}
_local2.item[_local1][i] = statsputin[i];
i++;
};
}
function order(a, b) {
var _local2 = a;
var _local1 = b;
if (_local2 < _local1) {
return(-1);
}
if (_local2 > _local1) {
return(1);
}
return(undefined);
}
function speedorder() {
var _local1 = _root;
_local1.playermove = new Array();
_local1.turnnum = 0;
spdturn = new Array();
spdturn = [_local1.hero1speed, _local1.hero2speed, _local1.enemy1speed, _local1.enemy2speed];
spdturn.sort(_local1.order);
spdturn.reverse();
i = 0;
for(;;){
if (i >= 4) {
return;
}
j = 1;
while (j < 3) {
if ((((_local1.spdturn[i] == _local1[("enemy" + [j]) + "speed"]) && (_local1.playermove[i - 1] != ("enemy" + [j]))) && (_local1.playermove[i - 2] != ("enemy" + [j]))) && (_local1.playermove[i - 3] != ("enemy" + [j]))) {
_local1.playermove[i] = "enemy" + [j];
} else if ((((_local1.spdturn[i] == _local1[("hero" + [j]) + "speed"]) && (_local1.playermove[i - 1] != ("hero" + [j]))) && (_local1.playermove[i - 2] != ("hero" + [j]))) && (_local1.playermove[i - 3] != ("hero" + [j]))) {
_local1.playermove[i] = "hero" + [j];
}
j++;
}
i++;
};
}
function enemyDamage(magdmg, phydmg, nomiss, dmgtoshd, strdmg, atkspd, ran) {
var _local1 = _root;
var _local2 = magdmg;
var _local3 = phydmg;
spdran1 = random(atkspd / 2) + (atkspd / 2);
spdran2 = random(_local1[_local1.enemytarget + "speed"] / 2);
if (nomiss == true) {
spdran2 = -1;
}
if (spdran2 < spdran1) {
if (_local1[_local1.enemytarget + "shdpts"] > 0) {
shddmg = Math.round((((((_local3 - Math.ceil((_local3 / 100) * _local1[_local1.enemytarget + "shdphydef"])) + _local2) - Math.ceil((_local2 / 100) * _local1[_local1.enemytarget + "shdmagdef"])) + strdmg) - Math.ceil((strdmg / 100) * _local1[_local1.enemytarget + "shdphydef"])) + dmgtoshd) + ran;
_local1[_local1.enemytarget + "counter"].dmg = shddmg;
_local1[_local1.enemytarget + "counter"].gotoAndPlay("blockdmg");
if ((_local1[_local1.enemytarget + "shdpts"] - shddmg) <= 0) {
_local1[_local1.enemytarget].gotoAndStop("blockbreak");
_local1[_local1.enemytarget + "shdpts"] = 0;
} else {
_local1[_local1.enemytarget].gotoAndStop("block");
_local1[_local1.enemytarget + "shdpts"] = _local1[_local1.enemytarget + "shdpts"] - shddmg;
}
} else {
totaldmg = Math.round(((((_local3 - Math.ceil((_local3 / 100) * _local1[_local1.enemytarget + "phydef"])) + _local2) - Math.ceil((_local2 / 100) * _local1[_local1.enemytarget + "magdef"])) + strdmg) - Math.ceil((strdmg / 100) * _local1[_local1.enemytarget + "phydef"])) + ran;
_local1[_local1.enemytarget + "counter"].dmg = totaldmg;
_local1[_local1.enemytarget + "counter"].gotoAndPlay(2);
_local1[_local1.enemytarget].gotoAndStop("hit");
_local1[_local1.enemytarget + "life"] = _local1[_local1.enemytarget + "life"] - totaldmg;
if (_local1[_local1.enemytarget + "life"] <= 0) {
_local1[_local1.enemytarget].gotoAndStop("die");
_local1[_local1.enemytarget + "life"] = 0;
}
}
} else {
_local1[_local1.enemytarget + "counter"].dmg = "miss";
_local1[_local1.enemytarget + "counter"].gotoAndPlay(2);
_local1[_local1.enemytarget].gotoAndStop("miss");
}
}
function heroDamage(magdmg, phydmg, nomiss, dmgtoshd, strdmg, atkspd, ran) {
var _local1 = _root;
var _local2 = magdmg;
var _local3 = phydmg;
spdran1 = random(atkspd / 2) + (atkspd / 2);
spdran2 = random(_local1[_local1.herotarget + "speed"] / 2);
if (nomiss == true) {
spdran2 = -1;
}
if (spdran2 < spdran1) {
if (_local1[_local1.herotarget + "shdpts"] > 0) {
shddmg = Math.round((((((_local3 - Math.ceil((_local3 / 100) * _local1[_local1.herotarget + "shdphydef"])) + _local2) - Math.ceil((_local2 / 100) * _local1[_local1.herotarget + "shdmagdef"])) + strdmg) - Math.ceil((strdmg / 100) * _local1[_local1.herotarget + "shdphydef"])) + dmgtoshd) + ran;
_local1[_local1.herotarget + "counter"].dmg = shddmg;
_local1[_local1.herotarget + "counter"].gotoAndPlay("blockdmg");
if ((_local1[_local1.herotarget + "shdpts"] - shddmg) <= 0) {
_local1[_local1.herotarget].gotoAndStop("blockbreak");
_local1[_local1.herotarget + "shdpts"] = 0;
} else {
_local1[_local1.herotarget].gotoAndStop("block");
_local1[_local1.herotarget + "shdpts"] = _local1[_local1.herotarget + "shdpts"] - shddmg;
}
} else {
totaldmg = Math.round(((((_local3 - Math.ceil((_local3 / 100) * _local1[_local1.herotarget + "phydef"])) + _local2) - Math.ceil((_local2 / 100) * _local1[_local1.herotarget + "magdef"])) + strdmg) - Math.ceil((strdmg / 100) * _local1[_local1.herotarget + "phydef"])) + ran;
_local1[_local1.herotarget + "counter"].dmg = totaldmg;
_local1[_local1.herotarget + "counter"].gotoAndPlay(2);
_local1[_local1.herotarget].gotoAndStop("hit");
_local1[_local1.herotarget + "life"] = _local1[_local1.herotarget + "life"] - totaldmg;
if (_local1[_local1.herotarget + "life"] <= 0) {
_local1[_local1.herotarget].gotoAndStop("die");
_local1[_local1.herotarget + "life"] = 0;
}
}
} else {
_local1[_local1.herotarget + "counter"].dmg = "miss";
_local1[_local1.herotarget + "counter"].gotoAndPlay(2);
_local1[_local1.herotarget].gotoAndStop("miss");
}
}
function EnemyMeet() {
var _local1 = _root;
_local1.save_stage = _local1.currentstage;
_local1.save_x = _local1.grid.char._x;
_local1.save_y = _local1.grid.char._y;
_local1.clearstage = true;
_local1.clearscene = true;
}
function RemoveItem(label, need) {
var _local1 = _root;
var _local2 = label;
_local1[need] = "None";
_local1.phydmgb = _local1.phydmgb - _local1.item[_local2][2];
_local1.magdmgb = _local1.magdmgb - _local1.item[_local2][3];
_local1.shddmgb = _local1.shddmgb - _local1.item[_local2][4];
_local1.phydefb = _local1.phydefb - _local1.item[_local2][5];
_local1.magdefb = _local1.magdefb - _local1.item[_local2][6];
_local1.shdphydefb = _local1.shdphydefb - _local1.item[_local2][7];
_local1.shdmagdefb = _local1.shdmagdefb - _local1.item[_local2][8];
_local1.shdptsb = _local1.shdptsb - _local1.item[_local2][9];
_local1.speedb = _local1.speedb - _local1.item[_local2][10];
_local1.lifemaxb = _local1.lifemaxb - _local1.item[_local2][11];
_local1.manamaxb = _local1.manamaxb - _local1.item[_local2][12];
_local1.manab = _local1.manab - _local1.item[_local2][12];
if (_local1.manab < 0) {
_local1.manab = 0;
}
_local1.itemskill = "None";
}
function EquipItem(label, need) {
var _local1 = _root;
var _local2 = label;
_local1[need] = _local1.item[_local2][0];
_local1.phydmgb = _local1.phydmgb + _local1.item[_local2][2];
_local1.magdmgb = _local1.magdmgb + _local1.item[_local2][3];
_local1.shddmgb = _local1.shddmgb + _local1.item[_local2][4];
_local1.phydefb = _local1.phydefb + _local1.item[_local2][5];
_local1.magdefb = _local1.magdefb + _local1.item[_local2][6];
_local1.shdphydefb = _local1.shdphydefb + _local1.item[_local2][7];
_local1.shdmagdefb = _local1.shdmagdefb + _local1.item[_local2][8];
_local1.shdptsb = _local1.shdptsb + _local1.item[_local2][9];
_local1.speedb = _local1.speedb + _local1.item[_local2][10];
_local1.lifemaxb = _local1.lifemaxb + _local1.item[_local2][11];
_local1.manamaxb = _local1.manamaxb + _local1.item[_local2][12];
_local1.manab = _local1.manab + _local1.item[_local2][12];
if (_local1.manab > _local1.manamaxb) {
_local1.manab = _local1.manamaxb;
}
_local1.itemskill = _local1.item[_local2][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 _local3 = 1;
for(;;){
if (_local3 > game.rows) {
return;
}
var _local1 = 1;
while (_local1 <= game.columns) {
var _local2 = (("cell" + _local1) + "_") + _local3;
game[_local2].type = 1;
_local1++;
}
};
_local3 = _local3++;
}
function Fight(move) {
var _local1 = _root;
_local1[_local1.playermove[_local1.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("LULZ Knife", "Weapon", 9001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "");
AddItem("Iron Knife", "Weapon", 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "");
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, "Mr Neutral"];
Warrior = [15, 5, 3, 1, "Quarterback"];
Spellcaster = [10, 15, 1, 2, "Magicfag"];
Shadow = [10, 10, 1, 3, "Ninja Pirate"];
prevsound = 0;
_root.playername = "Anonymous";
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 = "LULZ 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["LULZ Knife"][2];
_root.itempick = "None";
_root.itemstats[0] = "LULZ Knife";
Instance of Symbol 504 MovieClip "itemmouse" in Frame 67
onClipEvent (enterFrame) {
startDrag (this, true);
}
Instance of Symbol 519 MovieClip in Frame 67
onClipEvent (load) {
this.swapDepths(190000);
}
Instance of Symbol 520 MovieClip in Frame 67
onClipEvent (load) {
this.gotoAndPlay("FadeIn");
}
Frame 68
stop();
Instance of Symbol 100 MovieClip [FScrollBarSymbol] in Frame 68
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Frame 69
stop();
Frame 70
stopAllSounds();
_root.playSound("Flute");
function gameClicked(mx, my) {
if (tilelock == false) {
var x = Math.ceil(mx / game.spacing);
var _local3 = Math.ceil(my / game.spacing);
var _local2 = (("cell" + x) + "_") + _local3;
var _local1 = game[_local2];
_local2 = (("cell" + x) + "_") + _local3;
trace(("game." + _local2) + ".type = 2");
if (_local1.type < game.numberOfTypes) {
_local1.type++;
} else {
_local1.type = 1;
}
_local1.clip.tile.gotoAndStop(_local1.type);
}
}
function movechar(dir) {
var _local1 = dir;
ob = game.char;
if (_local1 == "right") {
var tempx = ((ob.x + ob.radius) + game.speed);
var _local3 = ob.y;
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(_local3 / game.spacing);
var _local2 = game[(("cell" + cellx) + "_") + celly];
if (_local2.type == 1) {
ob.x = ob.x + game.speed;
ob.clip._x = ob.x;
} else {
return(undefined);
}
} else if (_local1 == "left") {
var tempx = ((ob.x - ob.radius) - game.speed);
var _local3 = ob.y;
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(_local3 / game.spacing);
var _local2 = game[(("cell" + cellx) + "_") + celly];
if (_local2.type == 1) {
ob.x = ob.x - game.speed;
ob.clip._x = ob.x;
} else {
return(undefined);
}
} else if (_local1 == "up") {
var tempx = ob.x;
var _local3 = (ob.y - ob.radius) - game.speed;
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(_local3 / game.spacing);
var _local2 = game[(("cell" + cellx) + "_") + celly];
if (_local2.type == 1) {
ob.y = ob.y - game.speed;
ob.clip._y = ob.y;
charything = ob.y;
} else {
return(undefined);
}
} else if (_local1 == "down") {
var tempx = ob.x;
var _local3 = (ob.y + ob.radius) + game.speed;
var cellx = Math.ceil(tempx / game.spacing);
var celly = Math.ceil(_local3 / game.spacing);
var _local2 = game[(("cell" + cellx) + "_") + celly];
if (_local2.type != 1) {
return(undefined);
}
ob.y = ob.y + game.speed;
ob.clip._y = ob.y;
charything = ob.y;
}
return(undefined);
}
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 _local2 = ((game.char.startx - 1) * game.spacing) + (game.spacing / 2);
var _local1 = ((game.char.starty - 1) * game.spacing) + (game.spacing / 2);
game.char.clip._x = _local2;
game.char.clip._y = _local1;
game.char.x = _local2;
game.char.y = _local1;
game.char.radius = game.char.clip._width / 3;
}
function buildGrid() {
var _local2 = 1;
for(;;){
if (_local2 > game.rows) {
return;
}
var _local1 = 1;
while (_local1 <= game.columns) {
var _local3 = (("cell" + _local1) + "_") + _local2;
var x = ((_local1 - 1) * game.spacing);
var y = ((_local2 - 1) * game.spacing);
var type = 1;
game.path.attachMovie("cell", _local3, ++game.depth);
game.path[_local3]._x = x;
game.path[_local3]._y = y;
game[_local3] = {x:_local1, y:_local2, name:_local3, type:type, clip:game.path[_local3]};
_local1++;
}
_local2++;
};
}
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");
return(undefined);
}
if (Key.isDown(40) || (Key.isDown(83))) {
movechar("down");
}
}
};
_root.onMouseDown = function () {
if (Key.isDown(16)) {
var _local2 = _xmouse;
var _local1 = _ymouse;
if (game.path.hitTest(_local2, _local1)) {
gameClicked(game.path._xmouse, game.path._ymouse);
}
}
};
buildGrid();
initializeChar(10.5, 7);
charything = game.char.clip._y;
Instance of Symbol 687 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 964 MovieClip "grid" in Frame 70
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 974 MovieClip "encounter" in Frame 70
onClipEvent (load) {
this.swapDepths(230000);
}
Instance of Symbol 975 MovieClip "blackout" in Frame 70
onClipEvent (load) {
this.swapDepths(235467);
}
Instance of Symbol 987 MovieClip "TalkBox" in Frame 70
onClipEvent (load) {
this._visible = false;
this.swapDepths(942600);
}
Instance of Symbol 996 MovieClip "objectives" in Frame 70
onClipEvent (load) {
this._visible = false;
this.swapDepths(9999000);
}
Instance of Symbol 1434 MovieClip "inventory" in Frame 70
onClipEvent (load) {
this.gotoAndStop("blanki");
this.swapDepths(1000000);
}
Frame 71
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 1463 MovieClip in Frame 71
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 1500 MovieClip in Frame 71
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 1500 MovieClip in Frame 71
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 1500 MovieClip in Frame 71
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 1502 MovieClip in Frame 71
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1502 MovieClip in Frame 71
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1541 MovieClip in Frame 71
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 1541 MovieClip in Frame 71
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 1463 MovieClip in Frame 71
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 1541 MovieClip in Frame 71
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 1541 MovieClip in Frame 71
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 1541 MovieClip in Frame 71
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 1543 MovieClip in Frame 71
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 71
onClipEvent (load) {
this.swapDepths(239001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 71
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 72
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 1500 MovieClip in Frame 72
onClipEvent (load) {
persontype = "Food Vendor";
}
Instance of Symbol 1500 MovieClip in Frame 72
onClipEvent (load) {
persontype = "Potion Vendor";
}
Instance of Symbol 1558 MovieClip in Frame 72
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 1558 MovieClip in Frame 72
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 1463 MovieClip in Frame 72
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 1561 MovieClip in Frame 72
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 1561 MovieClip in Frame 72
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 1500 MovieClip in Frame 72
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 1541 MovieClip in Frame 72
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 1541 MovieClip in Frame 72
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 1545 MovieClip in Frame 72
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 72
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 72
onClipEvent (load) {
this.swapDepths(239029);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 73
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 1463 MovieClip in Frame 73
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 1561 MovieClip in Frame 73
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 1502 MovieClip in Frame 73
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1541 MovieClip in Frame 73
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 1545 MovieClip in Frame 73
onClipEvent (load) {
this.swapDepths(239014);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 74
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 1500 MovieClip in Frame 74
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 1561 MovieClip in Frame 74
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 1463 MovieClip in Frame 74
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 1502 MovieClip in Frame 74
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1541 MovieClip in Frame 74
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 1541 MovieClip in Frame 74
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 1541 MovieClip in Frame 74
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 1500 MovieClip in Frame 74
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 1500 MovieClip in Frame 74
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 1541 MovieClip in Frame 74
onClipEvent (load) {
this.gotoAndStop("lamp1");
}
Instance of Symbol 1545 MovieClip in Frame 74
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 74
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 75
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 1463 MovieClip in Frame 75
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 1561 MovieClip in Frame 75
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 1502 MovieClip in Frame 75
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1541 MovieClip in Frame 75
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 1500 MovieClip in Frame 75
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 1541 MovieClip in Frame 75
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 1500 MovieClip in Frame 75
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 1500 MovieClip in Frame 75
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 1545 MovieClip in Frame 75
onClipEvent (load) {
this.swapDepths(239032);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 75
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 76
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 1561 MovieClip in Frame 76
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 1561 MovieClip in Frame 76
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 1463 MovieClip in Frame 76
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 1500 MovieClip in Frame 76
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 1500 MovieClip in Frame 76
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 1541 MovieClip in Frame 76
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 1541 MovieClip in Frame 76
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 1609 MovieClip in Frame 76
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 1545 MovieClip in Frame 76
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 76
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 76
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 77
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 1558 MovieClip in Frame 77
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 1500 MovieClip in Frame 77
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 1502 MovieClip in Frame 77
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1500 MovieClip in Frame 77
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 1500 MovieClip in Frame 77
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 1545 MovieClip in Frame 77
onClipEvent (load) {
this.swapDepths(239014);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 78
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 1463 MovieClip in Frame 78
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 1500 MovieClip in Frame 78
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 1500 MovieClip in Frame 78
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 1500 MovieClip in Frame 78
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 1561 MovieClip in Frame 78
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 1541 MovieClip in Frame 78
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 1541 MovieClip in Frame 78
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 1541 MovieClip in Frame 78
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 1541 MovieClip in Frame 78
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 1561 MovieClip in Frame 78
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 1616 MovieClip in Frame 78
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 1545 MovieClip in Frame 78
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 78
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 78
onClipEvent (load) {
this.swapDepths(239029);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 79
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 1561 MovieClip in Frame 79
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 1502 MovieClip in Frame 79
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1621 MovieClip in Frame 79
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 1463 MovieClip in Frame 79
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 1463 MovieClip in Frame 79
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 1500 MovieClip in Frame 79
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 1500 MovieClip in Frame 79
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 1545 MovieClip in Frame 79
onClipEvent (load) {
this.swapDepths(239032);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 80
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 1502 MovieClip in Frame 80
onClipEvent (load) {
this.swapDepths(30000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1561 MovieClip in Frame 80
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 1541 MovieClip in Frame 80
onClipEvent (load) {
with (this) {
gotoAndStop("vase1");
}
}
Instance of Symbol 1541 MovieClip in Frame 80
onClipEvent (load) {
with (this) {
gotoAndStop("vase3");
}
}
Instance of Symbol 1500 MovieClip in Frame 80
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 1463 MovieClip in Frame 80
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 1500 MovieClip in Frame 80
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 1541 MovieClip in Frame 80
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 1545 MovieClip in Frame 80
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 80
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 81
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 1502 MovieClip in Frame 81
onClipEvent (load) {
this.swapDepths(30020);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1502 MovieClip in Frame 81
onClipEvent (load) {
this.swapDepths(30001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1463 MovieClip "ar2" in Frame 81
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 1500 MovieClip in Frame 81
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 1500 MovieClip in Frame 81
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 1500 MovieClip in Frame 81
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 1463 MovieClip "ar1" in Frame 81
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 1541 MovieClip in Frame 81
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 1541 MovieClip in Frame 81
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 1500 MovieClip in Frame 81
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 1541 MovieClip in Frame 81
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 1545 MovieClip in Frame 81
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1543 MovieClip in Frame 83
onClipEvent (load) {
this.swapDepths(239000);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 83
onClipEvent (load) {
this.swapDepths(239014);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 83
onClipEvent (load) {
this.swapDepths(239001);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 83
onClipEvent (load) {
this.swapDepths(239032);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 83
onClipEvent (load) {
this.swapDepths(239023);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1543 MovieClip in Frame 84
onClipEvent (load) {
this.swapDepths(239005);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 84
onClipEvent (load) {
this.swapDepths(239018);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 84
onClipEvent (load) {
this.swapDepths(239007);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 84
onClipEvent (load) {
this.swapDepths(239036);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Instance of Symbol 1545 MovieClip in Frame 84
onClipEvent (load) {
this.swapDepths(239029);
}
onClipEvent (enterFrame) {
if (_root.clearstage == true) {
removeMovieClip(this);
}
}
Frame 85
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 = "None";
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 1812 MovieClip "enemy2" in Frame 85
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 1812 MovieClip "enemy1" in Frame 85
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 1812 MovieClip "hero2" in Frame 85
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 1817 MovieClip "hero2counter" in Frame 85
onClipEvent (load) {
thing = "hero2";
}
Instance of Symbol 1812 MovieClip "hero1" in Frame 85
onClipEvent (load) {
mcname2 = "hero1";
subject2 = "hero1";
dmgtype2 = "hero";
}
Instance of Symbol 1817 MovieClip "hero1counter" in Frame 85
onClipEvent (load) {
thing = "hero1";
}
Instance of Symbol 586 MovieClip "hero1manabar" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.hero1mana / _root.hero1manamax) * widthkeep;
}
Instance of Symbol 580 MovieClip "enemy1bar" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 586 MovieClip "enemy1bar2" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 580 MovieClip "enemy2bar" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 586 MovieClip "enemy2bar2" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 580 MovieClip "hero1bar" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 586 MovieClip "hero1bar2" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 580 MovieClip "hero2bar" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 586 MovieClip "hero2bar2" in Frame 85
onClipEvent (load) {
widthkeep = this._width;
}
Instance of Symbol 1830 MovieClip in Frame 85
onClipEvent (load) {
gotoAndStop (85);
}
Instance of Symbol 683 MovieClip in Frame 85
onClipEvent (load) {
this.gotoAndStop(_root.ninjaav);
}
Instance of Symbol 683 MovieClip "fightav2" in Frame 85
onClipEvent (load) {
stop();
}
Instance of Symbol 683 MovieClip "fightav1" in Frame 85
onClipEvent (load) {
stop();
}
Instance of Symbol 1883 MovieClip "pointer1" in Frame 85
onClipEvent (load) {
gotoAndStop (85);
target = "enemy1";
typeoftarget = "herotarget";
otherpointer = "pointer2";
}
Instance of Symbol 1817 MovieClip "enemy1counter" in Frame 85
onClipEvent (load) {
thing = "enemy1";
}
Instance of Symbol 1883 MovieClip "pointer2" in Frame 85
onClipEvent (enterFrame) {
target = "enemy2";
typeoftarget = "herotarget";
otherpointer = "pointer1";
}
Instance of Symbol 1817 MovieClip "enemy2counter" in Frame 85
onClipEvent (load) {
thing = "enemy2";
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[11] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[1] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[12] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[2] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[13] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[3] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[14] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[15] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[5] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[16] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[6] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[17] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[9] > 0) {
this._visible = false;
}
}
Instance of Symbol 1887 MovieClip in Frame 85
onClipEvent (load) {
if (_root.Skill[18] > 0) {
this._visible = false;
}
}
Instance of Symbol 1889 MovieClip in Frame 85
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 1891 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (_root.hero2life == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1893 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (_root.enemy2life == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1895 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (_root.enemy1life == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 86
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 1812 MovieClip "enemy2" in Frame 86
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;
}
}
}
Frame 87
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;
Frame 88
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 1812 MovieClip "enemy2" in Frame 88
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;
}
}
}
Frame 89
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 1812 MovieClip "enemy2" in Frame 89
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 1812 MovieClip "enemy1" in Frame 89
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 90
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 1812 MovieClip "enemy2" in Frame 90
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 1812 MovieClip "enemy1" in Frame 90
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 91
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 92
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 1914 MovieClip "enemy1" in Frame 92
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 93
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 1944 MovieClip "enemy2" in Frame 93
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 1812 MovieClip "enemy1" in Frame 93
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 99
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 1965 MovieClip "enemy2" in Frame 99
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 1812 MovieClip "enemy1" in Frame 99
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 100
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;
Frame 101
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;
Frame 102
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;
Frame 103
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;
Frame 104
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;
Frame 105
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;
Frame 106
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;
Frame 107
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;
Frame 108
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;
Frame 109
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;
Frame 110
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;
Frame 111
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;
Frame 112
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 1812 MovieClip "enemy1" in Frame 112
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 114
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 1965 MovieClip "enemy1" in Frame 114
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 115
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 1812 MovieClip "enemy1" in Frame 115
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 116
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 1914 MovieClip "enemy1" in Frame 116
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 117
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 1944 MovieClip "enemy1" in Frame 117
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 118
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 1812 MovieClip "enemy1" in Frame 118
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 119
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 1812 MovieClip "enemy1" in Frame 119
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 120
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 122
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 1812 MovieClip "enemy1" in Frame 122
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 123
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 2008 MovieClip "enemy1" in Frame 123
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 124
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 1812 MovieClip "enemy1" in Frame 124
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 125
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 126
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 1812 MovieClip "enemy1" in Frame 126
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 129
enemy1speed = 40;
_root.endtrain = false;
enemy1suit = "Training Ward";
enemy1av = enemy1suit;
stop();
expup = 999999 /* 0x0F423F */;
goldup = 999;
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 2035 MovieClip "enemy1" in Frame 129
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 580 MovieClip "engbar" in Frame 129
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Frame 130
enemy1speed = 30;
_root.endtrain = false;
enemy1suit = "Training Ward";
enemy1av = enemy1suit;
stop();
expup = 999999 /* 0x0F423F */;
goldup = 999;
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;
Frame 131
enemy1speed = 15;
_root.endtrain = false;
enemy1suit = "Training Ward";
enemy1av = enemy1suit;
stop();
expup = 999999 /* 0x0F423F */;
goldup = 999;
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 2035 MovieClip "enemy1" in Frame 131
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 132
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 1965 MovieClip "enemy1" in Frame 132
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 1883 MovieClip "pointer1" in Frame 132
onClipEvent (load) {
if (_root.enemy1life == 0) {
this._visible = false;
}
gotoAndStop (85);
target = "enemy1";
typeoftarget = "herotarget";
otherpointer = "pointer2";
}
Frame 133
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 1883 MovieClip "pointer2" in Frame 133
onClipEvent (load) {
target = "enemy2";
typeoftarget = "herotarget";
otherpointer = "pointer1";
}
onClipEvent (enterFrame) {
if (_root.enemy2life == 0) {
this._visible = false;
}
}
Instance of Symbol 1965 MovieClip "enemy2" in Frame 133
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 1883 MovieClip "pointer1" in Frame 133
onClipEvent (load) {
gotoAndStop (85);
target = "enemy1";
typeoftarget = "herotarget";
otherpointer = "pointer2";
}
onClipEvent (enterFrame) {
if (_root.enemy1life == 0) {
this._visible = false;
}
}
Frame 135
itemsign._visible = false;
if (droppedstuff != "None") {
GetItemDrop(droppedstuff);
droppedstuff = "None";
}
_root.conbut._visible = false;
stopAllSounds();
_root.playSound("Orc");
Instance of Symbol 580 MovieClip in Frame 135
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.expb / _root.expmaxb) * widthkeep;
}
onClipEvent (enterFrame) {
this._width = (_root.expb / _root.expmaxb) * widthkeep;
}
Instance of Symbol 2068 MovieClip in Frame 135
onClipEvent (load) {
function goldUP() {
var _local1 = _root;
if (_local1.goldup > 0) {
_local1.goldup--;
_local1.gold++;
}
}
function expUP() {
var _local1 = _root;
if (_local1.expup > 0) {
_local1.expup--;
_local1.expb++;
if (_local1.expb == _local1.expmaxb) {
_local1.statpts++;
_local1.skillpts++;
_local1.lifemaxb = _local1.lifemaxb + 5;
_local1.manamaxb = _local1.manamaxb + 5;
_local1.engmaxb = _local1.engmaxb + 3;
_local1.level++;
i = 1;
while (i < 20) {
if ((_local1.level / 5) == i) {
_local1.strb = _local1.strb + 2;
_local1.speedb = _local1.speedb + 2;
_local1.skillpts++;
_local1.bonusplus._visible = true;
}
i++;
}
_local1.expb = 0;
_local1.expmaxb = 50 * _local1.level;
_local1.expb = _local1.expb + _local1.expup;
if (_local1.expb >= _local1.expmaxb) {
_local1.expb = _local1.expmaxb - 1;
}
_local1.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 2080 MovieClip "bonusplus" in Frame 135
onClipEvent (load) {
this._visible = false;
}
Frame 137
_root.conbut._visible = false;
Frame 138
for (i in _root.skill) {
_root["skillx" + i] = _root.skill[i];
}
_root.skillx19 = _root.skill[19];
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[2] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[3] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[6] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[8] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[9] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[7] > 0)) && (_root.skill[11] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[12] > 0)) && (_root.skill[5] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (((_root.level >= 15) && (_root.skill[13] > 0)) && (_root.skill[14] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if ((_root.level >= 15) && (_root.skill[15] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Frame 138
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Frame 139
prevFrame();
Frame 140
user = SharedObject.getLocal("user_profile");
_root.conbut._visible = false;
stopAllSounds();
_root.playSound("Over");
Frame 141
stop();
Frame 151
playSound("Dream");
stop();
Instance of Symbol 100 MovieClip [FScrollBarSymbol] in Frame 151
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Frame 152
stopAllSounds();
playSound("Over2");
stop();
Frame 153
stop();
Frame 154
stop();
Frame 155
stop();
Frame 156
stopAllSounds();
playSound("Violin");
Frame 373
stop();
Instance of Symbol 520 MovieClip in Frame 373
onClipEvent (load) {
this.gotoAndPlay("FadeIn");
}
Symbol 13 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 22 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 31 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 32 MovieClip [DownArrow] Frame 1
stop();
Symbol 32 MovieClip [DownArrow] Frame 2
stop();
Symbol 32 MovieClip [DownArrow] Frame 3
stop();
Symbol 39 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 46 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 51 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 52 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 60 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 68 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 76 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 77 MovieClip [UpArrow] Frame 1
stop();
Symbol 77 MovieClip [UpArrow] Frame 2
stop();
Symbol 77 MovieClip [UpArrow] Frame 3
stop();
Symbol 80 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 80 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 80 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 83 MovieClip [FLabelSymbol] Frame 1
#initclip 3
_global.FLabelClass = function () {
var _local1 = this;
if (_local1.hostComponent == undefined) {
_local1.hostComponent = ((_local1._parent.controller == undefined) ? (_local1._parent) : (_local1._parent.controller));
}
if (_local1.customTextStyle == undefined) {
if (_local1.hostComponent.textStyle == undefined) {
_local1.hostComponent.textStyle = new TextFormat();
}
_local1.textStyle = _local1.hostComponent.textStyle;
_local1.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var _local1 = this;
var _local2 = _local1.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
_local1.labelField.embedFonts = _local2;
}
_local1.labelField.setNewTextFormat(_local1.textStyle);
_local1.labelField.text = label;
_local1.labelField._height = _local1.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
var _local2 = this;
var _local3 = enable;
_local2.enable = _local3;
var _local1 = _local2.hostComponent.styleTable[(_local3 ? "textColor" : "textDisabled")].value;
if (_local1 == undefined) {
_local1 = (_local3 ? 0 : 8947848);
}
_local2.setColor(_local1);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 84 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length <= 0) ? true : (enabledFlag));
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value != "") {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length <= 2) ? false : (isGlobal));
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (!_local1.setCustomStyleProperty(_local2, value)) {
if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local3 = 0;
for(;;){
if (_local3 >= arguments.length) {
return;
}
var _local2 = arguments[_local3];
_local1.listeners[arguments[_local3]] = _local2;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local2.updateStyleProperty(_local1, i.toString());
}
}
};
_local3 = _local3++;
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 87 MovieClip Frame 1
stop();
Symbol 93 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 93 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 94 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 8
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 95 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 7
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
var _local1 = this;
if (_local1._name != "itemAsset") {
_local1.highlighted = false;
_local1.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
var _local1 = this;
var _local2 = selected;
_local1.displayContent(itmObj, _local2);
if ((_local1.highlighted != _local2) || ((_local1.controller.focused != _local1.oldFocus) && (_local2))) {
_local1.setHighlighted(_local2);
}
_local1.oldFocus = _local1.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var _local1 = this;
var _local3 = width;
var _local2 = -16384;
_local1.width = _local3;
_local1.layoutContent(_local3);
_local1.attachMovie("FHighlightSymbol", "highlight_mc", _local2);
_local1.highlight_mc._x = 0.5;
_local1.highlight_mc._width = _local3 - 0.5;
_local1.highlight_mc._height = height;
_local1.highlight_mc.controller = _local1;
_local1.highlight_mc._alpha = 0;
_local1.highlight_mc.trackAsMenu = true;
_local1.highlight_mc.onPress = function () {
var _local1 = this;
if (_local1.controller.enable) {
_local1.controller.controller.clickHandler(_local1.controller.itemNum);
}
};
_local1.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
_local1.highlight_mc.useHandCursor = false;
_local1.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
_local1.enable = _local2;
_local1.fLabel_mc.setEnabled(_local2);
_local1.highlight_mc.gotoAndStop((_local2 ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
var _local1 = this;
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:_local1.controller});
_local1.fLabel_mc._x = 2;
_local1.fLabel_mc._y = 0;
_local1.fLabel_mc.setSize(width - 2);
_local1.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var _local2 = itmObj;
var _local1 = "";
if (_local2.label == undefined) {
if (typeof(_local2) == "object") {
for (var _local3 in _local2) {
if (_local3 != "__ID__") {
_local1 = (_local2[_local3] + ", ") + _local1;
}
}
_local1 = _local1.substring(0, _local1.length - 2);
} else {
_local1 = _local2;
}
} else {
_local1 = _local2.label;
}
if (this.fLabel_mc.labelField.text != _local1) {
this.fLabel_mc.setLabel(_local1);
}
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) {
var _local1 = this;
var _local2 = flag;
fade = _local1.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!_local2)) {
_local1.highlight_mc._alpha = (_local2 ? 100 : 0);
delete _local1.onEnterFrame;
} else {
_local1.fadeN = fade;
_local1.fadeX = 1;
_local1.highLight_mc._alpha = 20;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.highLight_mc._alpha = (60 * Math.sqrt((_local1.fadeX++) / _local1.fadeN)) + 40;
if (_local1.fadeX > _local1.fadeN) {
delete _local1.onEnterFrame;
}
};
}
_local1.highlighted = _local2;
};
#endinitclip
Symbol 96 MovieClip [DataProviderSymbol] Frame 1
#initclip 2
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
var _local1 = this;
_local1.items = new Array();
_local1.uniqueID = 0;
_local1.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var _local1 = {event:"updateAll"};
viewRef.modelChanged(_local1);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
var _local1 = index;
var _local2 = this;
var _local3 = value;
if (_local1 < _local2.getLength()) {
_local2.items.splice(_local1, 0, "tmp");
}
_local2.items[_local1] = new Object();
if (typeof(_local3) == "object") {
_local2.items[_local1] = _local3;
} else {
_local2.items[_local1].label = _local3;
}
_local2.items[_local1].__ID__ = _local2.uniqueID++;
var eventObj = {event:"addRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var _local1 = index;
var _local2 = this;
var tmpItm = _local2.items[_local1];
_local2.items.splice(_local1, 1);
var _local3 = {event:"deleteRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(_local3);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
var _local1 = this;
_local1.items = new Array();
_local1.updateViews({event:"deleteRows", firstRow:0, lastRow:_local1.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
var _local1 = index;
var _local2 = this;
if ((_local1 < 0) || (_local1 >= _local2.getLength())) {
return(undefined);
}
var _local3 = _local2.getItemID(_local1);
if (typeof(itemObj) == "object") {
_local2.items[_local1] = itemObj;
} else {
_local2.items[_local1].label = itemObj;
}
_local2.items[_local1].__ID__ = _local3;
_local2.updateViews({event:"updateRows", firstRow:_local1, lastRow:_local1});
return(undefined);
};
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) {
var _local1 = this;
_local1.items.sortOn(fieldName);
if (order == "DESC") {
_local1.items.reverse();
}
_local1.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var _local2 = this;
var _local3 = eventObj;
var _local1 = 0;
for(;;){
if (_local1 >= _local2.views.length) {
return;
}
_local2.views[_local1].modelChanged(_local3);
_local1++;
};
};
#endinitclip
Symbol 97 MovieClip [FSelectableListSymbol] Frame 1
#initclip 4
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
var _local1 = this;
super.init();
_local1.enable = true;
_local1.selected = new Array();
_local1.topDisplayed = (_local1.numDisplayed = 0);
_local1.lastSelected = 0;
_local1.tabChildren = false;
if (_local1._name != undefined) {
_local1.dataProvider = new DataProviderClass();
_local1.dataProvider.addView(_local1);
}
};
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) {
this.dataProvider.addItem({label:label, data:data});
}
};
FSelectableListClass.prototype.removeItemAt = function (index) {
var _local1 = this;
_local1.selectHolder = _local1.getSelectedIndex();
var _local2 = _local1.getItemAt(index);
_local1.dataProvider.removeItemAt(index);
return(_local2);
};
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) {
var _local1 = this;
_local1.lastSelID = _local1.dataProvider.getItemID(_local1.lastSelected);
_local1.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
var _local2 = this;
for (var _local3 in _local2.selected) {
var _local1 = _local2.selected[_local3].sIndex;
if (_local1 != undefined) {
do {
} while (undefined != null);
return(_local1);
}
}
return(undefined);
};
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 _local1 = this.getSelectedItem();
if (_local1.data != undefined) {
return(_local1.data);
}
return(_local1.label);
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
var _local2 = index;
if (((_local2 >= 0) && (_local2 < _local1.getLength())) && (_local1.enable)) {
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.lastSelected = _local2;
_local1.invalidate("updateControl");
if (flag != false) {
_local1.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
var _local2 = obj;
this.setScrollPosition(0);
this.clearSelected();
if (_local2 instanceof Array) {
this.dataProvider = new DataProviderClass();
var _local1 = 0;
while (_local1 < _local2.length) {
var _local3 = ((typeof(_local2[_local1]) == "string") ? ({label:_local2[_local1]}) : (_local2[_local1]));
this.dataProvider.addItem(_local3);
_local1++;
}
} else {
this.dataProvider = _local2;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
var _local1 = this;
_local1.tmpPos = _local1.getScrollPosition();
_local1.itemSymbol = linkID;
_local1.invalidate("setSize");
_local1.setScrollPosition(_local1.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.cleanUI();
super.setEnabled(enabledFlag);
_local1.enable = enabledFlag;
_local1.boundingBox_mc.gotoAndStop((_local1.enable ? "enabled" : "disabled"));
var _local3 = Math.min(_local1.numDisplayed, _local1.getLength());
var _local2 = 0;
while (_local2 < _local3) {
_local1.container_mc[("fListItem" + _local2) + "_mc"].setEnabled(_local1.enable);
_local2++;
}
if (_local1.enable) {
_local1.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var _local1 = this;
var _local2 = 0;
for(;;){
if (_local2 >= _local1.numDisplayed) {
return;
}
_local1.container_mc[("fListItem" + _local2) + "_mc"].drawItem(_local1.getItemAt(_local1.topDisplayed + _local2), _local1.isSelected(_local1.topDisplayed + _local2));
};
_local2 = _local2++;
};
FSelectableListClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.boundingBox_mc._xscale = (_local1.boundingBox_mc._yscale = 100);
_local1.boundingBox_mc._xscale = (_local1.width * 100) / _local1.boundingBox_mc._width;
_local1.boundingBox_mc._yscale = (_local1.height * 100) / _local1.boundingBox_mc._height;
var _local2 = 0;
while (_local2 < _local1.numDisplayed) {
_local1.container_mc.attachMovie(_local1.itemSymbol, ("fListItem" + _local2) + "_mc", 10 + _local2, {controller:_local1, itemNum:_local2});
var _local3 = _local1.container_mc[("fListItem" + _local2) + "_mc"];
var offset = ((_local1.scrollOffset == undefined) ? 0 : (_local1.scrollOffset));
_local3.setSize(_local1.width - offset, _local1.itmHgt);
_local3._y = (_local1.itmHgt - 2) * _local2;
_local2++;
}
_local1.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var _local2 in _local1.selected) {
if ((_local1.selected[_local2].sIndex != undefined) && (_local1.selected[_local2].sIndex >= firstRow)) {
_local1.selected[_local2].sIndex = _local1.selected[_local2].sIndex + ((lastRow - firstRow) + 1);
_local1.setSelectedIndex(_local1.selected[_local2].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (_local1.selectHolder == index) {
_local1.selectionDeleted = true;
}
if (((_local1.topDisplayed + _local1.numDisplayed) >= _local1.getLength()) && (_local1.topDisplayed > 0)) {
_local1.topDisplayed--;
if (_local1.selectionDeleted && ((index - 1) >= 0)) {
_local1.setSelectedIndex(index - 1, false);
}
} else if (_local1.selectionDeleted) {
var len = _local1.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
_local1.setSelectedIndex(index - 1, false);
} else {
_local1.setSelectedIndex(index, false);
}
}
for (var _local2 in _local1.selected) {
if (_local1.selected[_local2].sIndex > firstRow) {
_local1.selected[_local2].sIndex--;
}
}
} else {
_local1.clearSelected();
_local1.topDisplayed = 0;
}
} else if (event == "sort") {
var len = _local1.getLength();
var _local2 = 0;
while (_local2 < len) {
if (_local1.isSelected(_local2)) {
var _local3 = _local1.dataProvider.getItemID(_local2);
if (_local3 == _local1.lastSelID) {
_local1.lastSelected = _local2;
}
_local1.selected[String(_local3)].sIndex = _local2;
}
_local2++;
}
}
_local1.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
var _local1 = this;
_local1.attachMovie(_local1.itemSymbol, "tmpItem_mc", 0, {controller:_local1});
_local1.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
_local1.itmHgt = _local1.tmpItem_mc._height;
_local1.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
var _local1 = this;
var _local2 = index;
if (selectedFlag && (!_local1.isSelected(_local2))) {
_local1.selected[String(_local1.dataProvider.getItemID(_local2))] = {sIndex:_local2};
} else if (selectedFlag) {
} else {
delete _local1.selected[String(_local1.dataProvider.getItemID(_local2))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
var _local1 = this;
for (var _local3 in _local1.selected) {
var _local2 = _local1.selected[_local3].sIndex;
if (((_local2 != undefined) && (_local1.topDisplayed <= _local2)) && (_local2 < (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.container_mc[("fListItem" + (_local2 - _local1.topDisplayed)) + "_mc"].drawItem(_local1.getItemAt(_local2), false);
}
}
delete _local1.selected;
_local1.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var _local1 = this;
var _local2 = _local1.topDisplayed + itemNum;
if (_local1.getItemAt(_local2 == undefined)) {
_local1.changeFlag = false;
return(undefined);
}
_local1.changeFlag = true;
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(_local1.getItemAt(_local2), _local1.isSelected(_local2));
return(undefined);
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var _local1 = this;
var _local3 = _local1.getSelectedIndex();
var _local2 = _local3 + incr;
_local2 = Math.max(0, _local2);
_local2 = Math.min(_local1.getLength() - 1, _local2);
if (_local2 != _local3) {
if ((_local3 < _local1.topDisplayed) || (_local3 >= (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.setScrollPosition(_local3);
}
if ((_local2 >= (_local1.topDisplayed + _local1.numDisplayed)) || (_local2 < _local1.topDisplayed)) {
_local1.setScrollPosition(_local1.topDisplayed + incr);
}
_local1.selectionHandler(_local2 - _local1.topDisplayed);
}
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (!_local1.focused) {
_local1.pressFocus();
}
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
var _local1 = this;
if (_local1.changeFlag) {
_local1.executeCallBack();
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
var _local2 = this;
super.myOnSetFocus();
var _local1 = 0;
for(;;){
if (_local1 >= _local2.numDisplayed) {
return;
}
_local2.container_mc[("fListItem" + _local1) + "_mc"].highlight_mc.gotoAndStop("enabled");
_local1++;
};
};
FSelectableListClass.prototype.myOnKillFocus = function () {
var _local2 = this;
super.myOnKillFocus();
var _local1 = 0;
for(;;){
if (_local1 >= _local2.numDisplayed) {
return;
}
_local2.container_mc[("fListItem" + _local1) + "_mc"].highlight_mc.gotoAndStop("unfocused");
_local1++;
};
};
#endinitclip
Symbol 99 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 100 MovieClip [FScrollBarSymbol] Frame 1
#initclip 5
FScrollBarClass = function () {
var _local1 = this;
if (_local1._height != 4) {
_local1.init();
_local1.minPos = (_local1.maxPos = (_local1.pageSize = (_local1.largeScroll = 0)));
_local1.smallScroll = 1;
_local1.width = (_local1.horizontal ? (_local1._width) : (_local1._height));
_local1._xscale = (_local1._yscale = 100);
_local1.setScrollPosition(0);
_local1.tabEnabled = false;
if (_local1._targetInstanceName.length > 0) {
_local1.setScrollTarget(_local1._parent[_local1._targetInstanceName]);
}
_local1.tabChildren = false;
_local1.setSize(_local1.width);
}
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.horizontal && (!_local2)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
var _local1 = this;
if (_local1.enable) {
_local1.pageSize = pSize;
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1.scrollPosition = Math.max(_local1.minPos, _local1.scrollPosition);
_local1.scrollPosition = Math.min(_local1.maxPos, _local1.scrollPosition);
if ((_local1.maxPos - _local1.minPos) <= 0) {
_local1.scrollThumb_mc.removeMovieClip();
_local1.upArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = null));
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = null));
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onRelease = null);
_local1.scrollTrack_mc.onDragOut = (_local1.scrollTrack_mc.onRollOut = null);
_local1.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = _local1.getScrollPosition();
_local1.upArrow_mc.gotoAndStop(1);
_local1.downArrow_mc.gotoAndStop(1);
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onDragOver = _local1.startUpScroller);
_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = _local1.stopScrolling);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onDragOver = _local1.startDownScroller);
_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = _local1.stopScrolling);
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onDragOver = _local1.startTrackScroller);
_local1.scrollTrack_mc.onRelease = _local1.stopScrolling;
_local1.scrollTrack_mc.onDragOut = _local1.stopScrolling;
_local1.scrollTrack_mc.onRollOut = _local1.stopScrolling;
_local1.scrollTrack_mc.useHandCursor = false;
_local1.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
_local1.scrollThumb_mc._x = 0;
_local1.scrollThumb_mc._y = _local1.upArrow_mc._height;
_local1.scrollThumb_mc.onPress = _local1.startDragThumb;
_local1.scrollThumb_mc.controller = _local1;
_local1.scrollThumb_mc.onRelease = (_local1.scrollThumb_mc.onReleaseOutside = _local1.stopDragThumb);
_local1.scrollThumb_mc.useHandCursor = false;
_local1.thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local1.trackSize;
_local1.thumbMid_mc = _local1.scrollThumb_mc.mc_sliderMid;
_local1.thumbTop_mc = _local1.scrollThumb_mc.mc_sliderTop;
_local1.thumbBot_mc = _local1.scrollThumb_mc.mc_sliderBot;
_local1.thumbHeight = Math.max(_local1.thumbHeight, 6);
_local1.midHeight = (_local1.thumbHeight - _local1.thumbTop_mc._height) - _local1.thumbBot_mc._height;
_local1.thumbMid_mc._yScale = (_local1.midHeight * 100) / _local1.thumbMid_mc._height;
_local1.thumbMid_mc._y = _local1.thumbTop_mc._height;
_local1.thumbBot_mc._y = _local1.thumbTop_mc._height + _local1.midHeight;
_local1.scrollTop = _local1.scrollThumb_mc._y;
_local1.trackHeight = _local1.trackSize - _local1.thumbHeight;
_local1.scrollBot = _local1.trackHeight + _local1.scrollTop;
_local2 = Math.min(_local2, _local1.maxPos);
_local1.setScrollPosition(Math.max(_local2, _local1.minPos));
}
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
var _local1 = this;
var _local2 = pos;
_local1.scrollPosition = _local2;
if (_local1.scrollThumb_mc != undefined) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
}
_local1.scrollThumb_mc._y = (((_local2 - _local1.minPos) * _local1.trackHeight) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTop;
_local1.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
var _local3 = _local1.enable;
if (_local2 && (!_local3)) {
_local1.enable = _local2;
if (_local1.textField == undefined) {
_local1.setScrollProperties(_local1.pageSize, _local1.cachedMinPos, _local1.cachedMaxPos);
_local1.setScrollPosition(_local1.cachedPos);
} else {
_local1.setScrollTarget(_local1.textField);
}
_local1.clickFilter = undefined;
} else if ((!_local2) && (_local3)) {
_local1.textField.removeListener(_local1);
_local1.cachedPos = _local1.getScrollPosition();
_local1.cachedMinPos = _local1.minPos;
_local1.cachedMaxPos = _local1.maxPos;
if (_local1.clickFilter == undefined) {
_local1.setScrollProperties(_local1.pageSize, 0, 0);
} else {
_local1.clickFilter = true;
}
_local1.enable = _local2;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
var _local1 = this;
if (_local1._height != 1) {
_local1.width = hgt;
_local1.scrollTrack_mc._yscale = 100;
_local1.scrollTrack_mc._yscale = (100 * _local1.width) / _local1.scrollTrack_mc._height;
if (_local1.upArrow_mc == undefined) {
_local1.attachMovie("UpArrow", "upArrow_mc", 1);
_local1.attachMovie("DownArrow", "downArrow_mc", 2);
_local1.downArrow_mc.controller = (_local1.upArrow_mc.controller = _local1);
_local1.upArrow_mc.useHandCursor = (_local1.downArrow_mc.useHandCursor = false);
_local1.upArrow_mc._x = (_local1.upArrow_mc._y = 0);
_local1.downArrow_mc._x = 0;
}
_local1.scrollTrack_mc.controller = _local1;
_local1.downArrow_mc._y = _local1.width - _local1.downArrow_mc._height;
_local1.trackSize = _local1.width - (2 * _local1.downArrow_mc._height);
if (_local1.textField != undefined) {
_local1.onTextChanged();
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos);
}
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "one") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1.getScrollPosition() + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
_local1.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
var _local1 = this;
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.controller.scrollTop) {
_local1.scrollMove = _local1.controller.scrollTop;
} else if (_local1.scrollMove > _local1.controller.scrollBot) {
_local1.scrollMove = _local1.controller.scrollBot;
}
_local1._y = _local1.scrollMove;
var _local2 = _local1.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (_local1._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
_local1.controller.isScrolling = true;
updateAfterEvent();
_local1.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
var _local1 = this;
_local1.controller.trackScroller();
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", 35, _local2, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.thumbHeight) < _local1._ymouse) {
_local1.scrollIt("page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(1);
_local1.controller.upArrow_mc.gotoAndStop(1);
clearInterval(_local1.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
var _local1 = this;
_local1.controller.upArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", -1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", 1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
var _local1 = this;
var _local2 = tF;
if (_local2 == undefined) {
_local1.textField.removeListener(_local1);
delete _local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")];
if ((_local1.textField.hScroller != undefined) && (_local1.textField.vScroller != undefined)) {
_local1.textField.unwatch("text");
_local1.textField.unwatch("htmltext");
}
}
_local1.textField = undefined;
if (_local2 instanceof TextField) {
_local1.textField = _local2;
_local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")] = _local1;
_local1.onTextChanged();
_local1.onChanged = function () {
this.onTextChanged();
};
_local1.onScroller = function () {
var _local1 = this;
if (_local1.isScrolling) {
} else if (!_local1.horizontal) {
_local1.setScrollPosition(_local1.textField.scroll);
} else {
_local1.setScrollPosition(_local1.textField.hscroll);
}
};
_local1.textField.addListener(_local1);
_local1.textField.watch("text", _local1.callback);
_local1.textField.watch("htmlText", _local1.callback);
}
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
var _local1 = this;
clearInterval(_local1.hScroller.synchScroll);
clearInterval(_local1.vScroller.synchScroll);
_local1.hScroller.synchScroll = setInterval(_local1.hScroller, "onTextChanged", 50);
_local1.vScroller.synchScroll = setInterval(_local1.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
var _local1 = this;
if ((!_local1.enable) || (_local1.textField == undefined)) {
return(undefined);
}
clearInterval(_local1.synchScroll);
if (_local1.horizontal) {
var _local2 = _local1.textField.hscroll;
_local1.setScrollProperties(_local1.textField._width, 0, _local1.textField.maxhscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxhscroll));
} else {
var _local2 = _local1.textField.scroll;
var _local3 = _local1.textField.bottomScroll - _local1.textField.scroll;
_local1.setScrollProperties(_local3, 1, _local1.textField.maxscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxscroll));
}
return(undefined);
};
FScrollBarClass.prototype.executeCallBack = function () {
var _local1 = this;
if (_local1.textField == undefined) {
super.executeCallBack();
} else if (_local1.horizontal) {
_local1.textField.hscroll = _local1.getScrollPosition();
} else {
_local1.textField.scroll = _local1.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 101 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) {
var _local1 = pos;
var _local2 = this;
if (_local2.enable) {
_local1 = Math.min(_local1, _local2.getLength() - _local2.numDisplayed);
_local1 = Math.max(_local1, 0);
_local2.scrollBar_mc.setScrollPosition(_local1);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
var _local1 = this;
_local1.permaScrollBar = !flag;
_local1.setSize(_local1.width, _local1.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var _local1 = this;
var _local2 = _local1.getScrollPosition();
super.setSize(w, h);
if (_local1.scrollBar_mc != undefined) {
_local1.removed = true;
}
_local1.scrollBar_mc = undefined;
_local1.initScrollBar();
_local1.setScrollPosition(_local2);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
var _local1 = this;
if ((!_local1.permaScrollBar) && (_local1.getLength() <= _local1.numDisplayed)) {
if (_local1.removed) {
_local1.scrollBar_mc.removeMovieClip();
_local1.scrollBar_mc = undefined;
_local1.scrollOffset = undefined;
_local1.invalidate("setSize");
}
} else {
if (_local1.scrollBar_mc == undefined) {
_local1.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:_local1.styleTable});
_local1.scrollBar_mc = _local1.container_mc.scrollBar_mc;
_local1.scrollBar_mc.setChangeHandler("scrollHandler", _local1);
_local1.scrollBar_mc.setSize(_local1.height);
_local1.scrollBar_mc._x = _local1.width - _local1.scrollBar_mc._width;
_local1.scrollBar_mc._y = 0;
_local1.scrollBar_mc.setLargeScroll(_local1.numDisplayed - 1);
_local1.scrollOffset = _local1.scrollBar_mc._width;
_local1.invalidate("setSize");
}
_local1.scrollBar_mc.setScrollProperties(_local1.numDisplayed, 0, _local1.getLength() - _local1.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var _local2 = this;
var _local1 = scrollBar.getScrollPosition();
_local2.topDisplayed = _local1;
if (_local2.lastPosition != _local1) {
_local2.updateControl();
}
_local2.lastPosition = _local1;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
super.clickHandler(itmNum);
if ((_local1.dragScrolling == undefined) && (_local1.scrollBar_mc != undefined)) {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
var _local1 = this;
clearInterval(_local1.dragScrolling);
if (_local1.container_mc._ymouse < 0) {
_local1.setScrollPosition(_local1.getScrollPosition() - 1);
_local1.selectionHandler(0);
_local1.scrollInterval = Math.max(25, (-23.8 * (-_local1.container_mc._ymouse)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else if (_local1.container_mc._ymouse > ((_local1.itmHgt - 2) * _local1.numDisplayed)) {
_local1.setScrollPosition(_local1.getScrollPosition() + 1);
_local1.selectionHandler(_local1.numDisplayed - 1);
_local1.scrollInterval = Math.max(25, (-23.8 * Math.abs((_local1.container_mc._ymouse - ((_local1.itmHgt - 2) * _local1.numDisplayed)) - 2)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if (_local1.focused) {
_local1.keyCodes = new Array(40, 38, 34, 33, 36, 35);
_local1.keyIncrs = new Array(1, -1, _local1.numDisplayed - 1, -(_local1.numDisplayed - 1), -_local1.getLength(), _local1.getLength());
var _local2 = 0;
while (_local2 < _local1.keyCodes.length) {
if (Key.isDown(_local1.keyCodes[_local2])) {
_local1.moveSelBy(_local1.keyIncrs[_local2]);
return(undefined);
}
_local2++;
}
_local1.findInputText();
}
return(undefined);
};
FScrollSelectListClass.prototype.findInputText = function () {
var _local1 = Key.getAscii();
if ((_local1 >= 33) && (_local1 <= 126)) {
this.findString(String.fromCharCode(_local1));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
var _local3 = str;
if (this.getLength() != 0) {
var itemNum = this.getSelectedIndex();
var jump = 0;
var _local1 = itemNum + 1;
while (_local1 != itemNum) {
var _local2 = this.getItemAt(_local1).label.substring(0, _local3.length);
if ((_local3 == _local2) || (_local3.toUpperCase() == _local2.toUpperCase())) {
var jump = (_local1 - itemNum);
break;
}
if (_local1 >= (this.getLength() - 1)) {
_local1 = -1;
}
_local1++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
}
};
#endinitclip
Instance of Symbol 100 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 101 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
Symbol 104 MovieClip [FComboBoxSymbol] Frame 1
this.deadPreview._visible = false;
Symbol 144 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}
Symbol 150 Button
on (release) {
getURL ("http://www.mofunzone.com", "_blank");
}
Symbol 154 MovieClip Frame 9
stop();
Symbol 156 MovieClip Frame 30
stop();
Symbol 157 Button
on (release) {
stopAllSounds();
play();
}
Symbol 185 MovieClip Frame 1
_root.playSound("thunder");
Symbol 185 MovieClip Frame 63
_root.playSound("howl");
Symbol 185 MovieClip Frame 128
_root.play();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 3
gotoAndStop (1);
Symbol 202 MovieClip Frame 5
gotoAndStop (1);
Symbol 202 MovieClip Frame 7
gotoAndStop (1);
Symbol 202 MovieClip Frame 9
gotoAndStop (1);
Symbol 202 MovieClip Frame 11
gotoAndStop (1);
Symbol 202 MovieClip Frame 13
gotoAndStop (1);
Symbol 202 MovieClip Frame 15
gotoAndStop (1);
Symbol 202 MovieClip Frame 17
gotoAndStop (1);
Symbol 202 MovieClip Frame 19
gotoAndStop (1);
Symbol 202 MovieClip Frame 21
gotoAndStop (1);
Symbol 202 MovieClip Frame 23
gotoAndStop (1);
Symbol 202 MovieClip Frame 29
gotoAndStop (1);
Symbol 202 MovieClip Frame 54
gotoAndStop (1);
Symbol 202 MovieClip Frame 56
gotoAndStop (1);
Symbol 202 MovieClip Frame 58
gotoAndStop (1);
Symbol 202 MovieClip Frame 60
gotoAndStop (1);
Symbol 202 MovieClip Frame 62
gotoAndStop (1);
Symbol 202 MovieClip Frame 64
gotoAndStop (1);
Symbol 202 MovieClip Frame 66
gotoAndStop (1);
Symbol 205 Button
on (release) {
stopAllSounds();
gotoAndStop (67);
}
Symbol 242 MovieClip Frame 49
_root.playSound("footsteps2");
Symbol 242 MovieClip Frame 109
_root.play();
Symbol 286 MovieClip Frame 488
_root.play();
Symbol 293 MovieClip Frame 62
_root.play();
Symbol 349 MovieClip Frame 8
gotoAndPlay (5);
Symbol 373 MovieClip Frame 1
_root.playSound("footsteps1");
Symbol 373 MovieClip Frame 385
stopAllSounds();
Symbol 373 MovieClip Frame 426
_root.playSound("songstart2");
Symbol 373 MovieClip Frame 593
_root.play();
Symbol 390 MovieClip Frame 147
stop();
Symbol 394 MovieClip Frame 110
_root.playSound("swordc1");
Symbol 394 MovieClip Frame 153
_root.play();
Symbol 405 MovieClip Frame 11
stop();
Symbol 409 MovieClip Frame 1
_root.playSound("swordc2");
Symbol 409 MovieClip Frame 12
_root.playSound("swordc2");
Symbol 409 MovieClip Frame 210
_root.play();
Symbol 504 MovieClip Frame 1
stop();
Symbol 505 Button
on (release) {
_root.options.nextFrame();
}
Symbol 506 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 (70);
}
}
Symbol 507 Button
on (release) {
play();
_root.cleargrid = false;
}
Symbol 511 Button
on (release) {
gotoAndStop (3);
}
Symbol 516 Button
on (release) {
nextFrame();
}
Symbol 517 MovieClip Frame 1
stop();
Instance of Symbol 104 MovieClip [FComboBoxSymbol] in Symbol 517 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 = "";
}
Instance of Symbol 104 MovieClip [FComboBoxSymbol] in Symbol 517 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 = "";
}
Symbol 517 MovieClip Frame 3
gotoAndStop (1);
Symbol 520 MovieClip Frame 16
stop();
Symbol 520 MovieClip Frame 31
stop();
Symbol 563 MovieClip Frame 20
stop();
Symbol 564 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 565 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 566 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 567 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 580 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 1
stop();
Symbol 603 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 604 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 605 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 606 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 609 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 1
stop();
Symbol 612 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 613 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 580 MovieClip "lifebar" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 586 MovieClip "manabar" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 580 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.expb / _root.expmaxb) * widthkeep;
}
Instance of Symbol 580 MovieClip "engbar" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Instance of Symbol 683 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ninjaav);
}
Symbol 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 687 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 776 MovieClip Frame 1
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
stop();
Instance of Symbol 765 MovieClip "head" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.outfit[0]);
}
}
Instance of Symbol 775 MovieClip "feet1" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.outfit[0]);
}
}
Instance of Symbol 775 MovieClip "feet2" in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
with (this) {
gotoAndStop(_root.outfit[0]);
}
}
Symbol 776 MovieClip Frame 2
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 776 MovieClip Frame 11
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 776 MovieClip Frame 21
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
gotoAndPlay (2);
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 4
gotoAndPlay (1);
Symbol 781 MovieClip Frame 7
gotoAndPlay (1);
Symbol 781 MovieClip Frame 10
gotoAndPlay (1);
Symbol 781 MovieClip Frame 13
gotoAndPlay (1);
Symbol 933 MovieClip Frame 1
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 933 MovieClip Frame 2
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 933 MovieClip Frame 11
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 933 MovieClip Frame 21
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
gotoAndPlay (2);
Symbol 962 MovieClip Frame 1
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
stop();
Symbol 962 MovieClip Frame 2
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 962 MovieClip Frame 11
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
Symbol 962 MovieClip Frame 21
head.gotoAndStop(_root.Helmet);
for (i in _root.BodyParts) {
tellTarget (_root.BodyParts[i]) {
gotoAndStop(_root.Suit);
};
}
gotoAndPlay (2);
Symbol 963 MovieClip Frame 1
stop();
Instance of Symbol 963 MovieClip "char" in Symbol 964 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 974 MovieClip Frame 1
stop();
Symbol 974 MovieClip Frame 11
_root.EnemyMeet();
_root.pause = false;
_root.cleargrid = true;
_root.gotoAndStop("find");
Symbol 974 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 975 MovieClip Frame 2
removeMovieClip(this);
Symbol 986 Button
on (release, keyPress "<Space>") {
_root.pause = false;
this._visible = false;
_root.talking = false;
}
Symbol 987 MovieClip Frame 2
if (Key.isDown(32)) {
gotoAndPlay (1);
}
Symbol 987 MovieClip Frame 3
stop();
Symbol 991 Button
on (release, keyPress "<Space>") {
_root.pause = false;
this._visible = false;
}
Symbol 1002 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 1003 Button
on (press) {
if (_root.item[_root.itempick][1] != "Required Item") {
_root.itempick = "None";
_root.inventory.itemmouse.gotoAndStop(_root.itempick);
}
}
Symbol 1005 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 1006 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 1007 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 1008 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 1009 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 1010 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 1011 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 1012 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 1014 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 1015 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 1016 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 1017 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 1065 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 1072 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 1087 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 1088 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 1089 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 1090 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 1091 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 1092 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 1093 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 1094 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 1095 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 1096 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 1101 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 1102 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 1103 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 1104 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 1105 Button
on (rollOver, press, release) {
cost = 100;
_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 1106 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 1107 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 1108 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 1109 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 1112 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 1113 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 1114 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 1115 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 1116 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 1117 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 1120 Button
on (rollOver, press, release) {
cost = 560;
_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 1121 Button
on (rollOver, press, release) {
cost = 110;
_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 1122 Button
on (rollOver, press, release) {
cost = 600;
_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 1123 Button
on (rollOver, press, release) {
cost = 130;
_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 1124 Button
on (rollOver, press, release) {
cost = 590;
_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 1125 Button
on (rollOver, press, release) {
cost = 490;
_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 1126 Button
on (rollOver, press, release) {
cost = 530;
_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 1128 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 1129 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 1130 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 1131 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 1132 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 1134 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 1135 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 1136 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 1137 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 1138 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 1145 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 1152 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 1164 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 1172 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 1173 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 1174 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 1175 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 1176 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 1177 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 1178 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 1179 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 1180 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 1181 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 1182 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 1190 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 1191 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 1192 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 1193 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 1194 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 1195 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 1196 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 1197 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 1198 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 1199 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 1200 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 1201 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 1202 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 1203 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 1204 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 1205 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 1206 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 1207 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 1208 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 1288 MovieClip Frame 1
stop();
Symbol 1288 MovieClip Frame 2
if (_root.skill[0] == 0) {
d1 = "-";
} else {
d1 = _root.skill[0] * 4;
}
d2 = (_root.skill[0] + 1) * 4;
Symbol 1288 MovieClip Frame 3
if (_root.skill[1] == 0) {
d1 = "-";
} else {
d1 = 15 + (_root.skill[1] * 7);
}
d2 = 15 + ((_root.skill[1] + 1) * 7);
Symbol 1288 MovieClip Frame 4
if (_root.skill[2] == 0) {
d1 = "-";
} else {
d1 = (52 + (_root.skill[2] * 8)) + "%";
}
d2 = (52 + ((_root.skill[2] + 1) * 8)) + "%";
Symbol 1288 MovieClip Frame 5
if (_root.skill[3] == 0) {
d1 = "-";
} else {
d1 = (_root.skill[3] * 60) + "% Speed";
}
d2 = ((_root.skill[3] + 1) * 60) + "% Speed";
Symbol 1288 MovieClip Frame 6
if (_root.skill[4] == 0) {
d1 = "-";
} else {
d1 = 40 + (_root.skill[4] * 9);
}
d2 = 40 + ((_root.skill[4] + 1) * 9);
Symbol 1288 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 1288 MovieClip Frame 8
if (_root.skill[6] == 0) {
d1 = "-";
} else {
d1 = (_root.skill[6] * 80) + "%";
}
d2 = ((_root.skill[6] + 1) * 80) + "%";
Symbol 1288 MovieClip Frame 9
if (_root.skill[7] == 0) {
d1 = "-";
} else {
d1 = _root.skill[7] * 2;
}
d2 = (_root.skill[7] + 1) * 2;
Symbol 1288 MovieClip Frame 10
if (_root.skill[8] == 0) {
d1 = "-";
} else {
d1 = _root.skill[8] * 7;
}
d2 = (_root.skill[8] + 1) * 7;
Symbol 1288 MovieClip Frame 11
if (_root.skill[9] == 0) {
d1 = "-";
} else {
d1 = _root.skill[9] * 25;
}
d2 = (_root.skill[9] + 1) * 25;
Symbol 1288 MovieClip Frame 12
if (_root.skill[10] == 0) {
d1 = "-";
} else {
d1 = _root.skill[10] * 5;
}
d2 = (_root.skill[10] + 1) * 5;
Symbol 1288 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 1288 MovieClip Frame 14
if (_root.skill[12] == 0) {
d1 = "-";
} else {
d1 = (13 + (_root.skill[12] * 12)) + "%";
}
d2 = (13 + ((_root.skill[12] + 1) * 12)) + "%";
Symbol 1288 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 1288 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 1288 MovieClip Frame 17
if (_root.skill[15] == 0) {
d1 = "-";
} else {
d1 = 60 + (_root.skill[15] * 25);
}
d2 = 60 + ((_root.skill[15] + 1) * 25);
Symbol 1288 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 1288 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 1288 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 1292 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 1310 MovieClip Frame 1
stop();
Symbol 1311 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 1312 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 1313 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 1314 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 1317 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 1327 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 1328 Button
on (release) {
if (_root.rests > 0) {
_root.rests--;
_root.engb = _root.engmaxb;
_root.manab = _root.manamaxb;
_root.lifeb = _root.lifemaxb;
}
}
Symbol 1343 MovieClip Frame 1
stop();
Symbol 1346 MovieClip Frame 15
stop();
Symbol 1347 Button
on (release) {
book = "b";
gotoAndStop (19);
}
Symbol 1350 Button
on (release) {
book = "e";
gotoAndStop (19);
}
Symbol 1351 Button
on (release) {
book = "d";
gotoAndStop (19);
}
Symbol 1354 Button
on (release) {
book = "a";
gotoAndStop (19);
}
Symbol 1364 MovieClip Frame 1
stop();
Instance of Symbol 100 MovieClip [FScrollBarSymbol] in Symbol 1364 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "story";
horizontal = false;
}
Symbol 1367 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 1375 Button
on (release) {
if (_root.gold >= 25) {
_root.gold = _root.gold - 25;
_root.lifepots = _root.lifepots + 1;
lifepotmc.gotoAndPlay(2);
}
}
Symbol 1376 Button
on (release) {
if (_root.gold >= 15) {
_root.gold = _root.gold - 15;
_root.manapots = _root.manapots + 1;
manapotmc.gotoAndPlay(2);
}
}
Symbol 1380 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 1387 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 1388 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 1389 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 1390 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 1407 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 1429 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 1430 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 1431 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 1434 MovieClip Frame 1
stop();
Symbol 1434 MovieClip Frame 2
stop();
_root.itempick = "None";
Instance of Symbol 504 MovieClip "slot4" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[4]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[5]);
}
Instance of Symbol 504 MovieClip "slot6" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[6]);
}
Instance of Symbol 504 MovieClip "slot7" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[7]);
}
Instance of Symbol 504 MovieClip "slot8" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[8]);
}
Instance of Symbol 504 MovieClip "slot9" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[9]);
}
Instance of Symbol 504 MovieClip "slot10" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[10]);
}
Instance of Symbol 504 MovieClip "slot11" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[11]);
}
Instance of Symbol 504 MovieClip "slot3" in Symbol 1434 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[3]);
}
Instance of Symbol 504 MovieClip "slot2" in Symbol 1434 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[2]);
}
Instance of Symbol 504 MovieClip "slot0" in Symbol 1434 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[0]);
}
Instance of Symbol 504 MovieClip "slot1" in Symbol 1434 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[1]);
}
Instance of Symbol 1063 MovieClip "explainbox" in Symbol 1434 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 504 MovieClip "itemmouse" in Symbol 1434 MovieClip Frame 2
onClipEvent (enterFrame) {
startDrag (this, true);
}
Symbol 1434 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 504 MovieClip "slot4" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[4]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[5]);
}
Instance of Symbol 504 MovieClip "slot6" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[6]);
}
Instance of Symbol 504 MovieClip "slot7" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[7]);
}
Instance of Symbol 504 MovieClip "slot8" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[8]);
}
Instance of Symbol 504 MovieClip "slot9" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[9]);
}
Instance of Symbol 504 MovieClip "slot10" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[10]);
}
Instance of Symbol 504 MovieClip "slot11" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[11]);
}
Instance of Symbol 504 MovieClip "slot3" in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[3]);
}
Instance of Symbol 504 MovieClip "slot2" in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[2]);
}
Instance of Symbol 504 MovieClip "slot0" in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[0]);
}
Instance of Symbol 504 MovieClip "slot1" in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[1]);
}
Instance of Symbol 1063 MovieClip "explainbox" in Symbol 1434 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[20]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[21]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[22]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[24]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[27]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[28]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[29]);
}
Symbol 1434 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";
Symbol 1434 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 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[21]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[22]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[24]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Symbol 1434 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 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Symbol 1434 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 1434 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 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 8
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 8
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Symbol 1434 MovieClip Frame 9
_root.itemstats[20] = "White Leaves";
Symbol 1434 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 504 MovieClip "slot4" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[4]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[5]);
}
Instance of Symbol 504 MovieClip "slot6" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[6]);
}
Instance of Symbol 504 MovieClip "slot7" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[7]);
}
Instance of Symbol 504 MovieClip "slot8" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[8]);
}
Instance of Symbol 504 MovieClip "slot9" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[9]);
}
Instance of Symbol 504 MovieClip "slot10" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[10]);
}
Instance of Symbol 504 MovieClip "slot11" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[11]);
}
Instance of Symbol 504 MovieClip "slot3" in Symbol 1434 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[3]);
}
Instance of Symbol 504 MovieClip "slot2" in Symbol 1434 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[2]);
}
Instance of Symbol 504 MovieClip "slot0" in Symbol 1434 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[0]);
}
Instance of Symbol 504 MovieClip "slot1" in Symbol 1434 MovieClip Frame 12
onClipEvent (load) {
this.gotoAndStop(_root.itemstats[1]);
}
Instance of Symbol 1063 MovieClip "explainbox" in Symbol 1434 MovieClip Frame 12
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[20]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[21]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[22]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[23]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[24]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[25]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[26]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[27]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[28]);
}
Instance of Symbol 504 MovieClip "slot5" in Symbol 1434 MovieClip Frame 12
onClipEvent (enterFrame) {
this.gotoAndStop(_root.itemstats[29]);
}
Symbol 1434 MovieClip Frame 13
for (i in _root.skill) {
_root["skillx" + i] = _root.skill[i];
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[2] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[3] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[4] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[6] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[8] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 5) && (_root.skill[9] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 10) && (_root.skill[10] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[7] > 0)) && (_root.skill[11] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (((_root.level >= 10) && (_root.skill[12] > 0)) && (_root.skill[5] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (((_root.level >= 15) && (_root.skill[13] > 0)) && (_root.skill[14] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if ((_root.level >= 15) && (_root.skill[15] > 0)) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[0] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1434 MovieClip Frame 13
onClipEvent (load) {
if (_root.skill[1] > 0) {
this._visible = false;
}
}
Symbol 1434 MovieClip Frame 14
prevFrame();
Instance of Symbol 580 MovieClip "lifebar" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 586 MovieClip "manabar" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 580 MovieClip "engbar" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Instance of Symbol 1310 MovieClip "Meal_0" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Dish0");
}
Instance of Symbol 1310 MovieClip "Meal_2" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Dish1");
}
Instance of Symbol 1310 MovieClip "Meal_1" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Bowl0");
}
Instance of Symbol 1310 MovieClip "Meal_3" in Symbol 1434 MovieClip Frame 16
onClipEvent (load) {
this.mealpic.gotoAndStop("Glass0");
}
Instance of Symbol 580 MovieClip "lifebar" in Symbol 1434 MovieClip Frame 17
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 586 MovieClip "manabar" in Symbol 1434 MovieClip Frame 17
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 580 MovieClip "engbar" in Symbol 1434 MovieClip Frame 17
onClipEvent (load) {
widthkeep = this._width;
}
onClipEvent (enterFrame) {
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Instance of Symbol 683 MovieClip in Symbol 1434 MovieClip Frame 17
onClipEvent (load) {
this.gotoAndStop(_root.ninjaav);
}
Instance of Symbol 1364 MovieClip "book" in Symbol 1434 MovieClip Frame 19
onClipEvent (load) {
this.gotoAndStop(_parent.book);
}
Instance of Symbol 580 MovieClip "lifebar" in Symbol 1434 MovieClip Frame 20
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.lifeb / _root.lifemaxb) * widthkeep;
}
Instance of Symbol 586 MovieClip "manabar" in Symbol 1434 MovieClip Frame 20
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.manab / _root.manamaxb) * widthkeep;
}
Instance of Symbol 580 MovieClip "engbar" in Symbol 1434 MovieClip Frame 22
onClipEvent (load) {
widthkeep = this._width;
this._width = (_root.engb / _root.engmaxb) * widthkeep;
}
Symbol 1437 Button
on (release) {
toggleHighQuality();
}
Symbol 1438 Button
on (release) {
stopAllSounds();
_root.clearstage = true;
_root.cleargrid = true;
removeMovieClip("TalkBox");
removeMovieClip("inventory");
removeMovieClip("objectives");
removeMovieClip("blackout");
gotoAndPlay (67);
}
Symbol 1439 Button
on (release) {
getURL ("http://www.mofunzone.com", "_blank");
}
Symbol 1463 MovieClip Frame 1
stop();
Symbol 1463 MovieClip Frame 9
gotoAndStop (1);
Symbol 1463 MovieClip Frame 12
_root.cover._visible = false;
_root.gotoAndStop(stagelabel);
_root.clearstage = false;
Symbol 1500 MovieClip Frame 1
person.gotoAndStop(persontype);
stop();
Symbol 1558 MovieClip Frame 1
itemthing.gotoAndStop(item);
stop();
Symbol 1561 MovieClip Frame 1
stop();
Symbol 1561 MovieClip Frame 3
_root.cover._visible = false;
Symbol 1561 MovieClip Frame 4
_root.gotoAndStop(stagelabel);
_root.clearstage = false;
Symbol 1616 MovieClip Frame 1
stop();
Symbol 1621 MovieClip Frame 1
person.gotoAndStop(persontype);
stop();
Instance of Symbol 1655 MovieClip in Symbol 1659 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 1717 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 1717 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 1717 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 1717 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 1718 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 1718 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 1718 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 1718 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 1718 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 1718 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1719 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 1719 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 1719 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 1719 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 1720 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 1720 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 1720 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 1720 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 1721 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 1721 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 1721 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 1721 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 1718 MovieClip "hero" in Symbol 1722 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1722 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 1722 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 1722 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 1722 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 1722 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 1722 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 1721 MovieClip "hero" in Symbol 1722 MovieClip Frame 35
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1722 MovieClip Frame 55
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1723 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 1723 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 1723 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 1723 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 1723 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1724 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 1724 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 1724 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 1724 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1725 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 1725 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 1725 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 1725 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 1725 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1727 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 1727 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 1727 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 1727 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 1727 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 1727 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 1727 MovieClip Frame 21
stop();
_root.blackout.play();
Symbol 1728 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 1728 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 1728 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 1729 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 1718 MovieClip "hero" in Symbol 1729 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1729 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 1729 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 1721 MovieClip "hero" in Symbol 1729 MovieClip Frame 36
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1729 MovieClip Frame 56
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1731 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 1731 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 1718 MovieClip "hero" in Symbol 1733 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1733 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 1733 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 1733 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 1733 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 1733 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 1721 MovieClip "hero" in Symbol 1733 MovieClip Frame 45
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1733 MovieClip Frame 65
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1740 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1740 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 1740 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 1740 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 1740 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 1740 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 1740 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 1740 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 1740 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 1740 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 1721 MovieClip "hero" in Symbol 1740 MovieClip Frame 46
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1740 MovieClip Frame 66
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1743 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 1743 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 1743 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 1743 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 1743 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 1743 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 1743 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 1743 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 1743 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 1743 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 1743 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 1718 MovieClip "hero" in Symbol 1745 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1745 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 1745 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 1745 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 1745 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 1745 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 1745 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 1745 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 1745 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 1745 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 1745 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 1745 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 1721 MovieClip "hero" in Symbol 1745 MovieClip Frame 55
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1745 MovieClip Frame 75
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1746 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1746 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 1746 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 1746 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 1746 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 1746 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 1746 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 1721 MovieClip "hero" in Symbol 1746 MovieClip Frame 50
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1746 MovieClip Frame 70
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1747 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1747 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 1721 MovieClip "hero" in Symbol 1747 MovieClip Frame 60
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1747 MovieClip Frame 80
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1749 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1749 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 1721 MovieClip "hero" in Symbol 1749 MovieClip Frame 66
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1749 MovieClip Frame 86
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1760 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 1760 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 1760 MovieClip Frame 10
_root.playSound("miss");
Symbol 1760 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 1760 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 1760 MovieClip Frame 25
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1775 MovieClip Frame 12
stop();
Symbol 1776 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 1776 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 1776 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 1776 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 1776 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 1776 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 1776 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 1776 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 1776 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 1776 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 1776 MovieClip Frame 37
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1778 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 1778 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 1778 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 1778 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 1778 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 1778 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 1778 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 1778 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 1778 MovieClip Frame 37
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1779 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 1779 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 1779 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 1779 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 1780 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 1780 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 1780 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 1780 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 1783 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 1783 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 1783 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 1783 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 1783 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 1783 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 1783 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 1785 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 1785 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 1785 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 1785 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 1785 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 1785 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 1785 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 1794 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 1794 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 1794 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 1794 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 1794 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 1794 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 1794 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 1796 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 1796 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 1796 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 1796 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 1797 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 1797 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 1797 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 1797 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 1797 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 1797 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 1797 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1798 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1798 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 1798 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 1798 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 1798 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 1798 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 1798 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 1798 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 1721 MovieClip "hero" in Symbol 1798 MovieClip Frame 40
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1798 MovieClip Frame 60
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1799 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1799 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 1799 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 1799 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 1799 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 1799 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 1721 MovieClip "hero" in Symbol 1799 MovieClip Frame 45
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1799 MovieClip Frame 65
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1805 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 1805 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 1805 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 1805 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 1805 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 1805 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1807 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 1807 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 1807 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 1807 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 1807 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 1807 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 1807 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 1807 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 1718 MovieClip "hero" in Symbol 1809 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1809 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 1809 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 1809 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 1721 MovieClip "hero" in Symbol 1809 MovieClip Frame 36
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1809 MovieClip Frame 56
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Instance of Symbol 1718 MovieClip "hero" in Symbol 1810 MovieClip Frame 1
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1810 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 1810 MovieClip Frame 50
dmg = _root[_root.enemytarget + "life"];
_root[dmgtype + "Damage"](dmg, 0, false, 999, 0, _root[mcname + "speed"], 0);
Symbol 1810 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 1721 MovieClip "hero" in Symbol 1810 MovieClip Frame 55
onClipEvent (load) {
subject = _parent.subject;
}
Symbol 1810 MovieClip Frame 75
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1811 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 1811 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 1811 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 1811 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 1811 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 1811 MovieClip Frame 30
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1812 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 1812 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 10
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 12
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 13
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 15
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 16
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 17
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 18
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 19
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 20
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 21
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 23
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 24
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 25
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 26
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 27
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 28
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 29
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 30
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 31
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 33
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 34
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 35
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 36
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 37
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 38
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 39
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1812 MovieClip Frame 40
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1814 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 1817 MovieClip Frame 1
stop();
Symbol 1817 MovieClip Frame 2
counter.dmg2 = dmg;
_root[thing + "bar"]._width = (_root[thing + "life"] / _root[thing + "lifemax"]) * _root[thing + "bar"].widthkeep;
Symbol 1817 MovieClip Frame 25
gotoAndStop (1);
Symbol 1817 MovieClip Frame 26
counter.dmg2 = dmg;
_root[thing + "bar"]._width = (_root[thing + "life"] / _root[thing + "lifemax"]) * _root[thing + "bar"].widthkeep;
Symbol 1817 MovieClip Frame 49
gotoAndStop (1);
Symbol 1817 MovieClip Frame 50
counter.dmg2 = dmg;
Symbol 1817 MovieClip Frame 73
gotoAndStop (1);
Symbol 1817 MovieClip Frame 74
counter.dmg2 = dmg;
_root[thing + "bar2"]._width = (_root[thing + "shdpts"] / _root[thing + "shdptsmax"]) * _root[thing + "bar2"].widthkeep;
Symbol 1841 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 1842 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 1843 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 1844 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 1845 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 1846 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 1847 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 1848 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 1849 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 1850 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 1851 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 1852 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 1853 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 1854 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 1855 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 1856 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 1857 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 1858 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 1881 Button
on (release, keyPress "<Space>") {
_root[typeoftarget] = target;
gotoAndPlay (2);
_root[otherpointer].gotoAndStop(1);
}
Symbol 1883 MovieClip Frame 1
stop();
Symbol 1883 MovieClip Frame 2
stop();
Symbol 1896 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 1896 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 1896 MovieClip Frame 11
_root.midfight = false;
_root.herotarget = "enemy1";
_root.enemytarget = "hero1";
_root.speedorder();
Symbol 1896 MovieClip Frame 12
stop();
Symbol 1896 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 1896 MovieClip Frame 15
_root.midfight = true;
Symbol 1896 MovieClip Frame 22
_root.gotoAndStop("victory");
stop();
Symbol 1896 MovieClip Frame 23
_root.midfight = true;
Symbol 1896 MovieClip Frame 30
_root.gotoAndStop("defeat");
stop();
Symbol 1899 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}
Symbol 1905 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1905 MovieClip Frame 11
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1905 MovieClip Frame 21
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1906 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1906 MovieClip Frame 11
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1906 MovieClip Frame 14
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1906 MovieClip Frame 18
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1906 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 1906 MovieClip Frame 26
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1907 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1907 MovieClip Frame 11
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1907 MovieClip Frame 14
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1907 MovieClip Frame 37
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1907 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 1907 MovieClip Frame 48
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1908 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1908 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root.Heal(95, subject, "life");
Symbol 1908 MovieClip Frame 11
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1909 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1909 MovieClip Frame 6
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1909 MovieClip Frame 12
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root[mcname].gotoAndStop("stand");
Symbol 1910 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1910 MovieClip Frame 7
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root[subject + "shieldtype"] = "None";
Symbol 1910 MovieClip Frame 13
_root[mcname].gotoAndStop("stand");
Symbol 1911 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1911 MovieClip Frame 12
_root[mcname].gotoAndStop("stand");
Symbol 1912 MovieClip Frame 55
stop();
_root.blackout.play();
Symbol 1913 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1913 MovieClip Frame 3
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1913 MovieClip Frame 7
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1913 MovieClip Frame 10
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1913 MovieClip Frame 13
_root[mcname].gotoAndStop("stand");
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1914 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 1914 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1914 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1925 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1925 MovieClip Frame 10
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1925 MovieClip Frame 21
gotoAndPlay (2);
Symbol 1927 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1927 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1927 MovieClip Frame 10
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1927 MovieClip Frame 12
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1927 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 1927 MovieClip Frame 17
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1927 MovieClip Frame 19
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1928 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1928 MovieClip Frame 6
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1928 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 1928 MovieClip Frame 15
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1928 MovieClip Frame 22
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1930 MovieClip Frame 16
_root[mcname].gotoAndStop("stand");
Symbol 1938 MovieClip Frame 1
_root.eded = true;
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1938 MovieClip Frame 48
stop();
_root.eded = false;
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root.blackout.play();
Symbol 1940 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1940 MovieClip Frame 3
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1940 MovieClip Frame 7
_root[mcname].gotoAndStop("stand");
Symbol 1942 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1942 MovieClip Frame 3
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1942 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1942 MovieClip Frame 14
_root[mcname].gotoAndStop("stand");
Symbol 1943 MovieClip Frame 1
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1943 MovieClip Frame 3
_root[subject + "shieldtype"] = "None";
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1943 MovieClip Frame 5
shield.gotoAndStop(_root[subject + "shieldtype"]);
Symbol 1943 MovieClip Frame 14
shield.gotoAndStop(_root[subject + "shieldtype"]);
_root[mcname].gotoAndStop("stand");
Symbol 1944 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 1944 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1944 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1944 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1944 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1944 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1944 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1944 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1953 MovieClip Frame 21
gotoAndPlay (2);
Symbol 1960 MovieClip Frame 21
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"]);
Symbol 1960 MovieClip Frame 39
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1961 MovieClip Frame 14
_root[dmgtype + "Damage"](_root[mcname + "phydmg"], _root[mcname + "magdmg"], false, _root[mcname + "shddmg"], _root[mcname + "str"], _root[mcname + "speed"]);
Symbol 1961 MovieClip Frame 25
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1962 MovieClip Frame 11
_root[mcname].gotoAndStop("stand");
Symbol 1963 MovieClip Frame 33
stop();
_root.blackout.play();
Symbol 1964 MovieClip Frame 10
_root[mcname].gotoAndStop("stand");
Symbol 1965 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 1965 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1965 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1965 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1965 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1965 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 1983 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 1983 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1985 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 1985 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1986 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 1986 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 1986 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 1986 MovieClip Frame 90
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1987 MovieClip Frame 10
_root[mcname].gotoAndStop("stand");
Symbol 1988 MovieClip Frame 37
stop();
_root.blackout.play();
Symbol 1989 MovieClip Frame 19
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 1998 MovieClip Frame 16
_root[mcname].gotoAndStop("stand");
Symbol 2006 MovieClip Frame 17
_root[mcname].gotoAndStop("stand");
_root[subject + "shieldtype"] = "None";
Symbol 2007 MovieClip Frame 5
_root.Heal(300, subject, "life");
Symbol 2007 MovieClip Frame 15
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2008 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2008 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2008 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
_root.enemy1shddmg = 5;
Symbol 2008 MovieClip Frame 10
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2013 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 2013 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2014 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 2014 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 2014 MovieClip Frame 41
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2015 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 2015 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 2015 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 2015 MovieClip Frame 90
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2016 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 2016 MovieClip Frame 10
_root[mcname].gotoAndStop("stand");
Symbol 2017 MovieClip Frame 23
stop();
_root.blackout.play();
Symbol 2018 MovieClip Frame 14
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2027 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 2027 MovieClip Frame 16
_root[mcname].gotoAndStop("stand");
Symbol 2032 MovieClip Frame 17
_root[mcname].gotoAndStop("stand");
_root[subject + "shieldtype"] = "None";
Symbol 2033 MovieClip Frame 11
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2034 MovieClip Frame 5
_root.Heal(300, subject, "life");
Symbol 2034 MovieClip Frame 15
_root.playerturn = (_root.playerturn ? false : true);
_root.midfight = false;
_root[mcname].gotoAndStop("stand");
Symbol 2035 MovieClip Frame 1
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
stop();
Symbol 2035 MovieClip Frame 2
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 3
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 4
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 5
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 6
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 7
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 8
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 9
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 10
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2035 MovieClip Frame 11
hero.mcname = mcname2;
hero.subject = subject2;
hero.dmgtype = dmgtype2;
Symbol 2042 Button
on (release) {
if ((_root.midfight == false) && (_root.playermove[_root.turnnum] == "hero1")) {
_root.endtrain = true;
_root.blackout.play();
}
}
Symbol 2074 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 2082 MovieClip Frame 20
stop();
Symbol 2083 Button
on (release, keyPress "<Space>") {
nextFrame();
}
Symbol 2093 Button
on (release, keyPress "<Space>") {
_root.manab = _root.manamaxb;
_root.engb = _root.engmaxb;
_root.lifeb = _root.lifemaxb;
nextFrame();
}
Symbol 2098 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 2099 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 2100 Button
on (release) {
if (_root.statpts > 0) {
_root.conbut._visible = true;
_root.statpts--;
_root.lifemaxb = _root.lifemaxb + _root[classtype][0];
}
}
Symbol 2101 Button
on (release) {
if (_root.statpts > 0) {
_root.conbut._visible = true;
_root.statpts--;
_root.manamaxb = _root.manamaxb + _root[classtype][1];
}
}
Symbol 2104 Button
on (release, keyPress "<Space>") {
_root.pause = false;
_root.clearstage = false;
_root.reload = true;
_root.gotoAndStop("reload");
}
Symbol 2109 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2110 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2111 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2112 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2113 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2114 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2115 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2116 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2117 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2118 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2119 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2120 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2121 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2122 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2123 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2124 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2125 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2126 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2127 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 (139);
_root.inventory.skillbox.gotoAndStop("UP");
_root.inventory.skillbox.gotoAndStop(["Skill" + skilllabel]);
} else {
_root.playSound("no");
}
}
Symbol 2152 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 2153 Button
on (release, keyPress "<Space>") {
_root.lifeb = _root.hero1life;
_root.pause = false;
_root.clearstage = false;
_root.reload = true;
_root.gotoAndStop(_root.save_stage);
}
Symbol 2154 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 (70);
}
}
Symbol 2155 Button
on (release) {
stopAllSounds();
gotoAndStop (67);
}
Symbol 2157 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 2158 Button
on (release) {
play();
}
Symbol 2173 MovieClip Frame 119
_root.play();
Symbol 2188 MovieClip Frame 96
_root.play();
Symbol 2204 MovieClip Frame 96
_root.play();
Symbol 2208 MovieClip Frame 96
_root.play();
Symbol 2220 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}