Frame 2
tfLoading = ("Loading: " + (int((_root._framesloaded / _root._totalframes) * 1000) / 100)) + "%";
if (_root._framesloaded != _root._totalframes) {
gotoAndPlay (1);
}
Frame 3
function create(type, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) {
var z;
z = new Object();
type(z, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q);
z.id = type;
return(z);
}
function Card(o) {
o.value = random(6) + 3;
o.suit = random(4) + 1;
o.usage = random(3) + 1;
}
function Action(o, category, title, desc) {
o.process = function (a, t) {
};
o.validate = function (a) {
return(true);
};
o.on_select = function (a, t) {
};
o.after_turn = function (a, t) {
};
o.title = title;
o.category = category;
o.desc = desc;
o.target = "Self";
}
function Advance(o) {
Action(o, 3, "Advance", "Advance towards the opponent.");
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
if (a.facing == 1) {
if ((a.xplace < 400) || (_root.retreatok == true)) {
a.xplace = a.xplace + 100;
commv(a, 100, 0);
}
if ((500 < a.xplace) && (_root.retreatok == true)) {
a.isdown = 2;
commessage(a.name + " Ran Away!");
comremove(a);
}
} else {
if ((-400 < a.xplace) || (_root.retreatok == true)) {
a.xplace = a.xplace - 100;
commv(a, -100, 0);
}
if ((a.xplace < -500) && (_root.retreatok == true)) {
a.isdown = 2;
commessage(a.name + " Ran Away!");
comremove(a);
}
}
};
}
function Retreat(o) {
Action(o, 3, "Retreat", "Retreat from the opponent.");
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
if (a.facing == 1) {
if ((-400 < a.xplace) || (_root.retreatok == true)) {
a.xplace = a.xplace - 100;
commv(a, -100, 0);
}
if ((a.xplace < -500) && (_root.retreatok == true)) {
a.isdown = 2;
commessage(a.name + " Ran Away!");
comremove(a);
}
} else {
if ((a.xplace < 400) || (_root.retreatok == true)) {
a.xplace = a.xplace + 100;
commv(a, 100, 0);
}
if ((500 < a.xplace) && (_root.retreatok == true)) {
a.isdown = 2;
commessage(a.name + " Ran Away!");
comremove(a);
}
}
};
}
function Guard(o) {
Action(o, 3, "Guard", "Put up your guard.");
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
a.comdef = int(a.comdef * 1.5);
comguard(a);
};
}
function Attack(o, title, desc, form, strmod, dammod, defmod, trump, trumptype, potcost, target, graphics, fxadd, fxchance, minlevel) {
Action(o, 1, title, desc);
o.form = form;
o.strmod = strmod;
o.dammod = dammod;
o.defmod = defmod;
o.trump = trump;
o.trumptype = trumptype;
o.potcost = potcost;
o.target = target;
o.graphics = graphics;
o.fxadd = fxadd;
o.fxchance = fxchance;
o.minlevel = minlevel;
o.validate = function (a) {
if (a.pot < this.potcost) {
return(false);
}
if (((a.level != null) && (a.level != 0)) && (a.level < this.minlevel)) {
return(false);
}
return(true);
};
o.process = function (a, t) {
a.comstr = int(a.comstr * this.strmod);
a.comdam = int(a.comdam * this.dammod);
a.comdef = int(a.comdef * this.defmod);
if (0 < a.cardlist.length) {
var i;
var marks;
marks = 0;
i = 0;
while (i < 8) {
if ((a.cardlist[i].suit == this.trump) && (a.cardlist[i].usage == this.trumptype)) {
marks++;
}
i++;
}
if (this.trumptype == 1) {
a.comstr = int(a.comstr + ((marks / 5) * a.comstr));
}
if (this.trumptype == 2) {
a.comdam = int(a.comdam + ((marks / 5) * a.comdam));
}
if (this.trumptype == 3) {
a.comdef = int(a.comdef + ((marks / 5) * a.comdef));
}
}
if (a.pot < this.potcost) {
commessage((a.name + " Too Low On Pot For") + this.title);
return(undefined);
}
a.pot = a.pot - this.potcost;
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
var range;
var origrange;
range = a.xplace - t.xplace;
origrange = range;
trace("Range: " + range);
if (this.form == "Melee") {
if (50 < Math.abs(range)) {
if (range < 0) {
commv(a, -(range + 50), 1);
a.xplace = a.xplace - (range + 50);
} else {
commv(a, -(range - 50), 1);
a.xplace = a.xplace - (range - 50);
}
}
range = Math.abs(range);
range = range / 1000;
range = range * 40;
var oldcomstr;
var oldcomdef;
oldcomstr = a.comstr;
oldcomdef = a.comdef;
a.comstr = int(a.comstr * ((100 - range) / 100));
a.comdef = int(a.comdef * ((100 - range) / 100));
commessage(("-" + Math.abs(int(range))) + "% STR/DEF");
}
if (this.form == "Rush") {
if (50 < Math.abs(origrange)) {
if (origrange < 0) {
a.xplace = a.xplace - (origrange + 50);
} else {
a.xplace = a.xplace - (origrange - 50);
}
}
range = Math.abs(range);
range = range / 1000;
range = range * 80;
var oldcomdef;
oldcomdef = a.comdef;
a.comdef = int(a.comdef * ((100 - range) / 100));
commessage(("-" + Math.abs(int(range))) + "% DEF");
}
if (this.form == "Shot") {
range = Math.abs(range);
range = range / 1000;
range = range * 80;
var oldcomstr;
oldcomstr = a.comstr;
a.comstr = int(a.comstr * ((100 - range) / 100));
commessage(("-" + Math.abs(int(range))) + "% STR");
}
i = 0;
while (i < t.fxlist.length) {
t.fxlist[i].prehit(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
var diffbonus;
diffbonus = 1;
if (a.isfriend == 1) {
diffbonus = difficultymodifier;
}
trace((("Adjusted STR " + a.comstr) + " vs DEF ") + t.comdef);
var chancetohit;
chancetohit = int(((a.comstr * diffbonus) / ((a.comstr * diffbonus) + t.comdef)) * 100);
comanim(a, a.name + this.title, chancetohit + "% Chance To Hit");
if ((this.form == "Rush") && (50 < Math.abs(origrange))) {
if (origrange < 0) {
comimv(a, -(origrange + 50));
} else {
comimv(a, -(origrange - 50));
}
}
var roll;
roll = random(100) + 1;
if ((chancetohit < roll) && (60 < chancetohit)) {
roll = random(100) + 1;
}
if (chancetohit < roll) {
trace("Miss");
commiss(t);
} else {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].predamage(a, t);
i++;
}
i = 0;
while (i < t.fxlist.length) {
t.fxlist[i].presoak(a, t);
i++;
}
if (t.hp == 0) {
var chancetokill;
chancetokill = int(((a.bravado * diffbonus) / (t.steadfast + (a.bravado * diffbonus))) * 100);
roll = random(100) + 1;
if ((chancetokill < roll) && (60 < chancetokill)) {
roll = random(100) + 1;
}
if (chancetokill < roll) {
comzerohit(t, this.graphics, 1);
} else {
comzerohit(t, this.graphics, 0);
t.isdown = 1;
comremove(t);
a.xptally = a.xptally + int(t.maxhp / 4);
}
}
if (0 < t.hp) {
var damaount;
damamount = int(a.comdam * damagemodifier);
damamount = damamount + random(int(damamount / 5));
comhit(t, damamount, this.graphics);
t.hp = t.hp - damamount;
a.xptally = a.xptally + damamount;
if (0 >= t.hp) {
a.xptally = a.xptally + t.hp;
t.hp = 0;
comzero(t);
}
}
trace("this.fxadd is " + this.fxadd);
trace("this.fxchance is " + this.fxchance);
if ((this.fxchance >= (random(100) + 1)) && (this.fxchance != 0)) {
var fxhold;
fxhold = create(eval (this.fxadd));
if (fxhold.icon != null) {
t.fxlist.push(fxhold);
comfx(t, t.fxlist[t.fxlist.length - 1].icon);
}
trace("Icon is " + fxhold.icon);
}
}
if (this.form == "Melee") {
if ((a.facing == 1) && (-400 < a.xplace)) {
commv(a, -100, 0);
a.xplace = a.xplace - 100;
}
if ((a.facing == 0) && (a.xplace < 400)) {
commv(a, 100, 0);
a.xplace = a.xplace + 100;
}
}
};
}
function Heal(o) {
Action(o, 3, "Heal", "Restore the HP of your friends.<BR><BR>POT Cost: 2");
o.target = "Friend";
o.validate = function (a) {
if (a.pot < 2) {
return(false);
}
return(true);
};
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
var h;
h = a.level * 3;
h = h + random(10);
while (random(2) == 0) {
h++;
}
comanim(a, "MarthanneHeal", "");
comflash(t, "green", false);
commessage(("Healed " + h) + " Damage");
t.hp = t.hp + h;
if (t.maxhp < t.hp) {
t.hp = t.maxhp;
}
a.pot = a.pot - 2;
};
}
function MBlackHeal(o) {
Attack(o, "Black Heal", "Use and reverse healing energy to fire off a vampiric bolt.", "Shot", 0.9, 1.4, 0.9, 1, 2, 3, "Enemy", "DarkBolt", null, 0, 8);
o.after_turn = function (a, t) {
var healed;
healed = random(a.level) * 2;
if (random(2) == 0) {
if (a.maxhp < (healed + a.hp)) {
healed = a.maxhp - a.hp;
}
comflash(a, "green", 0);
commessage(("Regained " + healed) + " HP");
a.hp = a.hp + healed;
} else {
commessage("Backlash!");
if (0 < a.hp) {
comhit(a, healed, "DarkBolt");
a.hp = a.hp - healed;
if (0 >= a.hp) {
a.hp = 0;
comzero(a);
}
} else {
comzerohit(a, "DarkBolt", 0);
a.isdown = 1;
comremove(a);
}
}
};
}
function ItemAction(o, title, desc, itemstring) {
Action(o, 2, title, desc);
o.itemstring = itemstring;
o.target = "Friend";
o.validate = function (a) {
var i;
var isokay;
isokay = false;
i = 0;
while (i < inventory.length) {
if (inventory[i] == this.itemstring) {
isokay = true;
}
i++;
}
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
isokay = false;
}
i++;
}
return(isokay);
};
o.dump = function (name) {
var i;
i = 0;
while (i < inventory.length) {
if (inventory[i] == name) {
inventory.splice(i, 1);
return;
}
i++;
}
};
}
function ItemPotion(o) {
ItemAction(o, "Potion", "Drink one to restore HP.", "Potion");
o.process = function (a, t) {
if (this.validate() == false) {
return(undefined);
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
var restore;
restore = int(t.maxhp * 0.5);
if (t.maxhp < (t.hp + restore)) {
restore = t.maxhp - t.hp;
}
comflash(t, "green", false);
commessage(("Healed " + restore) + " Damage");
t.hp = t.hp + restore;
this.dump("Potion");
};
}
function ItemPotPill(o) {
ItemAction(o, "Potency Pill", "Take this to restore POT.", "PotPill");
o.process = function (a, t) {
if (this.validate() == false) {
return(undefined);
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
var restore;
restore = int(t.maxpot * 0.5);
if (t.maxpot < (t.pot + restore)) {
restore = (t.maxpot = t.pot);
}
comflash(t, "blue", t.hp == 0);
commessage(("Restored " + restore) + " POT");
t.pot = t.pot + restore;
this.dump("PotPill");
};
}
function ItemPToken(o) {
ItemAction(o, "Power Token", "Use this to raise Damage.", "PToken");
o.process = function (a, t) {
if (this.validate() == false) {
return(undefined);
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
t.fxlist.push(create(PowerUp));
comflash(t, "red", t.hp == 0);
commessage("Power Up");
this.dump("PToken");
};
}
function ItemSToken(o) {
ItemAction(o, "Slash Token", "Use this to raise Strike.", "SToken");
o.process = function (a, t) {
if (this.validate() == false) {
return(undefined);
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
t.fxlist.push(create(StrikeUp));
comflash(t, "green", t.hp == 0);
commessage("Strike Up");
this.dump("SToken");
};
}
function ItemIToken(o) {
ItemAction(o, "Iron Token", "Use this to raise Defense.", "IToken");
o.process = function (a, t) {
if (this.validate() == false) {
return(undefined);
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
t.fxlist.push(create(DefenseUp));
comflash(t, "blue", t.hp == 0);
commessage("Defense Up");
this.dump("IToken");
};
}
function FX(o, ico) {
o.remove = false;
o.icon = ico;
o.getstogo = function (a) {
return(true);
};
o.endofturn = function (a) {
};
o.preattack = function (a, t) {
};
o.prehit = function (a, t) {
};
o.predamage = function (a, t) {
};
o.presoak = function (a, t) {
};
}
function Stun(o) {
FX(o, "Stun");
o.preattack = function (a, t) {
commessage(a.name + " Is Stunned");
this.remove = true;
a.comstr = -1;
};
o.getstogo = function (a) {
this.remove = true;
return(false);
};
}
function Poison(o) {
FX(o, "Poison");
o.endofturn = function (a) {
comwindow(a);
comfx(a, "Poison");
if (0 < a.hp) {
commessage(((a.name + " Loses ") + int(a.maxhp / 20)) + " HP");
}
a.hp = a.hp - int(a.maxhp / 20);
if (a.hp < 0) {
a.hp = 0;
}
if (a.hp == 0) {
comzero(a);
}
if ((random(5) == 0) || (a.hp == 0)) {
commessage("Poison Wears Off");
this.remove = true;
}
};
}
function PowerUp(o) {
FX(o, "PowerUp");
o.endofturn = function (a) {
if (random(4) == 0) {
commessage("Power Wears Off");
this.remove = true;
}
};
o.predamage = function (a, t) {
a.comdam = int(a.comdam * 1.25);
};
}
function PowerDown(o) {
FX(o, "PowerDown");
o.endofturn = function (a) {
if (random(4) == 0) {
commessage("Damage Back To Normal");
this.remove = true;
}
};
o.predamage = function (a, t) {
a.comdam = int(a.comdam * 0.5);
};
}
function StrikeUp(o) {
FX(o, "StrikeUp");
o.endofturn = function (a) {
if (random(4) == 0) {
commessage("Strike Wears Off");
this.remove = true;
}
};
o.preattack = function (a, t) {
a.comstr = int(a.comstr * 1.25);
};
}
function DefenseUp(o) {
FX(o, "DefenseUp");
o.endofturn = function (a) {
if (random(4) == 0) {
commessage("Defense Wears Off");
this.remove = true;
}
};
o.prehit = function (a, t) {
t.comdef = int(t.comdef * 1.25);
};
}
function Monster(o, str, dam, def, name) {
o.strike = str;
o.damage = dam;
o.defense = def;
o.hp = 999;
o.maxhp = 999;
o.pot = 999;
o.maxpot = 999;
o.trump = 0;
o.name = name;
o.cardlist = new Array();
o.attacklist = new Array();
o.fxlist = new Array();
o.facing = 0;
o.isfriend = 0;
o.target = 0;
o.intention = 0;
o.xplace = 0;
o.comstr = str;
o.comdam = dam;
o.comdef = def;
o.isdown = 0;
o.attacklist.push(create(Advance));
o.attacklist.push(create(Retreat));
o.attacklist.push(create(Guard));
o.calc_secondaries = function () {
this.bravado = this.strike + this.damage;
this.steadfast = this.damage + this.defense;
this.initiative = this.strike + this.defense;
this.maxhp = (this.strike + this.damage) + this.defense;
if (this.maxhp < this.hp) {
this.hp = this.maxhp;
}
this.maxpot = 0;
if (0 < this.cardlist.length) {
var i;
i = 0;
while (i < 8) {
if (this.cardlist[i].suit == this.trump) {
this.maxpot = this.maxpot + this.cardlist[i].value;
}
i++;
}
}
if (this.maxpot < this.pot) {
this.pot = this.maxpot;
}
};
o.calc_secondaries();
}
function Character(o, name, level, trump, facing) {
Monster(o, level, level, level, name);
o.level = level;
o.needxp = ((level + 1) * 100) / 2;
o.xptally = 0;
o.trump = trump;
o.facing = facing;
o.isfriend = 1;
var i;
i = 0;
while (i < 8) {
o.cardlist.push(create(Card));
i++;
}
o.calc_primaries = function () {
var strmarks;
var dammarks;
var defmarks;
this.strike = this.level;
this.damage = this.level;
this.defense = this.level;
strmarks = 0;
dammarks = 0;
defmarks = 0;
var i;
i = 0;
while (i < 8) {
var cd;
cd = this.cardlist[i];
if (cd.usage == 1) {
this.strike = this.strike + cd.value;
if (cd.suit == this.trump) {
strmarks++;
}
}
if (cd.usage == 2) {
this.damage = this.damage + cd.value;
if (cd.suit == this.trump) {
dammarks++;
}
}
if (cd.usage == 3) {
this.defense = this.defense + cd.value;
if (cd.suit == this.trump) {
defmarks++;
}
}
i++;
}
this.strike = int(this.strike + ((0.1 * strmarks) * this.strike));
this.damage = int(this.damage + ((0.1 * dammarks) * this.damage));
this.defense = int(this.defense + ((0.1 * defmarks) * this.defense));
};
o.calc_primaries();
o.calc_secondaries();
o.hp = o.maxhp;
o.pot = o.maxpot;
o.attacklist.push(create(ItemPotion));
o.attacklist.push(create(ItemPotPill));
o.attacklist.push(create(ItemPToken));
o.attacklist.push(create(ItemSToken));
o.attacklist.push(create(ItemIToken));
}
function Emma(o, level) {
Character(o, "Emma", level, 2, 1);
o.attacklist.push(create(Attack, "Poke", "A defensive poke.", "Melee", 1, 0.8, 1.2, 2, 3, 0, "Enemy", "Sharp", null, 0, 0));
o.attacklist.push(create(Attack, "Cutter", "Emma's basic slash.", "Melee", 1, 1, 1, 2, 1, 0, "Enemy", "Sharp", null, 0, 0));
o.attacklist.push(create(Attack, "Rush Attack", "Come dashing in and knock them down!", "Rush", 0.8, 1.3, 0.9, 4, 2, 0, "Enemy", "Sharp", null, 0, 0));
o.attacklist.push(create(Attack, "Splendid", "A sudden electrical strike.", "Melee", 1.1, 1.1, 1.1, 2, 2, 2, "Enemy", "Shock", null, 0, 3));
o.attacklist.push(create(Attack, "Ponderous", "A slow but powerful fire attack. Can sometimes stun.", "Melee", 0.8, 1.4, 0.8, 4, 2, 2, "Enemy", "Fire", "Stun", 60, 6));
}
function Marthanne(o, level) {
Character(o, "Marthanne", level, 1, 1);
o.attacklist.push(create(Attack, "Martial A", "Her fist based fighting style.", "Melee", 1, 1, 1, 1, 1, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Martial B", "Her foot based fighting style.", "Melee", 1, 1, 1, 1, 2, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Blitz", "An all out flurry of attacks.", "Melee", 0.9, 1.2, 0.7, 1, 3, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Heal));
o.attacklist.push(create(Attack, "Drill", "Rush in and dropkick the enemy!", "Rush", 1.2, 1.2, 0.9, 1, 1, 1, "Enemy", "Blunt", null, 0, 3));
o.attacklist.push(create(Attack, "Nerve Strike", "A focused attack to cripple enemies.", "Melee", 0.9, 0.5, 1, 1, 2, 2, "Enemy", "Shock", "PowerDown", 60, 5));
o.attacklist.push(create(MBlackHeal));
}
function BullShroom(o) {
Monster(o, 12 + random(8), 12 + random(8), 12 + random(8), "BullShroom");
o.attacklist.push(create(Attack, "Punch", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Rush", "Whack", "Rush", 1, 1.2, 0.8, 0, 0, 0, "Enemy", "Blunt", "Stun", 40, 0));
o.attacklist.push(create(Attack, "Punch", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Rush", "Whack", "Rush", 1, 1.2, 0.8, 0, 0, 0, "Enemy", "Blunt", "Stun", 40, 0));
}
function CoughShroom(o) {
Monster(o, 10 + random(8), 11 + random(7), 11 + random(8), "CoughShroom");
o.pot = 4;
o.maxpot = 4;
o.attacklist.push(create(Attack, "Cough", "Kaf", "Melee", 0.9, 0.6, 1, 0, 0, 2, "Enemy", "Gas", "Poison", 60, 0));
o.attacklist.push(create(Attack, "Punch", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Punch", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Punch", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
}
function Poppet(o) {
Monster(o, 10 + random(10), 10 + random(6), 10 + random(10), "Poppet");
o.attacklist.push(create(Attack, "Splendid", "Zot", "Melee", 1.1, 1.1, 1.1, 0, 0, 0, "Enemy", "Shock", null, 0, 0));
o.attacklist.push(create(Attack, "Ponderous", "Foom", "Melee", 0.8, 1.3, 0.8, 0, 0, 0, "Enemy", "Fire", null, 0, 0));
o.attacklist.push(create(Attack, "Splendid", "Zot", "Melee", 1.1, 1.1, 1.1, 0, 0, 0, "Enemy", "Shock", null, 0, 0));
o.attacklist.push(create(Attack, "Ponderous", "Foom", "Melee", 0.8, 1.3, 0.8, 0, 0, 0, "Enemy", "Fire", null, 0, 0));
}
function Bandit(o) {
Monster(o, 8 + random(8), 8 + random(8), 8 + random(8), "Bandit");
o.attacklist.push(create(Attack, "Stab", "Goosh", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Stab", "Goosh", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Stab", "Goosh", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
}
function PackThief(o) {
Monster(o, 8 + random(8), 8 + random(8), 10 + random(10), "Pack Thief");
o.attacklist.push(create(Attack, "Stab", "Goosh", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Stab", "Goosh", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(PTSteal));
o.attacklist.push(create(PTAbdicate));
}
function Catgirl(o) {
Monster(o, 12 + random(8), 10 + random(8), 11 + random(8), "Catgirl");
o.attacklist.push(create(Attack, "Pounce", "Pa", "Rush", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Punt", "ka", "Melee", 1, 1.1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Pounce", "Pa", "Rush", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Punt", "ka", "Melee", 1, 1.1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
}
function Cryptos(o) {
Monster(o, 12 + random(10), 12 + random(10), 12 + random(10), "Cryptos");
o.attacklist.push(create(Attack, "Strike", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Drool", "Guhh", "Melee", 0.8, 0.6, 1, 0, 0, 0, "Enemy", "Gas", "Poison", 70, 0));
o.attacklist.push(create(Attack, "Strike", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Drool", "Guhh", "Melee", 0.8, 0.6, 1, 0, 0, 0, "Enemy", "Gas", "Poison", 70, 0));
}
function Hiro(o, level) {
Character(o, "Hiro", level, 3, 1);
o.attacklist.push(create(Attack, "Straight Shot", "Aim the Electro Buster and fire.", "Shot", 1, 1, 1, 3, 1, 1, "Enemy", "BlueBolt", null, 0, 0));
o.attacklist.push(create(Attack, "Aimed Shot", "Take some time to guarantee a hit.", "Shot", 1.2, 1.1, 0.7, 3, 3, 1, "Enemy", "BlueBolt", null, 0, 0));
o.attacklist.push(create(HFieldShot));
o.attacklist.push(create(HPowerCharge));
o.attacklist.push(create(HCartChange));
}
function Skarab(o) {
Monster(o, 10 + random(8), 12 + random(12), 8 + random(6), "Skarab");
o.attacklist.push(create(Attack, "Pincers", "Pinch", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Sharp", null, 0, 0));
o.attacklist.push(create(Attack, "Pincers", "Pinch", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Sharp", null, 0, 0));
o.attacklist.push(create(Attack, "Pincers", "Pinch", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Sharp", null, 0, 0));
}
function Worm(o) {
Monster(o, 10 + random(8), 10 + random(8), 10 + random(8), "Worm");
o.attacklist.push(create(Attack, "Head Lance", "HL", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Tail Lance", "TL", "Melee", 0.9, 1, 0.9, 0, 0, 0, "Enemy", "Blunt", "PowerDown", 50, 0));
o.attacklist.push(create(Attack, "Head Lance", "HL", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Tail Lance", "TL", "Melee", 0.9, 1, 0.9, 0, 0, 0, "Enemy", "Blunt", "PowerDown", 50, 0));
}
function Ratty(o) {
Monster(o, 10 + random(9), 10 + random(9), 10 + random(9), "Ratty");
o.attacklist.push(create(Attack, "Bite", "Chomp", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Bite", "Chomp", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Bite", "Chomp", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
o.attacklist.push(create(Attack, "Bite", "Chomp", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blood", null, 0, 0));
}
function Equity(o) {
Monster(o, 20 + random(6), 20 + random(6), 20 + random(6), "Equity");
o.attacklist.push(create(Attack, "E-Kick", "Whack", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", "Stun", 20, 0));
o.attacklist.push(create(Attack, "E-Hawk", "Fly", "Rush", 1.1, 1.1, 0.9, 0, 0, 0, "Enemy", "Sharp", null, 0, 0));
o.attacklist.push(create(Attack, "Apple Cocktail", "AP", "Melee", 1, 0.7, 0.9, 0, 0, 0, "Enemy", "Gas", "Poison", 70, 0));
o.maxhp = 200;
o.hp = 200;
}
function Golem(o) {
Monster(o, 15, 30, 15, "Golem");
o.hp = 200;
o.maxhp = 200;
o.pot = 5 + random(5);
o.maxpot = o.pot;
o.attacklist.push(create(Attack, "Fist", "Pow", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Foot", "Pow", "Melee", 0.9, 1.2, 0.9, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(Attack, "Fist", "Pow", "Melee", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(GRegenerate));
}
function Sentry(o) {
Monster(o, 20, 20, 5, "Sentry");
o.hp = 100;
o.maxhp = 100;
var x;
while (0 < o.attacklist.length) {
x = o.attacklist.pop();
delete x;
}
o.attacklist.push(create(Attack, "Fire", "Bang", "Shot", 1, 1, 1, 0, 0, 0, "Enemy", "Blunt", null, 0, 0));
o.attacklist.push(create(SSupressionFire));
o.fxlist.push(create(Supress));
}
function SSupressionFire(o) {
Action(o, 1, "Supression", "Set up a surpression.");
o.target = "Self";
o.process = function (a, t) {
comflash(a, "white", 0 >= a.hp);
commessage("Charged!");
a.fxlist[0].charges = a.fxlist[0].charges + 1;
};
}
function Supress(o) {
FX(o, "Supress");
o.charges = 0;
o.prehit = function (a, t) {
if (0 < this.charges) {
this.charges = this.charges - 1;
comanim(t, "SentryFire", "Supression Fire!");
commessage(a.name + " Can't Attack");
a.comstr = -1;
}
};
}
function GRegenerate(o) {
Action(o, 1, "Regenerate", "Get back some health.");
o.target = "Self";
o.validate = function (a) {
if (a.pot < 1) {
return(false);
}
return(true);
};
o.process = function (a, t) {
comflash(a, "green", false);
commessage("Regenerated 20 Damage");
a.hp = a.hp + 20;
a.pot = a.pot - 1;
if (a.maxhp < a.hp) {
a.hp = a.maxhp;
}
};
}
function HCartChange(o) {
Action(o, 1, "Cart Change", "Replace your Electro Buster battery and get back POT points.");
o.target = "Self";
o.form = "Pre";
o.trump = 0;
o.strmod = 1;
o.dammod = 1;
o.defmod = 1;
o.potcost = 0;
o.validate = function (a) {
if (0 >= a.pot) {
return(true);
}
return(false);
};
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
comanim(a, "HiroCart Change", "Regain POT");
a.pot = a.pot + 6;
};
}
function HPowerCharge(o) {
Action(o, 3, "Power Charge", "Attempt to psyche yourself - and get a free power up!<BR><BR>Defense: -40%<BR><BR>POT Cost: 1");
o.target = "Self";
o.validate = function (a) {
if (a.pot < 1) {
return(false);
}
return(true);
};
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
if (1 < random(4)) {
comflash(a, "white", 0 >= a.hp);
a.fxlist.push(create(PowerUp));
comfx(a, a.fxlist[t.fxlist.length - 1].icon);
} else {
commessage("No Effect");
}
};
}
function HFieldShot(o) {
Action(o, 1, "Field Shot", "Sweep the field and electrocute everything!");
o.target = "AllEnemy";
o.form = "Shot";
o.potcost = 2;
o.strmod = 1;
o.dammod = 1;
o.defmod = 0.5;
o.trump = 0;
o.trumptype = 0;
o.validate = function (a) {
if (a.pot < 2) {
return(false);
}
return(true);
};
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
a.pot = a.pot - 2;
a.comdef = int(a.comdef / 2);
comanim(a, "HiroField Shot", "Wild Shooting!");
var j;
j = 0;
while (j < _root.enc.length) {
var m;
m = _root.enc[j];
if ((m.isdown == 0) && (m != a)) {
var damamount;
if (random(3) != 0) {
a.xptally = a.xptally + 10;
if (0 < m.hp) {
damamount = 10 + random(a.level);
comhit(m, damamount, "BlueBolt");
m.hp = m.hp - damamount;
if (0 >= m.hp) {
m.hp = 0;
comzero(m);
}
} else {
var survive;
survive = random(2);
comzerohit(m, "BlueBolt", survive);
if (survive == 0) {
m.isdown = 1;
comremove(m);
a.xptally = a.xptally + int(m.maxhp / 4);
}
}
} else {
commiss(m);
}
}
j++;
}
};
}
function PTAbdicate(o) {
Action(o, 1, "Abdicate", "Leave the fight.");
o.target = "Self";
o.process = function (a, t) {
comanim(a, "Pack ThiefAbdicate", "Runs Away");
a.isdown = 2;
comremove(a);
};
}
function PTSteal(o) {
Action(o, 1, "Steal", "Take away an object.");
o.target = "Enemy";
o.validate = function (a) {
if (_root.inventory.length == 0) {
return(false);
}
return(true);
};
o.process = function (a, t) {
var i;
i = 0;
while (i < a.fxlist.length) {
a.fxlist[i].preattack(a, t);
if (a.comstr == -1) {
return(undefined);
}
i++;
}
if (t.isdown != 0) {
commessage("No Target");
return(undefined);
}
range = a.xplace - t.xplace;
if (50 < Math.abs(range)) {
if (range < 0) {
commv(a, -(range + 50), 1);
a.xplace = a.xplace - (range + 50);
} else {
commv(a, -(range - 50), 1);
a.xplace = a.xplace - (range - 50);
}
}
var chancetohit;
chancetohit = 70 - (5 * t.level);
if (chancetohit < 10) {
chancetohit = 10;
}
comanim(a, "Pack ThiefSteal", chancetohit + "% Chance To Hit");
if ((random(100) < chancetohit) && (0 < _root.inventory.length)) {
comflash(t, "black", 0 >= t.hp);
commessage("Stole " + _root.inventory[0]);
_root.inventory.shift();
} else {
commiss(t);
}
};
}
Frame 4
var currentlyat;
var currentlyatmap;
var arrivalfunction;
var party;
party = new Array();
var inventory;
inventory = new Array();
party.push(create(Emma, 2));
currentlyat = "point1";
currentlyatmap = "e0_throne";
var newgame;
newgame = false;
var dungeonlevel;
dungeonlevel = 0;
inventory.push("Potion");
goldcount = 3;
var enc;
enc = new Array();
var retreatok;
retreatok = true;
var encmotif;
encmotif = "None";
var combatanims;
var arg1;
var arg2;
var arg3;
combatanims = new Array();
arg1 = new Array();
arg2 = new Array();
arg3 = new Array();
var csmanager;
csmanager = new Object();
csmanager.list = new Array();
csmanager.arg1 = new Array();
csmanager.arg2 = new Array();
var options;
options = new Object();
options.names = new Array();
options.funcs = new Array();
var difficultymodifier;
var damagemodifier;
difficultymodifier = 1;
damagemodifier = 1;
flag1 = 0;
flag2 = 0;
flag3 = 0;
flag4 = 0;
flag5 = 0;
flag6 = 0;
flag7 = 0;
flag8 = 0;
flag9 = 0;
flag10 = 0;
flag11 = 0;
flag12 = 0;
flag13 = 0;
flag14 = 0;
flag15 = 0;
Frame 5
function set_diffmod(no) {
tfDifficulty = diffarray[no];
difficultymodifier = diffvalue[no];
}
function set_dammod(no) {
tfDamage = damarray[no];
damagemodifier = damvalue[no];
}
function set_qual(no) {
tfQuality = qualityarray[no];
_quality = qualityarray[no];
}
diffarray = ["VERY EASY", "EASY", "NORMAL", "HARD", "VERY HARD"];
diffvalue = [3, 2, 1, 0.6, 0.2];
damarray = ["VERY LOW", "LOW", "NORMAL", "HIGH", "VERY HIGH"];
damvalue = [0.5, 0.75, 1, 1.5, 2];
qualityarray = ["LOW", "MEDIUM", "HIGH"];
Frame 6
diffno = 2;
damno = 2;
qualno = 1;
set_diffmod(diffno);
set_dammod(damno);
set_qual(qualno);
stop();
Frame 7
function generate_password() {
var password;
var sc;
sc = 97;
password = "";
var x;
var character;
var emmacheck;
emmacheck = 0;
character = _root.party[0];
x = 0;
while (x < 8) {
var cv;
cv = (character.cardlist[x].suit - 1) * 6;
cv = cv + (character.cardlist[x].value - 3);
password = password + chr(sc + cv);
if (character.cardlist[x].suit == 1) {
emmacheck++;
}
x++;
}
character = _root.party[1];
x = 0;
while (x < 8) {
var cv;
cv = (character.cardlist[x].suit - 1) * 6;
cv = cv + (character.cardlist[x].value - 3);
password = password + chr(sc + cv);
x++;
}
if (_root.party.length == 3) {
character = _root.party[2];
x = 0;
while (x < 8) {
var cv;
cv = (character.cardlist[x].suit - 1) * 6;
cv = cv + (character.cardlist[x].value - 3);
password = password + chr(sc + cv);
x++;
}
} else {
x = 0;
while (x < 8) {
password = password + "a";
x++;
}
}
password = password + chr(sc + _root.party[0].level);
password = password + chr(sc + _root.party[1].level);
if (_root.party.length == 3) {
password = password + chr(sc + _root.party[2].level);
} else {
password = password + "a";
}
password = password + chr(sc + _root.dungeonlevel);
x = 0;
while (x < 8) {
if (_root.inventory.length >= (x + 1)) {
var item;
item = _root.inventory[x];
if (item == "Potion") {
password = password + "a";
}
if (item == "PotPill") {
password = password + "b";
}
if (item == "PToken") {
password = password + "c";
}
if (item == "IToken") {
password = password + "d";
}
if (item == "SToken") {
password = password + "e";
}
} else {
password = password + "f";
}
x++;
}
password = password + chr(_root.inventory.length + sc);
password = password + chr(sc + emmacheck);
var tl;
tl = _root.party[0].level + _root.party[1].level;
if (20 < tl) {
tl = 20;
}
password = password + chr(sc + tl);
var gc;
gc = _root.goldcount;
if (20 < gc) {
gc = 20;
}
password = password + chr(sc + gc);
return(password);
}
function validate_password(password) {
trace("Checking: " + password);
if (password.length != 40) {
trace("Not 40 char.");
return(false);
}
var char1;
var char2;
var char3;
var pseudoinventory;
var pseudogoldcount;
var pseudodungeonlevel;
var hiroflag;
var emmahearts;
var sc;
sc = 97;
emmahearts = 0;
hiroflag = false;
char1 = create(Emma, 1);
char2 = create(Marthanne, 1);
char3 = create(Hiro, 1);
pseudoinventory = new Array();
pseudogoldcount = 0;
var x;
var c;
x = 0;
while (x < 8) {
c = password.charCodeAt(x);
if ((c < sc) || ((sc + 24) < c)) {
return(false);
}
c = c - sc;
var value;
var suit;
value = (c % 6) + 3;
suit = int(c / 6) + 1;
char1.cardlist[x].suit = suit;
char1.cardlist[x].value = value;
trace((("Card s:" + suit) + " v: ") + value);
if (suit == 1) {
emmahearts++;
}
x++;
}
x = 8;
while (x < 16) {
c = password.charCodeAt(x);
if ((c < sc) || ((sc + 24) < c)) {
return(false);
}
c = c - sc;
var value;
var suit;
value = (c % 6) + 3;
suit = int(c / 6) + 1;
char2.cardlist[x - 8].suit = suit;
char2.cardlist[x - 8].value = value;
trace((("Card s:" + suit) + " v: ") + value);
x++;
}
x = 16;
while (x < 24) {
c = password.charCodeAt(x);
if ((c < sc) || ((sc + 24) < c)) {
return(false);
}
c = c - sc;
var value;
var suit;
value = (c % 6) + 3;
suit = int(c / 6) + 1;
char3.cardlist[x - 16].suit = suit;
char3.cardlist[x - 16].value = value;
trace((("Card s:" + suit) + " v: ") + value);
x++;
}
if (password[26] == "a") {
hiroflag = false;
} else {
hiroflag = true;
}
x = 24;
while (x < 27) {
if ((x != 26) || (hiroflag == true)) {
c = password.charCodeAt(x);
c = c - sc;
if (c < 0) {
return(false);
}
if (x == 24) {
char1.level = c;
}
if (x == 25) {
char2.level = c;
}
if (x == 26) {
char3.level = c;
}
}
x++;
}
char1.calc_primaries();
char1.calc_secondaries();
char2.calc_primaries();
char2.calc_secondaries();
char3.calc_primaries();
char3.calc_secondaries();
char1.hp = char1.maxhp;
char2.hp = char2.maxhp;
char3.hp = char3.maxhp;
char1.pot = char1.maxpot;
char2.pot = char2.maxpot;
char3.pot = char3.maxpot;
char1.needxp = ((char1.level + 1) * 100) / 2;
char2.needxp = ((char2.level + 1) * 100) / 2;
char3.needxp = ((char3.level + 1) * 100) / 2;
c = password.charCodeAt(27);
pseudodungeonlevel = c - sc;
if ((pseudodungeonlevel < 1) || (8 < pseudodungeonlevel)) {
trace("Bad Dungeon Level: " + psudeodungeonlevel);
return(false);
}
x = 28;
while (x < 36) {
c = password.charCodeAt(x);
if ((chr(c) < sc) || ((sc + 5) < chr(c))) {
return(false);
}
if (chr(c) == "a") {
pseudoinventory.push("Potion");
}
if (chr(c) == "b") {
pseudoinventory.push("PotPill");
}
if (chr(c) == "c") {
pseudoinventory.push("PToken");
}
if (chr(c) == "d") {
pseudoinventory.push("IToken");
}
if (chr(c) == "e") {
pseudoinventory.push("SToken");
}
x++;
}
c = password.charCodeAt(36);
c = c - sc;
if (c != pseudoinventory.length) {
trace("Bad Inv Len: " + c);
return(false);
}
c = password.charCodeAt(37);
c = c - sc;
if (c != emmahearts) {
trace("Bad EmmaHearts count: " + c);
return(false);
}
c = password.charCodeAt(38);
c = c - sc;
if (((char1.level + char2.level) != c) && (20 >= c)) {
trace((("Bad Level: " + c) + " vs ") + (char1.level + char2.level));
return(false);
}
c = password.charCodeAt(39);
c = c - sc;
if ((c < 0) || (20 < c)) {
return(false);
}
pseudogoldcount = c;
while (0 < _root.party.length) {
var ob;
ob = _root.party.pop();
delete ob;
}
while (0 < _root.inventory.length) {
_root.inventory.pop();
}
_root.party.push(char1);
_root.party.push(char2);
if (hiroflag == true) {
_root.party.push(char3);
}
var z;
z = 0;
while (z < pseudoinventory.length) {
_root.inventory.push(pseudoinventory[z]);
z++;
}
_root.goldcount = pseudogoldcount;
_root.dungeonlevel = pseudodungeonlevel;
return(true);
}
stop();
Frame 8
function map_change(mapname, pointname) {
_root.map.gotoAndPlay(mapname);
_root.map.pawn._x = eval ("_root.map." + pointname)._x;
_root.map.pawn._y = eval ("_root.map." + pointname)._y;
_root.currentlyat = pointname;
_root.currentlyatmap = mapname;
}
function disable_map() {
var i;
i = 0;
while (i < 99) {
if (eval ("_root.map.point" + i) != null) {
eval ("_root.map.point" + i).disable();
}
if (eval ("_root.map.spot" + i) != null) {
eval ("_root.map.spot" + i).disable();
}
i++;
}
}
function enable_map() {
var i;
i = 0;
while (i < 99) {
if (eval ("_root.map.point" + i) != null) {
eval ("_root.map.point" + i).enable();
}
if (eval ("_root.map.spot" + i) != null) {
eval ("_root.map.spot" + i).enable();
}
i++;
}
}
function gotoCombat() {
gotoAndPlay (9);
}
function gotoEnd() {
gotoAndPlay (65);
}
function csf(left, right) {
csmanager.list.push("csfigure");
csmanager.arg1.push(left);
csmanager.arg2.push(right);
}
function cst(title, text) {
csmanager.list.push("cstext");
csmanager.arg1.push(title);
csmanager.arg2.push(text);
}
function csp(picture) {
csmanager.list.push("cspicture");
csmanager.arg1.push(picture);
csmanager.arg2.push(null);
}
function csm(song) {
csmanager.list.push("cssong");
csmanager.arg1.push(song);
csmanager.arg2.push(null);
}
function css(sound) {
csmanager.list.push("cssound");
csmanager.arg1.push(sound);
csmanager.arg2.push(null);
}
function cse(monsters) {
csmanager.list.push("csencounter");
csmanager.arg1.push(monsters);
csmanager.arg2.push(null);
}
function cso(txt, func) {
csmanager.list.push("csoption");
csmanager.arg1.push(txt);
csmanager.arg2.push(func);
}
function csos() {
csmanager.list.push("csoptionselect");
csmanager.arg1.push(null);
csmanager.arg2.push(null);
}
function csc(motif, retreatok) {
csmanager.list.push("cscombat");
csmanager.arg1.push(motif);
csmanager.arg2.push(retreatok);
}
function csd() {
csmanager.list.push("csdone");
csmanager.arg1.push(null);
csmanager.arg2.push(null);
}
function csplay() {
csf(null, null);
csp(null);
disable_map();
_root.configbutton._visible = false;
csmanagerplayer.gotoAndPlay(3);
}
function e0_throne() {
csf("Emma05", null);
cst("Emma", "The king never hangs around after giving his orders..");
csf("Emma07", null);
cst("Emma", "I suppose it's because my majesty trusts me so much.");
csf("Emma05", null);
cst("Emma", "<I>Sigh.</I><BR>If only I could have as much trust in him..");
csplay();
}
function e0_mpeter() {
csf(null, "MPeter");
cst("Master Peter", "Hello again, Emma.");
csf("Emma02", null);
cst("Emma", "Master Peter! Teacher, do you have anything to say before I'm off?");
csf(null, "MPeter");
cst("Master Peter", "Oh do I <I>ever<I>!");
cst("Master Peter", "The combat system has been seriously revamped, and there's a lot to talk about.");
cst("Master Peter", "Let me first point out the 'CONFIG' icon in the bottom right of the screen.");
cst("Master Peter", "That's where you set up your character and cards. Make sure you click on it before you get into a fight!");
csp("Tutorial1");
cst("Master Peter", "Now, your cards have four suits: Hearts,Clubs,Diamonds,Spades - and a score.");
cst("Master Peter", "You can divvy up these cards into three attibutes: Strike, Damage, and Defense.");
cst("Master Peter", "Strike allows you to land a blow in fighting - Defense lets you avoid them.");
cst("Master Peter", "And Damage determines your striking power.");
cst("Master Peter", "Now, Emma - you have a special suit, and often the characters you meet will have a special suit of their own.");
cst("Master Peter", "This is known as a Trump. Your trump is Diamond.");
cst("Master Peter", "When you add a Diamond card to an attribute, you get the score - as well as a 10% bonus to the final value of the attribute.");
cst("Master Peter", "You might want to jostle around your cards a bit, to try and get the best scores and bonuses you can.");
csp(null);
csp("Tutorial2");
cst("Master Peter", "Now, as well as those three attributes, there are some secondary attributes as well.");
cst("Master Peter", "Bravado and Steadfast are very important in fighting - I'll explain why later on.");
cst("Master Peter", "Initiative determines how soon in a combat round your character gets to make their move.");
cst("Master Peter", "HP - or Hit Points - determines how much damage you can survive in a fight.");
cst("Master Peter", "POT - or Potency - fuels some of your combat moves. You spend POT points to perform them.");
csp(null);
csp("Tutorial3");
cst("Master Peter", "Now, fighting! When you get in a fight, and you select a combat action, and a target..");
cst("Master Peter", "You compare your Strike score against their Defense. Your chance of hitting is a ratio - see?");
cst("Master Peter", "And when you hit, you do damage against them equal to your Damage score - more or less.");
cst("Master Peter", "Some moves have modifiers to this basic rule - you can read about them when you fight.");
csp(null);
csp("Tutorial4");
cst("Master Peter", "But a modifier I should tell you about right now is called Move Trump.");
cst("Master Peter", "If you have a certain card type in a certain attribute, the move responds to it, and becomes better.");
cst("Master Peter", "This means that there's a lot to think about when you configure your cards - attributes and moves both are affected.");
csp(null);
csp("Tutorial5");
cst("Master Peter", "Remember what I said about Bravado and Steadfast? Here's an important rule to remember:");
cst("Master Peter", "When a combatant hits 0 HP, they need just one more hit to go down.");
cst("Master Peter", "However, they deserve a fair chance to survive! So, instead of Damage..");
cst("Master Peter", "There's a ratio chance of the attacker's Bravado versus the defender's Steadfast.");
cst("Master Peter", "So don't ignore those scores when configuring yourself.");
csp("Tutorial6");
cst("Master Peter", "Last but not least..");
cst("Master Peter", "You have to worry about distance from your opponent now.");
cst("Master Peter", "Long ranges when attacking reduce your fighting scores.");
cst("Master Peter", "Each combat move can be classified as either Melee, Dash, or Shot.");
cst("Master Peter", "Your scores reduce in a different way with each type. See?");
csp(null);
cst("Master Peter", "Whew! Well, that's about all.");
csf("Emma07", null);
cst("Emma", "Thank you for the tutorial, Master.");
csf("Emma03", null);
cst("Emma", "All ten minutes of it..");
csf("Emma07", null);
cst("Emma", "But it <I>is</I> important to know, and I'm glad you took the time.");
csf(null, "MPeter");
cst("Master Peter", "Come back anytime! I can always repeat it if you missed something.");
csplay();
}
function e0_meetmarthanne() {
if (flag1 == 0) {
csf(null, "Marthanne05");
cst("Marthanne", "Yo!");
csf("Emma06", null);
cst("Emma", "!");
csf(null, "Marthanne02");
cst("Marthanne", "Heh heh heh! Bet you weren't expecting to see me, right?");
csf("Emma02", null);
cst("Emma", "Marthanne! But I thought.. weren't you supposed to head back to Greco by now?");
csf(null, "Marthanne01");
cst("Marthanne", "Well I was, but then I got to thinking..");
cst("Marthanne", "Long as I'm gone on a mission anyway, and they don't know when I'm supposed to be back..");
csf(null, "Marthanne05");
cst("Marthanne", "Who says I <I>have</I> to come back? I've been having the vacation of my life!");
csf("Emma03", null);
cst("Emma", "Isn't that.. a little unethical..?");
csf(null, "Marthanne04");
cst("Marthanne", "Hey, hey! I'm just thinking in terms of 'business' ethics here!<BR><I>Don't tell anyone..?</I>");
csf(null, "Marthanne01");
cst("Marthanne", "So what's up? Going on more adventures?");
csf("Emma05", null);
cst("Emma", "I have to destroy a Spade camp.");
csf(null, "Marthanne05");
cst("Marthanne", "Awesome! You can count on me to join in on that!");
csf("Emma05", null);
cst("Emma", "Um..");
csf(null, "Marthanne06");
cst("Marthanne", "Aw come <I>on</I> Emma, this is a <I>demo run</I>!");
cst("Marthanne", "Do we have to go through the whole 'I don't know who my enemy is' subplot?");
csf("Emma07", null);
cst("Emma", "I don't know if the author's really going to go through with the finished game..");
cst("Emma", "I've got to take my scenes where I can get them..");
csf("Emma05", null);
cst("Emma", "By the way, have you seen Hiro anywhere?");
csf(null, "Marthanne06");
cst("Marthanne", "Actually, no. I heard he was off fighting bandits.. but nobody's seen him for a month now!");
csf(null, null);
cst("", "Marthanne joined the party! Don't forget to CONFIG her.");
party.push(create(Marthanne, 1));
flag1 = 1;
csplay();
}
}
function e0_chatkids() {
if (flag2 == 0) {
csf("Girl01", null);
cst("Girl", "I am! I am so a Diamond!");
csf("Boy01", null);
cst("Boy", "Forget it! You are <I>so</I> a Heart it's not funny! Give it up!");
csf("Girl01", null);
cst("Girl", "Waaahahh!");
csf("Emma05", null);
cst("Emma", "What seems to be the problem here?");
csf("Girl01", null);
cst("Girl", "Emmmma! I'm a Diamond, right? This boy says I'm a Heart but I don't wanna be a Heart!");
csf("Emma07", null);
cst("Emma", "Kids.. you're all too young to have any suits.");
cst("Emma", "You have to grow up first, and really come to a self-understanding before you find out what your suit is.");
cst("Emma", "Most people don't ever come to have suits. It's a rare thing.");
csf("Marthanne02", null);
cst("Marthanne", "Emma's an exception. She's suited, but she doesn't have a clue who she is <I>or</I> what she wants!");
csf("Emma03", null);
cst("Emma", "Marthanne..");
csf("Girl01", null);
cst("Girl", "But I want to be a Diamond <I>soo</I> bad! Isn't that good enough? I want to be able to use cool elemental powers and fight really well like you, Emma!");
csf("Emma05", null);
cst("Emma", "There's.. more to it than that, little girl.");
cst("Emma", "Having a suit can affect your whole life.. it's a burden sometimes..");
csf("Marthanne06", null);
cst("Marthanne", "You know, kid, there's nothing <I>wrong</I> with being a Heart..");
csf("Marthanne01", null);
cst("Marthanne", "I mean, being a Heart is all about being happy and joyful, finding out what's good and shunning what's bad.");
cst("Marthanne", "Just decide to devote your life to it once and for all, and <I>bang!</I> You're a Heart.");
csf("Marthanne06", null);
cst("Marthanne", "Diamonds.. well, Emma, no offense, but you always seem depressed and worried all the time.");
csf("Emma04", null);
cst("Emma", "No offense, Marthanne.. but I just don't think things are as simple as Hearts see it.");
csf("Girl01", null);
cst("Girl", "Hearts get nothing but some crappy healing powers! I wanna kick some serious ass with lightning and fire blasts!");
csf("Emma03", null);
cst("Emma", "Er..");
csf("Marthanne04", null);
cst("Marthanne", "Uh..");
flag2 = 1;
} else {
csf("Girl01", null);
cst("Girl", "I still want to be a Diamond! I wonder what you have to go through to become one?");
}
csplay();
}
function e0_meetbandit() {
if (flag3 == 0) {
csf(null, "Girl01");
cst("Girl", "Hellllp!");
csf(null, "Bandit01");
cst("Bandit", "Nyah hah hah hah! Your screams are like sweet candy to me!");
csf("Emma08", null);
cst("Emma", "Marthanne! How did the bandits get into the town itself?!");
csf(null, "Bandit01");
cst("Bandit", "You're going to join our recruitment drive, little girl!");
csf(null, "Girl01");
cst("Girl", "Eeeek!");
csf("Marthanne07", null);
cst("Marthanne", "You leave that kid alone, you jerk!");
csf("Emma01", null);
cst("Emma", "You there! Either unhand that child and leave, or face the discipline of the Nordin Royal Guard!");
csf("Marthanne07", null);
cst("Marthanne", "Yeah, what she said!");
csf(null, "Bandit01");
cst("Bandit", "Aw, please lady - you know what I'm gonna pick. Get them, boys!");
cse([Bandit, Bandit, Bandit]);
csc("Town", false);
csf("Girl01", null);
cst("Girl", "Yayyyy! Thank you, Emma!");
csf("Emma05", null);
cst("Emma", "I'm just glad everyone is all right..");
csf("Marthanne02", null);
cst("Marthanne", "<I>Except</I> for a certain threesome.. Heh heh heh.");
csf(null, "Shopkeeper");
cst("Shopkeeper", "My goodness, that was well done! Those bandits were hanging around here for the past hour.");
cst("Shopkeeper", "They were ruining business here! I'm glad you got rid of them.");
csf("Marthanne01", null);
cst("Marthanne", "Hey, maybe we can stop by the shop for something to eat. What do you think, Emma?");
cst("Marthanne", "Emma?");
csf("Emma01", null);
cst("Emma", "The bandits are being bold enough to wander into town? But we scattered them! Brought down their base!");
csf("Emma05", null);
cst("Emma", "It's like order is falling apart in this kingdom..");
flag3 = 1;
csplay();
}
}
function e0_shoptalk() {
csf("Shopkeeper", null);
cst("Shopkeeper", "Hello there! Here's what I have to offer today..");
cst("Shopkeeper", "Everything costs one gold piece. The items are in two categories:");
cst("Shopkeeper", "We have Sundries, for healing and restoring yourself; and Tokens, for boosting yourself in a fight.");
cso("Sundries", "e0_buysundry");
cso("Tokens", "e0_buytoken");
csos();
csplay();
}
function e0_buysundry() {
if (_root.inventory.length >= 8) {
csf("Shopkeeper", null);
cst("Shopkeeper", "Oh! I'm afraid your pack is full! There's no point in buying anything more..");
csplay();
}
if (0 >= _root.goldcount) {
csf("Shopkeeper", null);
cst("Shopkeeper", "Oh, I see you can't afford to pay! That's too bad.");
csplay();
}
if ((0 < _root.goldcount) && (_root.inventory.length < 8)) {
csf("Shopkeeper", null);
cst("Shopkeeper", "So what would you like?");
cso("Potion", "e0_buypotion");
cso("Potency", "e0_buypotency");
csos();
csplay();
}
}
function e0_buytoken() {
if (_root.inventory.length >= 8) {
csf("Shopkeeper", null);
cst("Shopkeeper", "Oh! I'm afraid your pack is full! There's no point in buying anything more..");
csplay();
}
if (0 >= _root.goldcount) {
csf("Shopkeeper", null);
cst("Shopkeeper", "Oh, I see you can't afford to pay! That's too bad.");
csplay();
}
if ((0 < _root.goldcount) && (_root.inventory.length < 8)) {
csf("Shopkeeper", null);
cst("Shopkeeper", "So which would you like?");
cso("Slash Token - for Strike", "e0_buystoken");
cso("Power Token - for Damage", "e0_buyptoken");
cso("Iron Token - for Defense", "e0_buyitoken");
csos();
csplay();
}
}
function e0_buypotion() {
cst("", "You got a Potion! Cost 1 gold piece.");
_root.inventory.push("Potion");
_root.goldcount = _root.goldcount - 1;
csplay();
}
function e0_buypotency() {
cst("", "You got a Potency Pill! Cost 1 gold piece.");
_root.inventory.push("PotPill");
_root.goldcount = _root.goldcount - 1;
csplay();
}
function e0_buystoken() {
cst("", "You got a Slash Token! Cost 1 gold piece.");
_root.inventory.push("SToken");
_root.goldcount = _root.goldcount - 1;
csplay();
}
function e0_buyptoken() {
cst("", "You got a Power Token! Cost 1 gold piece.");
_root.inventory.push("PToken");
_root.goldcount = _root.goldcount - 1;
csplay();
}
function e0_buyitoken() {
cst("", "You got a Iron Token! Cost 1 gold piece.");
_root.inventory.push("IToken");
_root.goldcount = _root.goldcount - 1;
csplay();
}
function e0_oldman() {
csf("Old01", null);
cst("Old Man", "Take some advice from me, y'all..");
cst("Old Man", "Don't get in over your head! Head back to town if you're being beaten on!");
cst("Old Man", "And visit the shop every now and then, too! And build up a few levels!");
cst("Old Man", "And keep your socks dry! And make sure you don't eat the yellow toadstools!");
cst("Old Man", "I ate the yellow toadstools once, boy did I regret it.. ooh..");
cso("Keep listening", "e0_oldman2");
cso("Leave", "e0_nothing");
csos();
csplay();
}
function e0_oldman2() {
csf("Old01", null);
cst("Old Man", "And if you light a fire, put it out when you're done!");
cst("Old Man", "Nobody needs to see the forest burn down. And when you go kill bandits, wipe your weapons off!");
cst("Old Man", "Walking around with a bloody sword just gets it rusty after a while.");
cst("Old Man", "I tell you, don't make the same adventuring mistakes I made when I was young.");
cst("Old Man", "And I tell you, careful when you gamble cards!");
cst("Old Man", "Don't gamble a trumping seven just because you think you might get a trumping eight.");
cst("Old Man", "And don't flirt with the catgirls! Yeah, yeah, I'm sure you girls won't, but just remember, they're wild monsters all the same!");
cst("Old Man", "And, and.. uh.. um..");
cst("Old Man", "I guess I'm done now..");
csf("Emma07", null);
cst("Emma", "Thank you for the advice, sir!");
csplay();
}
function e0_campfire() {
csf("Emma06", null);
cst("Emma", "A burnt out campfire? And it's still fresh!");
csf("Marthanne06", null);
cst("Marthanne", "Hey, those bandits in town we met..");
cst("Marthanne", "You think maybe they've started up a new camp?");
csf("Emma05", null);
cst("Emma", "It could be. Maybe we should look around.");
csplay();
}
function e0_heybandits() {
if (flag4 == 0) {
csf("Emma08", null);
cst("Emma", "It.. it <I>is</I> a new bandit camp!");
cst("Emma", "They started a new one! And it's bigger than before!");
cst("Emma", "How could the bandits have gotten together and started getting so organized?");
csf("Marthanne06", null);
cst("Marthanne", "Maybe they're getting outside help. From the Spades..?");
csf("Emma05", null);
cst("Emma", "It's like.. things are just falling apart in this kingdom..");
flag4 = 1;
csplay();
}
}
function e0_gethiro() {
if (flag5 == 0) {
flag5 = 1;
csf("Emma06", null);
cst("Emma", "Hey.. over there.. is that..?");
csf("Emma02", null);
cst("Emma", "HIRO! We found you!");
csf("Hiro02", null);
cst("Hiro", "Heh heh heh! Hey, how's it going?");
csf("Emma06", null);
cst("Emma", "And you're chained to the ground! You must have been captured!");
csf("Hiro02", null);
cst("Hiro", "Heh heh..");
csf("Hiro03", null);
cst("Hiro", "..Yeah. I heard a rumour about this place, and I thought me and my Electro Buster would head out and take it down.");
cst("Hiro", "Didn't expect so much opposition, though! Uh, could you free me, please?");
csf("Marthanne03", null);
cst("Marthanne", "Eeek!");
csf(null, "Bandit01");
cst("Bandit", "Hey! Hands off our prisoner!");
csf("Marthanne03", null);
cst("Marthanne", "There's <I>hordes</I> of them!");
cse([Bandit, Bandit, Bandit, Bandit, Bandit, Bandit, Bandit]);
csc("Forest", false);
csf("Hiro02", null);
cst("Hiro", "Hey, thanks for coming! Feels like old times. Where are you all going?");
csf("Emma05", null);
cst("Emma", "There's a Spade bunker we have to find and neutralize.");
csf("Hiro02", null);
cst("Hiro", "Sounds good to me. Count me in! I've been trying out some new technology on my Buster, you know.");
cso("Let Hiro join", "e0_hirojoins");
cso("Don't let Hiro join", "e0_nohiro");
csos();
csplay();
}
}
function e0_hirojoins() {
csf("Hiro02", null);
cst("Hiro", "Glad to be aboard!");
csf("Marthanne06", null);
cst("Marthanne", "We'd better hurry on out of here. Leaving's not going to be easy anymore.");
csf("Hiro01", null);
cst("Hiro", "Right, right.");
csf(null, null);
cst("", "Hiro joined the party! Don't forget to CONFIG him.");
_root.party.push(create(Hiro, 1));
csplay();
}
function e0_nohiro() {
csf("Emma05", null);
cst("Emma", "Sorry, Hiro, but I'm worried about what shape you're in.");
cst("Emma", "You head back to Nordin Town and rest.");
csf("Hiro03", null);
cst("Hiro", "Yeah, I guess you're right. I'll see you girls later.");
csf(null, null);
cst("Hiro left.");
csf("Marthanne06", null);
cst("Marthanne", "Come on, Emma. These bandits are alerted to us now.");
csf("Emma01", null);
cst("Emma", "Let's find that Spade camp.");
csplay();
}
function e0_afterhiro() {
if ((flag6 == 0) && (flag5 == 1)) {
flag6 = 1;
csf(null, "Bandit01");
cst("Bandits", "Sneak into our camp, will you? Charge!");
csf("Marthanne03", null);
cst("Marthanne", "It's the reinforcements!");
cse([Bandit, PackThief, Bandit, PackThief, Bandit, Bandit, Bandit]);
csc("Forest", true);
csplay();
}
}
function e0_sentries() {
if (flag7 == 0) {
flag7 = 1;
csf("Emma05", null);
cst("Emma", "This must be the place.");
csf("Marthanne05", null);
cst("Marthanne", "All right! Let's get adventuring.");
csf("Emma06", null);
cst("Emma", "Eh? What's that glint of steel over there?");
csf(null, null);
cst("", "<I>KChunk kchunk kCHUNK</I>");
cst("", "<I>BREEP</I> Security systems online.");
csf("Marthanne03", null);
cst("Marthanne", "What are those weird metal things coming towards us?!");
if (_root.party.length == 3) {
csf("Hiro01", null);
cst("Hiro", "I think they're what I would call 'Bullet Busters'.");
cst("Hiro", "They're like my Electro Buster, but self-propelled. And they shoot metal pellets.");
csf("Hiro03", null);
cst("Hiro", "And.. that's not a good thing.");
csf("Marthanne03", null);
cst("Marthanne", "That's a BAD THING!");
}
cse([Sentry, Sentry]);
csc("Forest", false);
csf("Emma03", null);
cst("Emma", "Ouch.. anyway, I think the way is clear now.");
csplay();
}
}
function e1_statue() {
cst("", "A beautiful gold statue.");
csf("Emma05", null);
cst("Emma", "Her expression looks so peaceful.");
cst("Emma", "What's something like this doing in a war bunker?");
csplay();
}
function e1_tablet() {
cst("", "Know this, if you would enter here.");
cst("", "The code this plaque will now portend:");
cst("", "The dove of peace that flies so high");
cst("", "At first, will touch down in the end.");
csplay();
}
function e1_testdoor() {
cst("", "This door is securely locked.");
csplay();
}
function e1_dot1() {
if (flag1 == 0) {
flag1 = 1;
cst("", "Circle 1 has been turned on.");
} else {
flag1 = 0;
cst("", "Circle 1 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot2() {
if (flag2 == 0) {
flag2 = 1;
cst("", "Circle 2 has been turned on.");
} else {
flag2 = 0;
cst("", "Circle 2 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot3() {
if (flag3 == 0) {
flag3 = 1;
cst("", "Circle 3 has been turned on.");
} else {
flag3 = 0;
cst("", "Circle 3 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot4() {
if (flag4 == 0) {
flag4 = 1;
cst("", "Circle 4 has been turned on.");
} else {
flag4 = 0;
cst("", "Circle 4 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot5() {
if (flag5 == 0) {
flag5 = 1;
cst("", "Circle 5 has been turned on.");
} else {
flag5 = 0;
cst("", "Circle 5 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot6() {
if (flag6 == 0) {
flag6 = 1;
cst("", "Circle 6 has been turned on.");
} else {
flag6 = 0;
cst("", "Circle 6 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot7() {
if (flag7 == 0) {
flag7 = 1;
cst("", "Circle 7 has been turned on.");
} else {
flag7 = 0;
cst("", "Circle 7 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_dot8() {
if (flag8 == 0) {
flag8 = 1;
cst("", "Circle 8 has been turned on.");
} else {
flag8 = 0;
cst("", "Circle 8 has been turned off.");
}
e1_doorcode();
csplay();
}
function e1_doorcode() {
var doorok;
doorok = true;
if (flag1 == 0) {
doorok = false;
}
if (flag2 == 0) {
doorok = false;
}
if (flag3 == 1) {
doorok = false;
}
if (flag4 == 1) {
doorok = false;
}
if (flag5 == 0) {
doorok = false;
}
if (flag6 == 1) {
doorok = false;
}
if (flag7 == 1) {
doorok = false;
}
if (flag8 == 0) {
doorok = false;
}
if (doorok == true) {
_root.map.spot2.functionname = "defaultValue";
_root.map.spot2.exitmap = "e1_dungeon7";
cst("", "The door makes a clicking noise!");
} else {
_root.map.spot2.functionname = "e1_testdoor";
_root.map.spot2.exitmap = "defaultValue";
}
}
function e1_levelenter() {
if (_root.dungeonlevel != 1) {
_root.dungeonlevel = 1;
cst("", "Welcome to Dungeon Level 1!");
cst("", "Here is your new password:");
cst("", generate_password());
flag1 = 0;
flag2 = 0;
flag3 = 0;
flag4 = 0;
flag5 = 0;
flag6 = 0;
flag7 = 0;
flag8 = 0;
flag9 = 0;
flag10 = 0;
flag11 = 0;
flag12 = 0;
flag13 = 0;
flag14 = 0;
flag15 = 0;
csplay();
}
}
function e2_levelenter() {
if (_root.dungeonlevel != 2) {
_root.dungeonlevel = 2;
cst("", "Welcome to Dungeon Level 2!");
cst("", "Here is your new password:");
cst("", generate_password());
flag1 = 0;
flag2 = 0;
flag3 = 0;
flag4 = 0;
flag5 = 0;
flag6 = 0;
flag7 = 0;
flag8 = 0;
flag9 = 0;
flag10 = 0;
flag11 = 0;
flag12 = 0;
flag13 = 0;
flag14 = 0;
flag15 = 0;
csplay();
}
}
function e2_bones() {
csf(null, "Marthanne04");
cst("Marthanne", "I'm not touching those.");
csf(null, "Emma05");
cst("Emma", "What a shame..");
if (random(3) == 1) {
csf(null, "Marthanne03");
cst("Marthanne", "Hey, hey! Did something move in there?");
cse([Worm, Worm, Worm]);
csc("Dungeon", true);
}
csplay();
}
function e2_oopswater() {
if (flag2 == 0) {
flag2 = 1;
csf("Emma04", null);
cst("Emma", "Oops. I don't think we can get back up there now.");
csf("Marthanne06", null);
cst("Marthanne", "Well.. we'll come back later and figure it out.");
csplay();
}
}
function e2_shop2() {
if (flag3 == 0) {
flag3 = 1;
csf("Emma08", null);
cst("Emma", "What..");
csf("Marthanne03", null);
cst("Marthanne", "Are <I>you</I> doing here?!");
csf(null, "Shopkeeper");
cst("Shopkeeper", "Well, I couldn't just leave my best customers alone to fend for themselves!");
cst("Shopkepper", "So I ran on ahead and set up a shop for you!");
}
e0_shoptalk();
}
function e2_waterfall() {
csf("Marthanne01", null);
cst("Marthanne", "I like it! Very pretty.");
csplay();
}
function e3_chest() {
if (flag2 == 0) {
if (_root.inventory.length < 8) {
flag2 = 1;
cst("", "You got a Power Token!");
_root.inventory.push("PToken");
} else {
cst("", "There's a Power Token here, but your pack is full.");
}
} else {
cst("", "There's nothing in this chest.");
}
csplay();
}
function e3_volcano() {
csf("Emma05", null);
cst("Emma", "We are most definitely far underground.");
if (_root.party.length == 3) {
csf("Hiro02", null);
cst("Hiro", "An underground volcano! I wonder if it's a heat supply to anywhere.");
csf("Emma04", null);
cst("Emma", "Could be.. it's cold and damp here otherwise, and people seem to use this area.");
}
csplay();
}
function e3_vista() {
csf("Emma06", null);
cst("Emma", "Darkness, as far as the eye can see.. this cavern is vast!");
cst("Emma", "It's like there's a whole world under here.");
csf("Marthanne06", null);
cst("Marthanne", "You could fit a whole country in here and nobody would ever know..");
cst("Marthanne", "I wonder just how big the Spade's organization is?");
csplay();
}
function e3_staircase() {
csf(null, "Emma05");
cst("Emma", "This looks a little rickety.");
cst("Emma", "But it's the only other sign of something man-made, so we should investigate.");
csplay();
}
function e3_whatthe() {
if (flag4 == 0) {
flag4 = 1;
csf("Emma06", null);
cst("Emma", "!");
if (_root.party.length == 3) {
csf("Hiro03", null);
cst("Hiro", "Whoa..");
}
csf("Marthanne03", null);
cst("Marthanne", "Where <I>are</I> we?! This isn't a plain old dungeon anymore!");
csplay();
}
}
function e3_levelenter() {
if (_root.dungeonlevel != 3) {
_root.dungeonlevel = 3;
cst("", "Welcome to Dungeon Level 3!");
cst("", "Here is your new password:");
cst("", generate_password());
flag1 = 0;
flag2 = 0;
flag3 = 0;
flag4 = 0;
flag5 = 0;
flag6 = 0;
flag7 = 0;
flag8 = 0;
flag9 = 0;
flag10 = 0;
flag11 = 0;
flag12 = 0;
flag13 = 0;
flag14 = 0;
flag15 = 0;
csplay();
}
}
function e3_heyadoor() {
if (flag3 == 0) {
flag3 = 1;
csf("Emma04", null);
cst("Emma", "This door.. shiny metal? Seems out of place.");
csf("Marthanne01", null);
cst("Marthanne", "I figured nobody would want to live among all the purple rocks.");
cst("Marthanne", "They holed up in a small bunker after all.");
csplay();
}
}
function e3_waterfall() {
csf("Marthanne01", null);
cst("Marthanne", "I like it! Very pretty.");
cst("Marthanne", "Waterfalls always are.");
csplay();
}
function e4_levelenter() {
if (_root.dungeonlevel != 4) {
_root.dungeonlevel = 4;
cst("", "Welcome to Dungeon Level 4!");
cst("", "Here is your new password:");
cst("", generate_password());
flag1 = 0;
flag2 = 0;
flag3 = 0;
flag4 = 0;
flag5 = 0;
flag6 = 0;
flag7 = 0;
flag8 = 0;
flag9 = 0;
flag10 = 0;
flag11 = 0;
flag12 = 0;
flag13 = 0;
flag14 = 0;
flag15 = 0;
csplay();
}
}
function e4_equity() {
csf(null, "Equity02");
cst("Equity", "So you're here.");
cst("Equity", "And I guess you haven't thought about what I said at all.. have you, Emma?");
csf("Marthanne07", null);
cst("Marthanne", "Emma's got nothing to say to you, you-");
csf("Emma04", null);
cst("Emma", "Marthanne, please..");
csf("Marthanne07", null);
cst("Marthanne", "So why don't you just take a flying leap off a purple cliff somewhere and-");
csf("Emma01", null);
cst("Emma", "MARTHANNE!");
csf("Marthanne04", null);
cst("Marthanne", "...");
csf("Emma05", null);
cst("Emma", "I guess I'm sorry, Equity. What you said to me a few months ago, in that field..");
cst("Emma", "I want to think about what it meant, and whether I should do anything different.");
cst("Emma", "But the problem is.. this is just a demo scenario.");
cst("Emma", "And I don't know if anything's going to come of this game afterwards.");
csf("Emma07", null);
cst("Emma", "So all I can do is go with what I know. Hope you don't mind..");
csf(null, "Equity02");
cst("Equity", "Tch!");
cst("Equity", "Emma, you're such a wuss.");
cst("Equity", "Well, if I'm going to be nothing but a 'boss fight' to you..");
csf(null, "Equity01");
cst("Equity", "I'll give you the last boss fight you'll ever <I>have</I>!");
if (_root.party.length == 3) {
csf("Hiro03", null);
cst("Hiro", "<I>(Man.. I must have gotten, like, zero lines in this demo. This bites.)</I>");
}
cse([Equity, Golem, Golem]);
csc("Techno", false);
csf("Emma05", null);
cst("Emma", "Sorry, Equity.");
csf(null, null);
cst("", "<B>What will the true next chapter of Absalom bring, and will it ever come out?</B>");
cst("", "<B>Until you find out, I hope you have enjoyed this.</B>");
csd();
csplay();
}
function e1_chest() {
if (flag9 == 0) {
flag9 = 1;
if (_root.inventory.length < 8) {
_root.inventory.push("Potion");
cst("", "There's a Potion in this chest!");
} else {
cst("", "There's a Potion here; but you can't carry it.");
flag9 = 0;
}
csplay();
} else {
cst("", "There is nothing in the chest.");
csplay();
}
}
function e0_introduction() {
csf("Leonard", null);
cst("King Leonard", "Good day to you once again, Emma.");
csf(null, "Emma05");
cst("Emma", "...");
cst("Emma", "..your majesty.");
csf("Leonard", null);
cst("King Leonard", "This may be just a demonstration chapter, but your mission is no less important because of it.");
cst("King Leonard", "There is a rebellious camp, hidden deep in the forest..");
csf(null, "Emma05");
cst("Emma", "..of Spades?");
csf("Leonard", null);
cst("King Leonard", "What? Hey! How'd you find that out? Nobody's supposed to know about..");
csf(null, "Emma03");
cst("Emma", "Sorry, sorry. Something I learned in the last chapter. Forget I said anything.");
csf("Leonard", null);
cst("King Leonard", "Don't force me to assasinate you sometime later on, Emma. Anyways..");
cst("King Leonard", "There is a 'camp' of 'rebels' in the forest that I'd like you to investigate and disperse.");
cst("King Leonard", "After seeing you take care of that bandit camp, I have the utmost faith that you'll do well.");
csf(null, "Emma05");
cst("Emma", "I'll get started right away, your majesty.");
csf(null, "Emma07");
cst("Emma", "<I>(My majesty said he had the 'utmost faith' in me..!)</I>");
csf(null, "Emma05");
cst("Emma", "<I>(If only I had that same faith in him.)</I>");
}
function e1_greattree() {
csf("Emma02", null);
cst("Emma", "Maybe there's a treasure in this tree!");
if ((random(3) == 0) && (_root.inventory.length < 8)) {
var z;
z = random(3);
if (z == 0) {
_root.inventory.push("Potion");
cst("Emma", "A new potion! I was right!");
}
if (z == 1) {
_root.goldcount = _root.goldcount + 1;
cst("Emma", "There's a gold coin in here!");
}
if (z == 2) {
_root.inventory.push("PotPill");
cst("Emma", "More potency to the collection!");
}
} else {
csf("Emma03", null);
css("Failure");
cst("Emma", "Nothing..? Darn!");
}
csplay();
}
function e1_wavingbranch() {
css("Rain");
cst("Emma", "What an odd waving branch.");
cso("Look closer", "e1_wavelookcloser");
cso("Touch it", "e1_wavetouchit");
csos();
csplay();
}
function e1_wavelookcloser() {
cst("Emma", "Oh, it's not so odd. It's just badly drawn, that's all!");
}
function e1_wavetouchit() {
csf("Emma03", null);
cst("Emma", "But I can't reach it from here..");
}
function e1_grassarrival() {
trace("Monster check..");
if (random(9) == 0) {
cst("Emma", "Uh oh! Here comes monsters.");
var re;
re = random(10) + 1;
if (re == 1) {
cse([BullShroom, Ratty]);
}
if (re == 2) {
cse([Poppet, Catgirl, Ratty]);
}
if (re == 3) {
cse([Bandit, Bandit, PackThief]);
}
if (re == 4) {
cse([Cryptos, Worm, Catgirl]);
}
if (re == 5) {
cse([Skarab, Worm, Ratty]);
}
if (re == 6) {
cse([Equity, Catgirl, Bandit]);
}
if (re == 7) {
cse([Golem, Catgirl]);
}
if (re == 8) {
cse([Golem, Equity]);
}
if (re == 9) {
cse([PackThief, PackThief]);
}
if (re == 10) {
cse([Skarab, Cryptos, Catgirl]);
}
csc("Forest", true);
cst("Emma", "Glad that's over.");
csplay();
}
}
function e0_nothing() {
}
function e4_dungeonencounter() {
if (random(4) == 0) {
var te;
te = random(4) + 1;
if (te == 1) {
cst("Emma", "Not much more of this. I <B>know</B> we're near the end!");
}
if (te == 2) {
cst("Marthanne", "Aaah! What the heck are these now?!");
}
if (te == 3) {
if (_root.party.length == 3) {
cst("Hiro", "These monsters seem almost artificial..");
} else {
cst("Emma", "These must be the most difficult monsters yet.");
}
}
if (te == 4) {
cst("Marthanne", "Charrrge!");
}
var re;
re = random(5) + 1;
if (re == 1) {
cse([Golem, Golem]);
}
if (re == 2) {
cse([Poppet, Poppet, Poppet]);
}
if (re == 3) {
cse([Poppet, Golem]);
}
if (re == 4) {
cse([Sentry, Poppet, Poppet]);
}
if (re == 5) {
cse([Sentry, Sentry]);
}
csc("Techno", true);
te = random(2) + 1;
if (te == 1) {
csf("Emma03", null);
cst("Emma", "Huff.. puff.. puff.");
}
if (te == 2) {
csf("Marthanne06", null);
cst("Marthanne", "That's all, right? It won't be too much longer, right?");
csf("Emma04", null);
cst("Emma", "Maybe..");
}
csplay();
}
}
function e3_dungeonencounter() {
if (random(5) == 0) {
var te;
te = random(3) + 1;
if (te == 1) {
cst("Marthanne", "It's so dark and creepy down here..");
cst("Emma", "But not very lonely, I'm afraid.");
}
if (te == 2) {
if (_root.party.length == 3) {
cst("Hiro", "Yet more monsters! Lucky I have my trusty ElectroAAAAH!");
} else {
cst("Emma", "Get ready..");
}
}
if (te == 3) {
cst("Emma", "I'm getting tired of fighting! But the enemies are always fresh, aren't they?");
}
var re;
re = random(4) + 1;
if (re == 1) {
cse([Cryptos, Cryptos, Cryptos]);
}
if (re == 2) {
cse([Skarab, Skarab, Skarab, Skarab]);
}
if (re == 3) {
cse([Skarab, Cryptos, Worm, Worm]);
}
if (re == 4) {
cse([Bullshroom, Cryptos, Bullshroom, Cryptos, Bullshroom]);
}
csc("Cave", true);
if (random(3) == 0) {
csf("Emma05", null);
cst("Emma", "It's almost too much..");
}
csplay();
}
}
function e2_dungeonencounter() {
if (random(5) == 0) {
var te;
te = random(3) + 1;
if (te == 1) {
cst("Emma", "More monsters up ahead..");
}
if (te == 2) {
cst("Marthanne", "Heads up!");
}
if (te == 3) {
if (_root.party.length == 3) {
cst("Hiro", "I think I see something..");
} else {
cst("Emma", "Something's coming towards us!");
}
}
var re;
re = random(4) + 1;
if (re == 1) {
cse([Ratty, Worm]);
}
if (re == 2) {
cse([Skarab, Worm, Worm]);
}
if (re == 3) {
cse([Ratty, Ratty, Skarab, Worm]);
}
if (re == 4) {
cse([Coughshroom, Worm, Worm]);
}
csc("Dungeon", true);
cst("Emma", "Glad that's over.");
csplay();
}
}
function e2_waterencounter() {
if (random(5) == 0) {
var te;
te = random(2) + 1;
if (te == 1) {
csf("Marthanne03", null);
cst("Marthanne", "Ew, ew! Wet and slimy things coming out of the water!");
}
if (te == 2) {
cst("Emma", "They just keep coming and coming..");
}
var re;
re = random(4) + 1;
if (re == 1) {
cse([Worm, Worm, Worm]);
}
if (re == 2) {
cse([Skarab, Skarab, Skarab]);
}
if (re == 3) {
cse([Cryptos, Cryptos]);
}
if (re == 4) {
cse([Ratty, Ratty, Ratty, Ratty]);
}
csc("Water", true);
csplay();
}
}
function e1_dungeonencounter() {
if (random(5) == 0) {
var te;
te = random(3) + 1;
if (te == 1) {
cst("Emma", "Wait, what's that over there?");
}
if (te == 2) {
cst("Marthanne", "Eek! Something just brushed against my leg!");
}
if (te == 3) {
cst("Emma", "There's monsters -- up ahead!");
cst("Marthanne", "Don't be so dramatic, Emma! This <I>is</I> a dungeon, you know..");
}
if (te == 2) {
cse([Ratty]);
} else {
var re;
re = random(4) + 1;
if (re == 1) {
cse([Ratty, Ratty]);
}
if (re == 2) {
cse([Bullshroom, Ratty, Ratty]);
}
if (re == 3) {
cse([Skarab, Skarab]);
}
if (re == 4) {
cse([Coughshroom, Ratty, Ratty]);
}
}
csc("Dungeon", true);
if (te == 2) {
csf("Emma05", null);
cst("Emma", "Marthanne, that was only a single rat..");
csf("Marthanne04", null);
cst("Marthanne", "It felt bigger..");
}
csplay();
}
}
function e0_forestencounter() {
trace("FE");
if (random(5) == 0) {
var te;
te = random(4) + 1;
if (te == 1) {
cst("Emma", "Uh oh - here comes something!");
}
if (te == 2) {
cst("Marthanne", "This forest sure seems foreboding. It's not like the forests of Greco..");
cst("Emma", "That's because of things like THAT!");
}
if (te == 3) {
cst("Marthanne", "Hey, there's something over there!");
}
if (te == 4) {
cst("Emma", "Oh no - we're being attacked!");
}
var re;
re = random(10) + 1;
if (re == 1) {
cse([Bandit, Bandit]);
}
if (re == 2) {
cse([Bandit, Packthief]);
}
if (re == 3) {
cse([Bandit, Bandit, Ratty]);
}
if (re == 4) {
cse([BullShroom, BullShroom]);
}
if (re == 5) {
cse([BullShroom, CoughShroom]);
}
if (re == 6) {
cse([Ratty, BullShroom, Ratty]);
}
if (re == 7) {
cse([Bandit, Packthief, Packthief]);
}
if (re == 8) {
cse([Bandit, Bandit, Bandit]);
}
if (re == 9) {
cse([Catgirl]);
}
if (re == 10) {
cse([Catgirl, Ratty]);
}
csc("Forest", true);
if ((te == 4) || (re == 8)) {
csf("Emma05", null);
cst("Emma", "<I>(Sigh)</I> Do they attack me because I'm a guard?");
csf("Marthanne01", null);
cst("Marthanne", "They attack us 'cause they think we're easy pickings.");
csf("Marthanne05", null);
cst("Marthanne", "And they're <B>wrong</B>!");
}
csplay();
}
}
map_change(currentlyatmap, currentlyat);
_root.config._visible = false;
_root.itemscreen._visible = false;
_root.figurel._visible = false;
_root.figurer._visible = false;
_root.cstext._visible = false;
_root.cspicture._visible = false;
_root.choicebackdrop._visible = false;
_root.opt1._visible = false;
_root.opt2._visible = false;
_root.opt3._visible = false;
_root.configbutton._visible = true;
if (_root.newgame == true) {
e0_introduction();
_root.newgame = false;
}
trace("Csmanager size:" + csmanager.list.length);
if (0 < csmanager.list.length) {
csplay();
}
stop();
Frame 10
stopAllSounds();
var combatmusic;
combatmusic = new Sound();
combatmusic.attachSound("Combat");
combatmusic.start(0, 500);
window.motif.gotoAndStop(_root.encmotif);
var i;
var currentround;
currentround = 0;
var friendfront = -200;
var enemyfront = 100;
i = 0;
while (i < enc.length) {
eval ("window.pawn" + i).set_pawn(enc[i]);
if (enc[i].isfriend == 0) {
eval ("window.pawn" + i).flip();
}
enc[i].isdown = 0;
if (enc[i].isfriend == 1) {
eval ("window.pawn" + i)._x = friendfront;
enc[i].xplace = friendfront;
friendfront = friendfront - 50;
} else {
eval ("window.pawn" + i)._x = enemyfront;
enc[i].xplace = enemyfront;
enemyfront = enemyfront + 50;
}
i++;
}
Frame 44
techdesc._visible = false;
targetselector._visible = false;
summary._visible = false;
Instance of Symbol 631 MovieClip "techdesc" in Frame 44
/* no clip actions */
Frame 45
function set_up_char(charindex) {
trace("set_up_char");
atchar = charindex;
tfRound = (enc[charindex].name + " Round ") + currentround;
atcolumn = 0;
next_move(-1, 1, 1);
}
function next_char() {
trace("next_char()");
while (atchar < enc.length) {
atchar++;
var getstogo;
var z;
getstogo = true;
z = 0;
while (z < enc[atchar].fxlist.length) {
if (enc[atchar].fxlist[z].getstogo(enc[atchar]) == false) {
getstogo = false;
}
z++;
}
if (((enc[atchar].isfriend == 0) && (enc[atchar].isdown == 0)) && (getstogo == true)) {
var foundmove;
foundmove = false;
while (foundmove == false) {
enc[atchar].intention = random(enc[atchar].attacklist.length);
if (enc[atchar].attacklist[enc[atchar].intention].category == 3) {
enc[atchar].intention = random(enc[atchar].attacklist.length);
}
if (enc[atchar].attacklist[enc[atchar].intention].validate(enc[atchar]) == true) {
foundmove = true;
}
}
var friendlist = new Array();
var i;
i = 0;
while (i < enc.length) {
if ((enc[i].isfriend == 1) && (enc[i].isdown == 0)) {
friendlist.push(enc[i]);
}
i++;
}
trace("Friendlist is size: " + friendlist.length);
enc[atchar].target = friendlist[random(friendlist.length)];
trace("Chose target " + enc[atchar].target.name);
delete friendlist;
enc[atchar].attacklist[enc[atchar].intention].on_select(enc[atchar], enc[atchar].target);
}
if (((enc[atchar].isfriend == 1) && (enc[atchar].isdown == 0)) && (getstogo == true)) {
set_up_char(atchar);
break;
}
}
if (atchar == enc.length) {
return(false);
}
return(true);
}
function next_move(moveindex, column, direction) {
trace((((("next_move: " + moveindex) + " ") + column) + " ") + direction);
if (atcolumn != column) {
atcolumn = column;
techdesc.gotoAndStop(column);
next_move(-1, column, 1);
} else {
atmove = moveindex;
var oktocontinue;
oktocontinue = false;
while (oktocontinue == false) {
atmove = atmove + direction;
if (atmove == enc[atchar].attacklist.length) {
atmove = 0;
}
if (atmove < 0) {
atmove = enc[atchar].attacklist.length - 1;
}
if ((enc[atchar].attacklist[atmove].validate(enc[atchar]) == true) && (enc[atchar].attacklist[atmove].category == column)) {
oktocontinue = true;
}
}
var ti;
var te;
var atk;
atk = enc[atchar].attacklist[atmove];
ti = atk.title;
te = atk.desc + "<BR><BR>";
if (atk.category == 1) {
te = te + (atk.form + " Attack<BR>");
if (atk.strmod != 1) {
te = te + "Strike: ";
if (1 < atk.strmod) {
te = te + "+";
}
te = te + (("" + ((atk.strmod - 1) * 100)) + "%<BR>");
}
if (atk.dammod != 1) {
te = te + "Damage: ";
if (1 < atk.dammod) {
te = te + "+";
}
te = te + (("" + ((atk.dammod - 1) * 100)) + "%<BR>");
}
if (atk.defmod != 1) {
te = te + "Defense: ";
if (1 < atk.defmod) {
te = te + "+";
}
te = te + (("" + ((atk.defmod - 1) * 100)) + "%<BR>");
}
if (atk.trump != 0) {
var tarray;
var ttarray;
tarray = ["Heart", "Diamond", "Club", "Spade"];
ttarray = ["Strike", "Damage", "Defense"];
te = te + (((("Trump: " + tarray[atk.trump - 1]) + "/") + ttarray[atk.trumptype - 1]) + "<BR>");
}
if (0 < atk.potcost) {
te = te + (("POT Cost: " + atk.potcost) + "<BR>");
}
}
techdesc.tfName = ti;
techdesc.tfDesc = te;
summary._visible = true;
if (atk.target != "Self") {
targetselector._visible = true;
}
var changetarget;
changetarget = false;
if (atk.target != targetlist) {
changetarget = true;
targetlist = atk.target;
}
if (changetarget == true) {
if ((atk.target == "AllFriend") || (atk.target == "AllEnemy")) {
summary._visible = false;
targetselector._visible = false;
tfTargetType = "ALL";
}
if (atk.target == "Self") {
summary.set_link(enc[atchar]);
window.positionover(enc[atchar], 400);
targetselector._visible = false;
}
if (atk.target == "Friend") {
var i;
i = 0;
while (i < enc.length) {
if ((enc[i].isfriend == 1) && (enc[i].isdown == 0)) {
summary.set_link(enc[i]);
window.positionover(enc[i], 400);
break;
}
i++;
}
}
if (atk.target == "Enemy") {
var i;
i = 0;
while (i < enc.length) {
if ((enc[i].isfriend == 0) && (enc[i].isdown == 0)) {
summary.set_link(enc[i]);
window.positionover(enc[i], 400);
return;
}
i++;
}
}
}
}
}
techdesc._visible = true;
targetselector._visible = true;
summary._visible = true;
atchar = -1;
atmove = 0;
atcolumn = 1;
targetlist = "None";
currentround++;
var z;
z = 0;
while (z < 10) {
var pawn;
pawn = eval ("_root.window.pawn" + i);
if (pawn.link != null) {
pawn.icon.gotoAndStop(pawn.link.name + "Ready");
}
z++;
}
if (next_char() == false) {
play();
}
stop();
Frame 46
function byinitiative(a, b) {
if (b.initiative < a.initiative) {
return(-1);
}
if (a.initiative < b.initiative) {
return(1);
}
if (b.initiative == a.initiative) {
return(0);
}
}
function commv(char, dist, userun) {
combatanims.push("combatmove");
arg1.push(char);
arg2.push(dist);
arg3.push(userun);
}
function commessage(msg) {
combatanims.push("combatmessage");
arg1.push(msg);
arg2.push(null);
arg3.push(null);
}
function comfx(char, icon) {
combatanims.push("combatfx");
arg1.push(char);
arg2.push(icon);
arg3.push(null);
}
function comzero(char) {
combatanims.push("combatzero");
arg1.push(char);
arg2.push(null);
arg3.push(null);
}
function comzerohit(char, graphics, die) {
combatanims.push("combatzerohit");
arg1.push(char);
arg2.push(graphics);
arg3.push(die);
}
function comhit(char, damage, graphics) {
combatanims.push("combathit");
arg1.push(char);
arg2.push(damage);
arg3.push(graphics);
}
function comanim(char, frame, msg) {
combatanims.push("combatanim");
arg1.push(char);
arg2.push(frame);
arg3.push(msg);
}
function comflash(char, color, pulse) {
combatanims.push("combatflash");
arg1.push(char);
arg2.push(color);
arg3.push(pulse);
}
function comguard(char) {
combatanims.push("combatguard");
arg1.push(char);
arg2.push(null);
arg3.push(null);
}
function commiss(char) {
combatanims.push("combatmiss");
arg1.push(char);
arg2.push(null);
arg3.push(null);
}
function comremove(char) {
combatanims.push("combatremove");
arg1.push(char);
arg2.push(null);
arg3.push(null);
}
function comimv(char, dist) {
combatanims.push("combatimmediatemove");
arg1.push(char);
arg2.push(dist);
arg3.push(null);
}
function comwindow(char) {
combatanims.push("combatwindow");
arg1.push(char);
arg2.push(null);
arg3.push(null);
}
function comfacing(char, target) {
combatanims.push("combatfacing");
arg1.push(char);
arg2.push(target);
arg3.push(null);
}
friendsdead = 0;
enemiesdead = 0;
var goingorder;
goingorder = new Array();
var i;
i = 0;
while (i < enc.length) {
goingorder.push(enc[i]);
enc[i].comstr = enc[i].strike;
enc[i].comdam = enc[i].damage;
enc[i].comdef = enc[i].defense;
i++;
}
goingorder.sort(byinitiative);
i = 0;
while (i < goingorder.length) {
var char;
var target;
char = goingorder[i];
target = char.target;
var getstogo;
var z;
getstogo = true;
z = 0;
while (z < char.fxlist.length) {
if (char.fxlist[z].getstogo(char) == false) {
getstogo = false;
}
z++;
}
trace((("Processing " + char.name) + "/") + char.target.name);
trace("Using attack: " + char.attacklist[char.intention].title);
trace((("STR " + char.comstr) + " vs DEF ") + target.comdef);
if ((char.isdown == 0) && (getstogo == true)) {
comwindow(char);
comfacing(char, target);
commessage((char.name + ": ") + char.attacklist[char.intention].title);
char.attacklist[char.intention].process(char, target);
char.attacklist[char.intention].after_turn(char, target);
}
if (char.isdown == 0) {
var k;
k = 0;
while (k < char.fxlist.length) {
char.fxlist[k].endofturn(char);
if (char.fxlist[k].remove == true) {
var oldfx;
oldfx = char.fxlist.splice(k, 1);
k--;
delete oldfx;
}
k++;
}
}
friendsdead = 1;
enemiesdead = 1;
var j;
j = 0;
while (j < enc.length) {
if ((enc[j].isfriend == 1) && (enc[j].isdown == 0)) {
friendsdead = 0;
}
if ((enc[j].isfriend == 1) && (enc[j].isdown == 2)) {
if (friendsdead != 0) {
friendsdead = 2;
}
}
if ((enc[j].isfriend == 0) && (enc[j].isdown == 0)) {
enemiesdead = 0;
}
j++;
}
if ((friendsdead != 0) || (enemiesdead != 0)) {
break;
}
i++;
}
delete goingorder;
Frame 47
animwindow._visible = false;
function continue_process() {
_root.animwindow._visible = false;
play();
one_frame_protection = true;
}
if (0 < combatanims.length) {
var ca;
var x;
var y;
var z;
ca = combatanims.shift();
x = arg1.shift();
y = arg2.shift();
z = arg3.shift();
one_frame_protection = false;
eval ("_root.caprocess." + ca)(x, y, z);
} else if ((friendsdead == 0) && (enemiesdead == 0)) {
gotoAndPlay (44);
} else {
gotoAndPlay (49);
}
if (one_frame_protection == false) {
stop();
}
Frame 48
gotoAndPlay (47);
Frame 64
function gotoTraverse() {
gotoAndPlay (8);
}
function gotoBeginning() {
gotoAndPlay (3);
}
mvp = null;
mvptobeat = 0;
mvpcard = 0;
var em;
var to;
to = _root.enc.length;
em = 0;
while (em < to) {
var m;
m = _root.enc.pop();
var j;
j = 0;
while (j < m.fxlist.length) {
var fx;
fx = m.fxlist.pop();
j--;
delete fx;
j++;
}
if (m.isfriend == 0) {
var i;
i = 0;
while (i < m.attacklist.length) {
delete m.attacklist[i];
i++;
}
delete m;
}
em++;
}
if (friendsdead == 2) {
tfVerdict = "YOU HAVE RUN";
tfResults = "";
tfHealing = "";
tfMVP = "";
tfGamble = "";
var z;
z = 0;
while (z < _root.party.length) {
_root.party[z].xptally = 0;
z++;
}
card1._visible = false;
yesbutton._visible = false;
nobutton._visible = false;
}
if (friendsdead == 1) {
tfVerdict = "GAME OVER";
tfResults = "";
tfHealing = "";
tfMVP = "";
tfGamble = "";
card1._visible = false;
yesbutton._visible = false;
nobutton._visible = false;
stopAllSounds();
}
if (friendsdead == 0) {
tfVerdict = "YOU HAVE WON";
card1._visible = true;
yesbutton._visible = true;
nobutton._visible = true;
exitbutton._visible = false;
tfResults = "";
tfHealing = "";
tfMVP = "";
tfGamble = "";
healinglevel = 20 + random(15);
tfHealing = ("The party regained " + healinglevel) + "% of their HP and POT.";
var z;
z = 0;
while (z < _root.party.length) {
var char;
char = _root.party[z];
char.isdown = 0;
tfResults = tfResults + (((char.name + ", you have gained ") + char.xptally) + " experience points<BR>");
if (mvptobeat < char.xptally) {
mvp = char;
mvptobeat = char.xptally;
}
char.needxp = char.needxp - char.xptally;
char.xptally = 0;
if (0 < char.needxp) {
tfResults = tfResults + (((("and need " + char.needxp) + " to get to Level ") + (char.level + 1)) + ".");
} else {
char.level = char.level + 1;
char.needxp = ((char.level + 1) * 100) / 2;
char.calc_primaries();
char.calc_secondaries();
tfResults = tfResults + (("and went to Level " + char.level) + "! ");
var y;
y = 0;
while (y < char.attacklist.length) {
if (char.attacklist[y].minlevel == char.level) {
tfResults = tfResults + (("You learned " + char.attacklist[y].title) + ".");
}
y++;
}
}
tfResults = tfResults + "<BR>";
var hpup;
var potup;
hpup = int(char.maxhp * (healinglevel / 100));
potup = int(char.maxpot * (healinglevel / 100));
char.hp = char.hp + hpup;
char.pot = char.pot + potup;
if (char.maxhp < char.hp) {
char.hp = char.maxhp;
}
if (char.maxpot < char.pot) {
char.pot = char.maxpot;
}
z++;
}
if (random(3) == 0) {
tfResults = tfResults + "<BR>";
tfResults = tfResults + "The party found a gold coin.<BR>";
_root.goldcount++;
}
tfMVP = mvp.name + " was the most valuable fighter.";
mvpcard = random(8);
card1.thevalue = mvp.cardlist[mvpcard].value;
card1.thesuit.gotoAndStop(mvp.cardlist[mvpcard].suit);
tfGamble = mvp.name + ", would you like to gamble this card?";
}
stop();
Frame 65
stop();
Symbol 24 Button
on (release) {
diffno++;
if (4 < diffno) {
diffno = 4;
}
set_diffmod(diffno);
}
Symbol 25 Button
on (release) {
qualno--;
if (qualno < 0) {
qualno = 0;
}
set_qual(qualno);
}
Symbol 26 Button
on (release) {
damno++;
if (4 < damno) {
damno = 4;
}
set_dammod(damno);
}
Symbol 27 Button
on (release) {
damno--;
if (damno < 0) {
damno = 0;
}
set_dammod(damno);
}
Symbol 28 Button
on (release) {
qualno++;
if (2 < qualno) {
qualno = 2;
}
set_qual(qualno);
}
Symbol 29 Button
on (release) {
diffno--;
if (diffno < 0) {
diffno = 0;
}
set_diffmod(diffno);
}
Symbol 37 Button
on (release) {
play();
}
Symbol 40 Button
on (release) {
if (_root.dungeonlevel == 0) {
_root.newgame = true;
}
if (_root.dungeonlevel == 1) {
currentlyat = "point1";
currentlyatmap = "e1_dungeon1";
}
if (_root.dungeonlevel == 2) {
currentlyat = "point1";
currentlyatmap = "e2_dungeon1";
}
if (_root.dungeonlevel == 3) {
currentlyat = "point1";
currentlyatmap = "e3_dungeon1";
}
if (_root.dungeonlevel == 4) {
currentlyat = "point1";
currentlyatmap = "e4_dungeon1";
}
play();
}
Symbol 46 Button
on (release) {
var test;
test = validate_password(tfPassword);
if (test == true) {
tfResults = ("Status:<BR>Loaded game.<BR>Dungeon Level " + _root.dungeonlevel) + ".";
tfResults = tfResults + ("<BR>Emma: Level " + _root.party[0].level);
tfResults = tfResults + ("<BR>Marthanne: Level " + _root.party[1].level);
if (_root.party.length == 3) {
tfResults = tfResults + ("<BR>Hiro: Level " + _root.party[2].level);
}
tfResults = tfResults + "<BR>Don't forget to re-CONFIG when starting.";
} else {
tfResults = "Status:<BR>Failed to load password. New game.";
}
}
Symbol 54 Button
on (release) {
var i;
var oktotravel;
trace("Click");
oktotravel = false;
i = 0;
while (i < _parent.nearby.length) {
trace("_parent.nearby[i] is " + _parent.nearby[i]);
if (_parent.nearby[i] == _root.currentlyat) {
oktotravel = true;
}
i++;
}
if (oktotravel == true) {
var oldx;
oldx = eval (("_parent._parent." + _root.currentlyat) + "._x");
trace("oldx:" + oldx);
if (_parent._x >= oldx) {
trace("Face right");
_root.map.pawn._xscale = 100;
} else {
trace("Face left");
_root.map.pawn._xscale = -100;
}
_root.currentlyat = _parent._name;
_root.map.pawn._x = _parent._x;
_root.map.pawn._y = _parent._y;
if (_parent.arrivalfunction != "defaultarrival") {
eval ("_root." + _parent.arrivalfunction)();
} else {
eval ("_root." + _root.arrivalfunction)();
}
}
}
Symbol 56 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 57 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 58 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 59 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 60 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 61 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 62 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 63 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 64 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 65 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 66 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 68 Button
on (release) {
trace("Investigation");
if (_root.currentlyat != nearby) {
toofar.gotoAndPlay(2);
} else if (exitmap == "none") {
eval ("_root." + functionname)();
} else {
_root.map_change(exitmap, exitpoint);
}
}
Symbol 71 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 73 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 74 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 79 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 80 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 81 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 82 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 83 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 86 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 87 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 88 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 89 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 90 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 91 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 92 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 93 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 94 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 97 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 98 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 99 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 102 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 103 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 104 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 105 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 106 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 109 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 110 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 112 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 113 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 116 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 117 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 118 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 119 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 122 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 123 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 126 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 127 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 128 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 131 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 132 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 135 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 136 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 137 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 138 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 139 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 140 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 141 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 142 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 145 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 146 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 149 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 150 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 153 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 154 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 155 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 158 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 159 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 160 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 163 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 164 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 165 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 166 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 167 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 168 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 169 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 172 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 173 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 174 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 177 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 178 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 179 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 180 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 181 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 182 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 183 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 184 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 187 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 188 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 189 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 190 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 191 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 192 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 193 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 194 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 195 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 196 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 199 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 200 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 201 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 203 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 207 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 208 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 209 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 212 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 213 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 214 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 215 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 216 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 217 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 218 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 219 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 220 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 221 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 222 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 225 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 226 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 227 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 230 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 231 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 232 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 233 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 236 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 237 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 240 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 241 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 244 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 245 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 246 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 249 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 250 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 251 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 254 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 255 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 256 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 259 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 260 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 263 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 264 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 265 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 266 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 267 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 268 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 271 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 272 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 273 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 276 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 277 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 280 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 281 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 282 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 285 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 286 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 287 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 290 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 291 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 292 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 293 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 296 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 297 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 300 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 301 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 302 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 305 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 306 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 309 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 310 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 313 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 314 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 317 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 318 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 320 MovieClip Frame 1
function disable() {
spotbutton._visible = false;
}
function enable() {
spotbutton._visible = true;
}
Symbol 323 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 324 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 325 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 326 MovieClip Frame 1
function enable() {
_visible = true;
}
function disable() {
_visible = false;
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
_root.maptitle = "Grass Lands";
trace("Welcome to the Grass lands.");
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e1_grassarrival";
stop();
Instance of Symbol 56 MovieClip "point1" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
}
Instance of Symbol 57 MovieClip "point2" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
}
Instance of Symbol 58 MovieClip "point3" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
nearby[2] = "point8";
}
Instance of Symbol 59 MovieClip "point4" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
}
Instance of Symbol 60 MovieClip "point5" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
}
Instance of Symbol 61 MovieClip "point6" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
nearby[1] = "point7";
}
Instance of Symbol 62 MovieClip "point7" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
}
Instance of Symbol 63 MovieClip "point8" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point9";
nearby[1] = "point3";
}
Instance of Symbol 64 MovieClip "point9" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point8";
nearby[1] = "point10";
}
Instance of Symbol 65 MovieClip "point10" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point9";
nearby[1] = "point11";
}
Instance of Symbol 66 MovieClip "point11" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
nearby = new array();
nearby[0] = "point10";
}
Instance of Symbol 72 MovieClip "spot2" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
exitmap = "Swamp";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Instance of Symbol 73 MovieClip "spot1" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point3";
functionname = "e1_greattree";
}
Instance of Symbol 74 MovieClip "spot3" in Symbol 327 MovieClip Frame 2
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point9";
functionname = "e1_wavingbranch";
}
Symbol 327 MovieClip Frame 3
_root.maptitle = "Swamp Lands";
trace("Welcome to the Swamp Lands.");
_root.csf("Emma04", null);
_root.cst("Emma", "Wow.. swampy. <I>Really</I> swampy.");
_root.csplay();
_root.arrivalfunction = "e1_swamparrival";
stop();
Instance of Symbol 79 MovieClip "point2" in Symbol 327 MovieClip Frame 3
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
}
Instance of Symbol 80 MovieClip "point3" in Symbol 327 MovieClip Frame 3
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
}
Instance of Symbol 81 MovieClip "point4" in Symbol 327 MovieClip Frame 3
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
}
Instance of Symbol 82 MovieClip "point6" in Symbol 327 MovieClip Frame 3
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
}
Instance of Symbol 83 MovieClip "spot1" in Symbol 327 MovieClip Frame 3
onClipEvent (load) {
exitmap = "Grassland";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 4
_root.maptitle = "Nordin Throne";
_root.csmusic.play_music("Castle");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 86 MovieClip "point1" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 87 MovieClip "point5" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 88 MovieClip "point2" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 89 MovieClip "point3" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 90 MovieClip "point4" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 91 MovieClip "point6" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 92 MovieClip "spot1" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
exitmap = "e0_castle";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Instance of Symbol 93 MovieClip "spot2" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e0_throne";
}
Instance of Symbol 94 MovieClip "spot3" in Symbol 327 MovieClip Frame 4
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point5";
functionname = "e0_mpeter";
}
Symbol 327 MovieClip Frame 5
_root.maptitle = "Nordin Castle";
_root.csmusic.play_music("Castle");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 97 MovieClip "point4" in Symbol 327 MovieClip Frame 5
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 98 MovieClip in Symbol 327 MovieClip Frame 5
onClipEvent (load) {
exitmap = "e0_westtown";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Instance of Symbol 99 MovieClip "spot2" in Symbol 327 MovieClip Frame 5
onClipEvent (load) {
exitmap = "e0_throne";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 6
_root.maptitle = "West Of Nordin Town";
_root.csmusic.play_music("Castle");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 90 MovieClip "point4" in Symbol 327 MovieClip Frame 6
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 102 MovieClip "point5" in Symbol 327 MovieClip Frame 6
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "e0_meetmarthanne";
}
Instance of Symbol 103 MovieClip "point6" in Symbol 327 MovieClip Frame 6
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 104 MovieClip "point7" in Symbol 327 MovieClip Frame 6
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 105 MovieClip "spot2" in Symbol 327 MovieClip Frame 6
onClipEvent (load) {
exitmap = "e0_town1";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Instance of Symbol 106 MovieClip "spot1" in Symbol 327 MovieClip Frame 6
onClipEvent (load) {
exitmap = "e0_castle";
exitpoint = "point4";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 7
_root.maptitle = "Nordin Town";
_root.csmusic.play_music("Town");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 109 MovieClip "spot1" in Symbol 327 MovieClip Frame 7
onClipEvent (load) {
exitmap = "e0_town2";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 110 MovieClip "spot2" in Symbol 327 MovieClip Frame 7
onClipEvent (load) {
exitmap = "e0_westtown";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 112 MovieClip "point5" in Symbol 327 MovieClip Frame 7
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 113 MovieClip "spot3" in Symbol 327 MovieClip Frame 7
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point4";
functionname = "e0_chatkids";
}
Symbol 327 MovieClip Frame 8
_root.maptitle = "Nordin Town";
_root.csmusic.play_music("Town");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 116 MovieClip "point3" in Symbol 327 MovieClip Frame 8
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "e0_meetbandit";
}
Instance of Symbol 87 MovieClip "point5" in Symbol 327 MovieClip Frame 8
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 91 MovieClip "point6" in Symbol 327 MovieClip Frame 8
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 117 MovieClip "spot3" in Symbol 327 MovieClip Frame 8
onClipEvent (load) {
exitmap = "e0_town3";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Instance of Symbol 118 MovieClip "spot2" in Symbol 327 MovieClip Frame 8
onClipEvent (load) {
exitmap = "e0_shop";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Instance of Symbol 119 MovieClip "spot1" in Symbol 327 MovieClip Frame 8
onClipEvent (load) {
exitmap = "e0_town1";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 9
_root.maptitle = "Shop";
_root.csmusic.play_music("Town");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 86 MovieClip "point3" in Symbol 327 MovieClip Frame 9
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 122 MovieClip "spot1" in Symbol 327 MovieClip Frame 9
onClipEvent (load) {
exitmap = "e0_town2";
exitpoint = "point4";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 123 MovieClip "spot2" in Symbol 327 MovieClip Frame 9
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point3";
functionname = "e0_shoptalk";
}
Symbol 327 MovieClip Frame 10
_root.maptitle = "Eastern Outskirts";
_root.csmusic.play_music("Town");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 89 MovieClip "point3" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 90 MovieClip "point4" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 87 MovieClip "point5" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 91 MovieClip "point6" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 126 MovieClip "spot2" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
exitmap = "e0_easttown";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Instance of Symbol 127 MovieClip "spot1" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
exitmap = "e0_town2";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 128 MovieClip "spot3" in Symbol 327 MovieClip Frame 10
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point3";
functionname = "e0_oldman";
}
Symbol 327 MovieClip Frame 11
_root.maptitle = "Eastern Forest";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_forestencounter";
stop();
Instance of Symbol 131 MovieClip "spot1" in Symbol 327 MovieClip Frame 11
onClipEvent (load) {
exitmap = "e0_forest1";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Instance of Symbol 132 MovieClip "spot2" in Symbol 327 MovieClip Frame 11
onClipEvent (load) {
exitmap = "e0_town3";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 89 MovieClip "point3" in Symbol 327 MovieClip Frame 11
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 90 MovieClip "point4" in Symbol 327 MovieClip Frame 11
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 87 MovieClip "point5" in Symbol 327 MovieClip Frame 11
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 91 MovieClip "point6" in Symbol 327 MovieClip Frame 11
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Symbol 327 MovieClip Frame 12
_root.maptitle = "Eastern Forest";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_forestencounter";
stop();
Instance of Symbol 88 MovieClip "point2" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 135 MovieClip "point4" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
nearby[2] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 136 MovieClip "point6" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
nearby = new array();
nearby[0] = "point7";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 137 MovieClip "point7" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
nearby[1] = "point8";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 138 MovieClip "point8" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
nearby = new array();
nearby[0] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 112 MovieClip "point5" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 139 MovieClip "spot3" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
exitmap = "e0_forest3";
exitpoint = "point1";
nearby = "point8";
functionname = "defaultValue";
}
Instance of Symbol 140 MovieClip "spot2" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
exitmap = "e0_forest2";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 141 MovieClip "spot1" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
exitmap = "e0_easttown";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 142 MovieClip "spot4" in Symbol 327 MovieClip Frame 12
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point7";
functionname = "e0_campfire";
}
Symbol 327 MovieClip Frame 13
_root.maptitle = "Eastern Forest";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_forestencounter";
stop();
Instance of Symbol 145 MovieClip "spot1" in Symbol 327 MovieClip Frame 13
onClipEvent (load) {
exitmap = "e0_forest1";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 146 MovieClip "spot2" in Symbol 327 MovieClip Frame 13
onClipEvent (load) {
exitmap = "e0_forest6";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Instance of Symbol 90 MovieClip "point4" in Symbol 327 MovieClip Frame 13
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 87 MovieClip "point5" in Symbol 327 MovieClip Frame 13
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 103 MovieClip "point6" in Symbol 327 MovieClip Frame 13
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 104 MovieClip "point7" in Symbol 327 MovieClip Frame 13
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
arrivalfunction = "defaultarrival";
}
Symbol 327 MovieClip Frame 14
_root.maptitle = "Eastern Forest";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_forestencounter";
stop();
Instance of Symbol 97 MovieClip "point4" in Symbol 327 MovieClip Frame 14
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 149 MovieClip "spot1" in Symbol 327 MovieClip Frame 14
onClipEvent (load) {
exitmap = "e0_forest4";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Instance of Symbol 150 MovieClip "spot2" in Symbol 327 MovieClip Frame 14
onClipEvent (load) {
exitmap = "e0_forest1";
exitpoint = "point8";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 15
_root.maptitle = "Bandit Camp";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_forestencounter";
stop();
Instance of Symbol 153 MovieClip "spot2" in Symbol 327 MovieClip Frame 15
onClipEvent (load) {
exitmap = "e0_forest5";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 154 MovieClip "spot1" in Symbol 327 MovieClip Frame 15
onClipEvent (load) {
exitmap = "e0_forest3";
exitpoint = "point4";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 155 MovieClip "point2" in Symbol 327 MovieClip Frame 15
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "e0_heybandits";
}
Instance of Symbol 90 MovieClip "point4" in Symbol 327 MovieClip Frame 15
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 112 MovieClip "point5" in Symbol 327 MovieClip Frame 15
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Symbol 327 MovieClip Frame 16
_root.maptitle = "Bandit Camp";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 158 MovieClip "spot1" in Symbol 327 MovieClip Frame 16
onClipEvent (load) {
exitmap = "e0_forest4";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 88 MovieClip "point2" in Symbol 327 MovieClip Frame 16
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 159 MovieClip "point3" in Symbol 327 MovieClip Frame 16
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "e0_afterhiro";
}
Instance of Symbol 97 MovieClip "point4" in Symbol 327 MovieClip Frame 16
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 160 MovieClip "spot2" in Symbol 327 MovieClip Frame 16
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point4";
functionname = "e0_gethiro";
}
Symbol 327 MovieClip Frame 17
_root.maptitle = "Forest";
_root.csmusic.play_music("Adventure1");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 163 MovieClip "point1" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 164 MovieClip "point2" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 165 MovieClip "point3" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 166 MovieClip "point4" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "e0_sentries";
}
Instance of Symbol 167 MovieClip "point5" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 168 MovieClip "spot1" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
exitmap = "e0_forest2";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 169 MovieClip "spot2" in Symbol 327 MovieClip Frame 17
onClipEvent (load) {
exitmap = "e1_dungeon1";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 18
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e1_dungeonencounter";
stop();
Instance of Symbol 172 MovieClip "point4" in Symbol 327 MovieClip Frame 18
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 173 MovieClip "spot2" in Symbol 327 MovieClip Frame 18
onClipEvent (load) {
exitmap = "e1_dungeon3";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 174 MovieClip "spot1" in Symbol 327 MovieClip Frame 18
onClipEvent (load) {
exitmap = "e1_dungeon1";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 19
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e1_dungeonencounter";
stop();
Instance of Symbol 177 MovieClip "point3" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
nearby[2] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 178 MovieClip "point6" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 179 MovieClip "point7" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
nearby[1] = "point8";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 180 MovieClip "point8" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
nearby = new array();
nearby[0] = "point7";
nearby[1] = "point9";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 181 MovieClip "point9" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
nearby = new array();
nearby[0] = "point8";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 182 MovieClip "spot1" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
exitmap = "e1_dungeon2";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 183 MovieClip "spot2" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
exitmap = "e1_dungeon4";
exitpoint = "point5";
nearby = "point9";
functionname = "defaultValue";
}
Instance of Symbol 184 MovieClip "spot3" in Symbol 327 MovieClip Frame 19
onClipEvent (load) {
exitmap = "e1_dungeon4";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 20
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e1_dungeonencounter";
stop();
Instance of Symbol 165 MovieClip "point3" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 187 MovieClip "point4" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 188 MovieClip "point5" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 189 MovieClip "point6" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 190 MovieClip "point8" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
nearby = new array();
nearby[0] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 191 MovieClip "spot1" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
exitmap = "e1_dungeon3";
exitpoint = "point9";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 192 MovieClip "spot2" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
exitmap = "e1_dungeon5";
exitpoint = "point5";
nearby = "point8";
functionname = "defaultValue";
}
Instance of Symbol 193 MovieClip "spot3" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
exitmap = "e1_dungeon3";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 194 MovieClip "spot4" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
exitmap = "e1_dungeon6";
exitpoint = "point1";
nearby = "point3";
functionname = "defaultValue";
}
Instance of Symbol 195 MovieClip "spot5" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
exitmap = "e1_dungeon5";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Instance of Symbol 196 MovieClip "spot6" in Symbol 327 MovieClip Frame 20
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point2";
functionname = "e1_statue";
}
Symbol 327 MovieClip Frame 21
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e1_dungeonencounter";
stop();
Instance of Symbol 199 MovieClip "spot2" in Symbol 327 MovieClip Frame 21
onClipEvent (load) {
exitmap = "e1_dungeon4";
exitpoint = "point4";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 200 MovieClip "spot1" in Symbol 327 MovieClip Frame 21
onClipEvent (load) {
exitmap = "e1_dungeon4";
exitpoint = "point8";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 201 MovieClip "spot3" in Symbol 327 MovieClip Frame 21
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point4";
functionname = "e1_tablet";
}
Instance of Symbol 203 MovieClip "spot4" in Symbol 327 MovieClip Frame 21
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point8";
functionname = "e1_chest";
}
Symbol 327 MovieClip Frame 22
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 207 MovieClip "point3" in Symbol 327 MovieClip Frame 22
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 208 MovieClip "spot1" in Symbol 327 MovieClip Frame 22
onClipEvent (load) {
exitmap = "e2_dungeon1";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Instance of Symbol 209 MovieClip "spot2" in Symbol 327 MovieClip Frame 22
onClipEvent (load) {
exitmap = "e1_dungeon6";
exitpoint = "point1";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 23
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 212 MovieClip "point1" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
arrivalfunction = "defaultarrival";
}
Instance of Symbol 213 MovieClip "spot1" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "e1_dungeon4";
exitpoint = "point3";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 214 MovieClip "spot2" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_testdoor";
}
Instance of Symbol 215 MovieClip "spot3" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot1";
}
Instance of Symbol 216 MovieClip "spot4" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot2";
}
Instance of Symbol 217 MovieClip "spot5" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot3";
}
Instance of Symbol 218 MovieClip "spot6" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot4";
}
Instance of Symbol 219 MovieClip "spot7" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot5";
}
Instance of Symbol 220 MovieClip "spot8" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot6";
}
Instance of Symbol 221 MovieClip "spot9" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot7";
}
Instance of Symbol 222 MovieClip "spot10" in Symbol 327 MovieClip Frame 23
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e1_dot8";
}
Symbol 327 MovieClip Frame 24
_root.maptitle = "Dungeon Level 1";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e1_dungeonencounter";
stop();
Instance of Symbol 163 MovieClip "point1" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 225 MovieClip "point2" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "e1_levelenter";
}
Instance of Symbol 165 MovieClip "point3" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 172 MovieClip "point4" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 226 MovieClip "point5" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 189 MovieClip "point6" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 188 MovieClip "point7" in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 227 MovieClip in Symbol 327 MovieClip Frame 24
onClipEvent (load) {
exitmap = "e1_dungeon2";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 25
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e2_dungeonencounter";
stop();
Instance of Symbol 167 MovieClip "point1" in Symbol 327 MovieClip Frame 25
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 230 MovieClip "point4" in Symbol 327 MovieClip Frame 25
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
nearby[2] = "point5";
arrivalfunction = "e2_levelenter";
}
Instance of Symbol 187 MovieClip "point2" in Symbol 327 MovieClip Frame 25
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 231 MovieClip "point6" in Symbol 327 MovieClip Frame 25
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 232 MovieClip "spot2" in Symbol 327 MovieClip Frame 25
onClipEvent (load) {
exitmap = "e2_dungeon3";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Instance of Symbol 233 MovieClip "spot3" in Symbol 327 MovieClip Frame 25
onClipEvent (load) {
exitmap = "e2_dungeon2";
exitpoint = "point1";
nearby = "point2";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 26
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e2_dungeonencounter";
stop();
Instance of Symbol 163 MovieClip "point1" in Symbol 327 MovieClip Frame 26
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 164 MovieClip "point2" in Symbol 327 MovieClip Frame 26
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 172 MovieClip "point4" in Symbol 327 MovieClip Frame 26
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 112 MovieClip "point5" in Symbol 327 MovieClip Frame 26
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 236 MovieClip "spot1" in Symbol 327 MovieClip Frame 26
onClipEvent (load) {
exitmap = "e2_dungeon1";
exitpoint = "point2";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 237 MovieClip "spot2" in Symbol 327 MovieClip Frame 26
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point5";
functionname = "e2_bones";
}
Symbol 327 MovieClip Frame 27
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e2_dungeonencounter";
stop();
Instance of Symbol 226 MovieClip "point5" in Symbol 327 MovieClip Frame 27
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 231 MovieClip "point6" in Symbol 327 MovieClip Frame 27
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 240 MovieClip "spot1" in Symbol 327 MovieClip Frame 27
onClipEvent (load) {
exitmap = "e2_dungeon4";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Instance of Symbol 241 MovieClip "spot2" in Symbol 327 MovieClip Frame 27
onClipEvent (load) {
exitmap = "e2_dungeon2";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 28
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Rain");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 212 MovieClip "point1" in Symbol 327 MovieClip Frame 28
onClipEvent (load) {
arrivalfunction = "defaultarrival";
}
Instance of Symbol 244 MovieClip "point2" in Symbol 327 MovieClip Frame 28
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "e2_oopswater";
}
Instance of Symbol 167 MovieClip "point5" in Symbol 327 MovieClip Frame 28
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 245 MovieClip "spot2" in Symbol 327 MovieClip Frame 28
onClipEvent (load) {
exitmap = "e2_dungeon5";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 246 MovieClip "spot1" in Symbol 327 MovieClip Frame 28
onClipEvent (load) {
exitmap = "e2_dungeon3";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 29
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Rain");
_root.arrivalfunction = "e2_waterencounter";
stop();
Instance of Symbol 163 MovieClip "point1" in Symbol 327 MovieClip Frame 29
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 164 MovieClip "point2" in Symbol 327 MovieClip Frame 29
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 249 MovieClip "spot2" in Symbol 327 MovieClip Frame 29
onClipEvent (load) {
exitmap = "e2_dungeon6";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 250 MovieClip "spot1" in Symbol 327 MovieClip Frame 29
onClipEvent (load) {
exitmap = "e2_dungeon4";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 251 MovieClip "spot3" in Symbol 327 MovieClip Frame 29
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point3";
functionname = "e2_shop2";
}
Symbol 327 MovieClip Frame 30
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Rain");
_root.arrivalfunction = "e2_waterencounter";
stop();
Instance of Symbol 254 MovieClip "spot2" in Symbol 327 MovieClip Frame 30
onClipEvent (load) {
exitmap = "e2_dungeon7";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 255 MovieClip "spot1" in Symbol 327 MovieClip Frame 30
onClipEvent (load) {
exitmap = "e2_dungeon5";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 256 MovieClip "spot3" in Symbol 327 MovieClip Frame 30
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point3";
functionname = "e2_waterfall";
}
Symbol 327 MovieClip Frame 31
_root.maptitle = "Dungeon Level 2";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 163 MovieClip "point3" in Symbol 327 MovieClip Frame 31
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 259 MovieClip "spot2" in Symbol 327 MovieClip Frame 31
onClipEvent (load) {
exitmap = "e3_dungeon1";
exitpoint = "point1";
nearby = "point3";
functionname = "defaultValue";
}
Instance of Symbol 260 MovieClip "spot1" in Symbol 327 MovieClip Frame 31
onClipEvent (load) {
exitmap = "e2_dungeon6";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 32
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 263 MovieClip "point3" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
nearby[2] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 187 MovieClip "point4" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 264 MovieClip "point5" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 189 MovieClip "point6" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 179 MovieClip "point7" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
nearby[1] = "point8";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 180 MovieClip "point8" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point7";
nearby[1] = "point9";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 181 MovieClip "point9" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
nearby = new array();
nearby[0] = "point8";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 265 MovieClip "spot2" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
exitmap = "e3_dungeon8";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Instance of Symbol 266 MovieClip "spot3" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
exitmap = "e3_dungeon3";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 267 MovieClip "spot1" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
exitmap = "e3_dungeon4";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Instance of Symbol 268 MovieClip "spot4" in Symbol 327 MovieClip Frame 32
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point9";
functionname = "e3_chest";
}
Symbol 327 MovieClip Frame 33
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 165 MovieClip "point3" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 172 MovieClip "point4" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 226 MovieClip "point5" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 188 MovieClip "point7" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 271 MovieClip "spot1" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
exitmap = "e3_dungeon5";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 272 MovieClip "spot2" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
exitmap = "e3_dungeon9";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Instance of Symbol 273 MovieClip "spot3" in Symbol 327 MovieClip Frame 33
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point5";
functionname = "e3_volcano";
}
Symbol 327 MovieClip Frame 34
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 276 MovieClip "point5" in Symbol 327 MovieClip Frame 34
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "e3_vista";
}
Instance of Symbol 277 MovieClip "spot1" in Symbol 327 MovieClip Frame 34
onClipEvent (load) {
exitmap = "e3_dungeon8";
exitpoint = "point7";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 35
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 280 MovieClip "point5" in Symbol 327 MovieClip Frame 35
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
nearby[1] = "point6";
arrivalfunction = "e3_staircase";
}
Instance of Symbol 231 MovieClip "point6" in Symbol 327 MovieClip Frame 35
onClipEvent (load) {
nearby = new array();
nearby[0] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 281 MovieClip "spot1" in Symbol 327 MovieClip Frame 35
onClipEvent (load) {
exitmap = "e3_dungeon4";
exitpoint = "point1";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 282 MovieClip "spot2" in Symbol 327 MovieClip Frame 35
onClipEvent (load) {
exitmap = "e3_dungeon7";
exitpoint = "point1";
nearby = "point6";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 36
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 285 MovieClip "point2" in Symbol 327 MovieClip Frame 36
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "e3_whatthe";
}
Instance of Symbol 167 MovieClip "point5" in Symbol 327 MovieClip Frame 36
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 286 MovieClip "spot1" in Symbol 327 MovieClip Frame 36
onClipEvent (load) {
exitmap = "e3_dungeon1";
exitpoint = "point4";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 287 MovieClip "spot2" in Symbol 327 MovieClip Frame 36
onClipEvent (load) {
exitmap = "e3_dungeon3";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 37
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 164 MovieClip "point2" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 177 MovieClip "point3" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
nearby[2] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 290 MovieClip "point6" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point7";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 188 MovieClip "point7" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
nearby = new array();
nearby[0] = "point6";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 291 MovieClip "spot1" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
exitmap = "e3_dungeon2";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 292 MovieClip "spot2" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
exitmap = "e3_dungeon5";
exitpoint = "point1";
nearby = "point7";
functionname = "defaultValue";
}
Instance of Symbol 293 MovieClip "spot3" in Symbol 327 MovieClip Frame 37
onClipEvent (load) {
exitmap = "e3_dungeon4";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 38
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 296 MovieClip "point2" in Symbol 327 MovieClip Frame 38
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "e3_levelenter";
}
Instance of Symbol 165 MovieClip "point3" in Symbol 327 MovieClip Frame 38
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 187 MovieClip "point4" in Symbol 327 MovieClip Frame 38
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 297 MovieClip "spot2" in Symbol 327 MovieClip Frame 38
onClipEvent (load) {
exitmap = "e3_dungeon2";
exitpoint = "point1";
nearby = "point4";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 39
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 164 MovieClip "point2" in Symbol 327 MovieClip Frame 39
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 300 MovieClip "point4" in Symbol 327 MovieClip Frame 39
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "e3_heyadoor";
}
Instance of Symbol 167 MovieClip "point5" in Symbol 327 MovieClip Frame 39
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 301 MovieClip "spot1" in Symbol 327 MovieClip Frame 39
onClipEvent (load) {
exitmap = "e4_dungeon1";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 302 MovieClip "spot2" in Symbol 327 MovieClip Frame 39
onClipEvent (load) {
exitmap = "e3_dungeon6";
exitpoint = "point6";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 41
_root.maptitle = "Final Level";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e4_dungeonencounter";
stop();
Instance of Symbol 163 MovieClip "point1" in Symbol 327 MovieClip Frame 41
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 305 MovieClip "point2" in Symbol 327 MovieClip Frame 41
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "e4_levelenter";
}
Instance of Symbol 165 MovieClip "point3" in Symbol 327 MovieClip Frame 41
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
nearby[1] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 172 MovieClip "point4" in Symbol 327 MovieClip Frame 41
onClipEvent (load) {
nearby = new array();
nearby[0] = "point3";
nearby[1] = "point5";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 167 MovieClip "point5" in Symbol 327 MovieClip Frame 41
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 306 MovieClip "spot1" in Symbol 327 MovieClip Frame 41
onClipEvent (load) {
exitmap = "e4_dungeon2";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 42
_root.maptitle = "Final Level";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e4_dungeonencounter";
stop();
Instance of Symbol 164 MovieClip "point2" in Symbol 327 MovieClip Frame 42
onClipEvent (load) {
nearby = new array();
nearby[0] = "point1";
nearby[1] = "point3";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 309 MovieClip "spot1" in Symbol 327 MovieClip Frame 42
onClipEvent (load) {
exitmap = "e4_dungeon3";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 310 MovieClip "spot2" in Symbol 327 MovieClip Frame 42
onClipEvent (load) {
exitmap = "e4_dungeon1";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 43
_root.maptitle = "Final Level";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e4_dungeonencounter";
stop();
Instance of Symbol 313 MovieClip "spot2" in Symbol 327 MovieClip Frame 43
onClipEvent (load) {
exitmap = "e4_dungeon4";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 314 MovieClip "spot1" in Symbol 327 MovieClip Frame 43
onClipEvent (load) {
exitmap = "e4_dungeon2";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Symbol 327 MovieClip Frame 44
_root.maptitle = "Dungeon Core";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e0_nothing";
stop();
Instance of Symbol 317 MovieClip "spot1" in Symbol 327 MovieClip Frame 44
onClipEvent (load) {
exitmap = "e4_dungeon3";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 318 MovieClip "spot2" in Symbol 327 MovieClip Frame 44
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point5";
functionname = "defaultValue";
}
Instance of Symbol 86 MovieClip "point1" in Symbol 327 MovieClip Frame 44
onClipEvent (load) {
nearby = new array();
nearby[0] = "point2";
arrivalfunction = "defaultarrival";
}
Instance of Symbol 320 MovieClip "point5" in Symbol 327 MovieClip Frame 44
onClipEvent (load) {
nearby = new array();
nearby[0] = "point4";
arrivalfunction = "e4_equity";
}
Symbol 327 MovieClip Frame 45
_root.maptitle = "Dungeon Level 3";
_root.csmusic.play_music("Final");
_root.arrivalfunction = "e3_dungeonencounter";
stop();
Instance of Symbol 323 MovieClip "spot3" in Symbol 327 MovieClip Frame 45
onClipEvent (load) {
exitmap = "e3_dungeon5";
exitpoint = "point4";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 324 MovieClip "spot2" in Symbol 327 MovieClip Frame 45
onClipEvent (load) {
exitmap = "e3_dungeon3";
exitpoint = "point5";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 325 MovieClip "spot1" in Symbol 327 MovieClip Frame 45
onClipEvent (load) {
exitmap = "e3_dungeon6";
exitpoint = "point1";
nearby = "point1";
functionname = "defaultValue";
}
Instance of Symbol 326 MovieClip "spot4" in Symbol 327 MovieClip Frame 45
onClipEvent (load) {
exitmap = "none";
exitpoint = "point1";
nearby = "point1";
functionname = "e3_waterfall";
}
Instance of Symbol 212 MovieClip "point1" in Symbol 327 MovieClip Frame 45
onClipEvent (load) {
arrivalfunction = "defaultarrival";
}
Symbol 336 Button
on (release) {
this._visible = false;
_root.configbutton._visible = true;
_root.enable_map();
}
Symbol 341 Button
on (release) {
this._visible = false;
_root.config._visible = true;
_root.config._x = 275;
_root.config._y = 200;
}
Symbol 345 Button
on (release) {
_parent.set_focus(this._name);
}
Symbol 358 Button
on (release) {
var whichindex;
var itemstring;
var char;
whichindex = Number(itemfocus.substring(4));
if (whichindex < _root.inventory.length) {
_root.inventory.splice(whichindex, 1);
}
render_inventory();
summary.set_focus(summary.charfocus);
}
Symbol 363 Button
on (release) {
var whichindex;
var itemstring;
var char;
whichindex = Number(itemfocus.substring(4));
if (whichindex < _root.inventory.length) {
itemstring = _root.inventory[whichindex];
char = _root.party[summary.charfocus];
if (itemstring == "Potion") {
char.hp = char.hp + int(char.maxhp * 0.5);
if (char.maxhp < char.hp) {
char.hp = char.maxhp;
}
}
if (itemstring == "PotPill") {
char.pot = char.pot + int(char.maxpot * 0.5);
if (char.maxpot < char.pot) {
char.pot = char.maxpot;
}
}
if (itemstring == "PToken") {
char.fxlist.push(_root.create(_root.PowerUp));
}
if (itemstring == "IToken") {
char.fxlist.push(_root.create(_root.DefenseUp));
}
if (itemstring == "SToken") {
char.fxlist.push(_root.create(_root.StrikeUp));
}
_root.inventory.splice(whichindex, 1);
}
render_inventory();
summary.set_focus(summary.charfocus);
}
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 2
stop();
Symbol 392 MovieClip Frame 3
stop();
Symbol 392 MovieClip Frame 4
stop();
Symbol 392 MovieClip Frame 5
stop();
Symbol 392 MovieClip Frame 6
stop();
Symbol 392 MovieClip Frame 7
stop();
Symbol 393 MovieClip Frame 1
function set_link(char) {
tfHP = (("HP: " + char.hp) + "/") + char.maxhp;
tfPOT = (("POT: " + char.pot) + "/") + char.maxpot;
faces.gotoAndStop(char.name);
tfName = char.name;
fx0.gotoAndStop("None");
fx1.gotoAndStop("None");
fx2.gotoAndStop("None");
fx3.gotoAndStop("None");
var i;
i = 0;
while (i < char.fxlist.length) {
if (i < 4) {
eval ("fx" + i).gotoAndStop(char.fxlist[i].icon);
}
i++;
}
charlink = char;
}
function set_focus(index) {
var ch;
charfocus = index;
ch = _root.party[index];
set_link(ch);
}
charfocus = 0;
charlink = null;
set_focus(0);
stop();
Symbol 394 Button
on (release) {
summary.charfocus++;
if (summary.charfocus == _root.party.length) {
summary.charfocus = 0;
}
summary.set_focus(summary.charfocus);
}
Symbol 395 Button
on (release) {
summary.charfocus--;
if (summary.charfocus < 0) {
summary.charfocus = _root.party.length - 1;
}
summary.set_focus(summary.charfocus);
}
Symbol 396 MovieClip Frame 1
function set_focus(thename) {
var i;
i = 0;
while (i < 8) {
eval ("item" + i).glow._visible = false;
i++;
}
eval (thename).glow._visible = true;
itemfocus = thename;
desc_text();
}
function render_inventory() {
tfGold = "Gold: " + _root.goldcount;
var i;
i = 0;
while (i < 8) {
eval ("item" + i).gotoAndStop("None");
i++;
}
i = 0;
while (i < _root.inventory.length) {
eval ("item" + i).gotoAndStop(_root.inventory[i]);
i++;
}
desc_text();
}
function desc_text() {
var is;
is = _root.inventory[Number(itemfocus.substring(4))];
tfItemDesc = "";
if (is == "Potion") {
tfItemDesc = "<B>Potion</B><BR>Drink this to restore 50% of your HP.";
}
if (is == "PotPill") {
tfItemDesc = "<B>Potency</B><BR>This mild drug restores 50% of your POT count.";
}
if (is == "PToken") {
tfItemDesc = "<B>Power Token</B><BR>Use this to temporarily get a Damage bonus in combat.";
}
if (is == "IToken") {
tfItemDesc = "<B>Iron Token</B><BR>Use this to temporarily get a Defense bonus in combat.";
}
if (is == "SToken") {
tfItemDesc = "<B>Slash Token</B><BR>Use this to temporarily get a Strike bonus in combat.";
}
}
set_focus("item0");
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 3
stop();
Symbol 404 MovieClip Frame 4
stop();
Symbol 405 MovieClip Frame 1
function setCard(cd) {
thevalue = cd.value;
thesuit.gotoAndStop(cd.suit);
}
stop();
Symbol 406 MovieClip Frame 1
function setCard(cd) {
thevalue = cd.value;
thesuit.gotoAndStop(cd.suit);
}
stop();
Symbol 408 Button
on (release) {
buttonclicked = 1;
play();
}
Symbol 411 MovieClip Frame 1
if (buttonclicked == 1) {
_root.config.update_stats();
buttonclicked = 0;
}
stop();
Symbol 411 MovieClip Frame 2
if (buttonclicked == 1) {
_root.config.update_stats();
buttonclicked = 0;
}
stop();
Symbol 411 MovieClip Frame 3
if (buttonclicked == 1) {
_root.config.update_stats();
buttonclicked = 0;
}
stop();
Symbol 412 MovieClip Frame 1
if (buttonclicked == 1) {
_root.config.update_stats();
buttonclicked = 0;
}
stop();
Symbol 412 MovieClip Frame 2
if (buttonclicked == 1) {
_root.config.update_stats();
buttonclicked = 0;
}
stop();
Symbol 412 MovieClip Frame 3
if (buttonclicked == 1) {
_root.config.update_stats();
buttonclicked = 0;
}
stop();
Symbol 413 MovieClip Frame 1
stop();
Symbol 424 Button
on (release) {
focus++;
if (focus >= _root.party.length) {
focus = 0;
}
load_char(focus);
}
Symbol 425 Button
on (release) {
focus--;
if (focus < 0) {
focus = _root.party.length - 1;
}
load_char(focus);
}
Symbol 430 Button
on (release) {
this._visible = false;
_root.itemscreen._visible = true;
_root.itemscreen._x = 275;
_root.itemscreen._y = 200;
_root.itemscreen.render_inventory();
_root.itemscreen.summary.set_focus(_root.itemscreen.summary.charfocus);
}
Symbol 431 Button
on (release) {
this._visible = false;
_root.enable_map();
_root.configbutton._visible = true;
}
Symbol 432 MovieClip Frame 1
function update_stats() {
var char;
char = _root.party[focus];
var i;
i = 0;
while (i < 8) {
char.cardlist[i].usage = eval ("cards.type" + i)._currentframe;
i++;
}
char.calc_primaries();
char.calc_secondaries();
write_stats();
}
function load_char(foc) {
var char;
char = _root.party[foc];
tfCharName = char.name;
suit.gotoAndStop(char.trump);
var i;
i = 0;
while (i < 8) {
eval ("cards.card" + i).thevalue = char.cardlist[i].value;
eval ("cards.card" + i).thesuit.gotoAndStop(char.cardlist[i].suit);
eval ("cards.type" + i).gotoAndStop(char.cardlist[i].usage);
i++;
}
write_stats();
}
function write_stats() {
var char;
char = _root.party[focus];
tfStrike = "Strike: " + char.strike;
tfDamage = "Damage: " + char.damage;
tfDefense = "Defense: " + char.defense;
tfBravado = "Bravado: " + char.bravado;
tfSteadfast = "Steadfast: " + char.steadfast;
tfInitiative = "Initiative: " + char.initiative;
tfLevel = "Level: " + char.level;
tfHP = (("HP: " + char.hp) + "/") + char.maxhp;
tfPOT = (("POT: " + char.pot) + "/") + char.maxpot;
var i;
i = 0;
while (i < 8) {
if (char.cardlist[i].suit == char.trump) {
if (char.cardlist[i].usage == 1) {
tfStrike = tfStrike + "*";
}
if (char.cardlist[i].usage == 2) {
tfDamage = tfDamage + "*";
}
if (char.cardlist[i].usage == 3) {
tfDefense = tfDefense + "*";
}
}
i++;
}
}
focus = 0;
stop();
Symbol 433 Button
on (release) {
this._visible = false;
_root.disable_map();
_root.config._visible = true;
_root.config._x = 275;
_root.config._y = 200;
_root.config.load_char(_root.config.focus);
}
Symbol 436 MovieClip Frame 1
function cspicture(p) {
_root.cspicture._visible = true;
if (p == null) {
_root.cspicture._visible = false;
}
_root.cspicture.gotoAndStop(p);
}
function cstext(ti, te) {
trace("Actually inside cstext.");
_root.cstext.backdrop._visible = true;
_root.cstext.set_title(ti);
_root.cstext.set_text(te);
if ((ti == null) && (te == null)) {
_root.cstext.backdrop._visible = false;
_root.cstext.set_title("");
_root.cstext.set_text("");
}
}
function csfigure(l, r) {
trace("Actually inside csfigure.");
_root.figurel._visible = true;
_root.figurer._visible = true;
if (l == null) {
_root.figurel._visible = false;
}
if (r == null) {
_root.figurer._visible = false;
}
_root.figurel.gotoAndStop(l);
_root.figurer.gotoAndStop(r);
}
function csssong(s) {
_root.csmusic.play_music(s);
}
function cssound(s) {
_root.cssound.play_sound(s);
}
function csencounter(monsters) {
trace("Enc size before: " + _root.enc.length);
var z;
z = 0;
while (z < monsters.length) {
_root.enc.push(_root.create(monsters[z]));
z++;
}
trace("Enc size after: " + _root.enc.length);
trace("Monster 1: " + _root.enc[0].name);
}
function cscombat(motif, rok) {
var z;
z = 0;
while (z < _root.party.length) {
_root.enc.push(_root.party[z]);
z++;
}
_root.encmotif = motif;
_root.retreatok = rok;
}
function csdone() {
}
function csoption(txt, func) {
_root.options.names.push(txt);
_root.options.funcs.push(func);
}
function csoptionselect() {
var z;
z = 0;
while (z < _root.options.names.length) {
eval ("_root.opt" + (z + 1)).setText(_root.options.names[z]);
eval ("_root.opt" + (z + 1)).setFunc(_root.options.funcs[z]);
eval ("_root.opt" + (z + 1))._visible = true;
z++;
}
}
Symbol 436 MovieClip Frame 2
stop();
Symbol 436 MovieClip Frame 3
var leftforreason;
_root.disable_map();
leftforreason = 0;
_root.cstext._visible = false;
while (0 < _root.csmanager.list.length) {
var x;
var y;
var z;
x = _root.csmanager.list.shift();
y = _root.csmanager.arg1.shift();
z = _root.csmanager.arg2.shift();
trace((((x + ",") + y) + ",") + z);
trace("Left in list,arg1,arg2:" + _root.csmanager.list.length);
eval (x)(y, z);
if (x.substr(0, 3) == "cst") {
leftforreason = 1;
break;
}
if (x.substr(0, 3) == "csc") {
leftforreason = 2;
break;
}
if (x == "csoptionselect") {
trace("Leaving via optionselect");
leftforreason = 3;
break;
}
if (x.substr(0, 3) == "csd") {
leftforreason = 4;
break;
}
}
if (leftforreason == 4) {
_root.gotoEnd();
}
if ((leftforreason == 1) || (leftforreason == 3)) {
_root.cstext._visible = true;
_root.choicebackdrop._visible = false;
if (leftforreason == 3) {
_root.cstext._visible = false;
_root.choicebackdrop._visible = true;
}
play();
} else {
_root.cstext._visible = false;
_root.choicebackdrop._visible = false;
_root.enable_map();
_root.configbutton._visible = true;
gotoAndStop (2);
}
if (leftforreason == 2) {
_root.gotoCombat();
}
Symbol 436 MovieClip Frame 4
stop();
Symbol 443 MovieClip Frame 1
function play_music(title) {
if (title == null) {
stopAllSounds();
musicplaying == null;
}
if (title != musicplaying) {
stopAllSounds();
gotoAndPlay(title);
musicplaying = title;
}
}
stop();
musicplaying = null;
Symbol 443 MovieClip Frame 2
stop();
Symbol 443 MovieClip Frame 3
stop();
Symbol 443 MovieClip Frame 4
stop();
Symbol 443 MovieClip Frame 5
stop();
Symbol 443 MovieClip Frame 6
stop();
Symbol 445 MovieClip Frame 1
function play_sound(title) {
gotoAndPlay(title);
}
stop();
Symbol 445 MovieClip Frame 2
gotoAndPlay (1);
Symbol 445 MovieClip Frame 3
gotoAndPlay (1);
Symbol 445 MovieClip Frame 4
gotoAndPlay (1);
Symbol 479 Button
on (release) {
_root.csmanagerplayer.gotoAndPlay(3);
}
Symbol 480 MovieClip Frame 1
function set_title(ti) {
tfTitle = ti;
}
function set_text(te) {
tfText = te;
}
Symbol 483 Button
on (release) {
eval ("_root." + myFunction)();
_root.opt1._visible = false;
_root.opt2._visible = false;
_root.opt3._visible = false;
var y;
var z;
z = _root.options.names.length;
y = 0;
while (y < z) {
_root.options.names.pop();
_root.options.funcs.pop();
y++;
}
_root.csf(null, null);
_root.csp(null);
_root.csmanagerplayer.gotoAndPlay(3);
}
Symbol 484 MovieClip Frame 1
function setText(txt) {
tfText = txt;
}
function setFunc(func) {
myFunction = func;
}
myFunction = "";
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 11
gotoAndStop (1);
Symbol 614 MovieClip Frame 21
gotoAndStop (1);
Symbol 614 MovieClip Frame 32
gotoAndStop (1);
Symbol 614 MovieClip Frame 49
gotoAndStop (1);
Symbol 614 MovieClip Frame 60
gotoAndStop (1);
Symbol 614 MovieClip Frame 70
gotoAndStop (1);
Symbol 614 MovieClip Frame 79
gotoAndStop (1);
Symbol 614 MovieClip Frame 90
gotoAndStop (1);
Symbol 615 MovieClip Frame 1
function set_pawn(l) {
trace("Setting a pawn to: " + l.name);
this.link = l;
this._visible = true;
if (l == null) {
this._visible = false;
}
if (l != null) {
icon.gotoAndStop(this.link.name + "Ready");
}
}
function set_flash(color, pulse) {
gotoAndPlay(color);
pulsemode = pulse;
}
function set_message(msg) {
tempmessage.set_message(msg);
}
function set_flare(fl) {
flare.gotoAndPlay(fl);
}
function flip() {
this._xscale = this._xscale * -1;
tempmessage._xscale = tempmessage._xscale * -1;
fxicon._xscale = fxicon._xscale * -1;
}
function set_fxicon(i) {
fxicon.gotoAndStop(i);
}
pulsemode = false;
stop();
Symbol 615 MovieClip Frame 12
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 615 MovieClip Frame 23
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 615 MovieClip Frame 34
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 615 MovieClip Frame 45
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 615 MovieClip Frame 56
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 615 MovieClip Frame 67
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 615 MovieClip Frame 81
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 1
function set_pawn(l) {
trace("Setting a pawn to: " + l.name);
this.link = l;
this._visible = true;
if (l == null) {
this._visible = false;
}
if (l != null) {
icon.gotoAndStop(this.link.name + "Ready");
}
}
function set_flash(color, pulse) {
gotoAndPlay(color);
pulsemode = pulse;
}
function set_message(msg) {
tempmessage.set_message(msg);
}
function set_flare(fl) {
flare.gotoAndPlay(fl);
}
function flip() {
this._xscale = this._xscale * -1;
tempmessage._xscale = tempmessage._xscale * -1;
fxicon._xscale = fxicon._xscale * -1;
}
function set_fxicon(i) {
fxicon.gotoAndStop(i);
}
pulsemode = false;
stop();
Symbol 616 MovieClip Frame 12
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 23
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 34
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 45
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 56
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 67
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 616 MovieClip Frame 81
if (pulsemode == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (68);
}
Symbol 621 MovieClip Frame 1
function set_message(msg) {
this.tfValue = msg;
gotoAndPlay (3);
}
tfValue = "";
Symbol 621 MovieClip Frame 2
stop();
Symbol 621 MovieClip Frame 17
gotoAndPlay (1);
Symbol 622 MovieClip Frame 1
function positionover(char, centerpoint) {
var i;
i = 0;
while (i < 10) {
if (eval ("pawn" + i).link == char) {
var x;
x = eval ("pawn" + i)._x;
_x = (centerpoint - x);
message._x = eval ("pawn" + i)._x;
}
i++;
}
}
var i;
i = 0;
while (i < 10) {
eval ("pawn" + i)._visible = false;
eval ("pawn" + i)._y = 50;
i++;
}
Symbol 631 MovieClip Frame 1
function set_text(title, text) {
tfName = title;
tfDesc = text;
}
stop();
Symbol 631 MovieClip Frame 2
stop();
Symbol 631 MovieClip Frame 3
stop();
Symbol 632 Button
on (release) {
change(1);
}
Symbol 633 Button
on (release) {
change(-1);
}
Symbol 634 MovieClip Frame 1
function change(direction) {
var char;
char = _root.summary.charlink;
trace("Inside change.");
trace("_root.summary.charlink: " + _root.summary.charlink.name);
var i;
var indx;
i = 0;
while (i < _root.enc.length) {
if (_root.enc[i] == char) {
indx = i;
}
i++;
}
do {
indx = indx + direction;
if (indx < 0) {
indx = _root.enc.length - 1;
}
if (indx == _root.enc.length) {
indx = 0;
}
var ttype;
ttype = _root.enc[_root.atchar].attacklist[_root.atmove].target;
if (((ttype == "Friend") && (_root.enc[indx].isfriend == 1)) && (_root.enc[indx].isdown == 0)) {
break;
}
} while (!(((ttype == "Enemy") && (_root.enc[indx].isfriend == 0)) && (_root.enc[indx].isdown == 0)));
_root.summary.set_link(_root.enc[indx]);
_root.window.positionover(_root.enc[indx], 400);
}
Symbol 636 MovieClip Frame 1
function set_text(title, text) {
tfName = title;
tfDesc = text;
}
stop();
Symbol 636 MovieClip Frame 2
stop();
Symbol 636 MovieClip Frame 3
stop();
Symbol 639 Button
on (release) {
next_move(-1, 1, 1);
}
Symbol 642 Button
on (release) {
if (0 < _root.inventory.length) {
next_move(-1, 2, 1);
}
}
Symbol 645 Button
on (release) {
next_move(-1, 3, 1);
}
Symbol 648 Button
on (release) {
next_move(atmove, atcolumn, 1);
}
Symbol 649 Button
on (release) {
next_move(atmove, atcolumn, -1);
}
Symbol 650 Button
on (release) {
enc[atchar].intention = atmove;
var i;
if ((enc[atchar].attacklist[enc[atchar].intention].target == "Friend") || (enc[atchar].attacklist[enc[atchar].intention].target == "Enemy")) {
i = 0;
while (i < enc.length) {
if (summary.charlink == enc[i]) {
enc[atchar].target = enc[i];
}
i++;
}
}
if (enc[atchar].attacklist[enc[atchar].intention].target == "Self") {
enc[atchar].target = enc[atchar];
}
if (enc[atchar].attacklist[enc[atchar].intention].target == "AllFriend") {
enc[atchar].target = new Array();
i = 0;
while (i < enc.length) {
if (enc[i].isfriend == 1) {
enc[atchar].target.push(enc[i]);
}
i++;
}
}
if (enc[atchar].attacklist[enc[atchar].intention].target == "AllEnemy") {
enc[atchar].target = new Array();
i = 0;
while (i < enc.length) {
if (enc[i].isfriend == 0) {
enc[atchar].target.push(enc[i]);
}
i++;
}
}
enc[atchar].attacklist[enc[atchar].intention].on_select(enc[atchar], enc[atchar].target);
if (next_char() == false) {
play();
}
}
Symbol 653 MovieClip Frame 1
function combatmove(char, dist, userun) {
trace("Combatmove");
_root.window.positionover(char, 275);
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
distanceleft = dist;
running = userun;
if (userun == 1) {
pawnfocus.icon.gotoAndStop(char.name + "Run");
}
gotoAndPlay (2);
}
function combatmessage(msg) {
trace("Combatmessage");
_root.window.message.set_message(msg);
gotoAndPlay (4);
}
function combatfx(char, icon) {
trace("Combatfx");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
pawnfocus.set_fxicon(icon);
_root.window.message.set_message(icon + " Effect");
gotoAndPlay (4);
}
function combatzero(char) {
trace("CombatZero");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
_root.window.message.set_message("Zero HP!");
pawnfocus.set_flash("red", true);
gotoAndPlay (4);
}
function combatzerohit(char, graphics, die) {
trace("CombatZeroHit");
flag = die;
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
pawnfocus.icon.gotoAndStop(char.name + "Hit");
pawnfocus.set_flash("red", true);
pawnfocus.set_flare(graphics);
gotoAndPlay (14);
}
function combathit(char, damage, graphics) {
trace("CombatHit");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
pawnfocus.icon.gotoAndStop(char.name + "Hit");
pawnfocus.set_flash("white", pawnfocus.pulsemode);
_root.window.message.set_message(damage + " Damage");
pawnfocus.set_flare(graphics);
gotoAndPlay (4);
}
function combatanim(char, frame, msg) {
trace("CombatAnim");
_root.window.message.set_message(msg);
_root.animwindow._visible = true;
_root.animwindow.gotoAndPlay(frame);
if (char.attacklist[char.intention].form == "Rush") {
_root.animwindow.lines._visible = true;
} else {
_root.animwindow.lines._visible = false;
}
stop();
}
function combatflash(char, color, pulse) {
trace("CombatFlash");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
pawnfocus.set_flash(color, pulse);
gotoAndPlay (4);
}
function combatguard(char) {
trace("CombatGuard");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
pawnfocus.icon.gotoAndStop(char.name + "Guard");
_root.window.message.set_message("Guard");
gotoAndPlay (4);
}
function combatmiss(char) {
trace("CombatMiss");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
_root.window.positionover(char, 275);
pawnfocus.icon.gotoAndStop(char.name + "Miss");
pawnfocus.set_flash("yellow", pawnfocus.pulsemode);
_root.window.message.set_message("MISS!");
var s;
s = new Sound();
s.attachsound("Missed");
s.start();
delete s;
gotoAndPlay (4);
}
function combatremove(char) {
trace("CombatRemove");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
pawnfocus._visible = false;
_root.continue_process();
}
function combatimmediatemove(char, dist) {
trace("CombatImmediateMove");
var i;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == char) {
pawnfocus = eval ("_root.window.pawn" + i);
}
i++;
}
pawnfocus._x = pawnfocus._x + dist;
_root.window.positionover(pawnfocus.link, 275);
_root.continue_process();
}
function combatwindow(char) {
trace("CombatWindow");
_root.window.positionover(char, 275);
_root.continue_process();
}
function combatfacing(a, t) {
trace("CombatFacing");
var i;
var apawn;
var tpawn;
i = 0;
while (i < 10) {
if (eval ("_root.window.pawn" + i).link == a) {
apawn = eval ("_root.window.pawn" + i);
}
if (eval ("_root.window.pawn" + i).link == t) {
tpawn = eval ("_root.window.pawn" + i);
}
i++;
}
if ((apawn._x < tpawn._x) != (0 < apawn._xscale)) {
apawn.flip();
}
if ((apawn._x < tpawn._x) != (tpawn._xscale < 0)) {
tpawn.flip();
}
_root.continue_process();
}
pawnfocus = null;
distanceleft = 0;
flag = 0;
running = 0;
stop();
Symbol 653 MovieClip Frame 2
if (0 < distanceleft) {
distanceleft = distanceleft - 14;
pawnfocus._x = pawnfocus._x + 14;
} else {
distanceleft = distanceleft + 14;
pawnfocus._x = pawnfocus._x - 14;
}
_root.window.positionover(pawnfocus.link, 275);
if (Math.abs(distanceleft) < 14) {
if (0 < distanceleft) {
pawnfocus._x = pawnfocus._x + distanceleft;
} else {
pawnfocus._x = pawnfocus._x - distanceleft;
}
pawnfocus.icon.gotoAndStop(pawnfocus.link.name + "Ready");
_root.continue_process();
gotoAndPlay (1);
}
if (flag == 0) {
flag = 1;
s = new Sound();
s.attachSound("Move");
s.start();
}
Symbol 653 MovieClip Frame 3
gotoAndPlay (2);
Symbol 653 MovieClip Frame 13
pawnfocus.icon.gotoAndStop(pawnfocus.link.name + "Ready");
pawnfocus.set_fxicon("None");
_root.continue_process();
gotoAndPlay (1);
Symbol 653 MovieClip Frame 21
if (flag == 1) {
pawnfocus.icon.gotoAndStop(pawnfocus.link.name + "Ready");
_root.window.message.set_message("SURVIVED!");
_root.continue_process();
gotoAndPlay (1);
}
if (flag == 0) {
pawnfocus.icon.gotoAndStop(pawnfocus.link.name + "Down");
_root.window.message.set_message("DOWN!");
}
Symbol 653 MovieClip Frame 22
pawnfocus._y = pawnfocus._y + 5;
var i;
var noendscene;
noendscene = false;
i = 0;
while (i < _root.combatanims.length) {
if (((_root.combatanims[i] == "combathit") || (_root.combatanims[i] == "combatzerohit")) || (_root.combatanims[i] == "combatmiss")) {
noendscene = true;
}
i++;
}
if (noendscene == false) {
var j;
j = 0;
while (j < _root.enc.length) {
if ((_root.enc[j].isdown == 0) && (_root.enc[j].isfriend == 0)) {
noendscene = true;
}
j++;
}
}
if ((pawnfocus.link.isfriend == 0) && (noendscene == false)) {
stopAllSounds();
var s;
s = new Sound();
s.attachSound("Creation");
s.start(0, 500);
delete s;
} else {
var s;
s = new Sound();
s.attachsound("Downed");
s.start();
delete s;
}
Symbol 653 MovieClip Frame 23
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 24
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 25
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 26
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 27
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 28
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 29
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 30
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 31
pawnfocus._y = pawnfocus._y + 5;
Symbol 653 MovieClip Frame 32
pawnfocus._y = pawnfocus._y + 5;
_root.continue_process();
gotoAndPlay (1);
Symbol 720 MovieClip Frame 1
stop();
Symbol 720 MovieClip Frame 14
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 27
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 40
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 53
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 74
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 75
var randomroll;
randomroll = random(2);
if (randomroll == 0) {
gotoAndPlay (76);
} else {
gotoAndPlay (89);
}
Symbol 720 MovieClip Frame 88
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 101
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 102
var randomroll;
randomroll = random(3);
if (randomroll == 0) {
gotoAndPlay (103);
}
if (randomroll == 1) {
gotoAndPlay (116);
}
if (randomroll == 2) {
gotoAndPlay (129);
}
Symbol 720 MovieClip Frame 115
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 128
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 141
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 154
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 167
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 180
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 193
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 206
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 219
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 232
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 245
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 258
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 271
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 284
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 297
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 310
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 323
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 336
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 349
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 350
if (random(2) == 0) {
gotoAndPlay (363);
}
Symbol 720 MovieClip Frame 362
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 375
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 388
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 401
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 414
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 427
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 440
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 453
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 466
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 479
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 492
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 505
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 518
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 531
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 544
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 557
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 570
_root.continue_process();
stop();
Symbol 720 MovieClip Frame 583
_root.continue_process();
stop();
Symbol 730 Button
on (release) {
_root.yesbutton._visible = false;
_root.nobutton._visible = false;
_root.exitbutton._visible = true;
_root.tfGamble = "Here is your new card.";
_root.card1.thevalue = random(6) + 3;
_root.card1.thesuit.gotoAndStop(random(4) + 1);
_root.mvp.cardlist[_root.mvpcard].value = _root.card1.thevalue;
_root.mvp.cardlist[_root.mvpcard].suit = _root.card1.thesuit._currentframe;
_root.mvp.calc_primaries();
_root.mvp.calc_secondaries();
}
Symbol 735 Button
on (release) {
_root.card1._visible = false;
tfGamble = "";
_root.yesbutton._visible = false;
_root.nobutton._visible = false;
_root.exitbutton._visible = true;
}
Symbol 737 Button
on (release) {
if (_root.friendsdead != 1) {
_root.gotoTraverse();
}
if (_root.friendsdead == 1) {
_root.gotoBeginning();
}
}