Frame 1
mochi.as2.MochiAd.showPreGameAd({id:"1c8dc059c688df01", res:"550x400"});
Frame 2
stop();
Frame 3
var _mochiads_game_id = "8ba53e5d63bd23f5";
bcount = 0;
dcount = 0;
enemyCount = 0;
_root.charname = "Billy";
_root.jewelslot.gotoAndStop(1);
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 0;
_root.jewwil = 0;
_root.jewarm = 0;
_root.bdy = 1;
_root.arm = 0;
_root.rep = 50;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.armarm = 1;
_root.blockrating = 0;
_root.armorslot.gotoAndStop(5);
_root.headslot.gotoAndStop(1);
_root.head = 1;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 0;
_root.headwil = 0;
_root.headarm = 0;
_root.wpnslot.gotoAndStop(4);
_root.dmgmin = 1;
_root.dmgmax = 3;
_root.dmgtype = 2;
_root.critical = 0;
_root.criticalhitting = false;
_root.dmgrangemin = 0;
_root.dmgrangemax = 0;
_root.dmgrangetype = 0;
_root.strdmg = 0;
_root.attspeed = 15;
_root.magattspeed = 5;
_root.wpn = 1;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.wpnrange = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.rangeammo = " ";
_root.shislot.gotoAndStop(13);
_root.shi = 1;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 5;
_root.shiblock = 1;
_root.movespd = 6;
_root.moving = false;
_root.attacking = false;
_root.defending = false;
_root.dir = "L";
_root.str = 5;
_root.agi = 5;
_root.bg.gotoAndStop(1);
_root.end = 5;
_root.wil = 5;
_root.gold = 10;
_root.hpmax = ((((_root.end + _root.armend) + _root.headend) + _root.wpnend) + _root.jewend) * 2;
_root.hp = _root.hpmax;
_root.lvl = 1;
_root.spnt = 3;
_root.xpneed = 200;
_root.xp = 0;
var timer = 0;
var sectimer = 0;
var tiptimer = 0;
_root.maintip._visible = false;
_root.hudeverything.journa = " ";
_root.chatperson = 0;
_root.shop = false;
_root.shoptab._visible = false;
_root.shoptab.stop();
_root.help._visible = false;
_root.chat._visible = false;
_root.main.tip._visible = false;
_root.quest1 = 13;
_root.quest2 = 1;
_root.quest3 = 1;
_root.quest4 = 1;
_root.quest5 = 1;
_root.quest6 = 1;
_root.quest7 = 1;
_root.quest8 = 1;
_root.quest9 = 1;
_root.quest10 = 1;
_root.quest11 = 1;
_root.quest12 = 1;
_root.crate0 = false;
_root.keg0 = false;
_root.chest0 = false;
_root.chest1 = false;
_root.chest2 = false;
_root.chest3 = false;
_root.chest4 = false;
_root.chest5 = false;
_root.chest6 = false;
_root.chest7 = false;
_root.foodheal = 0;
_root.foodtimer = 0;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 0;
_root.savechat = false;
_root.savename1 = "No Data";
_root.savetab.name1 = "No Data";
_root.savename2 = "No Data";
_root.savetab.name2 = "No Data";
_root.savetab._visible = false;
_root.loadtab._visible = false;
_root.menuon = true;
_root.soundplay = "none";
_root.area = "menu";
_root.areaswitch = "menu";
_root.tracknum = 1;
_root.trackswitch = 0;
_quality = "HIGH";
_root.soundoff = false;
_root.hudeverything.s1.gotoAndStop(1);
_root.hudeverything.s2.gotoAndStop(1);
_root.hudeverything.s3.gotoAndStop(1);
_root.hudeverything.s4.gotoAndStop(1);
_root.hudeverything.s5.gotoAndStop(1);
_root.hudeverything.s6.gotoAndStop(1);
_root.hudeverything.s7.gotoAndStop(1);
_root.hudeverything.s8.gotoAndStop(1);
_root.hudeverything.s9.gotoAndStop(1);
_root.hudeverything.s10.gotoAndStop(1);
_root.hudeverything.s11.gotoAndStop(1);
_root.hudeverything.s12.gotoAndStop(1);
_root.hudeverything.s13.gotoAndStop(1);
_root.hudeverything.s14.gotoAndStop(1);
_root.hudeverything.s15.gotoAndStop(1);
_root.hudeverything.s16.gotoAndStop(1);
_root.hudeverything.s17.gotoAndStop(1);
_root.hudeverything.s18.gotoAndStop(1);
_root.hudeverything.s19.gotoAndStop(1);
_root.hudeverything.s20.gotoAndStop(1);
rearrangeinventory = function () {
var _local3 = 1;
while (_local3 < 19) {
var _local4 = "s" + _local3;
var _local2 = "s" + (_local3 + 1);
if ((_root.hudeverything[_local4]._currentframe == 1) && (_root.hudeverything[_local2]._currentframe != 1)) {
_root.hudeverything[_local4].stacknum = _root.hudeverything[_local2].stacknum;
_root.hudeverything[_local4].gotoAndStop(_root.hudeverything[_local2]._currentframe);
_root.hudeverything[_local2].gotoAndStop(1);
}
_local3++;
}
};
musiccontroller.onEnterFrame = function () {
if (_root.soundoff == false) {
_root.soundplay = ("track" + _root.area) + _root.tracknum;
if (_root.area != _root.areaswitch) {
_root.trackswitch = _root.trackswitch - 2;
if (_root.trackswitch >= 60) {
global_sound.setVolume(_root.trackswitch - 60);
} else if (_root.trackswitch <= 0) {
stopBGSongs();
_root.tracknum = 1;
_root.area = _root.areaswitch;
global_sound.setVolume(40);
}
}
if (_root.area == "menu") {
tracktravel2.start(0, 999999);
} else if (_root.area == "travel") {
if (_root.tracknum == 3) {
tracktravel2.start(0, 999999);
tracktravel2.onSoundComplete = function () {
stopBGSongs();
_root.tracknum = 1;
};
} else if (_root.tracknum == 2) {
tracktown5.start(0, 999999);
tracktown5.onSoundComplete = function () {
stopBGSongs();
_root.tracknum = 3;
};
} else if (_root.tracknum == 1) {
tracktown1.start(0, 999999);
tracktown1.onSoundComplete = function () {
stopBGSongs();
_root.tracknum = 2;
};
}
} else if (_root.area == "enemy") {
if (_root.tracknum == 2) {
trackenemy2.start(0, 999999);
trackenemy2.onSoundComplete = function () {
stopBGSongs();
_root.tracknum = 1;
};
} else if (_root.tracknum == 1) {
trackenemy3.start(0, 999999);
trackenemy3.onSoundComplete = function () {
stopBGSongs();
_root.tracknum = 2;
};
}
}
}
};
stopBGSongs = function () {
tracktravel2.stop();
tracktown5.stop();
tracktown1.stop();
trackenemy2.stop();
trackenemy3.stop();
};
shootbow = function () {
var _local5 = "bullet" + bcount;
_root.bg.projlayer.attachMovie("range1", _local5, bcount);
_root.bg.projlayer[_local5]._x = _root.hero._x;
_root.bg.projlayer[_local5]._y = _root.hero._y - 40;
_root.bg.projlayer[_local5].ymax = _root.hero._y;
if (_root.dir == "R") {
_root.bg.projlayer[_local5]._rotation = 90;
_root.bg.projlayer[_local5].dx = 20;
} else {
_root.bg.projlayer[_local5]._rotation = -90;
_root.bg.projlayer[_local5].dx = -20;
}
_root.bg.projlayer[_local5].dy = -3;
_root.bg.projlayer[_local5].onEnterFrame = function () {
this.dy = this.dy + 0.75;
this._x = this._x + this.dx;
this._y = this._y + this.dy;
if ((((this._x < -50) || (this._x > 600)) || (this._y < -50)) || (this._y > this.ymax)) {
this.removeMovieClip();
}
var _local4 = 0;
while (_local4 < 10) {
var _local3 = "enemy" + _local4;
if (this.hitTest(_root.bg.enemylayer[_local3]) && (_root.bg.enemylayer[_local3].hits > 0)) {
effect("impact0", this._x, this._y);
_root.bg.enemylayer[_local3].attacked = true;
_root.bg.enemylayer[_local3].hits = _root.bg.enemylayer[_local3].hits - _root.dmggen3;
damagethingy("dmgtxtshow", this._x, this._y, _root.dmggen3);
this.removeMovieClip();
}
_local4++;
}
};
bcount++;
bcount = bcount % 10;
};
shootmagic = function () {
var _local5 = "bullet" + bcount;
_root.bg.projlayer.attachMovie("range2", _local5, bcount);
_root.bg.projlayer[_local5]._x = _root.hero._x;
_root.bg.projlayer[_local5]._y = _root.hero._y - 30;
_root.bg.projlayer[_local5].ymax = _root.hero._y;
_root.bg.projlayer[_local5].gotoAndStop(_root.wpnrange);
if (_root.dir == "R") {
_root.bg.projlayer[_local5]._rotation = 90;
_root.bg.projlayer[_local5].dx = 12;
_root.bg.projlayer[_local5]._x = _root.bg.projlayer[_local5]._x + 20;
} else {
_root.bg.projlayer[_local5]._rotation = -90;
_root.bg.projlayer[_local5].dx = -12;
_root.bg.projlayer[_local5]._x = _root.bg.projlayer[_local5]._x - 20;
}
_root.bg.projlayer[_local5].dy = (random(10) - 10) * -0.1;
_root.bg.projlayer[_local5].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
if ((((this._x < -50) || (this._x > 600)) || (this._y < -50)) || (this._y > this.ymax)) {
this.removeMovieClip();
}
var _local4 = 0;
while (_local4 < 10) {
var _local3 = "enemy" + _local4;
if (this.hitTest(_root.bg.enemylayer[_local3]) && (_root.bg.enemylayer[_local3].hits > 0)) {
effect("impact" + _root.wpnrange, this._x, this._y);
_root.bg.enemylayer[_local3].attacked = true;
_root.bg.enemylayer[_local3].hits = _root.bg.enemylayer[_local3].hits - _root.dmggen3;
damagethingy("dmgtxtshow", this._x, this._y, _root.dmggen3);
this.removeMovieClip();
}
_local4++;
}
};
bcount++;
bcount = bcount % 10;
};
damagethingy = function (type, x, y, dmg) {
var _local3 = "dmgtxt" + dcount;
_root.dmgtxtlayer.attachMovie(type, _local3, dcount);
_root.dmgtxtlayer[_local3]._x = x;
_root.dmgtxtlayer[_local3]._y = y;
_root.dmgtxtlayer[_local3].dmgtxt = dmg;
_root.dmgtxtlayer[_local3].dmgtxt2 = dmg;
_root.dmgtxtlayer[_local3].dy = random(8) + 8;
_root.dmgtxtlayer[_local3].dy2 = _root.dmgtxtlayer[_local3].dy;
_root.dmgtxtlayer[_local3].onEnterFrame = function () {
this._y = this._y - this.dy;
this.dy = this.dy * 0.8;
this._alpha = (this.dy / this.dy2) * 100;
if (this.dy <= 0.5) {
this.removeMovieClip();
}
};
dcount++;
dcount = dcount % 30;
};
effect = function (type, x, y) {
var _local3 = "bullet" + bcount;
_root.bg.projlayer.attachMovie(type, _local3, bcount);
_root.bg.projlayer[_local3]._x = x;
_root.bg.projlayer[_local3]._y = y;
_root.bg.projlayer[_local3].onEnterFrame = function () {
if ((((this._x < -50) || (this._x > 600)) || (this._y < -50)) || (this._y > this.ymax)) {
this.removeMovieClip();
}
};
bcount++;
bcount = bcount % 10;
};
var onepress = true;
var cursorhide = 100;
onMouseMove = function () {
cursorhide = 100;
};
onMouseDown = function () {
cursorhide = 100;
};
hero.onEnterFrame = function () {
if (cursorhide > 0) {
cursorhide--;
_root.cursor._visible = true;
} else {
_root.cursor._visible = false;
}
if (Key.isDown(16) == false) {
onepress = true;
}
if (Key.isDown(16) && (onepress == true)) {
if (_root.hudeverything._visible == false) {
_root.hudeverything._visible = true;
onepress = false;
} else {
if (_root.help._visible == true) {
_root.help._visible = false;
_root.menuon = false;
}
_root.hudeverything._visible = false;
onepress = false;
}
}
_root.cursor._x = _xmouse;
_root.cursor._y = _ymouse;
Mouse.hide();
if (_root.menuon == false) {
_root.hudeverything.q1.gotoAndStop(_root.quest1);
_root.hudeverything.q2.gotoAndStop(_root.quest2);
_root.hudeverything.q3.gotoAndStop(_root.quest3);
_root.hudeverything.q4.gotoAndStop(_root.quest4);
_root.hudeverything.q5.gotoAndStop(_root.quest5);
_root.hudeverything.q6.gotoAndStop(_root.quest6);
_root.hudeverything.q7.gotoAndStop(_root.quest7);
_root.hudeverything.q8.gotoAndStop(_root.quest8);
_root.hudeverything.q9.gotoAndStop(_root.quest9);
_root.hudeverything.q10.gotoAndStop(_root.quest10);
_root.hudeverything.q11.gotoAndStop(_root.quest11);
_root.hudeverything.q12.gotoAndStop(_root.quest12);
if ((Key.isDown(37) && (_root.attacking == false)) && (_root.defending == false)) {
_root.moving = true;
_root.dir = "L";
this.gotoAndStop(3);
this._x = this._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
} else if ((Key.isDown(39) && (_root.attacking == false)) && (_root.defending == false)) {
_root.moving = true;
_root.dir = "R";
this.gotoAndStop(4);
this._x = this._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if ((Key.isDown(38) && (_root.attacking == false)) && (_root.defending == false)) {
_root.moving = true;
this._y = this._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
if (_root.dir == "L") {
this.gotoAndStop(3);
} else {
this.gotoAndStop(4);
}
} else if ((Key.isDown(40) && (_root.attacking == false)) && (_root.defending == false)) {
_root.moving = true;
this._y = this._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
if (_root.dir == "L") {
this.gotoAndStop(3);
} else {
this.gotoAndStop(4);
}
}
if (_root.hitrange == true) {
if (_root.dmgrangetype == 1) {
shootbow();
} else if (_root.dmgrangetype == 2) {
shootmagic();
} else if (_root.dmgrangetype == 3) {
if (_root.rangeammo >= 1) {
shootmagic();
_root.rangeammo--;
} else if (_root.rangeammo == 0) {
_root.rangeammo--;
_root.wpnrange = 0;
_root.dmgrangemin = 0;
_root.dmgrangemax = 0;
_root.dmgrangetype = 0;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.magattspeed = 0;
_root.bowslot.gotoAndStop(1);
_root.rangeammo = 0;
}
}
}
if (_root.spdagi >= _root.attspeed) {
var _local3 = 0;
} else {
var _local3 = _root.attspeed - _root.spdagi;
}
if (((_root.hero.ani._currentframe >= (20 + Math.round(_local3))) && ((_root.hero._currentframe == 5) || (_root.hero._currentframe == 6))) && (_root.criticalhitting == false)) {
_root.attacking = false;
_root.hero.ani.gotoAndPlay(1);
}
if ((_root.hero.ani._currentframe >= (30 + Math.round(_root.magattspeed))) && ((_root.hero._currentframe == 13) || (_root.hero._currentframe == 14))) {
_root.attacking = false;
_root.hero.ani.gotoAndPlay(1);
}
if ((((Key.isDown(37) == false) && (Key.isDown(39) == false)) && (Key.isDown(38) == false)) && (Key.isDown(40) == false)) {
_root.moving = false;
if ((Key.isDown(65) && (_root.attacking == false)) && (_root.defending == false)) {
_root.attacking = true;
_root.defending = false;
if (_root.dir == "L") {
this.gotoAndStop(5);
} else {
this.gotoAndStop(6);
}
} else if ((Key.isDown(83) && (_root.attacking == false)) && (_root.defending == false)) {
_root.attacking = true;
_root.defending = false;
if (_root.dir == "L") {
this.gotoAndStop(7);
} else {
this.gotoAndStop(8);
}
} else if ((Key.isDown(70) && (_root.attacking == false)) && (_root.defending == false)) {
if (_root.dmgrangetype == 3) {
_root.attacking = true;
_root.defending = false;
if (_root.dir == "L") {
this.gotoAndStop(13);
} else {
this.gotoAndStop(14);
}
} else if (_root.dmgrangetype == 2) {
_root.attacking = true;
_root.defending = false;
if (_root.dir == "L") {
this.gotoAndStop(13);
} else {
this.gotoAndStop(14);
}
} else if (_root.dmgrangetype == 1) {
_root.attacking = true;
_root.defending = false;
if (_root.dir == "L") {
this.gotoAndStop(11);
} else {
this.gotoAndStop(12);
}
} else {
tiptimer = 15;
_root.maintip.tipvar = "No Ranged Weapon";
_root.maintip._visible = true;
_root.attacking = true;
_root.defending = false;
if (_root.dir == "L") {
this.gotoAndStop(7);
} else {
this.gotoAndStop(8);
}
}
} else if (Key.isDown(68) && (_root.attacking == false)) {
_root.defending = true;
_root.attacking = false;
if (_root.dir == "L") {
this.gotoAndStop(9);
} else {
this.gotoAndStop(10);
}
} else if ((Key.isDown(68) == false) && (_root.attacking == false)) {
_root.defending = false;
_root.attacking = false;
if (_root.dir == "L") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
if (_root.showtip == "food") {
_root.main.tip.tipvar = ((("Food is restoring " + (_root.foodheal / 2)) + " health every second for ") + (_root.foodtimer * 2)) + " more seconds.";
_root.main.tip._visible = true;
} else if (_root.showtip == "strp") {
_root.main.tip.tipvar = ((("Your Strength is increased by " + _root.buffstr) + " for ") + (_root.buffatrtimer * 2)) + " more seconds.";
_root.main.tip._visible = true;
} else if (_root.showtip == "agip") {
_root.main.tip.tipvar = ((("Your Agility is increased by " + _root.buffagi) + " for ") + (_root.buffatrtimer * 2)) + " more seconds.";
_root.main.tip._visible = true;
} else if (_root.showtip == "endp") {
_root.main.tip.tipvar = ((("Your Endurance is increased by " + _root.buffend) + " for ") + (_root.buffatrtimer * 2)) + " more seconds.";
_root.main.tip._visible = true;
} else if (_root.showtip == "wilp") {
_root.main.tip.tipvar = ((("Your Willpower is increased by " + _root.buffwil) + " for ") + (_root.buffatrtimer * 2)) + " more seconds.";
_root.main.tip._visible = true;
} else if (_root.showtip == "armp") {
_root.main.tip.tipvar = ((("Your Armour is increased by " + _root.buffarm) + " for ") + (_root.buffatrtimer * 2)) + " more seconds.";
_root.main.tip._visible = true;
} else {
_root.main.tip._visible = false;
}
timer++;
timer = timer % 100;
sectimer++;
sectimer = sectimer % 40;
if (tiptimer < 0) {
_root.maintip._visible = false;
} else {
tiptimer = tiptimer - 0.25;
}
if (_root.foodtimer > 0) {
if (sectimer == 0) {
_root.hero.foodheal.gotoAndPlay(2);
_root.foodtimer--;
_root.main.bufffood._visible = true;
if (_root.hp <= (_root.hpmax - Math.round(_root.foodheal))) {
_root.hp = _root.hp + Math.round(_root.foodheal);
} else {
_root.hp = _root.hpmax;
}
}
} else {
_root.foodheal = 0;
_root.main.bufffood._visible = false;
}
if (_root.buffatrtimer > 0) {
if (sectimer == 0) {
_root.buffatrtimer--;
_root.hero.ability.gotoAndPlay(2);
if (_root.buffstr > 0) {
_root.main.buffstr._visible = true;
} else {
_root.main.buffstr._visible = false;
}
if (_root.buffagi > 0) {
_root.main.buffagi._visible = true;
} else {
_root.main.buffagi._visible = false;
}
if (_root.buffend > 0) {
_root.main.buffend._visible = true;
} else {
_root.main.buffend._visible = false;
}
if (_root.buffwil > 0) {
_root.main.buffwil._visible = true;
} else {
_root.main.buffwil._visible = false;
}
if (_root.buffarm > 0) {
_root.main.buffarm._visible = true;
} else {
_root.main.buffarm._visible = false;
}
}
} else {
_root.buffarm = 0;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 0;
_root.main.buffstr._visible = false;
_root.main.buffagi._visible = false;
_root.main.buffend._visible = false;
_root.main.buffwil._visible = false;
_root.main.buffarm._visible = false;
}
if (((timer == 0) && (_root.attacking == false)) && (_root.defending == false)) {
if (_root.hp <= (_root.hpmax - Math.round(Math.round(((_root.wil + _root.addwil) - 5) / 6) + 1))) {
_root.hp = _root.hp + (Math.round(((_root.wil + _root.addwil) - 5) / 6) + 1);
} else {
_root.hp = _root.hpmax;
}
}
_root.main.lvl = _root.lvl;
this.ani.weapon.gotoAndStop(_root.wpn);
this.ani.bow.gotoAndStop(_root.wpnrange);
this.ani.projectile.gotoAndStop(_root.wpnrange);
this.ani.shield.gotoAndStop(_root.shi);
this.ani.body.gotoAndStop(_root.bdy);
this.ani.shoulder.gotoAndStop(_root.bdy);
this.ani.head.gotoAndStop(_root.head);
_root.hudeverything.dmg = ((_root.dmgmin + _root.strdmg) + " - ") + (_root.dmgmax + _root.strdmg);
if (_root.dmgrangetype >= 2) {
_root.hudeverything.dmgrange = ((_root.dmgrangemin + _root.wildmg) + " - ") + (_root.dmgrangemax + _root.wildmg);
} else if (_root.dmgrangetype == 1) {
_root.hudeverything.dmgrange = ((_root.dmgrangemin + _root.agidmg) + " - ") + (_root.dmgrangemax + _root.agidmg);
} else {
_root.hudeverything.dmgrange = "Not Equiped";
}
_root.hudeverything.arm = _root.arm;
_root.blockrating = (Math.round(((_root.end + _root.addend) - 5) * 0.33) + 14) + (_root.shiblock * 2);
_root.hpmax = Math.round((_root.end + _root.addend) * 2);
_root.hudeverything.hp = (_root.hp + "/") + _root.hpmax;
_root.hudeverything.blok = _root.blockrating - 14;
_root.hudeverything.weapon.gotoAndStop(_root.wpnslot._currentframe);
_root.hudeverything.shield.gotoAndStop(_root.shislot._currentframe);
_root.hudeverything.bow.gotoAndStop(_root.bowslot._currentframe);
_root.hudeverything.armor.gotoAndStop(_root.armorslot._currentframe);
_root.hudeverything.head.gotoAndStop(_root.headslot._currentframe);
_root.hudeverything.jewel.gotoAndStop(_root.jewelslot._currentframe);
_root.hudeverything.weapontop.gotoAndStop(_root.wpnslot._currentframe);
_root.hudeverything.shieldtop.gotoAndStop(_root.shislot._currentframe);
_root.hudeverything.bowtop.gotoAndStop(_root.bowslot._currentframe);
_root.hudeverything.armortop.gotoAndStop(_root.armorslot._currentframe);
_root.hudeverything.headtop.gotoAndStop(_root.headslot._currentframe);
_root.hudeverything.jeweltop.gotoAndStop(_root.jewelslot._currentframe);
_root.hudeverything.spnt = _root.spnt;
_root.hudeverything.str = _root.str;
_root.hudeverything.agi = _root.agi;
_root.hudeverything.end = _root.end;
_root.hudeverything.wil = _root.wil;
_root.hudeverything.rep = _root.rep;
_root.main.charname = _root.charname;
if (_root.shop == true) {
_root.chat.shopbtn._visible = true;
} else {
_root.chat.shopbtn._visible = false;
_root.shoptab._visible = false;
}
if (_root.savechat == true) {
_root.chat.savebtn._visible = true;
playerSO = SharedObject.getLocal("playerInfo");
player = new Object();
_root.savename1 = playerSO.data.playerDat.charname;
_root.savetab.name1 = playerSO.data.playerDat.charname;
playerSO2 = SharedObject.getLocal("playerInfo");
player2 = new Object();
_root.savename2 = playerSO2.data.playerDat2.charname;
_root.savetab.name2 = playerSO2.data.playerDat2.charname;
} else {
_root.chat.savebtn._visible = false;
_root.savechat._visible = false;
}
if (_root.spnt > 0) {
_root.hudeverything.btnaddstr._visible = true;
_root.hudeverything.btnaddagi._visible = true;
_root.hudeverything.btnaddend._visible = true;
_root.hudeverything.btnaddwil._visible = true;
_root.skills2spend._visible = true;
} else {
_root.hudeverything.btnaddstr._visible = false;
_root.hudeverything.btnaddagi._visible = false;
_root.hudeverything.btnaddend._visible = false;
_root.hudeverything.btnaddwil._visible = false;
_root.skills2spend._visible = false;
}
_root.strdmg = Math.round(((_root.str + _root.addstr) - 5) / 2);
_root.dmgminhit = _root.dmgmin + _root.strdmg;
_root.dmgdiffhit = (_root.dmgmax + _root.strdmg) - _root.dmgminhit;
_root.dmgmaxhit = _root.dmgminhit + _root.dmgdiffhit;
_root.agidmg = Math.round(((_root.agi + _root.addagi) - 5) / 6);
_root.wildmg = Math.round(((_root.wil + _root.addwil) - 5) / 6);
_root.hudeverything.bow.stacknum = _root.rangeammo;
if (_root.dmgrangetype >= 2) {
_root.dmgrangeminhit = _root.dmgrangemin + _root.wildmg;
_root.dmgrangediffhit = (_root.dmgrangemax + _root.wildmg) - _root.dmgrangeminhit;
_root.dmgrangemaxhit = _root.dmgrangeminhit + _root.dmgrangediffhit;
_root.dmggen3 = _root.dmgrangeminhit + random(_root.dmgrangediffhit + 1);
} else if (_root.dmgrangetype == 1) {
_root.dmgrangeminhit = _root.dmgrangemin + _root.agidmg;
_root.dmgrangediffhit = (_root.dmgrangemax + _root.agidmg) - _root.dmgrangeminhit;
_root.dmgrangemaxhit = _root.dmgrangeminhit + _root.dmgrangediffhit;
_root.dmggen3 = _root.dmgrangeminhit + random(_root.dmgrangediffhit + 1);
} else {
_root.dmgrangeminhit = 0;
_root.dmgrangediffhit = 0;
_root.dmgrangemaxhit = 0;
_root.dmggen3 = _root.dmgrangeminhit + random(_root.dmgrangediffhit + 1);
}
if (_root.dmgtype == 1) {
_root.dmggen = Math.round(0.666 * (_root.dmgminhit + random(_root.dmgdiffhit)));
_root.dmggen2 = _root.dmgminhit + random(_root.dmgdiffhit + 1);
} else if (_root.dmgtype == 2) {
_root.dmggen = _root.dmgminhit + random(_root.dmgdiffhit + 1);
_root.dmggen2 = Math.round(0.666 * (_root.dmgminhit + random(_root.dmgdiffhit)));
} else {
_root.dmggen = _root.dmgminhit + random(_root.dmgdiffhit + 1);
_root.dmggen2 = Math.round(0.333 * (_root.dmgminhit + random(_root.dmgdiffhit)));
}
_root.endarm = Math.round(((_root.addend + _root.end) - 5) / 2);
_root.arm = (((((_root.wpnarm + _root.armarm) + _root.headarm) + _root.jewarm) + _root.shiarm) + _root.endarm) + _root.buffarm;
_root.armeff = Math.round(_root.arm / 8);
_root.addstr = ((((_root.wpnstr + _root.armstr) + _root.headstr) + _root.jewstr) + _root.shistr) + _root.buffstr;
_root.addagi = ((((_root.wpnagi + _root.armagi) + _root.headagi) + _root.jewagi) + _root.shiagi) + _root.buffagi;
_root.addend = ((((_root.wpnend + _root.armend) + _root.headend) + _root.jewend) + _root.shiend) + _root.buffend;
_root.addwil = ((((_root.wpnwil + _root.armwil) + _root.headwil) + _root.jewwil) + _root.shiwil) + _root.buffwil;
_root.addarm = ((((_root.wpnarm + _root.armarm) + _root.headarm) + _root.jewarm) + _root.shiarm) + _root.buffarm;
_root.spdagi = Math.round(((_root.agi + _root.addagi) - 5) / 9);
_root.hudeverything.addstr = "+ " + _root.addstr;
_root.hudeverything.addagi = "+ " + _root.addagi;
_root.hudeverything.addend = "+ " + _root.addend;
_root.hudeverything.addwil = "+ " + _root.addwil;
_root.hudeverything.gold = ("You have " + _root.gold) + " coins";
_root.shoptab.goldshop = ("You have " + _root.gold) + " coins";
if ((_root.hudeverything._visible == false) || (_root.hudeverything._currentframe != 1)) {
rearrangeinventory();
}
if (_root.xp >= _root.xpneed) {
_root.xp = _root.xp - _root.xpneed;
_root.lvl++;
_root.spnt = _root.spnt + 3;
_root.xpneed = Math.round(_root.xpneed * 1.5);
_root.hero.lvlup.gotoAndPlay(2);
_root.hp = _root.hpmax;
tiptimer = 15;
_root.maintip.tipvar = ((("Level Up!! Your now level " + _root.lvl) + " you have ") + _root.spnt) + " points to spend";
_root.maintip._visible = true;
}
if (_root.hp < 0) {
stopAllSounds();
_root.area = "enemy";
_root.areaswitch = "enemy";
tracknum == 1;
_root.menuon = true;
_root.mainmenu.gotoAndStop(7);
}
}
};
createEnemy = function (type, x, y, hp, dmg) {
var _local3 = "enemy" + enemyCount;
_root.bg.enemylayer.attachMovie(type, _local3, enemyCount);
_root.bg.enemylayer[_local3]._x = x;
_root.bg.enemylayer[_local3]._y = y;
_root.bg.enemylayer[_local3].hits = hp + 3;
_root.bg.enemylayer[_local3].hitmax = hp + 3;
_root.bg.enemylayer[_local3].dmg = dmg;
_root.bg.enemylayer[_local3].hit = false;
_root.bg.enemylayer[_local3].attacking = false;
_root.bg.enemylayer[_local3].moving = false;
_root.bg.enemylayer[_local3].attacked = false;
_root.bg.enemylayer[_local3].alive = true;
_root.bg.enemylayer[_local3].gotoAndStop(1);
_root.bg.enemylayer[_local3].onEnterFrame = function () {
if (_root.menuon == false) {
this.hud.lvl = Math.round(((this.hitmax - 10) / 6) + (this.dmg / 5));
var _local5 = (this._x - _root.hero._x) - _root.bg._x;
var _local4 = (this._y - _root.hero._y) - _root.bg._y;
var _local7 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((this.attacking == false) && (this.alive == true)) {
if (this._x > _root.hero._x) {
var _local8 = "L";
} else if (this._x < _root.hero._x) {
var _local8 = "R";
}
if (_local7 < 60) {
this.moving = false;
if (_local8 == "L") {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
this.attacked = true;
this.attacking = true;
} else if ((_local7 < 150) || (this.attacked == true)) {
this.moving = true;
}
}
if (this.moving == true) {
if (_local8 == "L") {
this.gotoAndStop(2);
this._x = this._x - 4;
} else {
this.gotoAndStop(3);
this._x = this._x + 4;
}
if (this._y > (_root.hero._y + 10)) {
this._y = this._y - 5;
} else if (this._y < (_root.hero._y - 10)) {
this._y = this._y + 5;
}
}
if (this.hit == true) {
if (_root.defending == false) {
if (this.dmg > Math.round(_root.arm / 20)) {
var _local3 = Math.abs(this.dmg - Math.round(_root.arm / 20));
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
} else if (_root.defending == true) {
if (((this._x >= _root.hero._x) && (_root.dir == "R")) || ((this._x <= _root.hero._x) && (_root.dir == "L"))) {
var _local6 = random((2 * this.dmg) + 30);
} else {
var _local6 = random((6 * this.dmg) + 50);
}
_root.blockchance2 = _local6;
if (_local6 < _root.blockrating) {
_root.hero.ani.gotoAndPlay("block");
} else {
_root.hero.ani.gotoAndPlay(1);
if (this.dmg > _root.armeff) {
var _local3 = Math.abs(this.dmg - _root.armeff);
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
}
}
}
if (((_root.hit == true) && (this.hitTest(_root.hero))) && (this.hits > 0)) {
this.attacked = true;
if ((_root.hero._currentframe == 5) || (_root.hero._currentframe == 6)) {
this.hits = this.hits - _root.dmggen;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen);
} else {
this.hits = this.hits - _root.dmggen2;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen2);
}
}
if (this.hits <= 0) {
this.attacking = false;
this.moving = false;
this.alive = false;
this.gotoAndStop(6);
}
}
};
enemyCount++;
enemyCount = enemyCount % 10;
};
createDryad = function (type, x, y, hp, dmg) {
var _local3 = "enemy" + enemyCount;
_root.bg.enemylayer.attachMovie(type, _local3, enemyCount);
_root.bg.enemylayer[_local3]._x = x;
_root.bg.enemylayer[_local3]._y = y;
_root.bg.enemylayer[_local3].hits = hp + 3;
_root.bg.enemylayer[_local3].hitmax = hp + 3;
_root.bg.enemylayer[_local3].dmg = dmg;
_root.bg.enemylayer[_local3].hit = false;
_root.bg.enemylayer[_local3].attacking = false;
_root.bg.enemylayer[_local3].moving = false;
_root.bg.enemylayer[_local3].attacked = false;
_root.bg.enemylayer[_local3].alive = true;
_root.bg.enemylayer[_local3].gotoAndStop(1);
_root.bg.enemylayer[_local3].onEnterFrame = function () {
if (_root.menuon == false) {
this.hud.lvl = Math.round(((this.hitmax - 10) / 6) + (this.dmg / 5));
var _local5 = (this._x - _root.hero._x) - _root.bg._x;
var _local4 = (this._y - _root.hero._y) - _root.bg._y;
var _local7 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((this.attacking == false) && (this.alive == true)) {
if (this._x > _root.hero._x) {
var _local8 = "L";
} else if (this._x < _root.hero._x) {
var _local8 = "R";
}
if (_local7 < 60) {
this.moving = false;
if (_local8 == "L") {
this.gotoAndStop(5);
} else {
this.gotoAndStop(6);
}
this.attacked = true;
this.attacking = true;
} else if ((_local7 < 150) || (this.attacked == true)) {
if ((this._currentframe <= 2) && (this.moving == false)) {
this.gotoAndStop(2);
} else {
this.moving = true;
}
}
}
if (this.moving == true) {
if (_local8 == "L") {
this.gotoAndStop(3);
this._x = this._x - 4;
} else {
this.gotoAndStop(4);
this._x = this._x + 4;
}
if (this._y > (_root.hero._y + 10)) {
this._y = this._y - 5;
} else if (this._y < (_root.hero._y - 10)) {
this._y = this._y + 5;
}
}
if (this.hit == true) {
if (_root.defending == false) {
if (this.dmg > Math.round(_root.arm / 20)) {
var _local3 = Math.abs(this.dmg - Math.round(_root.arm / 20));
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
} else if (_root.defending == true) {
if (((this._x >= _root.hero._x) && (_root.dir == "R")) || ((this._x <= _root.hero._x) && (_root.dir == "L"))) {
var _local6 = random((2 * this.dmg) + 30);
} else {
var _local6 = random((6 * this.dmg) + 50);
}
_root.blockchance2 = _local6;
if (_local6 < _root.blockrating) {
_root.hero.ani.gotoAndPlay("block");
} else {
_root.hero.ani.gotoAndPlay(1);
if (this.dmg > _root.armeff) {
var _local3 = Math.abs(this.dmg - _root.armeff);
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
}
}
}
if (((_root.hit == true) && (this.hitTest(_root.hero))) && (this.hits > 0)) {
this.attacked = true;
if ((_root.hero._currentframe == 5) || (_root.hero._currentframe == 6)) {
this.hits = this.hits - _root.dmggen;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen);
} else {
this.hits = this.hits - _root.dmggen2;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen2);
}
}
if (this.hits <= 0) {
this.attacking = false;
this.moving = false;
this.alive = false;
this.gotoAndStop(7);
}
}
};
enemyCount++;
enemyCount = enemyCount % 10;
};
createRangedEnemy = function (type, x, y, hp, dmg, ran) {
var _local3 = "enemy" + enemyCount;
_root.bg.enemylayer.attachMovie(type, _local3, enemyCount);
_root.bg.enemylayer[_local3]._x = x;
_root.bg.enemylayer[_local3]._y = y;
_root.bg.enemylayer[_local3].hits = hp + 4;
_root.bg.enemylayer[_local3].hitmax = hp + 4;
_root.bg.enemylayer[_local3].dmg = dmg;
_root.bg.enemylayer[_local3].ran = ran;
_root.bg.enemylayer[_local3].hit = false;
_root.bg.enemylayer[_local3].attacking = false;
_root.bg.enemylayer[_local3].moving = false;
_root.bg.enemylayer[_local3].attacked = false;
_root.bg.enemylayer[_local3].alive = true;
_root.bg.enemylayer[_local3].gotoAndStop(1);
_root.bg.enemylayer[_local3].onEnterFrame = function () {
if (_root.menuon == false) {
this.hud.lvl = Math.round(((this.hitmax - 10) / 6) + (this.dmg / 5));
var _local5 = (this._x - _root.hero._x) - _root.bg._x;
var _local4 = (this._y - _root.hero._y) - _root.bg._y;
var _local7 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((this.attacking == false) && (this.alive == true)) {
if (this._x > _root.hero._x) {
var _local8 = "L";
} else if (this._x < _root.hero._x) {
var _local8 = "R";
}
if (_local7 < this.ran) {
this.moving = false;
if (_local8 == "L") {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
this.attacked = true;
this.attacking = true;
} else if ((_local7 < 150) || (this.attacked == true)) {
this.moving = true;
}
}
if (this.moving == true) {
if (_local8 == "L") {
this.gotoAndStop(2);
this._x = this._x - 4;
} else {
this.gotoAndStop(3);
this._x = this._x + 4;
}
if (this._y > (_root.hero._y + 10)) {
this._y = this._y - 5;
} else if (this._y < (_root.hero._y - 10)) {
this._y = this._y + 5;
}
}
if (this.hit == true) {
if (_root.defending == false) {
if (this.dmg > Math.round(_root.arm / 20)) {
var _local3 = Math.abs(this.dmg - Math.round(_root.arm / 20));
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
} else if (_root.defending == true) {
if (((this._x >= _root.hero._x) && (_root.dir == "R")) || ((this._x <= _root.hero._x) && (_root.dir == "L"))) {
var _local6 = random((2 * this.dmg) + 30);
} else {
var _local6 = random((6 * this.dmg) + 50);
}
_root.blockchance2 = _local6;
if (_local6 < _root.blockrating) {
_root.hero.ani.gotoAndPlay("block");
} else {
_root.hero.ani.gotoAndPlay(1);
if (this.dmg > _root.armeff) {
var _local3 = Math.abs(this.dmg - _root.armeff);
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
}
}
}
if (((_root.hit == true) && (this.hitTest(_root.hero))) && (this.hits > 0)) {
this.attacked = true;
if ((_root.hero._currentframe == 5) || (_root.hero._currentframe == 6)) {
this.hits = this.hits - _root.dmggen;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen);
} else {
this.hits = this.hits - _root.dmggen2;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen2);
}
}
if (this.hits <= 0) {
this.attacking = false;
this.moving = false;
this.alive = false;
this.gotoAndStop(6);
}
}
};
enemyCount++;
enemyCount = enemyCount % 10;
};
createPassiveEnemy = function (type, x, y, hp, dmg) {
var _local3 = "enemy" + enemyCount;
_root.bg.enemylayer.attachMovie(type, _local3, enemyCount);
_root.bg.enemylayer[_local3]._x = x;
_root.bg.enemylayer[_local3]._y = y;
_root.bg.enemylayer[_local3].hits = hp + 3;
_root.bg.enemylayer[_local3].hitmax = hp + 3;
_root.bg.enemylayer[_local3].dmg = dmg;
_root.bg.enemylayer[_local3].hit = false;
_root.bg.enemylayer[_local3].attacking = false;
_root.bg.enemylayer[_local3].moving = false;
_root.bg.enemylayer[_local3].alive = true;
_root.bg.enemylayer[_local3].gotoAndStop(1);
_root.bg.enemylayer[_local3].onEnterFrame = function () {
if (_root.menuon == false) {
this.hud.lvl = 0;
var _local5 = (this._x - _root.hero._x) - _root.bg._x;
var _local4 = (this._y - _root.hero._y) - _root.bg._y;
var _local8 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((this.attacking == false) && (this.alive == true)) {
if (this._x > _root.hero._x) {
var _local7 = "L";
} else if (this._x < _root.hero._x) {
var _local7 = "R";
}
if (this.attacked == true) {
if (_local8 < 60) {
this.moving = false;
if (_local7 == "L") {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
this.attacked = true;
this.attacking = true;
} else if (this.attacked == true) {
this.moving = true;
}
} else {
this.moving = false;
this.gotoAndStop(1);
}
}
if (this.moving == true) {
if (_local7 == "L") {
this.gotoAndStop(2);
this._x = this._x - 4;
} else {
this.gotoAndStop(3);
this._x = this._x + 4;
}
if (this._y > (_root.hero._y + 10)) {
this._y = this._y - 5;
} else if (this._y < (_root.hero._y - 10)) {
this._y = this._y + 5;
}
}
if (this.hit == true) {
if (_root.defending == false) {
if (this.dmg > Math.round(_root.arm / 20)) {
var _local3 = Math.abs(this.dmg - Math.round(_root.arm / 20));
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
} else if (_root.defending == true) {
if (((this._x >= _root.hero._x) && (_root.dir == "R")) || ((this._x <= _root.hero._x) && (_root.dir == "L"))) {
var _local6 = random((2 * this.dmg) + 30);
} else {
var _local6 = random((6 * this.dmg) + 50);
}
_root.blockchance2 = _local6;
if (_local6 < _root.blockrating) {
_root.hero.ani.gotoAndPlay("block");
} else {
_root.hero.ani.gotoAndPlay(1);
if (this.dmg > _root.armeff) {
var _local3 = Math.abs(this.dmg - _root.armeff);
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
}
}
}
if (((_root.hit == true) && (this.hitTest(_root.hero))) && (this.hits > 0)) {
this.attacked = true;
if ((_root.hero._currentframe == 5) || (_root.hero._currentframe == 6)) {
this.hits = this.hits - _root.dmggen;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen);
} else {
this.hits = this.hits - _root.dmggen2;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen2);
}
}
if (this.hits <= 0) {
this.attacking = false;
this.moving = false;
this.alive = false;
this.gotoAndStop(6);
}
}
};
enemyCount++;
enemyCount = enemyCount % 10;
};
createGuard = function (type, x, y, hp, dmg) {
var _local3 = "enemy" + enemyCount;
_root.bg.enemylayer.attachMovie(type, _local3, enemyCount);
_root.bg.enemylayer[_local3]._x = x;
_root.bg.enemylayer[_local3]._y = y;
_root.bg.enemylayer[_local3].hits = hp + 3;
_root.bg.enemylayer[_local3].hitmax = hp + 3;
_root.bg.enemylayer[_local3].dmg = dmg;
_root.bg.enemylayer[_local3].hit = false;
_root.bg.enemylayer[_local3].attacking = false;
_root.bg.enemylayer[_local3].moving = false;
_root.bg.enemylayer[_local3].alive = true;
_root.bg.enemylayer[_local3].gotoAndStop(1);
_root.bg.enemylayer[_local3].onEnterFrame = function () {
if (_root.menuon == false) {
this.hud.lvl = Math.round(((this.hitmax - 10) / 6) + (this.dmg / 5));
var _local5 = (this._x - _root.hero._x) - _root.bg._x;
var _local4 = (this._y - _root.hero._y) - _root.bg._y;
var _local7 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
if ((this.attacking == false) && (this.alive == true)) {
if (this._x > _root.hero._x) {
var _local8 = "L";
} else if (this._x < _root.hero._x) {
var _local8 = "R";
}
if ((_root.rep < -50) || (this.attacked == true)) {
if (_local7 < 60) {
this.moving = false;
if (_local8 == "L") {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
this.attacked = true;
this.attacking = true;
} else if ((_local7 < 200) || (this.attacked == true)) {
this.moving = true;
}
} else {
this.moving = false;
this.gotoAndStop(1);
}
}
if (this.moving == true) {
if (_local8 == "L") {
this.gotoAndStop(2);
this._x = this._x - 4;
} else {
this.gotoAndStop(3);
this._x = this._x + 4;
}
if (this._y > (_root.hero._y + 10)) {
this._y = this._y - 5;
} else if (this._y < (_root.hero._y - 10)) {
this._y = this._y + 5;
}
}
if (this.hit == true) {
if (_root.defending == false) {
if (this.dmg > Math.round(_root.arm / 20)) {
var _local3 = Math.abs(this.dmg - Math.round(_root.arm / 20));
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
} else if (_root.defending == true) {
if (((this._x >= _root.hero._x) && (_root.dir == "R")) || ((this._x <= _root.hero._x) && (_root.dir == "L"))) {
var _local6 = random((2 * this.dmg) + 30);
} else {
var _local6 = random((6 * this.dmg) + 50);
}
_root.blockchance2 = _local6;
if (_local6 < _root.blockrating) {
_root.hero.ani.gotoAndPlay("block");
} else {
_root.hero.ani.gotoAndPlay(1);
if (this.dmg > _root.armeff) {
var _local3 = Math.abs(this.dmg - _root.armeff);
_root.hp = _root.hp - _local3;
damagethingy("dmgtxtshow2", _root.hero._x, _root.hero._y - 50, _local3);
}
}
}
}
if (((_root.hit == true) && (this.hitTest(_root.hero))) && (this.hits > 0)) {
this.attacked = true;
if ((_root.hero._currentframe == 5) || (_root.hero._currentframe == 6)) {
this.hits = this.hits - _root.dmggen;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen);
} else {
this.hits = this.hits - _root.dmggen2;
damagethingy("dmgtxtshow", this._x, this._y - 50, _root.dmggen2);
}
}
if (this.hits <= 0) {
this.attacking = false;
this.moving = false;
this.alive = false;
this.gotoAndStop(6);
}
}
};
enemyCount++;
enemyCount = enemyCount % 10;
};
spawner.onRelease = function () {
_root.createRangedEnemy("enm_queenspider", 200, 200, 47, 14, 200);
};
saver1.onRelease = function () {
_root.setPlayerInfo1();
_root.savePlayer1();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " saved to Slot 1";
_root.maintip._visible = true;
};
loader1.onRelease = function () {
_root.loadPlayer1();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " loaded from Slot 1";
_root.maintip._visible = true;
};
loadtab.loadbtn1.onRelease = function () {
_root.tutorial.gotoAndStop(60);
if (_root.loadtab.name1 != undefined) {
_root.loadPlayer1();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " loaded from Slot 1";
_root.maintip._visible = true;
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.loadtab._visible = false;
_root.menuon = false;
mainmenu.gotoAndStop(4);
}
};
saver2.onRelease = function () {
_root.setPlayerInfo2();
_root.savePlayer2();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " saved to Slot 2";
_root.maintip._visible = true;
};
loader2.onRelease = function () {
_root.loadPlayer2();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " loaded from Slot 2";
_root.maintip._visible = true;
};
loadtab.loadbtn2.onRelease = function () {
_root.tutorial.gotoAndStop(60);
if (_root.loadtab.name2 != undefined) {
_root.hero._x = 275;
_root.hero._y = 150;
_root.loadPlayer2();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " loaded from Slot 2";
_root.maintip._visible = true;
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.loadtab._visible = false;
_root.menuon = false;
mainmenu.gotoAndStop(4);
}
};
trackenemy2 = new Sound(hero);
trackenemy2.attachSound("Enemy2_Kill The Thief.mp3");
trackenemy3 = new Sound(hero);
trackenemy3.attachSound("Enemy3_Open The Gates.mp3");
tracktown1 = new Sound(hero);
tracktown1.attachSound("Town1_Bakery.mp3");
tracktown5 = new Sound(hero);
tracktown5.attachSound("Town5_Traders.mp3");
tracktravel2 = new Sound(hero);
tracktravel2.attachSound("Travel2_Medieval.mp3");
arrowshoot = new Sound(hero);
arrowshoot.attachSound("ArrowShoot.wav");
global_sound = new Sound();
global_sound.setVolume(60);
stop();
setPlayerInfo1 = function () {
player = new Object();
player.bgnum = _root.bg._currentframe;
player.charname = _root.charname;
player.arm = _root.arm;
player.hpmax = _root.hpmax;
player.hp = _root.hp;
player.attspeed = _root.attspeed;
player.magattspeed = _root.magattspeed;
player.dmgmin = _root.dmgmin;
player.dmgmax = _root.dmgmax;
player.dmgtype = _root.dmgtype;
player.dmgrangemin = _root.dmgrangemin;
player.dmgrangemax = _root.dmgrangemax;
player.dmgrangetype = _root.dmgrangetype;
player.movespd = _root.movespd;
player.str = _root.str;
player.agi = _root.agi;
player.end = _root.end;
player.wil = _root.wil;
player.rep = _root.rep;
player.wpnslot = _root.wpnslot._currentframe;
player.wpn = _root.wpn;
player.wpnstr = _root.wpnstr;
player.wpnagi = _root.wpnagi;
player.wpnend = _root.wpnend;
player.wpnwil = _root.wpnwil;
player.wpnarm = _root.wpnarm;
player.bowslot = _root.bowslot._currentframe;
player.wpnrange = _root.wpnrange;
player.wpnrangestr = _root.wpnrangestr;
player.wpnrangeagi = _root.wpnrangeagi;
player.wpnrangeend = _root.wpnrangeend;
player.wpnrangewil = _root.wpnrangewil;
player.wpnrangearm = _root.wpnrangearm;
player.shislot = _root.shislot._currentframe;
player.shi = _root.shi;
player.shistr = _root.shistr;
player.shiagi = _root.shiagi;
player.shiend = _root.shiend;
player.shiwil = _root.shiwil;
player.shiarm = _root.shiarm;
player.shiblock = _root.shiblock;
player.jewelslot = _root.jewelslot._currentframe;
player.jewstr = _root.jewstr;
player.jewagi = _root.jewagi;
player.jewend = _root.jewend;
player.jewwil = _root.jewwil;
player.jewarm = _root.jewarm;
player.armorslot = _root.armorslot._currentframe;
player.body = _root.bdy;
player.armstr = _root.armstr;
player.armagi = _root.armagi;
player.armend = _root.armend;
player.armwil = _root.armwil;
player.armarm = _root.armarm;
player.headslot = _root.headslot._currentframe;
player.head = _root.head;
player.headstr = _root.headstr;
player.headagi = _root.headagi;
player.headend = _root.headend;
player.headwil = _root.headwil;
player.headarm = _root.headarm;
player.gold = _root.gold;
player.s1 = _root.hudeverything.s1._currentframe;
player.s2 = _root.hudeverything.s2._currentframe;
player.s3 = _root.hudeverything.s3._currentframe;
player.s4 = _root.hudeverything.s4._currentframe;
player.s5 = _root.hudeverything.s5._currentframe;
player.s6 = _root.hudeverything.s6._currentframe;
player.s7 = _root.hudeverything.s7._currentframe;
player.s8 = _root.hudeverything.s8._currentframe;
player.s9 = _root.hudeverything.s9._currentframe;
player.s10 = _root.hudeverything.s10._currentframe;
player.s11 = _root.hudeverything.s11._currentframe;
player.s12 = _root.hudeverything.s12._currentframe;
player.s13 = _root.hudeverything.s13._currentframe;
player.s14 = _root.hudeverything.s14._currentframe;
player.s15 = _root.hudeverything.s15._currentframe;
player.s16 = _root.hudeverything.s16._currentframe;
player.s17 = _root.hudeverything.s17._currentframe;
player.s18 = _root.hudeverything.s18._currentframe;
player.s19 = _root.hudeverything.s19._currentframe;
player.s20 = _root.hudeverything.s20._currentframe;
player.stack1 = _root.hudeverything.s1.stacknum;
player.stack2 = _root.hudeverything.s2.stacknum;
player.stack3 = _root.hudeverything.s3.stacknum;
player.stack4 = _root.hudeverything.s4.stacknum;
player.stack5 = _root.hudeverything.s5.stacknum;
player.stack6 = _root.hudeverything.s6.stacknum;
player.stack7 = _root.hudeverything.s7.stacknum;
player.stack8 = _root.hudeverything.s8.stacknum;
player.stack9 = _root.hudeverything.s9.stacknum;
player.stack10 = _root.hudeverything.s10.stacknum;
player.stack11 = _root.hudeverything.s11.stacknum;
player.stack12 = _root.hudeverything.s12.stacknum;
player.stack13 = _root.hudeverything.s13.stacknum;
player.stack14 = _root.hudeverything.s14.stacknum;
player.stack15 = _root.hudeverything.s15.stacknum;
player.stack16 = _root.hudeverything.s16.stacknum;
player.stack17 = _root.hudeverything.s17.stacknum;
player.stack18 = _root.hudeverything.s18.stacknum;
player.stack19 = _root.hudeverything.s19.stacknum;
player.stack20 = _root.hudeverything.s20.stacknum;
player.rangeammo = _root.rangeammo;
player.lvl = _root.lvl;
player.spnt = _root.spnt;
player.xpneed = _root.xpneed;
player.xp = _root.xp;
player.quest1 = _root.quest1;
player.quest2 = _root.quest2;
player.quest3 = _root.quest3;
player.quest4 = _root.quest4;
player.quest5 = _root.quest5;
player.quest6 = _root.quest6;
player.quest7 = _root.quest7;
player.quest8 = _root.quest8;
player.quest9 = _root.quest9;
player.quest10 = _root.quest10;
player.quest11 = _root.quest11;
player.quest12 = _root.quest12;
player.quest13 = _root.quest13;
player.crate0 = _root.crate0;
player.keg0 = _root.keg0;
player.chest0 = _root.chest0;
player.chest1 = _root.chest1;
player.chest2 = _root.chest2;
player.chest3 = _root.chest3;
player.chest4 = _root.chest4;
player.chest5 = _root.chest5;
player.chest6 = _root.chest6;
player.chest7 = _root.chest7;
};
savePlayer1 = function () {
playerSO = SharedObject.getLocal("playerInfo");
playerSO.data.playerDat = player;
playerSO.flush();
};
loadPlayer1 = function () {
playerSO = SharedObject.getLocal("playerInfo");
player = new Object();
_root.bg.gotoAndStop(playerSO.data.playerDat.bgnum);
_root.charname = playerSO.data.playerDat.charname;
_root.arm = playerSO.data.playerDat.arm;
_root.hpmax = playerSO.data.playerDat.hpmax;
_root.hp = playerSO.data.playerDat.hp;
_root.attspeed = playerSO.data.playerDat.attspeed;
_root.dmgmin = playerSO.data.playerDat.dmgmin;
_root.dmgmax = playerSO.data.playerDat.dmgmax;
_root.dmgtype = playerSO.data.playerDat.dmgtype;
_root.dmgrangemin = playerSO.data.playerDat.dmgrangemin;
_root.dmgrangemax = playerSO.data.playerDat.dmgrangemax;
_root.dmgrangetype = playerSO.data.playerDat.dmgrangetype;
_root.movespd = playerSO.data.playerDat.movespd;
_root.str = playerSO.data.playerDat.str;
_root.agi = playerSO.data.playerDat.agi;
_root.end = playerSO.data.playerDat.end;
_root.wil = playerSO.data.playerDat.wil;
_root.rep = playerSO.data.playerDat.rep;
_root.wpnslot.gotoAndStop(playerSO.data.playerDat.wpnslot);
_root.wpn = playerSO.data.playerDat.wpn;
_root.wpnstr = playerSO.data.playerDat.wpnstr;
_root.wpnagi = playerSO.data.playerDat.wpnagi;
_root.wpnend = playerSO.data.playerDat.wpnend;
_root.wpnwil = playerSO.data.playerDat.wpnwil;
_root.wpnarm = playerSO.data.playerDat.wpnarm;
_root.bowslot.gotoAndStop(playerSO.data.playerDat.bowslot);
_root.wpnrange = playerSO.data.playerDat.wpnrange;
_root.wpnrangestr = playerSO.data.playerDat.wpnrangestr;
_root.wpnrangeagi = playerSO.data.playerDat.wpnrangeagi;
_root.wpnrangeend = playerSO.data.playerDat.wpnrangeend;
_root.wpnrangewil = playerSO.data.playerDat.wpnrangewil;
_root.wpnrangearm = playerSO.data.playerDat.wpnrangearm;
_root.shislot.gotoAndStop(playerSO.data.playerDat.shislot);
_root.shi = playerSO.data.playerDat.shi;
_root.shistr = playerSO.data.playerDat.shistr;
_root.shiagi = playerSO.data.playerDat.shiagi;
_root.shiend = playerSO.data.playerDat.shiend;
_root.shiwil = playerSO.data.playerDat.shiwil;
_root.shiarm = playerSO.data.playerDat.shiarm;
_root.shiblock = playerSO.data.playerDat.shiblock;
_root.jewelslot.gotoAndStop(playerSO.data.playerDat.jewelslot);
_root.jewstr = playerSO.data.playerDat.jewstr;
_root.jewagi = playerSO.data.playerDat.jewagi;
_root.jewend = playerSO.data.playerDat.jewend;
_root.jewwil = playerSO.data.playerDat.jewwil;
_root.jewarm = playerSO.data.playerDat.jewarm;
_root.armorslot.gotoAndStop(playerSO.data.playerDat.armorslot);
_root.bdy = playerSO.data.playerDat.body;
_root.armstr = playerSO.data.playerDat.armstr;
_root.armagi = playerSO.data.playerDat.armagi;
_root.armend = playerSO.data.playerDat.armend;
_root.armwil = playerSO.data.playerDat.armwil;
_root.armarm = playerSO.data.playerDat.armarm;
_root.headslot.gotoAndStop(playerSO.data.playerDat.headslot);
_root.head = playerSO.data.playerDat.head;
_root.headstr = playerSO.data.playerDat.headstr;
_root.headagi = playerSO.data.playerDat.headagi;
_root.headend = playerSO.data.playerDat.headend;
_root.headwil = playerSO.data.playerDat.headwil;
_root.headarm = playerSO.data.playerDat.headarm;
_root.gold = playerSO.data.playerDat.gold;
_root.hudeverything.s1.gotoAndStop(playerSO.data.playerDat.s1);
_root.hudeverything.s2.gotoAndStop(playerSO.data.playerDat.s2);
_root.hudeverything.s3.gotoAndStop(playerSO.data.playerDat.s3);
_root.hudeverything.s4.gotoAndStop(playerSO.data.playerDat.s4);
_root.hudeverything.s5.gotoAndStop(playerSO.data.playerDat.s5);
_root.hudeverything.s6.gotoAndStop(playerSO.data.playerDat.s6);
_root.hudeverything.s7.gotoAndStop(playerSO.data.playerDat.s7);
_root.hudeverything.s8.gotoAndStop(playerSO.data.playerDat.s8);
_root.hudeverything.s9.gotoAndStop(playerSO.data.playerDat.s9);
_root.hudeverything.s10.gotoAndStop(playerSO.data.playerDat.s10);
_root.hudeverything.s11.gotoAndStop(playerSO.data.playerDat.s11);
_root.hudeverything.s12.gotoAndStop(playerSO.data.playerDat.s12);
_root.hudeverything.s13.gotoAndStop(playerSO.data.playerDat.s13);
_root.hudeverything.s14.gotoAndStop(playerSO.data.playerDat.s14);
_root.hudeverything.s15.gotoAndStop(playerSO.data.playerDat.s15);
_root.hudeverything.s16.gotoAndStop(playerSO.data.playerDat.s16);
_root.hudeverything.s17.gotoAndStop(playerSO.data.playerDat.s17);
_root.hudeverything.s18.gotoAndStop(playerSO.data.playerDat.s18);
_root.hudeverything.s19.gotoAndStop(playerSO.data.playerDat.s19);
_root.hudeverything.s20.gotoAndStop(playerSO.data.playerDat.s20);
_root.hudeverything.s1.stacknum = playerSO.data.playerDat.stack1;
_root.hudeverything.s2.stacknum = playerSO.data.playerDat.stack2;
_root.hudeverything.s3.stacknum = playerSO.data.playerDat.stack3;
_root.hudeverything.s4.stacknum = playerSO.data.playerDat.stack4;
_root.hudeverything.s5.stacknum = playerSO.data.playerDat.stack5;
_root.hudeverything.s6.stacknum = playerSO.data.playerDat.stack6;
_root.hudeverything.s7.stacknum = playerSO.data.playerDat.stack7;
_root.hudeverything.s8.stacknum = playerSO.data.playerDat.stack8;
_root.hudeverything.s9.stacknum = playerSO.data.playerDat.stack9;
_root.hudeverything.s10.stacknum = playerSO.data.playerDat.stack10;
_root.hudeverything.s11.stacknum = playerSO.data.playerDat.stack11;
_root.hudeverything.s12.stacknum = playerSO.data.playerDat.stack12;
_root.hudeverything.s13.stacknum = playerSO.data.playerDat.stack13;
_root.hudeverything.s14.stacknum = playerSO.data.playerDat.stack14;
_root.hudeverything.s15.stacknum = playerSO.data.playerDat.stack15;
_root.hudeverything.s16.stacknum = playerSO.data.playerDat.stack16;
_root.hudeverything.s17.stacknum = playerSO.data.playerDat.stack17;
_root.hudeverything.s18.stacknum = playerSO.data.playerDat.stack18;
_root.hudeverything.s19.stacknum = playerSO.data.playerDat.stack19;
_root.hudeverything.s20.stacknum = playerSO.data.playerDat.stack20;
_root.rangeammo = playerSO.data.playerDat.rangeammo;
_root.lvl = playerSO.data.playerDat.lvl;
_root.spnt = playerSO.data.playerDat.spnt;
_root.xpneed = playerSO.data.playerDat.xpneed;
_root.xp = playerSO.data.playerDat.xp;
_root.quest1 = playerSO.data.playerDat.quest1;
_root.quest2 = playerSO.data.playerDat.quest2;
_root.quest3 = playerSO.data.playerDat.quest3;
_root.quest4 = playerSO.data.playerDat.quest4;
_root.quest5 = playerSO.data.playerDat.quest5;
_root.quest6 = playerSO.data.playerDat.quest6;
_root.quest7 = playerSO.data.playerDat.quest7;
_root.quest8 = playerSO.data.playerDat.quest8;
_root.quest9 = playerSO.data.playerDat.quest9;
_root.quest10 = playerSO.data.playerDat.quest10;
_root.quest11 = playerSO.data.playerDat.quest11;
_root.quest12 = playerSO.data.playerDat.quest12;
_root.quest13 = playerSO.data.playerDat.quest13;
_root.crate0 = playerSO.data.playerDat.crate0;
_root.keg0 = playerSO.data.playerDat.keg0;
_root.chest0 = playerSO.data.playerDat.chest0;
_root.chest1 = playerSO.data.playerDat.chest1;
_root.chest2 = playerSO.data.playerDat.chest2;
_root.chest3 = playerSO.data.playerDat.chest3;
_root.chest4 = playerSO.data.playerDat.chest4;
_root.chest5 = playerSO.data.playerDat.chest5;
_root.chest6 = playerSO.data.playerDat.chest6;
_root.chest7 = playerSO.data.playerDat.chest7;
_root.journal.journal._visible = false;
_root.moving = false;
_root.attacking = false;
_root.defending = false;
_root.dir = "L";
_root.chatperson = 0;
_root.foodheal = 0;
_root.foodtimer = 0;
_root.buffatrtimer = 0;
};
setPlayerInfo2 = function () {
player2 = new Object();
player2.bgnum = _root.bg._currentframe;
player2.charname = _root.charname;
player2.arm = _root.arm;
player2.hpmax = _root.hpmax;
player2.hp = _root.hp;
player2.attspeed = _root.attspeed;
player2.magattspeed = _root.magattspeed;
player2.dmgmin = _root.dmgmin;
player2.dmgmax = _root.dmgmax;
player2.dmgtype = _root.dmgtype;
player2.dmgrangemin = _root.dmgrangemin;
player2.dmgrangemax = _root.dmgrangemax;
player2.dmgrangetype = _root.dmgrangetype;
player2.movespd = _root.movespd;
player2.str = _root.str;
player2.agi = _root.agi;
player2.end = _root.end;
player2.wil = _root.wil;
player2.rep = _root.rep;
player2.wpnslot = _root.wpnslot._currentframe;
player2.wpn = _root.wpn;
player2.wpnstr = _root.wpnstr;
player2.wpnagi = _root.wpnagi;
player2.wpnend = _root.wpnend;
player2.wpnwil = _root.wpnwil;
player2.wpnarm = _root.wpnarm;
player2.bowslot = _root.bowslot._currentframe;
player2.wpnrange = _root.wpnrange;
player2.wpnrangestr = _root.wpnrangestr;
player2.wpnrangeagi = _root.wpnrangeagi;
player2.wpnrangeend = _root.wpnrangeend;
player2.wpnrangewil = _root.wpnrangewil;
player2.wpnrangearm = _root.wpnrangearm;
player2.shislot = _root.shislot._currentframe;
player2.shi = _root.shi;
player2.shistr = _root.shistr;
player2.shiagi = _root.shiagi;
player2.shiend = _root.shiend;
player2.shiwil = _root.shiwil;
player2.shiarm = _root.shiarm;
player2.shiblock = _root.shiblock;
player2.jewelslot = _root.jewelslot._currentframe;
player2.jewstr = _root.jewstr;
player2.jewagi = _root.jewagi;
player2.jewend = _root.jewend;
player2.jewwil = _root.jewwil;
player2.jewarm = _root.jewarm;
player2.armorslot = _root.armorslot._currentframe;
player2.body = _root.bdy;
player2.armstr = _root.armstr;
player2.armagi = _root.armagi;
player2.armend = _root.armend;
player2.armwil = _root.armwil;
player2.armarm = _root.armarm;
player2.headslot = _root.headslot._currentframe;
player2.head = _root.head;
player2.headstr = _root.headstr;
player2.headagi = _root.headagi;
player2.headend = _root.headend;
player2.headwil = _root.headwil;
player2.headarm = _root.headarm;
player2.gold = _root.gold;
player2.s1 = _root.hudeverything.s1._currentframe;
player2.s2 = _root.hudeverything.s2._currentframe;
player2.s3 = _root.hudeverything.s3._currentframe;
player2.s4 = _root.hudeverything.s4._currentframe;
player2.s5 = _root.hudeverything.s5._currentframe;
player2.s6 = _root.hudeverything.s6._currentframe;
player2.s7 = _root.hudeverything.s7._currentframe;
player2.s8 = _root.hudeverything.s8._currentframe;
player2.s9 = _root.hudeverything.s9._currentframe;
player2.s10 = _root.hudeverything.s10._currentframe;
player2.s11 = _root.hudeverything.s11._currentframe;
player2.s12 = _root.hudeverything.s12._currentframe;
player2.s13 = _root.hudeverything.s13._currentframe;
player2.s14 = _root.hudeverything.s14._currentframe;
player2.s15 = _root.hudeverything.s15._currentframe;
player2.s16 = _root.hudeverything.s16._currentframe;
player2.s17 = _root.hudeverything.s17._currentframe;
player2.s18 = _root.hudeverything.s18._currentframe;
player2.s19 = _root.hudeverything.s19._currentframe;
player2.s20 = _root.hudeverything.s20._currentframe;
player2.stack1 = _root.hudeverything.s1.stacknum;
player2.stack2 = _root.hudeverything.s2.stacknum;
player2.stack3 = _root.hudeverything.s3.stacknum;
player2.stack4 = _root.hudeverything.s4.stacknum;
player2.stack5 = _root.hudeverything.s5.stacknum;
player2.stack6 = _root.hudeverything.s6.stacknum;
player2.stack7 = _root.hudeverything.s7.stacknum;
player2.stack8 = _root.hudeverything.s8.stacknum;
player2.stack9 = _root.hudeverything.s9.stacknum;
player2.stack10 = _root.hudeverything.s10.stacknum;
player2.stack11 = _root.hudeverything.s11.stacknum;
player2.stack12 = _root.hudeverything.s12.stacknum;
player2.stack13 = _root.hudeverything.s13.stacknum;
player2.stack14 = _root.hudeverything.s14.stacknum;
player2.stack15 = _root.hudeverything.s15.stacknum;
player2.stack16 = _root.hudeverything.s16.stacknum;
player2.stack17 = _root.hudeverything.s17.stacknum;
player2.stack18 = _root.hudeverything.s18.stacknum;
player2.stack19 = _root.hudeverything.s19.stacknum;
player2.stack20 = _root.hudeverything.s20.stacknum;
player2.rangeammo = _root.rangeammo;
player2.lvl = _root.lvl;
player2.spnt = _root.spnt;
player2.xpneed = _root.xpneed;
player2.xp = _root.xp;
player2.quest1 = _root.quest1;
player2.quest2 = _root.quest2;
player2.quest3 = _root.quest3;
player2.quest4 = _root.quest4;
player2.quest5 = _root.quest5;
player2.quest6 = _root.quest6;
player2.quest7 = _root.quest7;
player2.quest8 = _root.quest8;
player2.quest9 = _root.quest9;
player2.quest10 = _root.quest10;
player2.quest11 = _root.quest11;
player2.quest12 = _root.quest12;
player2.quest13 = _root.quest13;
player2.crate0 = _root.crate0;
player2.keg0 = _root.keg0;
player2.chest0 = _root.chest0;
player2.chest1 = _root.chest1;
player2.chest2 = _root.chest2;
player2.chest3 = _root.chest3;
player2.chest4 = _root.chest4;
player2.chest5 = _root.chest5;
player2.chest6 = _root.chest6;
player2.chest7 = _root.chest7;
};
savePlayer2 = function () {
playerSO2 = SharedObject.getLocal("playerInfo");
playerSO2.data.playerDat2 = player2;
playerSO2.flush();
};
loadPlayer2 = function () {
playerSO2 = SharedObject.getLocal("playerInfo");
player2 = new Object();
_root.bg.gotoAndStop(playerSO2.data.playerDat2.bgnum);
_root.charname = playerSO2.data.playerDat2.charname;
_root.arm = playerSO2.data.playerDat2.arm;
_root.hpmax = playerSO2.data.playerDat2.hpmax;
_root.hp = playerSO2.data.playerDat2.hp;
_root.attspeed = playerSO2.data.playerDat2.attspeed;
_root.magattspeed = playerSO2.data.playerDat2.magattspeed;
_root.dmgmin = playerSO2.data.playerDat2.dmgmin;
_root.dmgmax = playerSO2.data.playerDat2.dmgmax;
_root.dmgtype = playerSO2.data.playerDat2.dmgtype;
_root.dmgrangemin = playerSO2.data.playerDat2.dmgrangemin;
_root.dmgrangemax = playerSO2.data.playerDat2.dmgrangemax;
_root.dmgrangetype = playerSO2.data.playerDat2.dmgrangetype;
_root.movespd = playerSO2.data.playerDat2.movespd;
_root.str = playerSO2.data.playerDat2.str;
_root.agi = playerSO2.data.playerDat2.agi;
_root.end = playerSO2.data.playerDat2.end;
_root.wil = playerSO2.data.playerDat2.wil;
_root.rep = playerSO2.data.playerDat2.rep;
_root.wpnslot.gotoAndStop(playerSO2.data.playerDat2.wpnslot);
_root.wpn = playerSO2.data.playerDat2.wpn;
_root.wpnstr = playerSO2.data.playerDat2.wpnstr;
_root.wpnagi = playerSO2.data.playerDat2.wpnagi;
_root.wpnend = playerSO2.data.playerDat2.wpnend;
_root.wpnwil = playerSO2.data.playerDat2.wpnwil;
_root.wpnarm = playerSO2.data.playerDat2.wpnarm;
_root.bowslot.gotoAndStop(playerSO2.data.playerDat2.bowslot);
_root.wpnrange = playerSO2.data.playerDat2.wpnrange;
_root.wpnrangestr = playerSO2.data.playerDat2.wpnrangestr;
_root.wpnrangeagi = playerSO2.data.playerDat2.wpnrangeagi;
_root.wpnrangeend = playerSO2.data.playerDat2.wpnrangeend;
_root.wpnrangewil = playerSO2.data.playerDat2.wpnrangewil;
_root.wpnrangearm = playerSO2.data.playerDat2.wpnrangearm;
_root.shislot.gotoAndStop(playerSO2.data.playerDat2.shislot);
_root.shi = playerSO2.data.playerDat2.shi;
_root.shistr = playerSO2.data.playerDat2.shistr;
_root.shiagi = playerSO2.data.playerDat2.shiagi;
_root.shiend = playerSO2.data.playerDat2.shiend;
_root.shiwil = playerSO2.data.playerDat2.shiwil;
_root.shiarm = playerSO2.data.playerDat2.shiarm;
_root.shiblock = playerSO2.data.playerDat2.shiblock;
_root.jewelslot.gotoAndStop(playerSO2.data.playerDat2.jewelslot);
_root.jewstr = playerSO2.data.playerDat2.jewstr;
_root.jewagi = playerSO2.data.playerDat2.jewagi;
_root.jewend = playerSO2.data.playerDat2.jewend;
_root.jewwil = playerSO2.data.playerDat2.jewwil;
_root.jewarm = playerSO2.data.playerDat2.jewarm;
_root.armorslot.gotoAndStop(playerSO2.data.playerDat2.armorslot);
_root.bdy = playerSO2.data.playerDat2.body;
_root.armstr = playerSO2.data.playerDat2.armstr;
_root.armagi = playerSO2.data.playerDat2.armagi;
_root.armend = playerSO2.data.playerDat2.armend;
_root.armwil = playerSO2.data.playerDat2.armwil;
_root.armarm = playerSO2.data.playerDat2.armarm;
_root.headslot.gotoAndStop(playerSO2.data.playerDat2.headslot);
_root.head = playerSO2.data.playerDat2.head;
_root.headstr = playerSO2.data.playerDat2.headstr;
_root.headagi = playerSO2.data.playerDat2.headagi;
_root.headend = playerSO2.data.playerDat2.headend;
_root.headwil = playerSO2.data.playerDat2.headwil;
_root.headarm = playerSO2.data.playerDat2.headarm;
_root.gold = playerSO2.data.playerDat2.gold;
_root.hudeverything.s1.gotoAndStop(playerSO2.data.playerDat2.s1);
_root.hudeverything.s2.gotoAndStop(playerSO2.data.playerDat2.s2);
_root.hudeverything.s3.gotoAndStop(playerSO2.data.playerDat2.s3);
_root.hudeverything.s4.gotoAndStop(playerSO2.data.playerDat2.s4);
_root.hudeverything.s5.gotoAndStop(playerSO2.data.playerDat2.s5);
_root.hudeverything.s6.gotoAndStop(playerSO2.data.playerDat2.s6);
_root.hudeverything.s7.gotoAndStop(playerSO2.data.playerDat2.s7);
_root.hudeverything.s8.gotoAndStop(playerSO2.data.playerDat2.s8);
_root.hudeverything.s9.gotoAndStop(playerSO2.data.playerDat2.s9);
_root.hudeverything.s10.gotoAndStop(playerSO2.data.playerDat2.s10);
_root.hudeverything.s11.gotoAndStop(playerSO2.data.playerDat2.s11);
_root.hudeverything.s12.gotoAndStop(playerSO2.data.playerDat2.s12);
_root.hudeverything.s13.gotoAndStop(playerSO2.data.playerDat2.s13);
_root.hudeverything.s14.gotoAndStop(playerSO2.data.playerDat2.s14);
_root.hudeverything.s15.gotoAndStop(playerSO2.data.playerDat2.s15);
_root.hudeverything.s16.gotoAndStop(playerSO2.data.playerDat2.s16);
_root.hudeverything.s17.gotoAndStop(playerSO2.data.playerDat2.s17);
_root.hudeverything.s18.gotoAndStop(playerSO2.data.playerDat2.s18);
_root.hudeverything.s19.gotoAndStop(playerSO2.data.playerDat2.s19);
_root.hudeverything.s20.gotoAndStop(playerSO2.data.playerDat2.s20);
_root.hudeverything.s1.stacknum = playerSO2.data.playerDat2.stack1;
_root.hudeverything.s2.stacknum = playerSO2.data.playerDat2.stack2;
_root.hudeverything.s3.stacknum = playerSO2.data.playerDat2.stack3;
_root.hudeverything.s4.stacknum = playerSO2.data.playerDat2.stack4;
_root.hudeverything.s5.stacknum = playerSO2.data.playerDat2.stack5;
_root.hudeverything.s6.stacknum = playerSO2.data.playerDat2.stack6;
_root.hudeverything.s7.stacknum = playerSO2.data.playerDat2.stack7;
_root.hudeverything.s8.stacknum = playerSO2.data.playerDat2.stack8;
_root.hudeverything.s9.stacknum = playerSO2.data.playerDat2.stack9;
_root.hudeverything.s10.stacknum = playerSO2.data.playerDat2.stack10;
_root.hudeverything.s11.stacknum = playerSO2.data.playerDat2.stack11;
_root.hudeverything.s12.stacknum = playerSO2.data.playerDat2.stack12;
_root.hudeverything.s13.stacknum = playerSO2.data.playerDat2.stack13;
_root.hudeverything.s14.stacknum = playerSO2.data.playerDat2.stack14;
_root.hudeverything.s15.stacknum = playerSO2.data.playerDat2.stack15;
_root.hudeverything.s16.stacknum = playerSO2.data.playerDat2.stack16;
_root.hudeverything.s17.stacknum = playerSO2.data.playerDat2.stack17;
_root.hudeverything.s18.stacknum = playerSO2.data.playerDat2.stack18;
_root.hudeverything.s19.stacknum = playerSO2.data.playerDat2.stack19;
_root.hudeverything.s20.stacknum = playerSO2.data.playerDat2.stack20;
_root.rangeammo = playerSO2.data.playerDat2.rangeammo;
_root.lvl = playerSO2.data.playerDat2.lvl;
_root.spnt = playerSO2.data.playerDat2.spnt;
_root.xpneed = playerSO2.data.playerDat2.xpneed;
_root.xp = playerSO2.data.playerDat2.xp;
_root.quest1 = playerSO2.data.playerDat2.quest1;
_root.quest2 = playerSO2.data.playerDat2.quest2;
_root.quest3 = playerSO2.data.playerDat2.quest3;
_root.quest4 = playerSO2.data.playerDat2.quest4;
_root.quest5 = playerSO2.data.playerDat2.quest5;
_root.quest6 = playerSO2.data.playerDat2.quest6;
_root.quest7 = playerSO2.data.playerDat2.quest7;
_root.quest8 = playerSO2.data.playerDat2.quest8;
_root.quest9 = playerSO2.data.playerDat2.quest9;
_root.quest10 = playerSO2.data.playerDat2.quest10;
_root.quest11 = playerSO2.data.playerDat2.quest11;
_root.quest12 = playerSO2.data.playerDat2.quest12;
_root.quest13 = playerSO2.data.playerDat2.quest13;
_root.crate0 = playerSO2.data.playerDat2.crate0;
_root.keg0 = playerSO2.data.playerDat2.keg0;
_root.chest0 = playerSO2.data.playerDat2.chest0;
_root.chest1 = playerSO2.data.playerDat2.chest1;
_root.chest2 = playerSO2.data.playerDat2.chest2;
_root.chest3 = playerSO2.data.playerDat2.chest3;
_root.chest4 = playerSO2.data.playerDat2.chest4;
_root.chest5 = playerSO2.data.playerDat2.chest5;
_root.chest6 = playerSO2.data.playerDat2.chest6;
_root.chest7 = playerSO2.data.playerDat2.chest7;
_root.journal.journal._visible = false;
_root.moving = false;
_root.attacking = false;
_root.defending = false;
_root.dir = "L";
_root.chatperson = 0;
_root.foodheal = 0;
_root.foodtimer = 0;
_root.buffatrtimer = 0;
};
Instance of Symbol 1072 MovieClip "goldplus" in Frame 3
on (release) {
_root.gold = _root.gold + 500;
}
Symbol 32 MovieClip Frame 1
this.bar.onEnterFrame = function () {
this._parent.hit = this._parent._parent.hits;
this._xscale = (this._parent._parent.hits / this._parent._parent.hitmax) * 100;
};
Symbol 42 MovieClip Frame 19
this._parent.hit = true;
Symbol 42 MovieClip Frame 20
this._parent.hit = false;
this._parent.attacking = false;
Symbol 44 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 45 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("crate3");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Champion's Corpse].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 52) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Bug Eye].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("bugeye");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Bug Eye].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 60) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Broken Antenna].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("brokenantenna");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Broken Antenna].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 53 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 50) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Meaty Spider Leg].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("meatyspiderleg");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Meaty Spider Leg].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Instance of Symbol 56 MovieClip in Symbol 57 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("hugespiderfang");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Huge Spider Fang].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
stop();
Instance of Symbol 59 MovieClip in Symbol 60 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("toughcarapace");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Tough Carapace].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip in Symbol 63 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("crumplednote");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Crumpled Note].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 64 MovieClip Frame 1
this.gotoAndStop(random(29) + 2);
Symbol 66 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 66 MovieClip Frame 16
_root.xp = _root.xp + 140;
_root.quest12 = 3;
Symbol 66 MovieClip Frame 50
stop();
Symbol 75 MovieClip Frame 19
this._parent.hit = true;
Symbol 75 MovieClip Frame 20
this._parent.hit = false;
this._parent.attacking = false;
Symbol 77 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 77 MovieClip Frame 30
_root.xp = _root.xp + 140;
Symbol 77 MovieClip Frame 40
stop();
Symbol 107 MovieClip Frame 8
this._parent.hit = true;
Symbol 107 MovieClip Frame 9
this._parent.hit = false;
this._parent.attacking = false;
Symbol 119 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 10) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Spider Fang].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("spiderfang");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Spider Fang].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
stop();
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 9) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Spider Leg].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("spiderleg");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Spider Leg].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 124 MovieClip Frame 1
this.gotoAndStop(random(29) + 2);
Symbol 126 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 126 MovieClip Frame 25
_root.xp = _root.xp + 10;
Symbol 126 MovieClip Frame 35
stop();
Symbol 168 MovieClip Frame 15
this._parent.hit = true;
Symbol 168 MovieClip Frame 16
this._parent.hit = false;
this._parent.attacking = false;
Symbol 170 MovieClip Frame 15
this._parent.hit = true;
Symbol 170 MovieClip Frame 16
this._parent.hit = false;
this._parent.attacking = false;
Symbol 185 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 27) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 11) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 14) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 13) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 17) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 16) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 12) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 18) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 19) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 20) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 21) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 22) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 23) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 24) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 25) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 26) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 28) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 29) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 30) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 31) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 32) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 33) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 34) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 35) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 184 MovieClip "hit" in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
this.goldvalue = random(25) + 10;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (Key.isDown(32)) {
_root.gold = _root.gold + this.goldvalue;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up [" + this.goldvalue) + " Coins].";
_root.maintip._visible = true;
this._parent.gotoAndStop(2);
}
}
}
Symbol 186 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 27) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 11) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 14) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 13) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 17) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 16) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 12) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 18) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 19) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 20) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 21) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 22) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 23) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 24) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 25) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 26) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 28) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 29) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 30) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 31) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 32) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 33) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 34) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 35) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 37) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 36) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 38) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 39) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 40) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 41) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 42) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 43) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 44) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 46) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 47) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 48) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 49) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 50) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 184 MovieClip "hit" in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
this.goldvalue = random(30) + 20;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (Key.isDown(32)) {
_root.gold = _root.gold + this.goldvalue;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up [" + this.goldvalue) + " Coins].";
_root.maintip._visible = true;
this._parent.gotoAndStop(2);
}
}
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 12) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Health Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("minhppotion");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Health Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 192 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 193 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 33) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Endurance Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("minendpotion");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Endurance Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 32) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Agility Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("minagipotion");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Agility Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 198 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 199 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 34) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Strength Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("minstrpotion");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Strength Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 201 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 35) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Willpower Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("minwilpotion");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Minor Willpower Potion].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 203 MovieClip Frame 1
this.gotoAndStop(random(9) + 2);
Symbol 205 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("spear");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Spear].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("ironsword");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Iron Sword].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 211 MovieClip in Symbol 212 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("roughmailvest");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Rough Mail Vest].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("silverchain");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Silver Chain].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("leatherjerkin");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Leather Jerkin].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 220 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("bronzechain");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Bronze Chain].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 222 MovieClip Frame 1
this.gotoAndStop(random(74) + 2);
Symbol 224 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 224 MovieClip Frame 50
_root.xp = _root.xp + 180;
_root.rep = _root.rep - 15;
Symbol 224 MovieClip Frame 60
stop();
Symbol 254 MovieClip Frame 15
this._parent.hit = true;
Symbol 254 MovieClip Frame 16
this._parent.hit = false;
this._parent.attacking = false;
Symbol 256 MovieClip Frame 15
this._parent.hit = true;
Symbol 256 MovieClip Frame 16
this._parent.hit = false;
this._parent.attacking = false;
Symbol 263 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 27) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 11) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 14) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 13) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 17) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 16) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 12) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 18) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 19) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 20) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 21) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 22) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 23) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 24) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 25) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 26) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 28) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 29) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 30) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 31) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 32) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 33) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 34) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 35) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 37) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 36) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 38) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 39) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 40) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 41) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 42) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 43) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 44) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 46) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 47) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 48) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 49) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 50) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 184 MovieClip "hit" in Symbol 263 MovieClip Frame 1
onClipEvent (load) {
this.goldvalue = random(40) + 10;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (Key.isDown(32)) {
_root.gold = _root.gold + this.goldvalue;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up [" + this.goldvalue) + " Coins].";
_root.maintip._visible = true;
this._parent.gotoAndStop(2);
}
}
}
Symbol 264 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 100) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 86) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 85) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 27) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 11) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 14) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 13) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 17) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 16) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 12) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 18) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 19) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 20) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 21) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 22) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 23) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 24) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 25) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 26) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 28) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 29) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 30) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 31) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 32) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 33) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 34) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 35) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 37) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 36) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 38) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 39) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 40) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 41) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 42) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 43) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 44) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 46) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 47) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 48) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 49) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 50) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 51) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 52) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 53) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 54) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 55) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 56) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 57) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 58) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 59) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 60) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 61) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 62) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 63) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 64) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 65) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 66) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 68) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 69) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 70) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 71) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 72) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 73) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 75) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 76) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 77) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 78) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 74) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 79) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 80) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 81) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 82) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 83) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 84) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 87) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 88) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 89) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 90) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 91) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 92) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 93) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 94) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 95) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 96) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 97) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 98) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 99) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 184 MovieClip "hit" in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
this.goldvalue = random(50) + 50;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (Key.isDown(32)) {
_root.gold = _root.gold + this.goldvalue;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up [" + this.goldvalue) + " Coins].";
_root.maintip._visible = true;
this._parent.gotoAndStop(2);
}
}
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 1
stop();
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("imperialsword");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Imperial Sword].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("imperialraiment");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Imperial Raiment].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("imperialshield");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Imperial Shield].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 274 MovieClip Frame 1
this.gotoAndStop(random(74) + 2);
Symbol 276 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 276 MovieClip Frame 50
_root.xp = _root.xp + 200;
_root.rep = _root.rep - 25;
Symbol 276 MovieClip Frame 60
stop();
Symbol 286 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 288 MovieClip Frame 36
this._parent.gotoAndStop(1);
Symbol 289 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 11
this._parent.hit = true;
Symbol 312 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 314 MovieClip Frame 11
this._parent.hit = true;
Symbol 314 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 319 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
stop();
Instance of Symbol 319 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("crate2");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Crate Of Supplies].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 323 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Instance of Symbol 323 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("banditsbow");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Bandit's Bow].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 326 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 1
stop();
Instance of Symbol 326 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("banditblade");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Bandit's Blade].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 328 MovieClip Frame 1
this.gotoAndStop(random(18) + 2);
Symbol 330 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 1
stop();
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("stingshead");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Sting's Head].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 333 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 333 MovieClip Frame 50
_root.quest5 = 3;
_root.rep = _root.rep + 15;
_root.xp = _root.xp + 140;
Symbol 333 MovieClip Frame 60
stop();
Symbol 341 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 343 MovieClip Frame 36
this._parent.gotoAndStop(1);
Symbol 344 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 11
this._parent.hit = true;
Symbol 361 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 363 MovieClip Frame 11
this._parent.hit = true;
Symbol 363 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 372 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 7) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 6) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 8) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 9) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 10) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 11) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 12) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 14) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 13) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 184 MovieClip "hit" in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
this.goldvalue = random(10) + 5;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (Key.isDown(32)) {
_root.gold = _root.gold + this.goldvalue;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up [" + this.goldvalue) + " Coins].";
_root.maintip._visible = true;
this._parent.gotoAndStop(2);
}
}
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 25) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Stolen Harvest].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("stolenharvest");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Stolen Harvest].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 377 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Instance of Symbol 377 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 16) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Mutton].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("mutton");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Mutton].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 380 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Instance of Symbol 380 MovieClip in Symbol 381 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("redmask");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Red Bandit Mask].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
stop();
Instance of Symbol 383 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("wornbow");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Worn Short Bow].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 386 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 1
stop();
Instance of Symbol 386 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("rogueshirt");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Rogue's Shirt].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 389 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 1
stop();
Instance of Symbol 389 MovieClip in Symbol 390 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("sharpdagger");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Sharp Dagger].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 391 MovieClip Frame 1
this.gotoAndStop(random(59) + 2);
Symbol 392 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 392 MovieClip Frame 50
_root.xp = _root.xp + 45;
_root.rep = _root.rep + 3;
Symbol 392 MovieClip Frame 60
stop();
Symbol 399 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 401 MovieClip Frame 36
this._parent.gotoAndStop(1);
Symbol 402 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 11
this._parent.hit = true;
Symbol 424 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 426 MovieClip Frame 11
this._parent.hit = true;
Symbol 426 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 435 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 435 MovieClip Frame 50
_root.xp = _root.xp + 45;
_root.rep = _root.rep + 3;
Symbol 435 MovieClip Frame 60
stop();
Symbol 443 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 445 MovieClip Frame 36
this._parent.gotoAndStop(1);
Symbol 446 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 17
this._parent.hit = true;
Symbol 478 MovieClip Frame 18
this._parent.hit = false;
this._parent.attacking = false;
Symbol 480 MovieClip Frame 17
this._parent.hit = true;
Symbol 480 MovieClip Frame 18
this._parent.hit = false;
this._parent.attacking = false;
Symbol 491 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 1
stop();
Instance of Symbol 491 MovieClip in Symbol 492 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 78) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Voodoo Beads].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("voodoobeads");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Voodoo Beads].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 493 MovieClip Frame 1
this.gotoAndStop(random(19) + 2);
Symbol 495 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 1
stop();
Instance of Symbol 495 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("thorrune");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Tho'r Rune].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 498 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 1
stop();
Instance of Symbol 498 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("thornymaul");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Thorny Maul].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 1
stop();
Instance of Symbol 501 MovieClip in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("cerenecklace");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Ceremonial Necklace].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
stop();
Instance of Symbol 504 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("tribalmask");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Tribal Mask].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 507 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Instance of Symbol 507 MovieClip in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("tribalmantle");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Tribal Mantle].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 510 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 1
stop();
Instance of Symbol 510 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("rustykey");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Rusty Key].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 513 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("ancienttome");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Ancient Tome].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 516 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 1
stop();
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("battlewornaxe");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Battleworn Axe].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 518 MovieClip Frame 1
this.gotoAndStop(random(84) + 2);
Symbol 519 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 519 MovieClip Frame 50
_root.xp = _root.xp + 180;
_root.rep = _root.rep + 4;
Symbol 519 MovieClip Frame 60
stop();
Symbol 532 MovieClip Frame 11
this._parent.hit = true;
Symbol 532 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 535 MovieClip Frame 1
stop();
Symbol 536 MovieClip Frame 1
stop();
Instance of Symbol 535 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 81) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Wolf Paw].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("wolfpaw");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Wolf Paw].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 538 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
stop();
Instance of Symbol 538 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 80) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Wolf Fang].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("wolffang");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Wolf Fang].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 541 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 1
stop();
Instance of Symbol 541 MovieClip in Symbol 542 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 70) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Lean Steak].";
_root.maintip._visible = true;
pickedup = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("leansteak");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Lean Steak].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 544 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 1
stop();
Instance of Symbol 544 MovieClip in Symbol 545 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("dogcollar");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Dog Collar].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 546 MovieClip Frame 1
this.gotoAndStop(random(34) + 2);
Symbol 548 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 548 MovieClip Frame 61
_root.xp = _root.xp + 80;
Symbol 548 MovieClip Frame 71
stop();
Symbol 555 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 557 MovieClip Frame 36
this._parent.gotoAndStop(1);
Symbol 558 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 23
this._parent.hit = true;
Symbol 599 MovieClip Frame 24
this._parent.hit = false;
this._parent.attacking = false;
Symbol 608 MovieClip Frame 23
this._parent.hit = true;
Symbol 608 MovieClip Frame 24
this._parent.hit = false;
this._parent.attacking = false;
Symbol 615 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 615 MovieClip Frame 50
_root.xp = _root.xp + 180;
_root.rep = _root.rep + 4;
Symbol 615 MovieClip Frame 60
stop();
Symbol 654 MovieClip Frame 22
this._parent.hit = true;
Symbol 654 MovieClip Frame 23
this._parent.hit = false;
this._parent.attacking = false;
Symbol 656 MovieClip Frame 22
this._parent.hit = true;
Symbol 656 MovieClip Frame 23
this._parent.hit = false;
this._parent.attacking = false;
Symbol 660 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 1
stop();
Instance of Symbol 660 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 112) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Troll Tooth].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("ogretooth");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Troll Tooth].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 662 MovieClip Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 662 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("rottencarcass");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Rotten Carcass].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 664 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 1
stop();
Instance of Symbol 664 MovieClip in Symbol 665 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("stoneshield");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Stone Shield].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 667 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 1
stop();
Instance of Symbol 667 MovieClip in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("skullmallet");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Skull Mallet].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 671 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("stonehammer");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Stone Hammer].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 673 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 1
stop();
Instance of Symbol 673 MovieClip in Symbol 674 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + (x - 1));
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 91) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Pungent Fish].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("pungentfish");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Pungent Fish].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 675 MovieClip Frame 1
this.gotoAndStop(random(74) + 2);
Symbol 677 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 677 MovieClip Frame 115
_root.xp = _root.xp + 80;
Symbol 677 MovieClip Frame 125
stop();
Symbol 680 MovieClip [leaffall] Frame 71
stop();
Symbol 686 MovieClip Frame 40
var rand = random(100);
if (rand >= 40) {
this._parent.gotoAndStop(2);
}
Symbol 688 MovieClip Frame 125
this._parent.gotoAndStop(1);
Symbol 689 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 28
this._parent.moving = true;
Symbol 714 MovieClip Frame 14
this._parent.hit = true;
Symbol 714 MovieClip Frame 15
this._parent.hit = false;
this._parent.attacking = false;
Symbol 724 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 724 MovieClip Frame 85
_root.xp = _root.xp + 220;
Symbol 724 MovieClip Frame 95
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 1
stop();
Instance of Symbol 726 MovieClip in Symbol 727 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 102) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Wooden Log].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("woodenlog");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Wooden Log].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 729 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 1
stop();
Instance of Symbol 729 MovieClip in Symbol 730 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
var restack = true;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (restack == true) {
if (((_root.hudeverything[sx]._currentframe == 108) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 20))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 20) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Snapped Twig].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if (x == 20) {
restack = false;
x = 1;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("snappedtwig");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Snapped Twig].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 732 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 1
stop();
Instance of Symbol 732 MovieClip in Symbol 733 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("lumberjackaxe");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Lumberjack's Axe].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 735 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 1
stop();
Instance of Symbol 735 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("lifebloodroot");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Life Blood Root].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 738 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 1
stop();
Instance of Symbol 738 MovieClip in Symbol 739 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 109) && (pickedup != true)) {
_root.hudeverything[sx].stacknum++;
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Nature Scroll].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("naturescroll");
_root.hudeverything[sx].stacknum = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Nature Scroll].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 740 MovieClip Frame 1
this.gotoAndStop(random(39) + 2);
Symbol 741 MovieClip Frame 95
stop();
Symbol 783 MovieClip Frame 16
this._parent.hit = true;
Symbol 783 MovieClip Frame 17
this._parent.hit = false;
this._parent.attacking = false;
Symbol 783 MovieClip Frame 43
this._parent.hit = true;
Symbol 783 MovieClip Frame 44
this._parent.hit = false;
this._parent.attacking = false;
Symbol 787 MovieClip Frame 16
this._parent.hit = true;
Symbol 787 MovieClip Frame 17
this._parent.hit = false;
this._parent.attacking = false;
Symbol 787 MovieClip Frame 43
this._parent.hit = true;
Symbol 787 MovieClip Frame 44
this._parent.hit = false;
this._parent.attacking = false;
Symbol 797 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 1
stop();
Instance of Symbol 797 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("barbarichelmet");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Barbaric Helmet].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 800 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 1
stop();
Instance of Symbol 800 MovieClip in Symbol 801 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("bronzeshield");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Bronze Shield].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 803 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 1
stop();
Instance of Symbol 803 MovieClip in Symbol 804 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("silveridol");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Tarnished Silver Idol].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 806 MovieClip Frame 1
stop();
Symbol 807 MovieClip Frame 1
stop();
Instance of Symbol 806 MovieClip in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 68) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (pickedup != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
}
x = 1;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Metal Scraps].";
_root.maintip._visible = true;
this.gotoAndStop(2);
} else if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("metalscrap");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up [Metal Scraps].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 808 MovieClip Frame 1
this.gotoAndStop(random(89) + 2);
Symbol 809 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 809 MovieClip Frame 61
_root.xp = _root.xp + 200;
_root.rep = _root.rep + 2;
Symbol 809 MovieClip Frame 71
stop();
Symbol 813 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 815 MovieClip Frame 36
this._parent.gotoAndStop(1);
Symbol 816 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 11
this._parent.hit = true;
Symbol 840 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 842 MovieClip Frame 11
this._parent.hit = true;
Symbol 842 MovieClip Frame 12
this._parent.hit = false;
this._parent.attacking = false;
Symbol 848 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 1
stop();
Instance of Symbol 848 MovieClip in Symbol 849 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("crudedagger");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Crude Dagger].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 851 MovieClip Frame 1
stop();
Symbol 852 MovieClip Frame 1
stop();
Instance of Symbol 851 MovieClip in Symbol 852 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("oldleathervest");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Old Leather Vest].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 854 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("rustymailvest");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Rusty Mail Vest].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 856 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 182 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.hit.goldvalue >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 184 MovieClip "hit" in Symbol 856 MovieClip Frame 1
onClipEvent (load) {
this.goldvalue = random(5) + 1;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
if (Key.isDown(32)) {
_root.gold = _root.gold + this.goldvalue;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up [" + this.goldvalue) + " Coins].";
_root.maintip._visible = true;
this._parent.gotoAndStop(2);
}
}
}
Symbol 858 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 1
stop();
Instance of Symbol 858 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("splinteredlog");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Splintered Log].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 861 MovieClip Frame 1
stop();
Symbol 862 MovieClip Frame 1
stop();
Instance of Symbol 861 MovieClip in Symbol 862 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("crudeamulet");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Crude Amulet].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 863 MovieClip Frame 1
this.gotoAndStop(random(39) + 2);
Symbol 864 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 864 MovieClip Frame 50
_root.xp = _root.xp + 20;
Symbol 864 MovieClip Frame 60
stop();
Symbol 925 MovieClip Frame 13
this._parent.hit = true;
Symbol 925 MovieClip Frame 14
this._parent.hit = false;
this._parent.attacking = false;
Symbol 944 MovieClip Frame 13
this._parent.hit = true;
Symbol 944 MovieClip Frame 14
this._parent.hit = false;
this._parent.attacking = false;
Symbol 961 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 961 MovieClip Frame 45
_root.xp = _root.xp + 10;
Symbol 961 MovieClip Frame 55
_root.tutorial.gotoAndStop(37);
_root.menuon = true;
this._parent.removeMovieClip();
Symbol 963 MovieClip Frame 1
this._parent.hit = false;
this._parent.attacking = false;
Symbol 963 MovieClip Frame 45
_root.xp = _root.xp + 10;
Symbol 963 MovieClip Frame 55
this._parent.removeMovieClip();
Symbol 974 MovieClip Frame 8
this._parent.hit = true;
Symbol 974 MovieClip Frame 9
this._parent.hit = false;
this._parent.attacking = false;
Symbol 976 MovieClip Frame 8
this._parent.hit = true;
Symbol 976 MovieClip Frame 9
this._parent.hit = false;
this._parent.attacking = false;
Symbol 977 MovieClip Frame 1
this._parent.removeMovieClip();
Symbol 980 MovieClip Frame 8
stop();
Symbol 983 MovieClip Frame 8
stop();
Symbol 987 MovieClip Frame 8
stop();
Symbol 992 MovieClip Frame 8
stop();
Symbol 993 MovieClip Frame 8
stop();
Symbol 995 MovieClip Frame 8
stop();
Symbol 1007 MovieClip [impact0] Frame 9
this.removeMovieClip();
Symbol 1016 MovieClip [impact6] Frame 25
this.removeMovieClip();
Symbol 1024 MovieClip [impact2] Frame 25
this.removeMovieClip();
Symbol 1025 MovieClip [impact1] Frame 17
this.removeMovieClip();
Symbol 3868 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local28 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local28);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local25 = 11000;
var _local20 = options.ad_timeout;
if (options.skip) {
_local20 = 0;
}
delete options.ad_timeout;
var _local23 = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
_local3._x = _local5 * 0.5;
_local3._y = _local14 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local24 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local26 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local24);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local26, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local25;
chk.ad_timeout = _local20;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = _local23;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
_local3.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local15 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local15);
var clip = options.clip;
var _local12 = 11000;
var _local14 = options.ad_timeout;
delete options.ad_timeout;
var _local11 = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local6 = _getRes(options);
var _local16 = _local6[0];
var _local13 = _local6[1];
_local3._x = _local16 * 0.5;
_local3._y = _local13 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local12;
chk.ad_timeout = _local14;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = _local11;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 3869 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 3870 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.8 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function updateCopy(args) {
send("coins_updateCopy", args, null, null);
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
if (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
//infinite loop
}
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 3871 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 3872 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 3873 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1048 Button
on (release) {
getURL ("http://www.muchgames.com", "_blank");
}
Symbol 1056 Button
on (release) {
getURL ("http://www.facebook.com/DragonsQuestGame", "_blank");
}
Symbol 1057 MovieClip Frame 200
_root.gotoAndStop(3);
Symbol 1068 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1070 MovieClip Frame 22
this._parent.gotoAndStop(1);
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1077 MovieClip Frame 1
stop();
Symbol 1078 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest2 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 1;
_root.chat._visible = true;
_root.chat.chat = "Greetings traveller, how can i help you this fine evening?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 1)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1083 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 2
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 27;
_root.shop = true;
_root.savechat = true;
_root.chat._visible = true;
_root.chat.chat = "You are interacting with this character. This is the chat window. When interacting with NPCs all dialog options are displayed here. Click the [Need Help] button along the right of the window to continue.";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 27)) {
_root.chatperson = 0;
_root.shop = false;
_root.savechat = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1090 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 10
_root.chest0 = true;
Symbol 1097 MovieClip Frame 11
stop();
Symbol 1102 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1103 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 3;
_root.chat._visible = true;
_root.chat.chat = "Have you seen my idiot husband anywhere!! He better not have forgotten about my aniversary again!";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 3)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1107 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
};
Symbol 1128 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 2;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Eh? What do you want?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 2)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1134 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1135 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 5;
_root.chat._visible = true;
_root.chat.chat = "What do you want? And be quick about it I have little time for travellers!";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 5)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1140 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1141 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest1 == 2) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 4;
_root.savechat = true;
_root.chat._visible = true;
_root.chat.chat = "Greetings Traveller. I haven't see you around these parts before are you staying long?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 4)) {
_root.chatperson = 0;
_root.savechat = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1149 MovieClip Frame 1
stop();
Symbol 1149 MovieClip Frame 10
_root.chest1 = true;
Symbol 1149 MovieClip Frame 11
stop();
Symbol 1153 MovieClip Frame 1
stop();
Symbol 1153 MovieClip Frame 11
_root.crate0 = 3;
Symbol 1153 MovieClip Frame 12
stop();
Symbol 1166 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1167 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest3 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 6;
_root.chat._visible = true;
_root.chat.chat = "Good day, then. What can I do fer ye?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 6)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1180 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1181 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 13;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Greetings traveller. How can I be of assistance to you?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 13)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1184 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1185 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest4 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 7;
_root.savechat = true;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Good day traveller. Can I get you something?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 7)) {
_root.chatperson = 0;
_root.savechat = false;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1191 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 8;
_root.chat._visible = true;
_root.chat.chat = "[Hiccup] Eh? Wut dooozzz you do foor you? [Hiccup]";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 8)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1198 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1199 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 12;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Hello, how can I help you today?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 12)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1209 MovieClip Frame 1
stop();
Symbol 1210 MovieClip Frame 1
stop();
Instance of Symbol 1209 MovieClip in Symbol 1210 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("kegofale");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Keg Of Ale].";
_root.maintip._visible = true;
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 1211 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 11
_root.keg0 = 3;
Symbol 1211 MovieClip Frame 12
stop();
Symbol 1212 MovieClip Frame 1
stop();
Symbol 1212 MovieClip Frame 10
_root.chest2 = true;
Symbol 1212 MovieClip Frame 11
stop();
Symbol 1216 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest1 == 4) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 9;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Eh? What do you want?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 9)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1222 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 10;
_root.shop = false;
_root.chat._visible = true;
_root.chat.chat = "I am really busy working... can we talk later?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 10)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1225 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 11;
_root.shop = false;
_root.chat._visible = true;
_root.chat.chat = "I really busy right now, can we talk later?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 11)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 11
_root.chest5 = true;
Symbol 1236 MovieClip Frame 12
stop();
Symbol 1241 MovieClip Frame 1
stop();
Symbol 1241 MovieClip Frame 10
_root.chest3 = true;
Symbol 1241 MovieClip Frame 11
stop();
Symbol 1248 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1249 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 25;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Hello sir...Wait? What? you can hear me! Thats a little weird very few people can hear ghosts.";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 25)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1252 MovieClip Frame 1
stop();
Symbol 1252 MovieClip Frame 2
_root.chest7 = true;
Symbol 1252 MovieClip Frame 3
stop();
Symbol 1272 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest6 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 14;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Eh? What do you want?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 14)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1277 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1278 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest1 == 6) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 15;
_root.chat._visible = true;
_root.savechat = true;
_root.chat.chat = "Greetings in the name of the emperor";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 15)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.savechat = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1295 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest8 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 16;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "G day, G day. How can I be of assistance too you?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 16)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1299 MovieClip Frame 1
stop();
Symbol 1299 MovieClip Frame 11
_root.chest4 = true;
Symbol 1299 MovieClip Frame 12
stop();
Symbol 1310 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1311 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest9 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 17;
_root.chat._visible = true;
_root.chat.chat = "WHAT?! DID YOU SAY SOMETHING? YOUR GONNA HAVE TO SPEAK A LITTLE LOUDER SON!";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 17)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1318 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
};
Symbol 1345 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1346 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 23;
_root.chat._visible = true;
_root.chat.chat = "Present your tickets please!";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 23)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1355 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1356 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 19;
_root.chat._visible = true;
_root.chat.chat = "Greetings, and whats your name then?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 19)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1361 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1362 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest1 == 8) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 21;
_root.chat._visible = true;
_root.chat.chat = "Yaar, Good deh too yee.";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 21)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1366 MovieClip Frame 1
stop();
Symbol 1368 MovieClip Frame 1
stop();
Symbol 1370 MovieClip Frame 1
stop();
Symbol 1375 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 22;
_root.shop = true;
_root.chat._visible = true;
_root.chat.chat = "Greetings Traveler. Please, feel free to browse my wares.?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 22)) {
_root.chatperson = 0;
_root.shop = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1380 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1381 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 20;
_root.savechat = true;
_root.chat._visible = true;
_root.chat.chat = "Greetings Traveller. Do you have gold? And will you be staying long?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 20)) {
_root.chatperson = 0;
_root.savechat = false;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1385 MovieClip Frame 25
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1386 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest10 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 18;
_root.chat._visible = true;
_root.chat.chat = "Yaaarr, Good dey too yee, perhaps yee could assisst an old sailor.";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 18)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1391 MovieClip Frame 1
stop();
Symbol 1391 MovieClip Frame 11
_root.crate0 = 3;
Symbol 1391 MovieClip Frame 12
stop();
Symbol 1396 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
};
Symbol 1405 MovieClip Frame 20
var rand = random(100);
if (rand >= 70) {
this._parent.gotoAndStop(2);
}
Symbol 1406 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.quest11 == 1) {
this.question.gotoAndStop(2);
} else {
this.question.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea) && (Key.isDown(32))) {
_root.chatperson = 24;
_root.chat._visible = true;
_root.chat.chat = "Hello Honey. Do you think you can do a little favor for me?";
} else if ((_root.hero.hit.hitTest(this.hitarea) == false) && (_root.chatperson == 24)) {
_root.chatperson = 0;
_root.chat._visible = false;
_root.chat.chat = "Your not talking to anyone...maybe you thought you were...but that would make you insane...";
}
};
Symbol 1420 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Bennett Homestead";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 255;
_root.hero._y = 290;
this.intact1.gotoAndStop(1);
this.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 500;
_root.createEnemy("enm_spider", 150, 200, 6, 1);
_root.createEnemy("enm_spider", 280, 325, 6, 1);
this.gotoAndStop(3);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
if (_root.quest11 > 3) {
this.gotoAndStop(56);
} else {
this.gotoAndStop(62);
}
}
};
Symbol 1420 MovieClip Frame 2
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.gotoAndStop(1);
_root.hero._x = 350;
_root.hero._y = 210;
this.intact1.gotoAndStop(1);
this.gotoAndStop(1);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1097 MovieClip in Symbol 1420 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.chest0 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("minhppotion");
_root.hudeverything[sy].stacknum = " ";
pickedup = true;
var goldamt = (random(10) + 10);
_root.gold = _root.gold + goldamt;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up a [Minor Health Potion] and " + goldamt) + " coins.";
_root.maintip._visible = true;
this.play();
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Your inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
}
}
}
Symbol 1420 MovieClip Frame 3
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.locate = "Doton Village";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(4);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(1);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 3
/* no clip actions */
Symbol 1420 MovieClip Frame 4
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 205;
_root.hero._y = 295;
this.intact1.gotoAndStop(1);
this.gotoAndStop(5);
_root.hudloc.locate = "Doton Inn";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(6);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
_root.hero._x = 50;
_root.createEnemy("enm_spider", 150, 200, 6, 1);
_root.createEnemy("enm_spider", 280, 325, 6, 1);
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(3);
}
};
Symbol 1420 MovieClip Frame 5
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 150;
_root.hero._y = 190;
this.intact1.gotoAndStop(1);
_root.hudloc.locate = "Doton Village";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(4);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 6
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 200, 350, 12, 3);
this.gotoAndStop(11);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.locate = "Doton Village";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(4);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 500;
_root.hero._y = 200;
_root.createEnemy("enm_gremlin", 150, 300, 12, 3);
_root.createEnemy("enm_spider", 450, 325, 6, 1);
this.intact1.gotoAndStop(1);
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.hudloc.locate = "Doton Woods";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(7);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 6
/* no clip actions */
Symbol 1420 MovieClip Frame 7
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 200, 350, 12, 3);
this.gotoAndStop(8);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 330;
_root.hero._y = 160;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(6);
}
};
Symbol 1420 MovieClip Frame 8
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 400, 375, 12, 3);
_root.createEnemy("enm_gremlin", 150, 300, 12, 3);
this.gotoAndStop(9);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 150, 300, 12, 3);
_root.createEnemy("enm_spider", 450, 325, 6, 1);
this.gotoAndStop(7);
}
};
Symbol 1420 MovieClip Frame 9
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 275, 275, 12, 3);
this.gotoAndStop(10);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 200, 350, 12, 3);
this.gotoAndStop(8);
}
};
Instance of Symbol 1149 MovieClip in Symbol 1420 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.chest1 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("tribalshield");
_root.hudeverything[sy].stacknum = " ";
pickedup = true;
var goldamt = (random(10) + 5);
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up a [Tribal Shield] and " + goldamt) + " coins.";
_root.maintip._visible = true;
this.play();
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "your inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
}
}
}
Symbol 1420 MovieClip Frame 10
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 400, 375, 12, 3);
_root.createEnemy("enm_gremlin", 150, 300, 12, 3);
this.gotoAndStop(9);
}
};
Instance of Symbol 1153 MovieClip in Symbol 1420 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.crate0 == 3) && (_root.quest1 >= 4)) {
this.gotoAndStop("open");
}
if ((_root.quest1 == 3) && (_root.crate0 == false)) {
if (Key.isDown(32) && (this.hit.hitTest(_root.hero))) {
if (this._currentframe == 2) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You opened the crate.";
_root.maintip._visible = true;
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("crate1");
_root.hudeverything[sy].stacknum = " ";
pickedup = true;
this.play();
_root.quest1 = 4;
_root.journal.gotoAndStop(2);
_root.journal._visible = true;
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = _root.maintip.tipvar + " But your inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
} else {
this.gotoAndStop(2);
}
}
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
}
Symbol 1420 MovieClip Frame 11
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 160, 250, 12, 3);
_root.createEnemy("enm_gremlin", 400, 325, 12, 3);
this.gotoAndStop(12);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(6);
}
};
Symbol 1420 MovieClip Frame 12
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(13);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 200, 350, 12, 3);
this.gotoAndStop(11);
}
};
Symbol 1420 MovieClip Frame 13
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 190, 300, 12, 3);
this.gotoAndStop(14);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 160, 250, 12, 3);
_root.createEnemy("enm_gremlin", 400, 325, 12, 3);
this.gotoAndStop(12);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 500;
_root.hero._y = 200;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.createEnemy("enm_bandit", 200, 200, 20, 4);
_root.createEnemy("enm_bandit", 235, 350, 20, 4);
this.intact1.gotoAndStop(2);
this.gotoAndStop(20);
_root.hudloc.locate = "The Fields";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 14
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 250, 260, 12, 3);
this.gotoAndStop(15);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(13);
}
};
Symbol 1420 MovieClip Frame 15
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.locate = "Trenmore";
_root.hudloc.gotoAndStop(2);
_root.createGuard("enm_guard", 400, 200, 50, 8);
this.gotoAndStop(16);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_gremlin", 190, 300, 12, 3);
this.gotoAndStop(14);
}
};
Symbol 1420 MovieClip Frame 16
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right3)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(17);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.gotoAndStop(1);
_root.createEnemy("enm_gremlin", 250, 260, 12, 3);
this.gotoAndStop(15);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hero._x = 205;
_root.hero._y = 295;
this.intact1.gotoAndStop(1);
this.gotoAndStop(18);
_root.hudloc.locate = "Trenmore Inn";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 17
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createGuard("enm_guard2", 100, 200, 50, 10);
this.gotoAndStop(25);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createGuard("enm_guard", 400, 200, 50, 8);
this.gotoAndStop(16);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 330;
_root.hero._y = 295;
this.intact1.gotoAndStop(1);
this.gotoAndStop(19);
_root.hudloc.locate = "Apothecary";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 18
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down3)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 150;
_root.hero._y = 255;
this.intact1.gotoAndStop(1);
_root.createGuard("enm_guard", 400, 200, 50, 8);
this.gotoAndStop(16);
_root.hudloc.locate = "Trenmore";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 19
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 160;
_root.hero._y = 255;
this.intact1.gotoAndStop(1);
this.gotoAndStop(17);
_root.hudloc.locate = "Trenmore";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 20
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_bandit", 245, 200, 20, 4);
_root.createEnemy("enm_bandit", 200, 325, 20, 4);
this.gotoAndStop(21);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 240;
_root.hero._y = 150;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(13);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 20
/* no clip actions */
Symbol 1420 MovieClip Frame 21
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_bandit", 350, 200, 20, 4);
_root.createEnemy("enm_bandit", 100, 375, 20, 4);
this.gotoAndStop(22);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_bandit", 200, 200, 20, 4);
_root.createEnemy("enm_bandit", 235, 350, 20, 4);
this.gotoAndStop(20);
}
};
Symbol 1420 MovieClip Frame 22
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
if (_root.quest5 == 2) {
_root.createEnemy("enm_sting", 150, 265, 42, 8);
} else {
_root.createEnemy("enm_bandit", 245, 215, 20, 4);
_root.createEnemy("enm_bandit", 365, 325, 20, 4);
}
this.gotoAndStop(23);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_bandit", 245, 200, 20, 4);
_root.createEnemy("enm_bandit", 200, 325, 20, 4);
this.gotoAndStop(21);
}
};
Symbol 1420 MovieClip Frame 23
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Field Storehouse";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 255;
_root.hero._y = 290;
this.intact1.gotoAndStop(1);
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(24);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_bandit", 350, 200, 20, 4);
_root.createEnemy("enm_bandit", 100, 375, 20, 4);
this.gotoAndStop(22);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 23
/* no clip actions */
Symbol 1420 MovieClip Frame 24
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "The Fields";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 175;
_root.hero._y = 210;
this.intact1.gotoAndStop(1);
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
if (_root.quest5 == 2) {
_root.createEnemy("enm_sting", 150, 265, 42, 8);
} else {
_root.createEnemy("enm_bandit", 245, 215, 20, 4);
_root.createEnemy("enm_bandit", 365, 325, 20, 4);
}
this.gotoAndStop(23);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1211 MovieClip in Symbol 1420 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
}
Instance of Symbol 1211 MovieClip in Symbol 1420 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
}
Instance of Symbol 1211 MovieClip in Symbol 1420 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_root.keg0 == false) {
if (_root.quest4 == 2) {
if (this.hit.hitTest(_root.hero) && (Key.isDown(32))) {
this.play();
_root.keg0 = 2;
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
} else if ((_root.quest4 >= 3) && (_root.keg0 == 3)) {
this.gotoAndStop("open");
}
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
}
Instance of Symbol 1212 MovieClip in Symbol 1420 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_root.chest2 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You opened the chest.";
_root.maintip._visible = true;
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if (((_root.hudeverything[sy]._currentframe == 25) && ((_root.hudeverything[sy].stacknum == " ") || (_root.hudeverything[sy].stacknum < 3))) && (pickedup != true)) {
_root.hudeverything[sy].stacknum = _root.hudeverything[sy].stacknum + 3;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up 3 'Stolen Harvests'";
_root.maintip._visible = true;
this.play();
} else if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("stolenharvest");
_root.hudeverything[sy].stacknum = 3;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up 3 [Stolen Harvests]";
_root.maintip._visible = true;
this.play();
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Your inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
}
}
}
Symbol 1420 MovieClip Frame 25
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left3)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(26);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(17);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 25
/* no clip actions */
Symbol 1420 MovieClip Frame 26
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
if (_root.quest9 >= 3) {
this.gotoAndStop(45);
} else {
this.gotoAndStop(27);
}
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.locate = "Trenmore";
_root.hudloc.gotoAndStop(2);
_root.createGuard("enm_guard2", 100, 200, 50, 10);
this.gotoAndStop(25);
}
};
Symbol 1420 MovieClip Frame 27
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(26);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 500;
_root.hero._y = 200;
this.intact1.gotoAndStop(1);
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.createRangedEnemy("enm_giantspider", 150, 265, 37, 9, 150);
this.gotoAndStop(28);
_root.hudloc.locate = "Savage Glades";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 28
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 225, 340, 37, 9, 150);
this.gotoAndStop(29);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 330;
_root.hero._y = 160;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.hudloc.gotoAndStop(1);
if (_root.quest9 >= 3) {
this.gotoAndStop(45);
} else {
this.gotoAndStop(27);
}
}
};
Symbol 1420 MovieClip Frame 29
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 75, 300, 37, 9, 150);
_root.createRangedEnemy("enm_giantspider", 300, 275, 37, 9, 150);
this.gotoAndStop(30);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 150, 265, 37, 9, 150);
this.gotoAndStop(28);
}
};
Symbol 1420 MovieClip Frame 30
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 125, 185, 37, 9, 150);
_root.createRangedEnemy("enm_giantspider", 325, 375, 37, 9, 150);
this.gotoAndStop(31);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 225, 340, 37, 9, 150);
this.gotoAndStop(29);
}
};
Symbol 1420 MovieClip Frame 31
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 350, 250, 37, 9, 150);
this.gotoAndStop(32);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 75, 300, 37, 9, 150);
_root.createRangedEnemy("enm_giantspider", 300, 275, 37, 9, 150);
this.gotoAndStop(30);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hero._x = 250;
_root.hero._y = 375;
this.intact1.gotoAndStop(1);
_root.hudloc.locate = "Gremlin Village";
_root.createRangedEnemy("enm_gremlinshaman", 400, 250, 42, 16, 135);
_root.createEnemy("enm_gremlinbruiser", 150, 400, 52, 8);
this.gotoAndStop(35);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 32
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 200, 200, 37, 9, 150);
this.gotoAndStop(33);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 125, 185, 37, 9, 150);
_root.createRangedEnemy("enm_giantspider", 325, 375, 37, 9, 150);
this.gotoAndStop(31);
}
};
Instance of Symbol 1236 MovieClip in Symbol 1420 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_root.chest5 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Its locked. I need a key to open it.";
_root.maintip._visible = true;
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 87) {
_root.hudeverything[sx].gotoAndStop("blastingcore");
_root.tiptimer = 15;
_root.maintip.tipvar = "Used [Blastmaster Key] to open chest.";
_root.maintip._visible = true;
_root.chest5 == false;
this.play();
}
x++;
}
}
}
}
}
Symbol 1420 MovieClip Frame 33
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 275, 350, 37, 9, 150);
this.gotoAndStop(34);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 350, 250, 37, 9, 150);
this.gotoAndStop(32);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 190;
_root.hero._y = 360;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
if (_root.quest12 == 2) {
_root.createRangedEnemy("enm_queenspider", 200, 200, 47, 14, 200);
} else {
_root.createRangedEnemy("enm_giantspider", 245, 215, 37, 9, 150);
_root.createRangedEnemy("enm_giantspider", 365, 325, 37, 9, 150);
}
_root.hudloc.locate = "Queen's Layer";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(67);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 34
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 250;
_root.hero._y = 175;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createGuard("enm_imperialguard", 100, 200, 66, 12);
_root.hudloc.locate = "Imperial Camp";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(38);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 350, 200, 37, 9, 150);
this.gotoAndStop(33);
}
};
Symbol 1420 MovieClip Frame 35
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_gremlinshaman", 350, 275, 42, 16, 135);
_root.createEnemy("enm_gremlinbruiser", 275, 375, 52, 8);
this.gotoAndStop(37);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_gremlinshaman", 250, 300, 42, 16, 135);
_root.createEnemy("enm_gremlinbruiser", 200, 350, 52, 8);
this.gotoAndStop(36);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
_root.hero._x = 250;
_root.hero._y = 150;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.locate = "Savage Glades";
_root.createRangedEnemy("enm_giantspider", 125, 185, 37, 9, 150);
_root.createRangedEnemy("enm_giantspider", 325, 375, 37, 9, 150);
this.gotoAndStop(31);
}
};
Instance of Symbol 1241 MovieClip in Symbol 1420 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.chest3 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up 60 coins";
_root.maintip._visible = true;
this.play();
_root.gold = _root.gold + 60;
}
x++;
}
}
}
Symbol 1420 MovieClip Frame 36
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_gremlinshaman", 300, 250, 42, 16, 135);
_root.createEnemy("enm_gremlinbruiser", 150, 400, 52, 8);
this.gotoAndStop(35);
}
};
Instance of Symbol 1072 MovieClip "left" in Symbol 1420 MovieClip Frame 36
/* no clip actions */
Symbol 1420 MovieClip Frame 37
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_gremlinshaman", 300, 250, 42, 16, 135);
_root.createEnemy("enm_gremlinbruiser", 150, 400, 52, 8);
this.gotoAndStop(35);
}
};
Instance of Symbol 1252 MovieClip in Symbol 1420 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.chest7 == true) {
this.gotoAndStop("open");
}
if (this.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("strangepotion");
_root.hudeverything[sy].stacknum = 5;
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up 5 [Strange Potions].";
_root.maintip._visible = true;
this.play();
}
y++;
}
y = 20;
}
x++;
}
}
}
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 37
/* no clip actions */
Symbol 1420 MovieClip Frame 38
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left3)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(46);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createGuard("enm_imperialguard", 450, 350, 66, 12);
this.gotoAndStop(39);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 50;
_root.hero._y = 200;
this.intact1.gotoAndStop(1);
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.createRangedEnemy("enm_giantspider", 275, 350, 37, 9, 150);
this.gotoAndStop(34);
_root.hudloc.locate = "Savage Glades";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 38
/* no clip actions */
Symbol 1420 MovieClip Frame 39
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createGuard("enm_imperialguard", 100, 200, 66, 12);
this.gotoAndStop(38);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 300, 350, 43, 8);
this.gotoAndStop(40);
_root.hudloc.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 40
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createGuard("enm_imperialguard", 450, 350, 66, 12);
_root.hudloc.locate = "Imperial Camp";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(39);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 150, 200, 43, 8);
_root.createEnemy("enm_youngwolf", 325, 375, 43, 8);
this.gotoAndStop(41);
}
};
Symbol 1420 MovieClip Frame 41
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 300, 350, 43, 8);
this.gotoAndStop(40);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 250, 275, 43, 8);
this.gotoAndStop(42);
}
};
Symbol 1420 MovieClip Frame 42
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 150, 200, 43, 8);
_root.createEnemy("enm_youngwolf", 325, 375, 43, 8);
this.gotoAndStop(41);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
if (_root.quest9 >= 3) {
this.gotoAndStop(44);
} else {
this.gotoAndStop(43);
}
}
};
Instance of Symbol 1299 MovieClip in Symbol 1420 MovieClip Frame 42
onClipEvent (enterFrame) {
if (_root.chest4 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Its locked. I need a key to open it.";
_root.maintip._visible = true;
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 83) {
_root.chest4 == false;
var pickedup = false;
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("leatherjerkin");
_root.hudeverything[sy].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "Used [Rusty Key]. Picked up a [Leather Jerkin] and 90 Coins.";
_root.maintip._visible = true;
_root.gold = _root.gold + 90;
this.play();
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Your inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
}
}
}
}
}
Symbol 1420 MovieClip Frame 43
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 250, 275, 43, 8);
this.gotoAndStop(42);
}
};
Instance of Symbol 1072 MovieClip "left" in Symbol 1420 MovieClip Frame 43
/* no clip actions */
Symbol 1420 MovieClip Frame 44
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_youngwolf", 250, 275, 43, 8);
this.gotoAndStop(42);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(45);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 44
/* no clip actions */
Symbol 1420 MovieClip Frame 45
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(44);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(26);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 500;
_root.hero._y = 200;
this.intact1.gotoAndStop(1);
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 150, 265, 37, 9, 150);
this.gotoAndStop(28);
_root.hudloc.locate = "Savage Glades";
_root.hudloc.gotoAndStop(2);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 45
/* no clip actions */
Symbol 1420 MovieClip Frame 46
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 400, 200, 57, 9);
this.gotoAndStop(47);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.createGuard("enm_imperialguard", 100, 200, 66, 12);
_root.hudloc.locate = "Imperial Camp";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(38);
}
};
Instance of Symbol 1072 MovieClip "right" in Symbol 1420 MovieClip Frame 46
/* no clip actions */
Instance of Symbol 1072 MovieClip "left" in Symbol 1420 MovieClip Frame 46
/* no clip actions */
Instance of Symbol 1072 MovieClip "right2" in Symbol 1420 MovieClip Frame 46
/* no clip actions */
Instance of Symbol 1072 MovieClip "left2" in Symbol 1420 MovieClip Frame 46
/* no clip actions */
Symbol 1420 MovieClip Frame 47
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 175, 215, 57, 9);
this.gotoAndStop(48);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(46);
}
};
Symbol 1420 MovieClip Frame 48
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 75, 275, 57, 9);
this.gotoAndStop(49);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 400, 200, 57, 9);
this.gotoAndStop(47);
}
};
Instance of Symbol 1072 MovieClip "right2" in Symbol 1420 MovieClip Frame 48
/* no clip actions */
Instance of Symbol 1072 MovieClip "left2" in Symbol 1420 MovieClip Frame 48
/* no clip actions */
Symbol 1420 MovieClip Frame 49
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 215, 350, 57, 9);
this.gotoAndStop(50);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 175, 215, 57, 9);
this.gotoAndStop(48);
}
};
Symbol 1420 MovieClip Frame 50
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 240;
_root.hero._y = 150;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(51);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_orc", 75, 275, 57, 9);
this.gotoAndStop(49);
}
};
Symbol 1420 MovieClip Frame 51
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.locate = "Corsai";
_root.hudloc.gotoAndStop(2);
_root.createPassiveEnemy("enm_rat", 250, 375, 2, 1);
this.gotoAndStop(52);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.createDryad("enm_dryad", 400, 200, 62, 11);
_root.createDryad("enm_dryad", 250, 375, 62, 11);
this.gotoAndStop(58);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 50;
_root.hero._y = 250;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
this.intact1.gotoAndStop(2);
_root.createEnemy("enm_orc", 215, 350, 57, 9);
this.gotoAndStop(50);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea4)) {
this.intact2.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 280;
_root.hero._y = 170;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "enemy";
_root.trackswitch = 100;
_root.createEnemy("enm_pirate", 200, 200, 62, 9);
_root.createEnemy("enm_pirate", 375, 350, 62, 9);
this.gotoAndStop(65);
}
} else {
this.intact2.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 52
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.hudloc.gotoAndStop(1);
this.gotoAndStop(51);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 255;
_root.hero._y = 290;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.intact1.gotoAndStop(2);
this.gotoAndStop(53);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 53
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up3)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 265;
_root.hero._y = 260;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createPassiveEnemy("enm_rat", 250, 375, 2, 1);
this.gotoAndStop(52);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
this.intact2.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Corsai Fletcher";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 255;
_root.hero._y = 290;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(54);
}
} else {
this.intact2.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
this.intact3.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Salty Sailor";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 255;
_root.hero._y = 290;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(55);
}
} else {
this.intact3.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea4)) {
this.intact4.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Corsai Abode";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 255;
_root.hero._y = 290;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(63);
}
} else {
this.intact4.gotoAndStop(1);
}
};
Instance of Symbol 1072 MovieClip "left" in Symbol 1420 MovieClip Frame 53
/* no clip actions */
Symbol 1420 MovieClip Frame 54
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Corsai";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 125;
_root.hero._y = 180;
this.intact1.gotoAndStop(1);
this.gotoAndStop(53);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 55
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Corsai";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 360;
_root.hero._y = 185;
this.intact1.gotoAndStop(1);
this.gotoAndStop(53);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 56
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(57);
}
};
Symbol 1420 MovieClip Frame 57
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
var _local5 = 0;
while (_local5 < 10) {
var _local6 = "enemy" + _local5;
_root.bg.enemylayer[_local6].removeMovieClip();
enemyCount = 0;
_local5++;
}
if (_root.quest11 == 3) {
_root.mainmenu.gotoAndStop(8);
_root.menuon = true;
var _local3 = 0;
while (_local3 < 21) {
var _local4 = "s" + _local3;
if (_root.inventory[_local4]._currentframe == 116) {
_root.inventory[_local4].stacknum = " ";
_root.inventory[_local4].gotoAndStop(1);
_local3 = 20;
}
_local3++;
}
} else if (_root.quest11 > 3) {
this.gotoAndStop(56);
_root.hero._x = 500;
} else {
this.gotoAndStop(62);
_root.hero._x = 500;
}
}
};
Instance of Symbol 1252 MovieClip in Symbol 1420 MovieClip Frame 57
onClipEvent (enterFrame) {
if (_root.chest6 == true) {
this.gotoAndStop("open");
}
if (this.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.inventory[sy]._currentframe == 1) && (pickedup != true)) {
_root.inventory[sy].gotoAndStop("fishingrod");
_root.inventory[sy].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Fishing Rod].";
_root.maintip._visible = true;
this.play();
}
y++;
}
y = 20;
}
x++;
}
}
}
Instance of Symbol 1391 MovieClip in Symbol 1420 MovieClip Frame 57
onClipEvent (enterFrame) {
if (_root.quest11 >= 3) {
this.gotoAndStop("open");
}
if (_root.quest11 == 2) {
if (Key.isDown(32) && (this.hit.hitTest(_root.hero))) {
if (this._currentframe == 2) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You filled a bucket with water.";
_root.maintip._visible = true;
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("bucket");
_root.hudeverything[sy].stacknum = " ";
pickedup = true;
this.play();
_root.quest11 = 3;
_root.journal.gotoAndStop(2);
_root.journal._visible = true;
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = _root.maintip.tipvar + " But your Inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
} else {
this.gotoAndStop(2);
}
}
}
Symbol 1420 MovieClip Frame 58
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "travel";
_root.trackswitch = 100;
this.gotoAndStop(51);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createDryad("enm_dryad", 225, 300, 62, 11);
_root.createDryad("enm_dryad", 375, 175, 62, 11);
this.gotoAndStop(59);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 58
/* no clip actions */
Symbol 1420 MovieClip Frame 59
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createDryad("enm_dryad", 400, 200, 62, 11);
_root.createDryad("enm_dryad", 250, 375, 62, 11);
this.gotoAndStop(58);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createDryad("enm_dryad", 335, 275, 62, 11);
_root.createDryad("enm_dryad", 150, 350, 62, 11);
this.gotoAndStop(60);
}
};
Symbol 1420 MovieClip Frame 60
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createDryad("enm_dryad", 225, 300, 62, 11);
_root.createDryad("enm_dryad", 375, 175, 62, 11);
this.gotoAndStop(59);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(64);
}
};
Symbol 1420 MovieClip Frame 61
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.gotoAndStop(1);
_root.hero._x = 275;
_root.hero._y = 210;
this.intact1.gotoAndStop(1);
this.gotoAndStop(62);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Symbol 1420 MovieClip Frame 62
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up2)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = _root.charname + " Homestead";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 255;
_root.hero._y = 290;
this.intact1.gotoAndStop(1);
this.gotoAndStop(61);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea3)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
this.gotoAndStop(57);
}
};
Symbol 1420 MovieClip Frame 63
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hudloc.locate = "Corsai";
_root.hudloc.gotoAndStop(2);
_root.hero._x = 350;
_root.hero._y = 185;
this.intact1.gotoAndStop(1);
this.gotoAndStop(53);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1097 MovieClip in Symbol 1420 MovieClip Frame 63
onClipEvent (enterFrame) {
if (_root.chest0 == true) {
this.gotoAndStop("open");
}
if (this.hit.hitTest(_root.hero)) {
if (Key.isDown(32)) {
if (this._currentframe == 1) {
var y = 1;
while (y < 21) {
var sy = ("s" + y);
if ((_root.hudeverything[sy]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sy].gotoAndStop("minhppotion");
_root.hudeverything[sy].stacknum = " ";
pickedup = true;
var goldamt = (random(10) + 10);
_root.gold = _root.gold + goldamt;
_root.tiptimer = 15;
_root.maintip.tipvar = ("You picked up a [Minor Health Potion] and " + goldamt) + " coins.";
_root.maintip._visible = true;
this.play();
}
y++;
}
if (pickedup == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Your inventory is full so you left the items there.";
_root.maintip._visible = true;
}
y = 20;
}
x++;
}
}
}
Symbol 1420 MovieClip Frame 64
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right2)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createDryad("enm_dryad", 335, 275, 62, 11);
_root.createDryad("enm_dryad", 150, 350, 62, 11);
this.gotoAndStop(60);
}
};
Instance of Symbol 1072 MovieClip "left" in Symbol 1420 MovieClip Frame 64
/* no clip actions */
Instance of Symbol 1072 MovieClip "right2" in Symbol 1420 MovieClip Frame 64
/* no clip actions */
Instance of Symbol 1072 MovieClip "left2" in Symbol 1420 MovieClip Frame 64
/* no clip actions */
Symbol 1420 MovieClip Frame 65
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 260;
_root.hero._y = 350;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.areaswitch = "travel";
_root.trackswitch = 100;
this.gotoAndStop(51);
}
} else {
this.intact1.gotoAndStop(1);
}
if (_root.hero.hit.hitTest(this.hitarea2)) {
_root.hero._x = 50;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_pirate", 335, 175, 62, 9);
_root.createEnemy("enm_pirate", 400, 325, 62, 9);
this.gotoAndStop(66);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 65
/* no clip actions */
Symbol 1420 MovieClip Frame 66
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left2)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.down2)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
_root.hero._x = 500;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createEnemy("enm_pirate", 200, 200, 62, 9);
_root.createEnemy("enm_pirate", 375, 350, 62, 9);
this.gotoAndStop(65);
}
};
Instance of Symbol 1072 MovieClip "left" in Symbol 1420 MovieClip Frame 66
/* no clip actions */
Instance of Symbol 1072 MovieClip "left2" in Symbol 1420 MovieClip Frame 66
/* no clip actions */
Symbol 1420 MovieClip Frame 67
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.hitarea1)) {
this.intact1.gotoAndStop(2);
if (Key.isDown(32)) {
_root.hero._x = 240;
_root.hero._y = 170;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = "enemy" + _local3;
_root.bg.enemylayer[_local4].removeMovieClip();
enemyCount = 0;
_local3++;
}
_root.createRangedEnemy("enm_giantspider", 200, 200, 37, 9, 150);
_root.hudloc.locate = "Savage Glades";
_root.hudloc.gotoAndStop(2);
this.gotoAndStop(33);
}
} else {
this.intact1.gotoAndStop(1);
}
};
Instance of Symbol 1072 MovieClip "hitarea2" in Symbol 1420 MovieClip Frame 67
/* no clip actions */
Symbol 1420 MovieClip Frame 68
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
};
Symbol 1425 Button
on (release) {
getURL ("http://www.muchgames.com", "_blank");
}
Symbol 1480 MovieClip Frame 1
stop();
Symbol 1509 MovieClip Frame 1
stop();
Symbol 1563 MovieClip Frame 1
stop();
Symbol 1573 MovieClip Frame 1
stop();
Symbol 1594 MovieClip Frame 1
stop();
Symbol 1597 MovieClip Frame 1
stop();
Symbol 1601 MovieClip Frame 1
stop();
Symbol 1603 MovieClip Frame 1
stop();
Symbol 1604 MovieClip Frame 1
stop();
Symbol 1622 MovieClip Frame 1
stop();
Symbol 1665 MovieClip Frame 11
_root.hit = true;
Symbol 1665 MovieClip Frame 12
_root.hit = false;
_root.critical = random((_root.str + _root.addstr) - 4) / ((_root.lvl / 3) * 4);
Symbol 1665 MovieClip Frame 14
if (_root.critical >= 1) {
_root.criticalhitting = true;
this.gotoAndPlay(119);
}
Symbol 1665 MovieClip Frame 117
this.gotoAndPlay(1);
Symbol 1665 MovieClip Frame 129
_root.hit = true;
Symbol 1665 MovieClip Frame 130
_root.hit = false;
Symbol 1665 MovieClip Frame 144
_root.criticalhitting = false;
this.gotoAndPlay(16);
Symbol 1687 MovieClip Frame 11
_root.hit = true;
Symbol 1687 MovieClip Frame 12
_root.hit = false;
_root.critical = random((_root.str + _root.addstr) - 4) / ((_root.lvl / 3) * 4);
Symbol 1687 MovieClip Frame 14
if (_root.critical >= 1) {
_root.criticalhitting = true;
this.gotoAndPlay(119);
}
Symbol 1687 MovieClip Frame 129
_root.hit = true;
Symbol 1687 MovieClip Frame 130
_root.hit = false;
Symbol 1687 MovieClip Frame 144
_root.criticalhitting = false;
this.gotoAndPlay(16);
Symbol 1707 MovieClip Frame 8
_root.hit = true;
Symbol 1707 MovieClip Frame 9
_root.hit = false;
Symbol 1707 MovieClip Frame 17
_root.attacking = false;
Symbol 1723 MovieClip Frame 8
_root.hit = true;
Symbol 1723 MovieClip Frame 9
_root.hit = false;
Symbol 1723 MovieClip Frame 17
_root.attacking = false;
Symbol 1725 MovieClip Frame 8
stop();
Symbol 1725 MovieClip Frame 13
gotoAndStop ("block");
Symbol 1727 MovieClip Frame 8
stop();
Symbol 1727 MovieClip Frame 13
gotoAndStop ("block");
Symbol 1739 MovieClip Frame 1
stop();
Symbol 1743 MovieClip Frame 13
_root.hitrange = true;
Symbol 1743 MovieClip Frame 14
_root.hitrange = false;
Symbol 1743 MovieClip Frame 28
_root.attacking = false;
Symbol 1747 MovieClip Frame 13
_root.hitrange = true;
Symbol 1747 MovieClip Frame 14
_root.hitrange = false;
Symbol 1747 MovieClip Frame 28
_root.attacking = false;
Symbol 1749 MovieClip Frame 14
_root.hitrange = true;
Symbol 1749 MovieClip Frame 15
_root.hitrange = false;
Symbol 1751 MovieClip Frame 18
_root.hitrange = true;
Symbol 1751 MovieClip Frame 19
_root.hitrange = false;
Symbol 1882 MovieClip Frame 1
stop();
Symbol 1896 Button
on (rollOver) {
_root.showtip = "food";
}
on (rollOut) {
_root.showtip = false;
}
Symbol 1899 Button
on (rollOver) {
_root.showtip = "strp";
}
on (rollOut) {
_root.showtip = false;
}
Symbol 1902 Button
on (rollOver) {
_root.showtip = "agip";
}
on (rollOut) {
_root.showtip = false;
}
Symbol 1905 Button
on (rollOver) {
_root.showtip = "endp";
}
on (rollOut) {
_root.showtip = false;
}
Symbol 1908 Button
on (rollOver) {
_root.showtip = "wilp";
}
on (rollOut) {
_root.showtip = false;
}
Symbol 1911 Button
on (rollOver) {
_root.showtip = "armp";
}
on (rollOut) {
_root.showtip = false;
}
Symbol 1913 Button
on (release) {
_root.hudeverything._visible = true;
}
Instance of Symbol 1887 MovieClip in Symbol 1917 MovieClip Frame 1
onClipEvent (enterFrame) {
HP = (_root.hp / _root.hpmax) * 100;
this._xscale = HP;
}
Instance of Symbol 1889 MovieClip in Symbol 1917 MovieClip Frame 1
onClipEvent (enterFrame) {
XP = (_root.xp / _root.xpneed) * 100;
this._xscale = XP;
}
Symbol 1924 Button
on (release) {
gotoAndStop (2);
}
Symbol 1934 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 5;
} else {
_root.gold = _root.gold + (5 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 1939 MovieClip Frame 14
stop();
Symbol 1940 Button
on (release) {
this._parent.gotoAndStop(1);
}
Symbol 1943 Button
on (release) {
gotoAndStop (1);
}
Symbol 1944 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 1945 MovieClip Frame 1
stop();
Symbol 1951 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 15;
} else {
_root.gold = _root.gold + (15 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 1956 Button
on (release) {
_root.wpn = 2;
_root.dmgmin = 1;
_root.dmgmax = 2;
_root.attspeed = 0;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(3);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 1957 MovieClip Frame 1
stop();
Symbol 1963 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 1;
_root.dmgmin = 1;
_root.dmgmax = 3;
_root.dmgtype = 2;
_root.attspeed = 16;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(4);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 1964 MovieClip Frame 1
stop();
Symbol 1970 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 1;
_root.armarm = 1;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(5);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 1971 MovieClip Frame 1
stop();
Symbol 1979 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 40;
} else {
_root.gold = _root.gold + (40 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 1980 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 4;
_root.dmgmin = 4;
_root.dmgmax = 7;
_root.dmgtype = 3;
_root.attspeed = 30;
_root.wpnstr = 1;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(6);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 1981 MovieClip Frame 1
stop();
Symbol 1988 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 65;
} else {
_root.gold = _root.gold + (65 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 1989 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 1;
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 1;
_root.jewwil = 5;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(7);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 1990 MovieClip Frame 1
stop();
Symbol 1996 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 35;
} else {
_root.gold = _root.gold + (35 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 1997 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 9;
_root.headarm = 1;
_root.headstr = 0;
_root.headagi = 2;
_root.headend = 0;
_root.headwil = 0;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(8);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 1998 MovieClip Frame 1
stop();
Symbol 2001 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 2;
} else {
_root.gold = _root.gold + (2 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2002 MovieClip Frame 1
stop();
Symbol 2005 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 1;
} else {
_root.gold = _root.gold + (1 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2006 MovieClip Frame 1
stop();
Symbol 2011 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 50;
} else {
_root.gold = _root.gold + (50 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2012 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 28;
_root.dmgmin = 3;
_root.dmgmax = 6;
_root.dmgtype = 2;
_root.attspeed = 16;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(11);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2013 MovieClip Frame 1
stop();
Symbol 2020 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 12;
} else {
_root.gold = _root.gold + (12 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2024 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
var valu = (random(10) + 10);
if (_root.hp <= (_root.hpmax - valu)) {
_root.hp = _root.hp + valu;
} else {
_root.hp = _root.hpmax;
}
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2025 MovieClip Frame 1
stop();
Symbol 2030 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 1;
_root.shiblock = 1;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 5;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(13);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2031 MovieClip Frame 1
stop();
Symbol 2036 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 45;
} else {
_root.gold = _root.gold + (45 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2037 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 2;
_root.shiblock = 2;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 9;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(14);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2038 MovieClip Frame 1
stop();
Symbol 2044 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.money = _root.money + 55;
} else {
_root.money = _root.money + (55 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2045 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 6;
_root.armarm = 10;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(15);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2046 MovieClip Frame 1
stop();
Symbol 2051 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 8;
} else {
_root.gold = _root.gold + (8 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2052 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 2;
_root.foodtimer = 4;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2053 MovieClip Frame 1
stop();
Symbol 2059 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.money = _root.money + 25;
} else {
_root.money = _root.money + (25 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2060 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 9;
_root.armarm = 5;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(17);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2061 MovieClip Frame 1
stop();
Symbol 2063 MovieClip Frame 1
stop();
Symbol 2070 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 15;
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 65;
_root.jewwil = 35;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(18);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2071 MovieClip Frame 1
stop();
Symbol 2076 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 4;
_root.shiblock = 1;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 7;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(19);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2077 MovieClip Frame 1
stop();
Symbol 2082 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 5;
_root.dmgrangemin = 200;
_root.dmgrangemax = 1001;
_root.dmgrangetype = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.unequip = _root.bowslot._currentframe;
_root.bowslot.gotoAndStop(20);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2083 MovieClip Frame 1
stop();
Symbol 2088 Button
on (press) {
var unpacked1 = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (unpacked1 != true)) {
_root.hudeverything[sx].gotoAndStop("foodration");
_root.hudeverything[sx].stacknum = 10;
unpacked1 = true;
}
x++;
}
if (unpacked1 != false) {
this._parent.gotoAndStop("note1");
}
}
Symbol 2089 MovieClip Frame 1
stop();
Symbol 2094 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 4;
_root.foodtimer = 4;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2095 MovieClip Frame 1
stop();
Symbol 2101 MovieClip Frame 1
stop();
Symbol 2106 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 16;
} else {
_root.gold = _root.gold + (16 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2107 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 34;
_root.dmgmin = 1;
_root.dmgmax = 3;
_root.dmgtype = 1;
_root.attspeed = 5;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(24);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2108 MovieClip Frame 1
stop();
Symbol 2111 MovieClip Frame 1
stop();
Symbol 2115 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 75;
} else {
_root.gold = _root.gold + (75 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2116 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 5;
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 5;
_root.jewwil = 0;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(26);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2117 MovieClip Frame 1
stop();
Symbol 2123 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 100;
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 100;
_root.jewwil = 0;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(27);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2124 MovieClip Frame 1
stop();
Symbol 2127 MovieClip Frame 1
stop();
Symbol 2133 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 36;
_root.dmgmin = 5;
_root.dmgmax = 9;
_root.dmgtype = 1;
_root.attspeed = 9;
_root.wpnstr = 0;
_root.wpnagi = 5;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(29);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2134 MovieClip Frame 1
stop();
Symbol 2139 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 11;
} else {
_root.gold = _root.gold + (11 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2140 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 1;
_root.dmgrangemin = 1;
_root.dmgrangemax = 2;
_root.dmgrangetype = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.unequip = _root.bowslot._currentframe;
_root.bowslot.gotoAndStop(30);
if (_root.rangeammo >= 2) {
this._parent.stacknum = _root.rangeammo;
} else {
this._parent.stacknum = " ";
}
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2141 MovieClip Frame 1
stop();
Symbol 2150 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 10;
_root.armarm = 2;
_root.armstr = 2;
_root.armagi = 3;
_root.armend = 0;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(31);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2151 MovieClip Frame 1
stop();
Symbol 2157 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.buffstr = 0;
_root.buffagi = 9;
_root.buffend = 0;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 30;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2158 MovieClip Frame 1
stop();
Symbol 2163 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 9;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 30;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2164 MovieClip Frame 1
stop();
Symbol 2169 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.buffstr = 9;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 30;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2170 MovieClip Frame 1
stop();
Symbol 2176 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 9;
_root.buffarm = 0;
_root.buffatrtimer = 30;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2177 MovieClip Frame 1
stop();
Symbol 2182 MovieClip Frame 1
stop();
Symbol 2186 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 100;
} else {
_root.gold = _root.gold + (100 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2187 MovieClip Frame 1
stop();
Symbol 2191 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 5;
_root.jewstr = 3;
_root.jewagi = 3;
_root.jewend = 0;
_root.jewwil = 0;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(38);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2192 MovieClip Frame 1
stop();
Symbol 2197 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 17;
} else {
_root.gold = _root.gold + (17 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2198 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 6;
_root.dmgrangemin = 2;
_root.dmgrangemax = 5;
_root.dmgrangetype = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.unequip = _root.bowslot._currentframe;
_root.bowslot.gotoAndStop(39);
if (_root.rangeammo >= 2) {
this._parent.stacknum = _root.rangeammo;
} else {
this._parent.stacknum = " ";
}
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2199 MovieClip Frame 1
stop();
Symbol 2205 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 16;
_root.headarm = 3;
_root.headstr = 0;
_root.headagi = 2;
_root.headend = 3;
_root.headwil = 0;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(40);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2206 MovieClip Frame 1
stop();
Symbol 2210 Button
on (press) {
var unpacked1 = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (unpacked1 != true)) {
_root.hudeverything[sx].gotoAndStop("crestshield");
_root.hudeverything[sx].stacknum = " ";
unpacked1 = true;
}
x++;
}
if (unpacked1 != false) {
this._parent.gotoAndStop("leathercap");
}
}
Symbol 2211 MovieClip Frame 1
stop();
Symbol 2216 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 80;
} else {
_root.gold = _root.gold + (80 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2217 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 8;
_root.shiblock = 5;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 12;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(42);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2218 MovieClip Frame 1
stop();
Symbol 2220 MovieClip Frame 1
stop();
Symbol 2224 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 13;
_root.armarm = 16;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 5;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(43);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2225 MovieClip Frame 1
stop();
Symbol 2232 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 6;
_root.dmgmin = 10;
_root.dmgmax = 14;
_root.dmgtype = 3;
_root.attspeed = 38;
_root.wpnstr = 4;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(44);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2233 MovieClip Frame 1
stop();
Symbol 2240 Button
on (release) {
this._parent.gotoAndStop("ironwarhammer");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Iron Warhammer].";
_root.maintip._visible = true;
}
Symbol 2241 Button
on (release) {
this._parent.gotoAndStop("hardenedbreastplate");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Hardened Iron Breastplate].";
_root.maintip._visible = true;
}
Symbol 2242 MovieClip Frame 1
stop();
Symbol 2247 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 60;
} else {
_root.gold = _root.gold + (60 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2248 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 1;
_root.dmgrangemin = 10;
_root.dmgrangemax = 14;
_root.dmgrangetype = 2;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.magattspeed = 50;
this._parent.stacknum = _root.rangeammo;
_root.rangeammo = " ";
_root.unequip = _root.bowslot._currentframe;
_root.bowslot.gotoAndStop(46);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2249 MovieClip Frame 1
stop();
Symbol 2254 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 120;
} else {
_root.gold = _root.gold + (120 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2255 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 6;
_root.shiblock = 8;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 20;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(47);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2256 MovieClip Frame 1
stop();
Symbol 2261 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 90;
} else {
_root.gold = _root.gold + (90 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2262 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 14;
_root.headarm = 12;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 0;
_root.headwil = 0;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(48);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2263 MovieClip Frame 1
stop();
Symbol 2268 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 135;
} else {
_root.gold = _root.gold + (135 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2269 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 7;
_root.dmgmin = 6;
_root.dmgmax = 10;
_root.dmgtype = 2;
_root.attspeed = 22;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(49);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2270 MovieClip Frame 1
stop();
Symbol 2274 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 13;
} else {
_root.gold = _root.gold + (13 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2275 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 3;
_root.foodtimer = 8;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2276 MovieClip Frame 1
stop();
Symbol 2280 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 25;
} else {
_root.gold = _root.gold + (25 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2281 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 42;
_root.dmgmin = 4;
_root.dmgmax = 9;
_root.dmgtype = 1;
_root.attspeed = 7;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(51);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2282 MovieClip Frame 1
stop();
Symbol 2285 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 6;
} else {
_root.gold = _root.gold + (6 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2286 MovieClip Frame 1
stop();
Symbol 2291 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 25;
_root.dmgmin = 9;
_root.dmgmax = 15;
_root.dmgtype = 3;
_root.attspeed = 40;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 5;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(53);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2292 MovieClip Frame 1
stop();
Symbol 2298 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 21;
_root.headarm = 5;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 3;
_root.headwil = 9;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(54);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2299 MovieClip Frame 1
stop();
Symbol 2304 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 16;
_root.armarm = 8;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 3;
_root.armwil = 9;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(55);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2306 MovieClip Frame 1
stop();
Symbol 2311 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 3;
_root.jewstr = 2;
_root.jewagi = 0;
_root.jewend = 2;
_root.jewwil = 2;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(56);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2312 MovieClip Frame 1
stop();
Symbol 2314 MovieClip Frame 1
stop();
Symbol 2319 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 10;
} else {
_root.gold = _root.gold + (10 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2320 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 2;
_root.dmgrangemin = 15;
_root.dmgrangemax = 18;
_root.dmgrangetype = 3;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.magattspeed = 30;
if (_root.bowslot._currentframe == this._parent._currentframe) {
_root.rangeammo = _root.rangeammo + this._parent.stacknum;
this._parent.stacknum = " ";
this._parent.gotoAndStop(1);
} else {
_root.unequiphead = this._parent.stacknum;
this._parent.stacknum = _root.rangeammo;
_root.unequip = _root.bowslot._currentframe;
_root.rangeammo = _root.unequiphead;
_root.bowslot.gotoAndStop(57);
this._parent.gotoAndStop(_root.unequip);
}
}
Symbol 2321 MovieClip Frame 1
stop();
Symbol 2323 MovieClip Frame 1
stop();
Symbol 2326 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 1;
_root.dmgrangemin = 10;
_root.dmgrangemax = 13;
_root.dmgrangetype = 3;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.magattspeed = 14;
if (_root.bowslot._currentframe == this._parent._currentframe) {
_root.rangeammo = _root.rangeammo + this._parent.stacknum;
this._parent.stacknum = " ";
this._parent.gotoAndStop(1);
} else {
_root.unequiphead = this._parent.stacknum;
this._parent.stacknum = _root.rangeammo;
_root.unequip = _root.bowslot._currentframe;
_root.rangeammo = _root.unequiphead;
_root.bowslot.gotoAndStop(58);
this._parent.gotoAndStop(_root.unequip);
}
}
Symbol 2327 MovieClip Frame 1
stop();
Symbol 2333 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 55;
} else {
_root.gold = _root.gold + (55 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2334 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 21;
_root.armarm = 12;
_root.armstr = 6;
_root.armagi = 6;
_root.armend = 0;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(59);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2335 MovieClip Frame 1
stop();
Symbol 2339 MovieClip Frame 1
stop();
Symbol 2343 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 22;
_root.armarm = 9;
_root.armstr = 4;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 4;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(61);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2345 MovieClip Frame 1
stop();
Symbol 2350 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 43;
_root.dmgmin = 5;
_root.dmgmax = 10;
_root.dmgtype = 2;
_root.attspeed = 16;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 3;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(62);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2351 MovieClip Frame 1
stop();
Symbol 2357 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 17;
_root.shiblock = 7;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 6;
_root.shiwil = 0;
_root.shiarm = 18;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(63);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2358 MovieClip Frame 1
stop();
Symbol 2363 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 5000;
} else {
_root.gold = _root.gold + (5000 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2364 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 14;
_root.dmgmin = 42;
_root.dmgmax = 49;
_root.dmgtype = 2;
_root.attspeed = 31;
_root.wpnstr = 15;
_root.wpnagi = 0;
_root.wpnend = 20;
_root.wpnwil = 10;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(64);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2369 MovieClip Frame 1
stop();
Symbol 2374 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 23;
_root.armarm = 12;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 8;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(65);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2375 MovieClip Frame 1
stop();
Symbol 2381 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 44;
_root.dmgmin = 4;
_root.dmgmax = 10;
_root.dmgtype = 1;
_root.attspeed = 25;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(66);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2382 MovieClip Frame 1
stop();
Symbol 2384 MovieClip Frame 1
stop();
Symbol 2387 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 7;
} else {
_root.gold = _root.gold + (7 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2388 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 24;
_root.armarm = 1;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 3;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(67);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2389 MovieClip Frame 1
stop();
Symbol 2392 MovieClip Frame 1
stop();
Symbol 2398 Button
on (release) {
this._parent.gotoAndStop("imperialsword");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Imperial Sword].";
_root.maintip._visible = true;
}
Symbol 2399 Button
on (release) {
this._parent.gotoAndStop("imperialraiment");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Imperial Raiment].";
_root.maintip._visible = true;
}
Symbol 2400 MovieClip Frame 1
stop();
Symbol 2403 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 14;
} else {
_root.gold = _root.gold + (14 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2404 MovieClip Frame 1
stop();
Symbol 2409 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 8;
_root.foodtimer = 5;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2410 MovieClip Frame 1
stop();
Symbol 2412 MovieClip Frame 1
stop();
Symbol 2417 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 200;
} else {
_root.gold = _root.gold + (200 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2418 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.agi++;
_root.hero.lvlup.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2419 MovieClip Frame 1
stop();
Symbol 2421 MovieClip Frame 1
stop();
Symbol 2424 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.end++;
_root.hero.lvlup.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2425 MovieClip Frame 1
stop();
Symbol 2427 MovieClip Frame 1
stop();
Symbol 2430 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.str++;
_root.hero.lvlup.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2432 MovieClip Frame 1
stop();
Symbol 2434 MovieClip Frame 1
stop();
Symbol 2438 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.wil++;
_root.hero.lvlup.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2439 MovieClip Frame 1
stop();
Symbol 2447 Button
on (release) {
this._parent.gotoAndStop("agitonic");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Agility Tonic].";
_root.maintip._visible = true;
}
Symbol 2448 Button
on (release) {
this._parent.gotoAndStop("endtonic");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Endurance Tonic].";
_root.maintip._visible = true;
}
Symbol 2449 Button
on (release) {
this._parent.gotoAndStop("wiltonic");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Willpower Tonic].";
_root.maintip._visible = true;
}
Symbol 2450 Button
on (release) {
this._parent.gotoAndStop("strtonic");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Strength Tonic].";
_root.maintip._visible = true;
}
Symbol 2451 MovieClip Frame 1
stop();
Symbol 2456 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 39;
_root.dmgmin = 40;
_root.dmgmax = 48;
_root.dmgtype = 3;
_root.attspeed = 28;
_root.wpnstr = 10;
_root.wpnagi = 0;
_root.wpnend = 20;
_root.wpnwil = 15;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(77);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2458 MovieClip Frame 1
stop();
Symbol 2462 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 4;
} else {
_root.gold = _root.gold + (4 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2463 MovieClip Frame 1
stop();
Symbol 2468 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 86;
} else {
_root.gold = _root.gold + (86 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2469 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 5;
_root.jewstr = 5;
_root.jewagi = 0;
_root.jewend = 0;
_root.jewwil = 5;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(79);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2470 MovieClip Frame 1
stop();
Symbol 2473 MovieClip Frame 1
stop();
Symbol 2476 MovieClip Frame 1
stop();
Symbol 2479 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 2;
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 2;
_root.jewwil = 0;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(82);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2480 MovieClip Frame 1
stop();
Symbol 2483 MovieClip Frame 1
stop();
Symbol 2485 MovieClip Frame 1
stop();
Symbol 2488 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 150;
} else {
_root.gold = _root.gold + (150 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2489 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 3;
_root.headarm = 16;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 0;
_root.headwil = 0;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(84);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2490 MovieClip Frame 1
stop();
Symbol 2497 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.buffstr = 6;
_root.buffagi = 0;
_root.buffend = 6;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 60;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2498 MovieClip Frame 1
stop();
Symbol 2502 MovieClip Frame 1
stop();
Symbol 2504 MovieClip Frame 1
stop();
Symbol 2507 MovieClip Frame 1
stop();
Symbol 2512 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 6;
_root.headarm = 15;
_root.headstr = 4;
_root.headagi = 0;
_root.headend = 4;
_root.headwil = 0;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(88);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2513 MovieClip Frame 1
stop();
Symbol 2518 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 28;
_root.headarm = 2;
_root.headstr = 0;
_root.headagi = 6;
_root.headend = 0;
_root.headwil = 5;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(89);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2519 MovieClip Frame 1
stop();
Symbol 2526 Button
on (release) {
this._parent.gotoAndStop("minershelmet");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Miner's Helmet].";
_root.maintip._visible = true;
}
Symbol 2527 Button
on (release) {
this._parent.gotoAndStop("accuratelenses");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Accurate Lenses].";
_root.maintip._visible = true;
}
Symbol 2528 MovieClip Frame 1
stop();
Symbol 2534 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 1;
_root.foodtimer = 6;
_root.hero.heal.gotoAndPlay(2);
if (_root.bg._currentframe == 46) {
_root.createEnemy("enm_troll", 250, 275, 68, 10);
}
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2535 MovieClip Frame 1
stop();
Symbol 2540 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 4;
_root.headarm = 18;
_root.headstr = 8;
_root.headagi = 0;
_root.headend = 2;
_root.headwil = 0;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(92);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2541 MovieClip Frame 1
stop();
Symbol 2548 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 20;
_root.dmgmin = 10;
_root.dmgmax = 16;
_root.dmgtype = 3;
_root.attspeed = 38;
_root.wpnstr = 6;
_root.wpnagi = 0;
_root.wpnend = 2;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(93);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2549 MovieClip Frame 1
stop();
Symbol 2553 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 16;
_root.shiblock = 8;
_root.shistr = 0;
_root.shiagi = 6;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 12;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(94);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2555 MovieClip Frame 1
stop();
Symbol 2560 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 18;
_root.armarm = 16;
_root.armstr = 0;
_root.armagi = 12;
_root.armend = 3;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(95);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2561 MovieClip Frame 1
stop();
Symbol 2563 MovieClip Frame 1
stop();
Symbol 2567 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 14;
_root.armarm = 3;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 20;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(96);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2568 MovieClip Frame 1
stop();
Symbol 2574 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 26;
} else {
_root.gold = _root.gold + (26 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2575 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 46;
_root.dmgmin = 3;
_root.dmgmax = 5;
_root.dmgtype = 1;
_root.attspeed = 5;
_root.wpnstr = 0;
_root.wpnagi = 3;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(97);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2576 MovieClip Frame 1
stop();
Symbol 2581 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 21;
_root.dmgmin = 4;
_root.dmgmax = 10;
_root.dmgtype = 2;
_root.attspeed = 24;
_root.wpnstr = 4;
_root.wpnagi = 0;
_root.wpnend = 2;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(98);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2584 MovieClip Frame 1
stop();
Symbol 2590 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 8;
_root.dmgrangemin = 8;
_root.dmgrangemax = 12;
_root.dmgrangetype = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 6;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.unequip = _root.bowslot._currentframe;
_root.bowslot.gotoAndStop(99);
if (_root.rangeammo >= 2) {
this._parent.stacknum = _root.rangeammo;
} else {
this._parent.stacknum = " ";
}
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2591 MovieClip Frame 1
stop();
Symbol 2595 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 13;
_root.shiblock = 0;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 12;
_root.shiarm = 1;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(100);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2596 MovieClip Frame 1
stop();
Symbol 2600 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 2;
_root.armarm = 2;
_root.armstr = 0;
_root.armagi = 1;
_root.armend = 0;
_root.armwil = 0;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(101);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2602 MovieClip Frame 1
stop();
Symbol 2606 MovieClip Frame 1
stop();
Symbol 2612 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 9;
_root.dmgrangemin = 6;
_root.dmgrangemax = 10;
_root.dmgrangetype = 1;
_root.wpnrangestr = 4;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 4;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.unequip = _root.bowslot._currentframe;
_root.bowslot.gotoAndStop(103);
if (_root.rangeammo >= 2) {
this._parent.stacknum = _root.rangeammo;
} else {
this._parent.stacknum = " ";
}
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2613 MovieClip Frame 1
stop();
Symbol 2618 MovieClip Frame 1
stop();
Symbol 2622 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 45;
_root.dmgmin = 5;
_root.dmgmax = 10;
_root.dmgtype = 2;
_root.attspeed = 5;
_root.wpnstr = 3;
_root.wpnagi = 6;
_root.wpnend = 0;
_root.wpnwil = 3;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(105);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2626 MovieClip Frame 1
stop();
Symbol 2631 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 13;
_root.dmgmin = 4;
_root.dmgmax = 12;
_root.dmgtype = 2;
_root.attspeed = 28;
_root.wpnstr = 2;
_root.wpnagi = 0;
_root.wpnend = 4;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(106);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2633 MovieClip Frame 1
stop();
Symbol 2637 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 5;
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 8;
_root.jewwil = 6;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(107);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2638 MovieClip Frame 1
stop();
Symbol 2642 MovieClip Frame 1
stop();
Symbol 2645 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpnrange = 6;
_root.dmgrangemin = 15;
_root.dmgrangemax = 20;
_root.unequiphead = this._parent.stacknum;
_root.dmgrangetype = 3;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.magattspeed = 16;
if (_root.bowslot._currentframe == this._parent._currentframe) {
_root.rangeammo = _root.rangeammo + this._parent.stacknum;
this._parent.stacknum = " ";
this._parent.gotoAndStop(1);
} else {
_root.unequiphead = this._parent.stacknum;
this._parent.stacknum = _root.rangeammo;
_root.unequip = _root.bowslot._currentframe;
_root.rangeammo = _root.unequiphead;
_root.bowslot.gotoAndStop(109);
this._parent.gotoAndStop(_root.unequip);
}
}
Symbol 2646 MovieClip Frame 1
stop();
Symbol 2648 MovieClip Frame 1
stop();
Symbol 2652 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 30;
_root.headarm = 3;
_root.headstr = 0;
_root.headagi = 4;
_root.headend = 4;
_root.headwil = 4;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(110);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2653 MovieClip Frame 1
stop();
Symbol 2661 Button
on (release) {
this._parent.gotoAndStop("admiralhat");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Admiral's Hat].";
_root.maintip._visible = true;
}
Symbol 2662 Button
on (release) {
this._parent.gotoAndStop("rapier");
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Rapier].";
_root.maintip._visible = true;
}
Symbol 2663 MovieClip Frame 1
stop();
Symbol 2666 MovieClip Frame 1
stop();
Symbol 2669 MovieClip Frame 1
stop();
Symbol 2675 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.wpn = 8;
_root.dmgmin = 8;
_root.dmgmax = 12;
_root.dmgtype = 3;
_root.attspeed = 24;
_root.wpnstr = 3;
_root.wpnagi = 0;
_root.wpnend = 5;
_root.wpnwil = 6;
_root.wpnarm = 0;
_root.unequip = _root.wpnslot._currentframe;
_root.wpnslot.gotoAndStop(114);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2676 MovieClip Frame 1
stop();
Symbol 2681 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.shi = 18;
_root.shiblock = 8;
_root.shistr = 6;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 12;
_root.unequip = _root.shislot._currentframe;
_root.shislot.gotoAndStop(115);
this._parent.gotoAndStop(_root.unequip);
}
Symbol 2682 MovieClip Frame 1
stop();
Symbol 2684 MovieClip Frame 1
stop();
Symbol 2687 Button
on (release) {
if (_root.quest11 == 3) {
_root.quest11 = 2;
}
this._parent.gotoAndStop(1);
}
Symbol 2688 Button
on (release) {
if (_root.shop == true) {
if (this._parent.stacknum == " ") {
_root.gold = _root.gold + 0;
} else {
_root.gold = _root.gold + (0 * this._parent.stacknum);
}
this._parent.gotoAndStop(1);
}
}
Symbol 2689 MovieClip Frame 1
stop();
Symbol 2694 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 200;
_root.foodtimer = 5;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2695 MovieClip Frame 1
stop();
Symbol 2699 MovieClip Frame 1
stop();
Symbol 2704 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.foodheal = 4;
_root.foodtimer = 6;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2705 MovieClip Frame 1
stop();
Symbol 2710 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.jewarm = 1;
_root.jewstr = 0;
_root.jewagi = 3;
_root.jewend = 3;
_root.jewwil = 4;
_root.unequipjew = _root.jewelslot._currentframe;
_root.jewelslot.gotoAndStop(120);
this._parent.gotoAndStop(_root.unequipjew);
}
Symbol 2711 MovieClip Frame 1
stop();
Symbol 2716 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Used";
_root.maintip._visible = true;
_root.buffstr = 6;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 6;
_root.buffarm = 0;
_root.buffatrtimer = 60;
_root.hero.heal.gotoAndPlay(2);
if ((this._parent.stacknum >= 2) && (this._parent.stacknum != " ")) {
this._parent.stacknum--;
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 2717 MovieClip Frame 1
stop();
Symbol 2718 Button
on (release) {
if (_root.quest12 == 1) {
_root.quest12 = 2;
_root.journal.journal.journa = "A crumpled note I found on a Giant Spider talks about the location of the elusive 'Spider Queen'. She resides in a web filled corridor of the 'Savage Glades'. I should avenge whoever wrote this note by slaying the 'Spider Queen'.";
_root.journal.journal._visible = true;
_root.journal._visible = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
}
gotoAndStop (2);
}
Symbol 2721 MovieClip Frame 1
stop();
Symbol 2723 MovieClip Frame 1
stop();
Symbol 2728 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.bdy = 11;
_root.armarm = 22;
_root.armstr = 5;
_root.armagi = 0;
_root.armend = 5;
_root.armwil = 5;
_root.unequiparm = _root.armorslot._currentframe;
_root.armorslot.gotoAndStop(123);
this._parent.gotoAndStop(_root.unequiparm);
}
Symbol 2729 MovieClip Frame 1
stop();
Symbol 2731 MovieClip Frame 1
stop();
Symbol 2736 Button
on (release) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Equipped";
_root.maintip._visible = true;
_root.head = 11;
_root.headarm = 18;
_root.headstr = 5;
_root.headagi = 0;
_root.headend = 5;
_root.headwil = 5;
_root.unequiphead = _root.headslot._currentframe;
_root.headslot.gotoAndStop(124);
this._parent.gotoAndStop(_root.unequiphead);
}
Symbol 2737 MovieClip Frame 1
stop();
Symbol 2741 Button
on (press) {
var unpacked1 = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (unpacked1 != true)) {
_root.hudeverything[sx].gotoAndStop("fallenhelmet");
_root.hudeverything[sx].stacknum = " ";
unpacked1 = true;
}
x++;
}
if (unpacked1 != false) {
this._parent.gotoAndStop("fallencuirass");
}
}
Symbol 2742 MovieClip Frame 1
stop();
Symbol 2743 MovieClip Frame 1
stop();
Symbol 2756 Button
on (release) {
this._visible = false;
}
Symbol 2762 Button
on (release) {
if (_root.chatperson == 1) {
_root.chat.chat = "My name is Bennett Sean, I am a villager of Doton.";
} else if (_root.chatperson == 2) {
_root.chat.chat = "Eh? Name? Well its, Wilson Smith but you can just call me Smith.";
} else if (_root.chatperson == 3) {
_root.chat.chat = "My name is Jennett Sean, I am regretably the wife of Bennett Sean.";
} else if (_root.chatperson == 4) {
_root.chat.chat = "I am Sarah Florii, I am the Doton Innkeeper's wife.";
} else if (_root.chatperson == 5) {
_root.chat.chat = "Well, I am Justin Gaarth, but who wants to know?";
} else if (_root.chatperson == 6) {
_root.chat.chat = "I be Adam Yarick, I be a farmer, I'd reckon.";
} else if (_root.chatperson == 7) {
_root.chat.chat = "My name is Marwin Thorstein, I am the Trenmore's Innkeeper.";
} else if (_root.chatperson == 8) {
_root.chat.chat = "Whoo, yooou eye dooozzz like [Hiccup] eh? Whoo.";
} else if (_root.chatperson == 9) {
_root.chat.chat = "Im a Smith, William Smith I am Wilson Smith's brother.";
} else if (_root.chatperson == 10) {
_root.chat.chat = "Im Busy can you leave me alone.";
} else if (_root.chatperson == 11) {
_root.chat.chat = "Im Rob, Rob Donar pleasure to meet you.";
} else if (_root.chatperson == 12) {
_root.chat.chat = "My name is Ples, Ples T. Meetuu.";
} else if (_root.chatperson == 13) {
_root.chat.chat = "Herbert Pearce at your service.";
} else if (_root.chatperson == 14) {
_root.chat.chat = "Im a Smith, Willas Smith I am William Smith's brother.";
} else if (_root.chatperson == 15) {
_root.chat.chat = "I am Winston Sward, I am a captain of the Imperial Army, but you should call me sir.";
} else if (_root.chatperson == 16) {
_root.chat.chat = "Well, well my name is Chef Gerd";
} else if (_root.chatperson == 17) {
_root.chat.chat = "WHAT?! GAME?! DID YOU SAY GAME?! THIS IS NOT A GAME! EXPLOSIVES ARE VERY DANGEROUS!";
} else if (_root.chatperson == 18) {
_root.chat.chat = "Cale Miles and its my pleasure.";
} else if (_root.chatperson == 19) {
_root.chat.chat = "Me name be Liv Essie pleasure to be making an acquaintance with you.";
} else if (_root.chatperson == 20) {
_root.chat.chat = "Are you gonna rent out a room or not because right now your just wasting my time.";
} else if (_root.chatperson == 21) {
_root.chat.chat = "Me name be Mayson Frang. Yaar, good deh.";
} else if (_root.chatperson == 22) {
_root.chat.chat = "Erwin, is the name... last names are unimportant, but come sit, browse, buy. Please, look around.";
} else if (_root.chatperson == 23) {
_root.chat.chat = "Quim here, This here is my wharf. Thats right, im the wharfmaster. I won't let you pass without a ticket.";
} else if (_root.chatperson == 24) {
_root.chat.chat = "What are you talking about? Of course you know who I am. Im your Wife.";
} else if (_root.chatperson == 25) {
_root.chat.chat = "Im not sure how you can see me but my name is Gregor Kilmair, pleasure to finally meet someone who can communicate with ghosts.";
} else if (_root.chatperson == 27) {
_root.chat.chat = "Asking NPCs for their name can help you to complete a quest. Sometimes you will be looking for a particular person.";
} else if (_root.chatperson == "fairy") {
_root.chat.chat = "Its Chloe Obvs";
}
}
Symbol 2767 Button
on (release) {
if (_root.chatperson == 1) {
_root.chat.chat = "Uh... Don't fight Dragons. I mean it! A friend of mine went to kill a dragon that had taken his house and he never came back. I heard the dragon tortures him, making him watch Mexican soap operas and messed up stuff like that...";
} else if (_root.chatperson == 2) {
_root.chat.chat = "Eh? Advice? Well as I always say, a good sword and decent armor can never do you wrong... and lucky you! I sell both of them!";
} else if (_root.chatperson == 3) {
_root.chat.chat = "If you ever find yourself married in the near future don't be anything like Bennett! Letting his dinner get cold, being lazy, and forgetting aniversaries!! [Jennett sighs as she places her head in her palm]";
} else if (_root.chatperson == 4) {
_root.chat.chat = "Food, Drinks, Potions, Scrolls, and Elixers and all one use consumables. They can do nearly anything from instant healing to temporary super strength.";
} else if (_root.chatperson == 5) {
_root.chat.chat = "Just keep your comments to yourself. Some people get peeved when you attack them, don't finish their quests, and sometimes simply talking to them... [glares at you treatenly]";
} else if (_root.chatperson == 6) {
_root.chat.chat = "Don't do anything that your boss wouldn't be willing to do himself. Thats how I got to where I am now, successful and happy.";
} else if (_root.chatperson == 7) {
_root.chat.chat = "You need to be careful when drinking alcohol and other consumables. If taken too often you might get addicted to it.";
} else if (_root.chatperson == 8) {
_root.chat.chat = "EEeeyy, Ey you [Hiccup] dooooozzz err eh doooozz [Hiccup]";
} else if (_root.chatperson == 9) {
_root.chat.chat = "You can always count on a Smith brother to get you the best quality weapons and armor, and thats a guarantee.";
} else if (_root.chatperson == 10) {
_root.chat.chat = "Well what really irratates me are people like you that won't leave me alone.";
} else if (_root.chatperson == 11) {
_root.chat.chat = "Well leave it to Trolls to make a mess of the local roads... If you need through you need to travel through the forest north of here.";
} else if (_root.chatperson == 12) {
_root.chat.chat = "I'm an Apothacary I sell potions. Potions can be used to restore lost hitpoints, or temporarally increase your attributes, some powerful potions can increase your lvl or grant bonus experience.";
} else if (_root.chatperson == 13) {
_root.chat.chat = "I sell magical scrolls. These items are much more powerful than a sword or bow but they are quite expensive to use, and so are not always the best choice for combat.";
} else if (_root.chatperson == 14) {
_root.chat.chat = "Nothing protects your weak vunerable inards more than a solid chuck of iron metal. Don't forget to use your shield they can be the difference between victory and defeat in a fight.";
} else if (_root.chatperson == 15) {
_root.chat.chat = "Your Reputation is very important. A good, positive reputation will get you on the Imperial forces good side. Where as stealing and attacking of guards can make you a criminal outlaw. Then the guards will kill you on sight.";
} else if (_root.chatperson == 16) {
_root.chat.chat = "When you cook you have to be patient. Sometimes giving something enough time allows it to reach its full potential.";
} else if (_root.chatperson == 17) {
_root.chat.chat = "WHAT?! HEAD LICE?! I'M NOT SURE WHERE YOUR GOING WITH THIS, BUT YES I HAVE TERRIBLE HEAD LICE!";
} else if (_root.chatperson == 18) {
_root.chat.chat = "Trolls be very formidable opponents. Yaar thats why thar teeth be so valuable.";
} else if (_root.chatperson == 19) {
_root.chat.chat = "Corsai brings a large variety of character dealing in all kinds of businesses and trades. But not all these business men have earned what they may be selling to you.";
} else if (_root.chatperson == 20) {
_root.chat.chat = "Smart people give all their money to me for permanent safe keeping.";
} else if (_root.chatperson == 21) {
_root.chat.chat = "Take it from me. Don't be the expert at everything. Specialization is much better, yaar, its too late fer me.";
} else if (_root.chatperson == 22) {
_root.chat.chat = "You won't find better prices in all the land! Its practically a steal... Not that I would ever sell you anything stolen... [cough]";
} else if (_root.chatperson == 23) {
_root.chat.chat = "It's not safe to sail when the seas are as violent as they are right now...you'd be best to stay in port. But I can still take your ticket...if you would like.";
} else if (_root.chatperson == 24) {
_root.chat.chat = "I not sure why you insist on carrying that sword and shield everywhere you go. Its not like a Dragon is ever going to fly way over here.";
} else if (_root.chatperson == 25) {
_root.chat.chat = "Well when you die a terrible death your body dies but your ghost is left to roam the earth forever. It actually really sucks.";
} else if (_root.chatperson == 27) {
_root.chat.chat = "Getting advice can sometimes give you an edge you can use to improve your combat prowess. Asking for advice is usually a good idea.";
} else if (_root.chatperson == "fairy") {
_root.chat.chat = "If you try to touch me I will CUT YOU.";
}
}
Symbol 2770 Button
on (release) {
if (_root.chatperson == 1) {
if (_root.quest2 == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.chat.chat = ("Actually do you know what the date is today? What!?! Dear God! Today is my Aniversary! I haven't gotten anything for my wife! *crying* Please " + _root.charname) + " you need to help me find a gift, and quick!";
_root.quest2 = 2;
_root.hudeverything.journa = "'Bennett Sean', East of 'Doton', carelessly forgot his aniversary. Gather 5 Small 'Spider Fangs', from the nearby spiders, so Bennett can make something for his wife.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q2._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q2._y;
} else if (_root.quest2 == 2) {
_root.chat.chat = ("Hurry " + _root.charname) + " I need those Small Spider Fangs! What!?! you don't have them!! Well stop standing around talking to me, go kill those spiders!";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 10) && (_root.hudeverything[sx].stacknum == 5)) {
_root.hudeverything[sx].gotoAndStop(1);
_root.chat.chat = "Did you get the spider legs? You did!! Now all I need to do is turn this into a necklace...[Reward: 100xp, 30 coins]";
_root.quest2 = 3;
_root.xp = _root.xp + 100;
_root.gold = _root.gold + 30;
x = 20;
}
x++;
}
} else if (_root.quest2 == 3) {
_root.chat.chat = ("Thank you again " + _root.charname) + ". I'll just give her this spider fang necklace... because girls like spiders... right?";
}
} else if (_root.chatperson == 4) {
if (_root.quest1 == 2) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.chat.chat = ("Is your name " + _root.charname) + " per chance? It is? Oh Joy, I have some supplies that were ordered for you but, [Sarah laughs uncomfortably] funny story...";
_root.quest1 = 3;
_root.hudeverything.journa = "'Sarah Florii' had lost my supplies. She said that they should still be in the Forest to the north west of 'Doton'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q1._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q1._y;
} else if (_root.quest1 == 3) {
_root.chat.chat = "I still don't have your supplies... they are still probably lost in the forest to the north west.";
} else if (_root.quest1 == 4) {
_root.chat.chat = ("Good luck " + _root.charname) + " I hope you find your family.";
}
} else if (_root.chatperson == 6) {
if (_root.quest3 == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.chat.chat = "Well I think I'm in a lil heap of trouble. Well in case you didn't know, a group of bandits have taken up residence in the fields. So its getting really hard for me to get my work done.";
_root.quest3 = 2;
_root.hudeverything.journa = "'Adam Yarick', West of 'Doton', can't get his work done due to Bandits. Gather 5 'Stolen Harvest Sacks' for 'Adam Yarick'. I can get the 'Stolen Harvest' by killing bandits in 'The Fields' north of 'Doton & Trenmore'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q3._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q3._y;
} else if (_root.quest3 == 2) {
_root.chat.chat = ("Did you get them " + _root.charname) + "? So the bandits are giving you a hard time? Try getting some weapons and armor maybe it will get easier.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 25) && (_root.hudeverything[sx].stacknum == 5)) {
_root.hudeverything[sx].gotoAndStop("oldvoucher");
_root.hudeverything[sx].stacknum = " ";
_root.chat.chat = "Eh? Good job! I reckon I never could have gotten the harvest back without you. Here, take this letter to the Trenmore Apothecary. [Reward: 400xp, Old Voucher]";
_root.quest3 = 3;
_root.xp = _root.xp + 400;
x = 20;
}
x++;
}
} else if (_root.quest3 == 3) {
_root.chat.chat = "Well I'm still off from my quota, want to help me some more?";
_root.quest3 = 4;
_root.hudeverything.journa = "'Adam Yarick', West of 'Doton', can't get his work done due to Bandits. Gather 5 'Stolen Harvest Sacks' for 'Adam Yarick'. I can get the 'Stolen Harvest' by killing bandits in 'The Fields' north of 'Doton & Trenmore'. I have completed this quest before I can do it again if I wish.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q3._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q3._y;
} else if (_root.quest3 == 4) {
_root.chat.chat = ("Did you get them " + _root.charname) + "? So the bandits are giving you a hard time? Try getting some weapons and armor maybe it will get easier.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 25) && (_root.hudeverything[sx].stacknum == 5)) {
_root.hudeverything[sx].gotoAndStop(1);
_root.hudeverything[sx].stacknum = " ";
_root.chat.chat = "Eh? Good job! I reckon I never could have gotten the harvest back without you. [Reward: 200xp, 60 coins]";
_root.quest3 = 3;
_root.xp = _root.xp + 200;
_root.gold = _root.gold + 60;
x = 20;
}
x++;
}
}
} else if (_root.chatperson == 7) {
if (_root.quest4 == 1) {
_root.chat.chat = "Well ever since those darn bandits took over the I've been getting dangerously low on Ale. I don't want to be anywhere these drunks when I run out. I need you to get me a Barrel Of Ale, at the Field Storehouse to the North East.";
_root.quest4 = 2;
_root.hudeverything.journa = "'Marwin Thorstein', in 'Trenmore', needs me to get a 'Keg Of Ale' from 'The Fields' Storehouse, North East of 'Trenmore'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q4._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q4._y;
} else if (_root.quest4 == 2) {
_root.chat.chat = "Can u find the Keg Of Ale? Just travel to the East from here until you reach the Fields. The Storehouse should be on the far west side of the fields.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 36) {
_root.hudeverything[sx].gotoAndStop(1);
_root.chat.chat = "You Got the Keg Of Ale, great job. I don't know what Bob would do without Ale for one day [Gazes over at the drunk at the far side of the Inn]. [Reward: 600xp, 100 gold]";
_root.quest4 = 3;
_root.xp = _root.xp + 600;
x = 20;
}
x++;
}
} else if (_root.quest4 == 3) {
_root.chat.chat = ("I can keep my Tavern open just a couple more weeks thanks too you " + _root.charname) + ". Hopefully this whole ordeal will blow itself out in the near future.";
}
} else if (_root.chatperson == 9) {
if (_root.quest1 == 4) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 23) {
_root.hudeverything[sx].gotoAndStop(1);
x = 20;
}
x++;
}
_root.chat.chat = _root.charname + "? Is that your name? Well here is the deal, A bandit who calls himself, 'Sting', he is the bandit leader. Sting has your missing goods. If you can kill him bring me back his head and I will find you a handsome reward.";
_root.quest1 = 5;
_root.quest5 = 2;
_root.hudeverything.journa = "'William Smith' wants me to kill 'Sting' and bring his head back to him for a reward. 'Sting' is located in the 'The Fields' north of 'Doton and Trenmore'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q5._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q5._y;
} else if ((_root.quest1 > 4) && (_root.quest5 < 3)) {
_root.chat.chat = ("Good luck " + _root.charname) + " You might want to practice your fighting on weaker opponents before you try and face him if your having trouble. Use your shield and bring some potions, he won't go down easy.";
} else if (_root.quest5 == 3) {
_root.chat.chat = "Did you bring Sting's head back? Have you killed him yet? Try training with weaker opponents first if your having trouble.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 37) {
_root.hudeverything[sx].gotoAndStop(45);
_root.chat.chat = "Good, You brought back Stings head, here is your reward like I promised. [Reward: 500xp, (Iron Warhammer/Hardened Iron Breastplate)]";
_root.quest5 = 4;
_root.quest1 = 6;
_root.xp = _root.xp + 500;
x = 20;
}
x++;
}
} else if (_root.quest5 == 4) {
_root.chat.chat = ("Good Job " + _root.charname) + " with Sting gone we can finally get on with our lives. Good luck with your journey.";
}
} else if (_root.chatperson == 12) {
_root.chat.chat = "If u have a Voucher just bring it to me right here and I can get you your free tonic.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 28) {
_root.hudeverything[sx].gotoAndStop("choice3");
_root.chat.chat = "Thank You come again. [Reward: 100xp, Tonic]";
_root.xp = _root.xp + 100;
x = 20;
}
x++;
}
} else if (_root.chatperson == 14) {
if (_root.quest6 == 1) {
_root.chat.chat = "You look able bodied enough do you think you can do me a favor?";
_root.quest6 = 2;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.hudeverything.journa = "'Wilard Smiths' supplies of metal have run out and he needs me to gather 10 'Metal Scraps' from the Orcs to the West of the 'Imperial Camp'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q6._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q6._y;
} else if (_root.quest6 == 2) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 68) && (_root.hudeverything[sx].stacknum == 10)) {
_root.hudeverything[sx].stacknum = " ";
_root.hudeverything[sx].gotoAndStop("choice2");
_root.quest6 = 3;
_root.chat.chat = ("Thanks " + _root.charname) + " the war effort can continue because of you. [Reward: 1000xp, Imperial Sword or Imperial Raiment]";
_root.xp = _root.xp + 1000;
x = 20;
} else {
_root.chat.chat = ("Hurry " + _root.charname) + " the Imperial war effort is counting on it!";
}
x++;
}
} else if (_root.quest6 == 3) {
_root.chat.chat = "Feel free to browse my goods now that I have more metal I can start supporting the Imperial forces again.";
}
} else if (_root.chatperson == 15) {
if ((_root.quest1 == 6) && (_root.quest7 == 1)) {
_root.chat.chat = "Directions You say? Well I'm not just gonna help out any old traveller, what are you gonna do for me.";
_root.quest7 = 2;
_root.quest1 = 7;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.hudeverything.journa = "'Winston Sward' captain of the Imperial Army, at the 'Imperial Camp' is reluctant to help me. I need to gather 20 'voodoo beads' from the 'Gremlin village' in the 'Savage Glades', to the north of the 'Imperial Camp' before he trust me.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q7._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q7._y;
} else if ((_root.quest1 > 6) && (_root.quest7 == 2)) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 78) && (_root.hudeverything[sx].stacknum == 20)) {
_root.hudeverything[sx].stacknum = " ";
_root.hudeverything[sx].gotoAndStop("imperialinsignia");
_root.quest7 = 3;
_root.quest1 = 8;
_root.chat.chat = ("Well, " + _root.charname) + " you can never tell who is on your side any more. This war is ripping apart the Kingdom. Now about your dragon you will need to see 'Mayson Frang' to the West. [Reward: 1200xp, Reputation + 100, Imperial Ensigna]";
_root.xp = _root.xp + 1200;
_root.rep = _root.rep + 100;
x = 20;
} else {
_root.chat.chat = "Well, I need to know where your loyalties stand. Gather the beads before I have you arrested for treason.";
}
x++;
}
}
} else if (_root.chatperson == 16) {
if (_root.quest8 == 1) {
_root.chat.chat = "Well, chicken is getting kind of expensive and I do need a cheaper alterative. Perhaps you can help me out. What do you say?";
_root.quest8 = 2;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.hudeverything.journa = "'Chef Gerd', at the 'Imperial Camp', needs me to gather 10 'Lean Steaks' from the nearby 'Wolves' around the 'Imperial Camp'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q8._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q8._y;
} else if (_root.quest8 == 2) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 70) && (_root.hudeverything[sx].stacknum == 10)) {
_root.hudeverything[sx].stacknum = 10;
_root.hudeverything[sx].gotoAndStop("spicedsteak");
_root.quest8 = 3;
_root.chat.chat = "It all looks the same and it all tastes like chicken, or liver cancer... but what they don't know won't hurt them... right away. [Reward: 1000xp, 60 gold, 10 x Spiced Steak]";
_root.xp = _root.xp + 1000;
_root.gold = _root.gold + 60;
x = 20;
} else {
_root.chat.chat = ("Quickly" + _root.charname) + ". The waters already boiling, I don't want the leather shoes to get over cooked.";
}
x++;
}
}
} else if (_root.chatperson == 17) {
if (_root.quest9 == 1) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 1) {
_root.hudeverything[sx].stacknum = " ";
_root.hudeverything[sx].gotoAndStop("blastmasterkey");
_root.chat.chat = "WHAT?! KELP! NO SORRY I DON'T LIKE SEAFOOD! HELP YOU SAID?! OH YES! I DO NEED SOME HELP!";
_root.quest9 = 2;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest. [Blastmaster's Key] added to inventory.";
_root.maintip._visible = true;
_root.hudeverything.journa = "'The Blastmaster', at the road block, needs me to get his 'Blasting Core' back. He has given me a 'Blast Master's key' that I can use to open his locked chest that can be found in the 'Savage Glades'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q9._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q9._y;
x = 20;
} else {
_root.chat.chat = "WHAT?! KELP! NO SORRY I DON'T LIKE SEAFOOD! HELP YOU SAID?! OH YES! I DO NEED SOME HELP! BUT YOU SHOULD EMPTY YOUR hudeverything FIRST SO I CAN GIVE YOU A KEY!";
}
x++;
}
} else if (_root.quest9 == 2) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if (_root.hudeverything[sx]._currentframe == 86) {
_root.hudeverything[sx].stacknum = " ";
_root.hudeverything[sx].gotoAndStop("choice4");
_root.quest9 = 3;
_root.chat.chat = "IS THAT MY CORE?! OH GOOD YOU BETTER STAND BACK THIS IS GONNA BE BIG! JUST COME BACK IN A LITTLE BIT AND THE PATH SHOULD BE CLEAR!. [Reward: 800xp, Path Openned.]";
_root.xp = _root.xp + 800;
x = 20;
} else {
_root.chat.chat = "WHAT?! YOUR WRITING A PUN?! OH! YOUR NOT QUITE DONE! WELL GET GOING THEN I NEED THIS PATH CLEARED!";
}
x++;
}
}
} else if (_root.chatperson == 18) {
if (_root.quest10 == 1) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.chat.chat = "Troll teeth can be a very lucrative business if you know where to sell them. But I don't have the strength to slay a troll can you help me out?";
_root.quest10 = 2;
_root.hudeverything.journa = "'Cale Miles', in 'Corsai', wants to go to business with me. Gather 5 'Troll Teeth' for 'Cale Miles'. I can get the 'Troll Teeth' by killing trolls. They like to hide under bridges, so you need to find something that can lure them out.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q10._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q10._y;
} else if (_root.quest10 == 2) {
_root.chat.chat = ("Did you get them " + _root.charname) + "? Trolls are cowards. You need to lure them out of their homes under bridges. Luckily they listen to their stomach.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 112) && (_root.hudeverything[sx].stacknum == 5)) {
_root.hudeverything[sx].gotoAndStop(1);
_root.hudeverything[sx].stacknum = " ";
_root.chat.chat = ("Alright! Good job " + _root.charname) + " these teeth are in good condition too. Here is your share of the profits. [Reward: 1800xp, 600gold]";
_root.quest10 = 3;
_root.gold = _root.gold + 600;
_root.xp = _root.xp + 1800;
x = 20;
}
x++;
}
} else if (_root.quest10 == 3) {
_root.chat.chat = "Theres always a market for Troll teeth if you want to get some more.";
_root.quest10 = 4;
} else if (_root.quest10 == 4) {
_root.chat.chat = ("Did you get them " + _root.charname) + "? Trolls are cowards. You need to lure them out of their homes under bridges. Luckily they listen to their stomach.";
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 112) && (_root.hudeverything[sx].stacknum == 5)) {
_root.hudeverything[sx].gotoAndStop(1);
_root.hudeverything[sx].stacknum = " ";
_root.chat.chat = ("Alright! Good job " + _root.charname) + " these teeth are in good condition too. Here is your share of the profits. [Reward: 600xp, 600gold]";
_root.quest10 = 3;
_root.gold = _root.gold + 600;
_root.xp = _root.xp + 600;
x = 20;
}
x++;
}
}
} else if (_root.chatperson == 21) {
if (_root.quest1 == 8) {
_root.chat.chat = "Yaar, Tis true I know the dragon you speak of. Yaar, but you'll need a boat, and me boat is , yaar, out of commission.";
_root.quest1 = 9;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.hudeverything.journa = "'Mayson Frang' knows the dragon lives on a distant island. So I need to help 'Mayson Frang' fix his ship so he can help me get there. I must gather 10 'Wooden Logs' from the 'Dryads' to the East of 'Corsai'.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q1._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q1._y;
} else if (_root.quest1 == 9) {
var x = 0;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 102) && (_root.hudeverything[sx].stacknum == 10)) {
_root.hudeverything[sx].stacknum = " ";
_root.hudeverything[sx].gotoAndStop("choice5");
_root.quest1 = 10;
_root.chat.chat = ("Yaar got yer sea legs " + _root.charname) + "? Yaar we be ready to set sail! But thar be another problem. Talk to 'The Wharfmaster' outside of 'Corsai' and he will fill you in on the situation, yarr... [Reward: 1500xp, Pirate Rapier or Admiral Hat]";
_root.xp = _root.xp + 1500;
x = 20;
} else {
_root.chat.chat = ("Yaar! Don't Waste me time " + _root.charname) + "! Me Boat in need of repair!";
}
x++;
}
} else if (_root.quest1 == 10) {
_root.chat.chat = ("Yaar got yer sea legs " + _root.charname) + "? Yaar we be ready to set sail! But thar be another problem. Talk to 'The Wharfmaster' outside of 'Corsai' and he will fill you in on the situation, yarr... [Reward: 1500xp, Pirate Rapier or Admiral Hat]";
}
} else if (_root.chatperson == 23) {
if (_root.quest1 == 10) {
_root.chat.chat = "Mayson has gotten his ship repaired does he? That ol' sailor isn't gonna be setting sail anytime soon its just too dangerous.";
_root.quest1 = 11;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.hudeverything.journa = "'Quim' the Wharfmaster, at'Corsai' says it is too dangerous to set sail right now due to a violent storm. I need to wait it out (Part 1 is over, :( sorry guys)";
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q1._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q1._y;
}
if (_root.quest1 == 11) {
_root.chat.chat = "Mayson has gotten his ship repaired does he? That ol' sailor isn't gonna be setting sail anytime soon its just too dangerous.";
}
} else if (_root.chatperson == 24) {
if (_root.quest11 == 1) {
_root.chat.chat = "Oh there you are honey! I've been looking for you. Well since your not doing anything do you think you can go grab me a bucket of water fromt he well?";
_root.quest11 = 2;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.hudeverything.journa = "My 'Wife' needs me to get a bucket of water from the well East of my house and bring it back to her. Once at the well I can press [Space] to gather the water.";
_root.hudeverything._visible = true;
_root.hudeverything.gotoAndStop(3);
_root.hudeverything.questupdate._x = _root.hudeverything.q11._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q11._y;
}
} else if (_root.chatperson == 27) {
if (_root.tutorial._currentframe == 7) {
_root.tutorial.gotoAndStop(8);
_root.menuon = true;
_root.chat._visible = false;
} else {
_root.chat.chat = "-This person does not need any help at the moment.-";
}
} else if (_root.chatperson == "fairy") {
_root.chat.chat = "I dunno I don't need help.";
} else {
_root.chat.chat = "-This person does not need any help at the moment.-";
}
}
Symbol 2773 Button
on (release) {
if (_root.chatperson == 2) {
_root.shoptab.gotoAndStop(2);
_root.shoptab._visible = true;
} else if (_root.chatperson == 7) {
if (_root.quest4 == 3) {
_root.shoptab.gotoAndStop(7);
_root.shoptab._visible = true;
} else {
_root.chat.chat = "I sorry I don't have any thing for sale at the momment. My stores of Ale are dangerously low.";
}
} else if (_root.chatperson == 9) {
_root.shoptab.gotoAndStop(4);
_root.shoptab._visible = true;
} else if (_root.chatperson == 12) {
_root.shoptab.gotoAndStop(3);
_root.shoptab._visible = true;
} else if (_root.chatperson == 13) {
_root.shoptab.gotoAndStop(5);
_root.shoptab._visible = true;
} else if (_root.chatperson == 14) {
if (_root.quest6 == 3) {
_root.shoptab.gotoAndStop(6);
_root.shoptab._visible = true;
} else {
_root.chat.chat = "I sorry I don't have any thing for sale at the moment. All the metal I get I need to use to support the war effort.";
}
} else if (_root.chatperson == 16) {
_root.shoptab.gotoAndStop(10);
_root.shoptab._visible = true;
} else if (_root.chatperson == 22) {
_root.shoptab.gotoAndStop(8);
_root.shoptab._visible = true;
} else if (_root.chatperson == 25) {
_root.shoptab.gotoAndStop(9);
_root.shoptab._visible = true;
} else if (_root.chatperson == 27) {
_root.chat.chat = "Certain NPCs will have items for sale. You can spend you coins to purchase better weapons and armor, or powerful items that can improve you attributes.";
}
}
Symbol 2778 Button
on (release) {
if (_root.chatperson == 4) {
_root.savetab._visible = true;
} else if (_root.chatperson == 7) {
_root.savetab._visible = true;
} else if (_root.chatperson == 15) {
_root.savetab._visible = true;
} else if (_root.chatperson == 20) {
_root.savetab._visible = true;
} else if (_root.chatperson == 27) {
_root.chat.chat = "Taverns and quest specific characters give you the option to save your progress so that you can return at a later time to continue playing. This button is the only way to save your game.";
}
}
Symbol 2781 MovieClip Frame 1
stop();
Symbol 2797 Button
on (release) {
this.gotoAndStop("character");
}
Symbol 2800 Button
on (release) {
_root.hudeverything.journa = "You are not viewing any Quest Entries.";
this.gotoAndStop("journal");
}
Symbol 2803 Button
on (release) {
if (_root.help._visible == false) {
_root.help._visible = true;
_root.menuon = true;
} else {
_root.help._visible = false;
}
}
Symbol 2808 Button
on (release) {
this._visible = false;
}
Symbol 2848 MovieClip Frame 1
stop();
Symbol 2849 MovieClip Frame 1
stop();
Symbol 2850 MovieClip Frame 1
stop();
Symbol 2852 MovieClip Frame 1
stop();
Symbol 2853 MovieClip Frame 1
stop();
Symbol 2855 MovieClip Frame 1
stop();
Symbol 2856 MovieClip Frame 1
stop();
Symbol 2859 MovieClip Frame 1
stop();
Symbol 2861 MovieClip Frame 1
stop();
Symbol 2862 MovieClip Frame 1
stop();
Symbol 2864 MovieClip Frame 1
stop();
Symbol 2865 MovieClip Frame 1
stop();
Symbol 2867 MovieClip Frame 1
stop();
Symbol 2868 MovieClip Frame 1
stop();
Symbol 2869 MovieClip Frame 1
stop();
Symbol 2870 MovieClip Frame 1
stop();
Symbol 2871 MovieClip Frame 1
stop();
Symbol 2873 MovieClip Frame 1
stop();
Symbol 2874 MovieClip Frame 1
stop();
Symbol 2877 MovieClip Frame 1
stop();
Symbol 2879 MovieClip Frame 1
stop();
Symbol 2880 MovieClip Frame 1
stop();
Symbol 2882 MovieClip Frame 1
stop();
Symbol 2883 MovieClip Frame 1
stop();
Symbol 2884 MovieClip Frame 1
stop();
Symbol 2887 MovieClip Frame 1
stop();
Symbol 2889 MovieClip Frame 1
stop();
Symbol 2891 MovieClip Frame 1
stop();
Symbol 2892 MovieClip Frame 1
stop();
Symbol 2893 MovieClip Frame 1
stop();
Symbol 2895 MovieClip Frame 1
stop();
Symbol 2896 MovieClip Frame 1
stop();
Symbol 2898 MovieClip Frame 1
stop();
Symbol 2900 MovieClip Frame 1
stop();
Symbol 2903 MovieClip Frame 1
stop();
Symbol 2904 MovieClip Frame 1
stop();
Symbol 2906 MovieClip Frame 1
stop();
Symbol 2910 MovieClip Frame 1
stop();
Symbol 2912 MovieClip Frame 1
stop();
Symbol 2913 MovieClip Frame 1
stop();
Symbol 2914 MovieClip Frame 1
stop();
Symbol 2916 MovieClip Frame 1
stop();
Symbol 2917 MovieClip Frame 1
stop();
Symbol 2919 MovieClip Frame 1
stop();
Symbol 2920 MovieClip Frame 1
stop();
Symbol 2923 MovieClip Frame 1
stop();
Symbol 2926 MovieClip Frame 1
stop();
Symbol 2928 MovieClip Frame 1
stop();
Symbol 2929 MovieClip Frame 1
stop();
Symbol 2931 MovieClip Frame 1
stop();
Symbol 2934 MovieClip Frame 1
stop();
Symbol 2936 MovieClip Frame 1
stop();
Symbol 2939 MovieClip Frame 1
stop();
Symbol 2941 MovieClip Frame 1
stop();
Symbol 2943 MovieClip Frame 1
stop();
Symbol 2944 MovieClip Frame 1
stop();
Symbol 2946 MovieClip Frame 1
stop();
Symbol 2948 MovieClip Frame 1
stop();
Symbol 2950 MovieClip Frame 1
stop();
Symbol 2951 MovieClip Frame 1
stop();
Symbol 2953 MovieClip Frame 1
stop();
Symbol 2955 MovieClip Frame 1
stop();
Symbol 2957 MovieClip Frame 1
stop();
Symbol 2959 MovieClip Frame 1
stop();
Symbol 2960 MovieClip Frame 1
stop();
Symbol 2961 MovieClip Frame 1
stop();
Symbol 2963 MovieClip Frame 1
stop();
Symbol 2965 MovieClip Frame 1
stop();
Symbol 2967 MovieClip Frame 1
stop();
Symbol 2970 MovieClip Frame 1
stop();
Symbol 2973 MovieClip Frame 1
stop();
Symbol 2975 MovieClip Frame 1
stop();
Symbol 2976 MovieClip Frame 1
stop();
Symbol 2977 MovieClip Frame 1
stop();
Symbol 2980 MovieClip Frame 13
stop();
Symbol 2983 Button
on (release) {
this.gotoAndStop("inventory");
}
Symbol 3005 Button
on (release) {
_root.str++;
_root.spnt--;
}
Symbol 3006 Button
on (release) {
_root.agi++;
_root.spnt--;
}
Symbol 3007 Button
on (release) {
_root.end++;
_root.spnt--;
}
Symbol 3008 Button
on (release) {
_root.wil++;
_root.spnt--;
}
Symbol 3037 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "A dragon has just kidnapped my wife and scorched my home. I am going to hunt him down and get my wife back. But I need to prepare for my journey should I stand any chance at all.";
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.quest1 = 2;
}
Symbol 3041 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "I need to head to the town 'Doton' to get some supplies, west from my house. I need to talk to 'Sarah Florii', the inn keepers wife. She is barkeeping at 'Doton Inn'.";
}
Symbol 3042 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Sarah Florii' had lost my supplies. She said that they should still be in the Forest to the north west of 'Doton'.";
}
Symbol 3045 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "I found my supplies in 'Doton Woods' however, some of my supplies were taken by bandits. I need to talk to 'William Smith' in the western side of 'Trenmore'.";
}
Symbol 3048 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "William Smith said that a Bandit called 'Sting', outside 'The fields' storehouse, has my missing goods. I will need to kill him to get them back as he likely won't give them to me.";
}
Symbol 3051 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "Now that I have my supplies back I need to travel through the 'Savage Glades' to reach the 'Imperial Camp' on the other side";
}
Symbol 3052 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "I visited 'Winston Sward' at the 'Imperial Camp', however he does trust me enough to give me directions. I need to complete the quest 'I Want You' before he is willing to help me out.";
}
Symbol 3055 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "Winston has directed me to a pirate named 'Mayson Frang' located near 'Corsai'. He has information on where to find the dragon.";
}
Symbol 3058 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Mayson Frang' knows the dragon lives on a distant island. So I need to help 'Mayson Frang' fix his ship so he can help me get there. I must gather 10 'Wooden Logs' from the 'Dryads' to the East of 'Corsai'.";
}
Symbol 3061 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "Talk to 'The Wharfmaster' outside of 'Corsai' and he will fill you in on the situation.";
}
Symbol 3062 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Quim' the Wharfmaster, at'Corsai' says it is too dangerous to set sail right now due to a violent storm. I need to wait it out (Part 1 is over, :( sorry guys)";
}
Symbol 3067 MovieClip Frame 13
stop();
Symbol 3071 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Bennett Sean', East of 'Doton', carelessly forgot his aniversary. Gather 5 Small 'Spider Fangs', from the nearby spiders, so Bennett can make something for his wife.";
}
Symbol 3072 MovieClip Frame 1
stop();
Symbol 3075 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Adam Yarick', West of 'Doton', can't get his work done due to Bandits. Gather 5 'Stolen Harvest Sacks' for 'Adam Yarick'. I can get the 'Stolen Harvest' by killing bandits in 'The Fields' north of 'Doton & Trenmore'.";
}
Symbol 3078 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Adam Yarick', West of 'Doton', can't get his work done due to Bandits. Gather 5 'Stolen Harvest Sacks' for 'Adam Yarick'. I can get the 'Stolen Harvest' by killing bandits in 'The Fields' north of 'Doton & Trenmore'. I have completed this quest before I can do it again if I wish.";
}
Symbol 3079 MovieClip Frame 1
stop();
Symbol 3082 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Marwin Thorstein', in 'Trenmore', needs me to get a 'Keg Of Ale' from 'The Fields' Storehouse, North East of 'Trenmore'.";
}
Symbol 3083 MovieClip Frame 1
stop();
Symbol 3086 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'William Smith' wants me to kill 'Sting' and bring his head back to him for a reward. 'Sting' is located in the 'The Fields' north of 'Doton and Trenmore'.";
}
Symbol 3087 MovieClip Frame 1
stop();
Symbol 3090 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Winston Sward' captain of the Imperial Army, at the 'Imperial Camp' is reluctant to help me. I need to gather 20 'voodoo beads' from the 'Gremlin village' in the 'Savage Glades', to the north of the 'Imperial Camp' before he trust me.";
}
Symbol 3091 MovieClip Frame 1
stop();
Symbol 3094 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Chef Gerd', at the 'Imperial Camp', needs me to gather 10 'Lean Steaks' from the nearby 'Wolves' around the 'Imperial Camp'.";
}
Symbol 3095 MovieClip Frame 1
stop();
Symbol 3098 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'The Blastmaster', at the road block, needs me to get his 'Blasting Core' back. He has given me a 'Blast Master's key' that I can use to open his locked chest that can be found in the 'Savage Glades'.";
}
Symbol 3099 MovieClip Frame 1
stop();
Symbol 3103 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Cale Miles', in 'Corsai', wants to go to business with me. Gather 5 'Troll Teeth' for 'Cale Miles'. I can get the 'Troll Teeth' by killing trolls. They like to hide under bridges, so you need to find something that can lure them out.";
}
Symbol 3106 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.journal.journal.journa = "'Cale Miles', in 'Corsai', wants to go to business with me. Gather 5 'Troll Teeth' for 'Cale Miles'. I can get the 'Troll Teeth' by killing trolls. They like to hide under bridges, so you need to find something that can lure them out. I have completed this quest before I can do it again if I wish.";
_root.journal.journal._visible = true;
}
Symbol 3107 MovieClip Frame 1
stop();
Symbol 3110 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "My 'Wife' needs me to get a bucket of water from the well East of my house and bring it back to her. Once at the well I can press [Space] to gather the water.";
}
Symbol 3111 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "Now that I have the water I need to return to my house.";
}
Symbol 3112 MovieClip Frame 1
stop();
Symbol 3115 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "A crumpled note I found on a Giant Spider talks about the location of the elusive 'Spider Queen'. She resides in a web filled corridor of the 'Savage Glades'. I should avenge whoever wrote this note by slaying the 'Spider Queen'.";
}
Symbol 3116 MovieClip Frame 1
stop();
Symbol 3119 Button
on (release) {
_root.hudeverything.questupdate._x = this._x;
_root.hudeverything.questupdate._y = this._y;
_root.hudeverything.journa = "'Wilard Smiths' supplies of metal have run out and he needs me to gather 10 'Metal Scraps' from the Orcs to the West of the 'Imperial Camp'.";
}
Symbol 3120 MovieClip Frame 1
stop();
Symbol 3125 MovieClip Frame 1
stop();
Symbol 3132 Button
on (release) {
gotoAndStop (2);
}
Symbol 3135 Button
on (release) {
_root.menuon = false;
gotoAndStop (3);
}
Symbol 3148 Button
on (release) {
_root.menuon = false;
_root.bg.interactnpc.gotoAndStop(2);
gotoAndStop (6);
}
Symbol 3162 Button
on (release) {
_root.bg.interactnpc.gotoAndStop(1);
gotoAndStop (9);
}
Symbol 3165 Button
on (release) {
gotoAndStop (10);
}
Symbol 3168 Button
on (release) {
gotoAndStop (11);
}
Symbol 3171 Button
on (release) {
_root.menuon = false;
gotoAndStop (12);
}
Symbol 3176 Button
on (release) {
_root.menuon = false;
gotoAndStop (14);
}
Symbol 3181 Button
on (release) {
_root.menuon = false;
gotoAndStop (16);
}
Symbol 3186 Button
on (release) {
gotoAndStop (18);
}
Symbol 3189 Button
on (release) {
_root.menuon = false;
gotoAndStop (19);
}
Symbol 3207 Button
on (release) {
gotoAndStop (23);
}
Symbol 3210 Button
on (release) {
_root.menuon = false;
gotoAndStop (24);
}
Symbol 3217 MovieClip Frame 1
stop();
Instance of Symbol 383 MovieClip in Symbol 3217 MovieClip Frame 1
onClipEvent (load) {
var pickedup = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (Key.isDown(32))) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (pickedup != true)) {
_root.hudeverything[sx].gotoAndStop("wornbow");
_root.hudeverything[sx].stacknum = " ";
pickedup = true;
_root.tiptimer = 15;
_root.maintip.tipvar = "You picked up a [Worn Short Bow].";
_root.maintip._visible = true;
_root.menuon = true;
_root.tutorial.gotoAndStop(25);
this.gotoAndStop(2);
}
x++;
}
}
}
Symbol 3219 Button
on (release) {
_root.menuon = false;
gotoAndStop (26);
}
Symbol 3225 Button
on (release) {
gotoAndStop (29);
}
Symbol 3228 Button
on (release) {
_root.menuon = false;
gotoAndStop (30);
}
Symbol 3267 Button
on (release) {
gotoAndStop (32);
}
Symbol 3270 Button
on (release) {
_root.menuon = false;
gotoAndStop (33);
}
Symbol 3279 Button
on (release) {
gotoAndStop (38);
}
Symbol 3282 Button
on (release) {
gotoAndStop (39);
_root.menuon = false;
}
Symbol 3288 Button
on (release) {
gotoAndStop (42);
}
Symbol 3291 Button
on (release) {
_root.menuon = false;
gotoAndStop (43);
}
Symbol 3296 Button
on (release) {
_root.menuon = false;
_root.createPassiveEnemy("enm_rat", 400, 225, 5, 0);
_root.createPassiveEnemy("enm_rat", 400, 250, 5, 0);
_root.createPassiveEnemy("enm_rat", 400, 275, 5, 0);
gotoAndStop (45);
}
Symbol 3301 Button
on (release) {
gotoAndStop (47);
}
Symbol 3304 Button
on (release) {
gotoAndStop (48);
}
Symbol 3307 Button
on (release) {
gotoAndStop (49);
}
Symbol 3310 Button
on (release) {
gotoAndStop (50);
}
Symbol 3313 Button
on (release) {
gotoAndStop (51);
}
Symbol 3316 Button
on (release) {
gotoAndStop (52);
}
Symbol 3319 Button
on (release) {
_root.menuon = false;
gotoAndStop (53);
}
Symbol 3322 Button
on (release) {
_root.menuon = false;
_root.hudeverything.s1.gotoAndStop(11);
_root.hudeverything.s1.stacknum = " ";
_root.hudeverything.s2.gotoAndStop(26);
_root.hudeverything.s2.stacknum = " ";
_root.hudeverything.s3.gotoAndStop(63);
_root.hudeverything.s3.stacknum = " ";
_root.hudeverything.s4.gotoAndStop(97);
_root.hudeverything.s4.stacknum = " ";
_root.hudeverything.s5.gotoAndStop(120);
_root.hudeverything.s5.stacknum = " ";
_root.hudeverything.s6.gotoAndStop(89);
_root.hudeverything.s6.stacknum = " ";
_root.hudeverything.s7.gotoAndStop(117);
_root.hudeverything.s7.stacknum = " ";
_root.hudeverything.s8.gotoAndStop(54);
_root.hudeverything.s8.stacknum = " ";
_root.hudeverything.s9.gotoAndStop(43);
_root.hudeverything.s9.stacknum = " ";
_root.bg.interactnpc.gotoAndStop(2);
gotoAndStop (54);
}
Symbol 3327 Button
on (release) {
_root.bg.interactnpc.gotoAndStop(1);
gotoAndStop (56);
}
Symbol 3330 Button
on (release) {
_root.hp = 5;
_root.hudeverything.s1.gotoAndStop(16);
_root.hudeverything.s1.stacknum = 5;
_root.hudeverything.s2.gotoAndStop(1);
_root.hudeverything.s2.stacknum = " ";
_root.hudeverything.s3.gotoAndStop(1);
_root.hudeverything.s3.stacknum = " ";
_root.hudeverything.s4.gotoAndStop(1);
_root.hudeverything.s4.stacknum = " ";
_root.hudeverything.s5.gotoAndStop(1);
_root.hudeverything.s5.stacknum = " ";
_root.hudeverything.s6.gotoAndStop(1);
_root.hudeverything.s6.stacknum = " ";
_root.hudeverything.s7.gotoAndStop(1);
_root.hudeverything.s7.stacknum = " ";
_root.hudeverything.s8.gotoAndStop(1);
_root.hudeverything.s8.stacknum = " ";
_root.hudeverything.s9.gotoAndStop(1);
_root.hudeverything.s9.stacknum = " ";
_root.menuon = false;
gotoAndStop (57);
}
Symbol 3335 Button
on (release) {
_root.menuon = false;
_root.hudeverything.s1.gotoAndStop(11);
_root.hudeverything.s2.gotoAndStop(26);
_root.hudeverything.s3.gotoAndStop(63);
_root.hudeverything.s4.gotoAndStop(97);
_root.hudeverything.s5.gotoAndStop(120);
_root.hudeverything.s6.gotoAndStop(89);
_root.hudeverything.s7.gotoAndStop(117);
_root.hudeverything.s8.gotoAndStop(54);
_root.hudeverything.s8.gotoAndStop(43);
_root.bg.interactnpc.gotoAndStop(1);
gotoAndStop (59);
}
Symbol 3343 Button
on (release) {
_root.mainmenu.gotoAndStop(3);
_root.mainmenu.intromovie.gotoAndPlay("finishtutorial");
gotoAndStop (60);
_root.menuon = true;
}
Symbol 3346 MovieClip Frame 1
stop();
Symbol 3346 MovieClip Frame 3
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea)) {
gotoAndStop (4);
}
};
Symbol 3346 MovieClip Frame 4
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.hitarea)) {
gotoAndStop (5);
_root.menuon = true;
}
};
Symbol 3346 MovieClip Frame 5
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 6
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(_root.bg.interactnpc)) {
if (Key.isDown(32)) {
gotoAndStop (7);
}
}
};
Symbol 3346 MovieClip Frame 7
this.onEnterFrame = function () {
if (_root.hero.hit.hitTest(this.down)) {
_root.hero._y = _root.hero._y + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.up)) {
_root.hero._y = _root.hero._y - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.right)) {
_root.hero._x = _root.hero._x + (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
if (_root.hero.hit.hitTest(this.left)) {
_root.hero._x = _root.hero._x - (_root.movespd + (((_root.addagi + _root.agi) / 5) * 0.1));
}
};
Symbol 3346 MovieClip Frame 8
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 12
this.onEnterFrame = function () {
if (_root.hudeverything._visible == true) {
_root.menuon = true;
gotoAndStop (13);
}
};
Symbol 3346 MovieClip Frame 14
this.onEnterFrame = function () {
if (_root.hudeverything._currentframe == 3) {
_root.menuon = true;
gotoAndStop (15);
}
};
Symbol 3346 MovieClip Frame 16
this.onEnterFrame = function () {
if (_root.hudeverything._visible == false) {
_root.menuon = true;
gotoAndStop (17);
}
};
Symbol 3346 MovieClip Frame 17
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 19
this.onEnterFrame = function () {
if (Key.isDown(65)) {
gotoAndStop (20);
}
};
Symbol 3346 MovieClip Frame 20
this.onEnterFrame = function () {
if (Key.isDown(83)) {
gotoAndStop (21);
}
};
Symbol 3346 MovieClip Frame 21
var waittimer = 40;
var waittimergo = false;
this.onEnterFrame = function () {
if (Key.isDown(68)) {
waittimergo = true;
}
if (waittimergo == true) {
waittimer--;
}
if (waittimer < 0) {
_root.menuon = true;
gotoAndStop (22);
}
};
Symbol 3346 MovieClip Frame 22
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 26
this.onEnterFrame = function () {
if (_root.hudeverything._visible == true) {
gotoAndStop (27);
}
};
Symbol 3346 MovieClip Frame 27
this.onEnterFrame = function () {
if (_root.hudeverything._currentframe == 1) {
_root.menuon = true;
gotoAndStop (28);
}
};
Symbol 3346 MovieClip Frame 28
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 30
this.onEnterFrame = function () {
if (_root.bowslot._currentframe == 30) {
gotoAndStop (31);
_root.menuon = true;
}
};
Symbol 3346 MovieClip Frame 31
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 33
var waittimer = 40;
var waittimergo = false;
this.onEnterFrame = function () {
if (Key.isDown(70)) {
waittimergo = true;
}
if (waittimergo == true) {
waittimer--;
}
if (waittimer < 0) {
_root.createPassiveEnemy("enm_rat_tutorial", 400, 275, 5, 0);
gotoAndStop (34);
}
};
Symbol 3346 MovieClip Frame 34
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 39
this.onEnterFrame = function () {
if (_root.hudeverything._visible == true) {
gotoAndStop (40);
}
};
Symbol 3346 MovieClip Frame 40
this.onEnterFrame = function () {
if (_root.hudeverything._currentframe == 2) {
_root.menuon = true;
gotoAndStop (41);
}
};
Symbol 3346 MovieClip Frame 41
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 43
this.onEnterFrame = function () {
if (_root.spnt <= 0) {
_root.menuon = true;
gotoAndStop (44);
}
};
Symbol 3346 MovieClip Frame 44
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 45
this.onEnterFrame = function () {
if (_root.lvl > 1) {
_root.menuon = true;
gotoAndStop (46);
}
};
Symbol 3346 MovieClip Frame 46
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 54
this.onEnterFrame = function () {
if (_root.gold >= 200) {
_root.menuon = true;
gotoAndStop (55);
}
};
Symbol 3346 MovieClip Frame 55
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 57
this.onEnterFrame = function () {
if (_root.hp == _root.hpmax) {
_root.menuon = true;
gotoAndStop (58);
}
};
Symbol 3346 MovieClip Frame 58
this.onEnterFrame = function () {
};
Symbol 3346 MovieClip Frame 60
stop();
Symbol 3355 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 12) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (purchased != true)) && (_root.gold >= 25)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 25;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 25;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 25)) {
_root.hudeverything[sx].gotoAndStop("minhppotion");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 25;
purchased = true;
}
x++;
}
}
Symbol 3357 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 12) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (purchased != true)) {
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
purchased = true;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.hudeverything[sx].gotoAndStop("minhppotion");
_root.hudeverything[sx].stacknum = " ";
purchased = true;
}
x++;
}
}
Symbol 3360 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 90)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("ironbuckler");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 90;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3363 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 110)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("roughmailvest");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 110;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3366 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 80)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("ironsword");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 80;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3371 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 12) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (purchased != true)) && (_root.gold >= 25)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 25;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 25;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 25)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("minhppotion");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 25;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3376 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 550)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("towershield");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 550;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3379 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 400)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("mailcoif");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 400;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3382 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 370)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("ironwaraxe");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 370;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3385 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 57) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum >= 2))) && (purchased != true)) && (_root.gold >= 25)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 25;
purchased = true;
} else if (_root.hudeverything[sx].stacknum >= 2) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 25;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 25)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("fireballscroll");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 25;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3388 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 58) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum >= 2))) && (purchased != true)) && (_root.gold >= 25)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 25;
purchased = true;
} else if (_root.hudeverything[sx].stacknum >= 2) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 25;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 25)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("thunderscroll");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 25;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3391 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 1200)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("imbuedrobes");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 1200;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3396 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 400)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("imperialraiment");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 400;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3398 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 360)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("platehelm");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 360;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3401 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 350)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("imperialsword");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 350;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3407 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 85) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 5))) && (purchased != true)) && (_root.gold >= 35)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 35;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 5) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 35;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 35)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("hammerbrew");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 35;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3409 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 16) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (purchased != true)) && (_root.gold >= 16)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 16;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 16;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 16)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("mutton");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 16;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3416 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 800)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("heavycrossbow");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 800;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3418 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 1100)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("studdedjerkin");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 1100;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3421 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 800)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("longbow");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 800;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3427 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if (((_root.hudeverything[sx]._currentframe == 118) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum >= 2))) && (purchased != true)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
purchased = true;
} else if (_root.hudeverything[sx].stacknum >= 2) {
_root.hudeverything[sx].stacknum++;
purchased = true;
}
} else if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("ectoplasm");
_root.hudeverything[sx].stacknum = " ";
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Inventory is full";
_root.maintip._visible = true;
}
}
Symbol 3432 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 22) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (purchased != true)) && (_root.gold >= 26)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 26;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 26;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 26)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("foodration");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 26;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3435 Button
on (press) {
var purchased = false;
}
on (release) {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((((_root.hudeverything[sx]._currentframe == 119) && ((_root.hudeverything[sx].stacknum == " ") || (_root.hudeverything[sx].stacknum < 10))) && (purchased != true)) && (_root.gold >= 60)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
if (_root.hudeverything[sx].stacknum == " ") {
_root.hudeverything[sx].stacknum = 2;
_root.gold = _root.gold - 60;
purchased = true;
} else if (_root.hudeverything[sx].stacknum < 10) {
_root.hudeverything[sx].stacknum++;
_root.gold = _root.gold - 60;
purchased = true;
}
} else if (((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) && (_root.gold >= 60)) {
_root.tiptimer = 15;
_root.maintip.tipvar = "Item Purchased";
_root.maintip._visible = true;
_root.hudeverything[sx].gotoAndStop("specialmenu");
_root.hudeverything[sx].stacknum = " ";
_root.gold = _root.gold - 60;
purchased = true;
}
x++;
}
if (purchased == false) {
_root.tiptimer = 15;
_root.maintip.tipvar = "You can't afford that. Not Enough Gold";
_root.maintip._visible = true;
}
}
Symbol 3454 MovieClip Frame 1
savebtn1.onRelease = function () {
_root.setPlayerInfo1();
_root.savePlayer1();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " saved to Slot 1";
_root.maintip._visible = true;
};
savebtn2.onRelease = function () {
_root.setPlayerInfo2();
_root.savePlayer2();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " saved to Slot 2";
_root.maintip._visible = true;
};
Symbol 3456 Button
on (release) {
this._visible = false;
_root.menuon = false;
}
Symbol 3467 Button
on (release) {
_root.help.helptabthingy.nextFrame();
}
Symbol 3473 Button
on (release) {
_root.help.helptabthingy.prevFrame();
}
Symbol 3519 Button
on (release) {
_root.help.helptabthingy.gotoAndStop(25);
}
Symbol 3523 Button
on (release) {
_root.help.helptabthingy.gotoAndStop(22);
}
Symbol 3529 Button
on (release) {
_root.help.helptabthingy.gotoAndStop(12);
}
Symbol 3550 Button
on (release) {
_root.help.helptabthingy.gotoAndStop(10);
}
Symbol 3552 Button
on (release) {
_root.help.helptabthingy.gotoAndStop(6);
}
Symbol 3608 Button
on (release) {
_root.soundoff = true;
stopAllSounds();
gotoAndStop (2);
}
Symbol 3614 Button
on (release) {
_root.soundoff = false;
gotoAndStop (1);
}
Symbol 3616 MovieClip Frame 1
stop();
Symbol 3620 Button
on (release) {
_quality = "LOW";
gotoAndStop (2);
}
Symbol 3625 Button
on (release) {
_quality = "BEST";
gotoAndStop (3);
}
Symbol 3629 Button
on (release) {
_quality = "HIGH";
gotoAndStop (4);
}
Symbol 3634 Button
on (release) {
_quality = "MEDIUM";
gotoAndStop (1);
}
Symbol 3636 MovieClip Frame 1
stop();
Symbol 3642 Button
on (press) {
var purchased = false;
}
on (release) {
if (this.codeinput == "debuggingisfun") {
_root.end = 300;
_root.wil = 300;
_root.str = 300;
_root.hp = 2000;
_root.agi = 300;
this.coderesult = "Unlocked God Mode";
} else if (this.codeinput == "ding") {
_root.xp = _root.xpneed + 1;
this.coderesult = "Unlocked Next Level";
} else if (this.codeinput == "eleventysix") {
_root.wil = 300;
this.coderesult = "Unlocked Super Willpower";
} else if (this.codeinput == "poweroverwhelming") {
_root.end = 300;
_root.hp = 2000;
this.coderesult = "Unlocked Invincibility";
} else if (this.codeinput == "maximum") {
_root.str = 300;
this.coderesult = "Unlocked Super Strength";
} else if (this.codeinput == "makemeasandwich") {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.hudeverything[sx].gotoAndStop("sandwich");
_root.hudeverything[sx].stacknum = 20;
purchased = true;
}
x++;
}
this.coderesult = "Locked Feminine Rights";
} else if (this.codeinput == "warpten") {
_root.agi = 300;
this.coderesult = "Unlocked Super Speed";
} else if (this.codeinput == "iheartjesus") {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.hudeverything[sx].gotoAndStop("smite");
_root.hudeverything[sx].stacknum = " ";
purchased = true;
}
x++;
}
this.coderesult = "Unlocked Smite";
} else if (this.codeinput == "ixjesus") {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.hudeverything[sx].gotoAndStop("oblivion");
_root.hudeverything[sx].stacknum = " ";
purchased = true;
}
x++;
}
this.coderesult = "Unlocked Hell";
} else if (this.codeinput == "yoyoyoyoyo") {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.hudeverything[sx].gotoAndStop("bling");
_root.hudeverything[sx].stacknum = " ";
purchased = true;
}
x++;
}
this.coderesult = "Unlocked Yo Pimp Skillz";
} else if (this.codeinput == "gunsdontkillpeople") {
var x = 1;
while (x < 21) {
var sx = ("s" + x);
if ((_root.hudeverything[sx]._currentframe == 1) && (purchased != true)) {
_root.hudeverything[sx].gotoAndStop("mikeysuzi");
_root.hudeverything[sx].stacknum = " ";
purchased = true;
}
x++;
}
this.coderesult = "But Bullets Do...";
} else {
this.coderesult = "Invalid Code";
}
}
Symbol 3644 MovieClip Frame 1
stop();
Symbol 3649 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("quests");
}
Symbol 3653 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("interface");
}
Symbol 3656 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("character");
}
Symbol 3659 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("equipment");
}
Symbol 3662 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("inventory");
}
Symbol 3665 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("levelingup");
}
Symbol 3668 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("consumables");
}
Symbol 3671 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("equippingitems");
}
Symbol 3674 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("status");
}
Symbol 3677 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("combat");
}
Symbol 3680 Button
on (release) {
_root.help.helptabthingy.gotoAndStop("savingloading");
}
Symbol 3685 Button
on (release) {
_root.mainmenu.gotoAndStop(1);
this._visible = false;
}
Symbol 3690 Button
on (release) {
this._visible = false;
_root.menuon = false;
}
Symbol 3693 Button
on (release) {
this.helptabthingy.coderesult = " ";
this.helptabthingy.codeinput = "Enter Code here";
_root.help.helptabthingy.gotoAndStop("options");
if (_root.soundoff == true) {
_root.help.helptabthingy.sound.gotoAndStop(2);
} else {
_root.help.helptabthingy.sound.gotoAndStop(1);
}
if (_quality == "LOW") {
_root.help.helptabthingy.qualitymc.gotoAndStop(2);
} else if (_quality == "MEDIUM") {
_root.help.helptabthingy.qualitymc.gotoAndStop(1);
} else if (_quality == "HIGH") {
_root.help.helptabthingy.qualitymc.gotoAndStop(4);
} else if (_quality == "BEST") {
_root.help.helptabthingy.qualitymc.gotoAndStop(3);
}
}
Symbol 3699 Button
on (release) {
_root.mainmenu.nameinput = "Billy";
gotoAndStop (14);
}
Symbol 3702 Button
on (release) {
getURL ("http://www.muchgames.com", "_blank");
}
Symbol 3705 Button
on (release) {
gotoAndStop (16);
}
Symbol 3709 Button
on (release) {
var i = 0;
while (i < 10) {
var enm = ("enemy" + i);
_root.bg.enemylayer[enm].removeMovieClip();
enemyCount = 0;
i++;
}
_root.loadtab._visible = true;
playerSO = SharedObject.getLocal("playerInfo");
player = new Object();
_root.savename1 = playerSO.data.playerDat.charname;
_root.loadtab.name1 = playerSO.data.playerDat.charname;
playerSO2 = SharedObject.getLocal("playerInfo");
player2 = new Object();
_root.savename2 = playerSO2.data.playerDat2.charname;
_root.loadtab.name2 = playerSO2.data.playerDat2.charname;
}
Symbol 3712 Button
on (release) {
gotoAndStop (17);
}
Symbol 3715 Button
on (release) {
gotoAndStop (15);
}
Symbol 3732 Button
on (release) {
_root.charname = _root.mainmenu.nameinput;
gotoAndStop (3);
}
Symbol 3736 Button
on (release) {
gotoAndStop (10);
}
Symbol 3747 Button
on (release) {
_root.jewelslot.gotoAndStop(1);
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 0;
_root.jewwil = 0;
_root.jewarm = 0;
_root.bdy = 1;
_root.arm = 0;
_root.rep = 50;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.armarm = 1;
_root.blockrating = 0;
_root.armorslot.gotoAndStop(5);
_root.headslot.gotoAndStop(1);
_root.head = 1;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 0;
_root.headwil = 0;
_root.headarm = 0;
_root.wpnslot.gotoAndStop(4);
_root.dmgmin = 1;
_root.dmgmax = 3;
_root.dmgtype = 2;
_root.critical = 0;
_root.criticalhitting = false;
_root.dmgrangemin = 0;
_root.dmgrangemax = 0;
_root.dmgrangetype = 0;
_root.strdmg = 0;
_root.attspeed = 15;
_root.magattspeed = 5;
_root.wpn = 1;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.wpnrange = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.rangeammo = " ";
_root.shislot.gotoAndStop(13);
_root.shi = 1;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 5;
_root.shiblock = 1;
_root.movespd = 6;
_root.moving = false;
_root.attacking = false;
_root.defending = false;
_root.dir = "L";
_root.str = 5;
_root.agi = 5;
_root.bg.gotoAndStop(68);
_root.end = 5;
_root.wil = 5;
_root.gold = 10;
_root.hpmax = ((((_root.end + _root.armend) + _root.headend) + _root.wpnend) + _root.jewend) * 2;
_root.hp = _root.hpmax;
_root.lvl = 1;
_root.spnt = 3;
_root.xpneed = 38;
_root.xp = 0;
var timer = 0;
var sectimer = 0;
var tiptimer = 0;
_root.maintip._visible = false;
_root.chatperson = 0;
_root.shop = false;
_root.shoptab._visible = false;
_root.shoptab.stop();
_root.help._visible = false;
_root.chat._visible = false;
_root.hudeverything._visible = false;
_root.main.tip._visible = false;
_root.quest1 = 13;
_root.quest2 = 1;
_root.quest3 = 1;
_root.quest4 = 1;
_root.quest5 = 1;
_root.quest6 = 1;
_root.quest7 = 1;
_root.quest8 = 1;
_root.quest9 = 1;
_root.quest10 = 1;
_root.quest11 = 1;
_root.quest12 = 1;
_root.crate0 = false;
_root.keg0 = false;
_root.chest0 = false;
_root.chest1 = false;
_root.chest2 = false;
_root.chest3 = false;
_root.chest4 = false;
_root.chest5 = false;
_root.chest6 = false;
_root.chest7 = false;
_root.foodheal = 0;
_root.foodtimer = 0;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 0;
_root.savechat = false;
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.hudeverything.s1.gotoAndStop(1);
_root.hudeverything.s2.gotoAndStop(1);
_root.hudeverything.s3.gotoAndStop(1);
_root.hudeverything.s4.gotoAndStop(1);
_root.hudeverything.s5.gotoAndStop(1);
_root.hudeverything.s6.gotoAndStop(1);
_root.hudeverything.s7.gotoAndStop(1);
_root.hudeverything.s8.gotoAndStop(1);
_root.hudeverything.s9.gotoAndStop(1);
_root.hudeverything.s10.gotoAndStop(1);
_root.hudeverything.s11.gotoAndStop(1);
_root.hudeverything.s12.gotoAndStop(1);
_root.hudeverything.s13.gotoAndStop(1);
_root.hudeverything.s14.gotoAndStop(1);
_root.hudeverything.s15.gotoAndStop(1);
_root.hudeverything.s16.gotoAndStop(1);
_root.hudeverything.s17.gotoAndStop(1);
_root.hudeverything.s18.gotoAndStop(1);
_root.hudeverything.s19.gotoAndStop(1);
_root.hudeverything.s20.gotoAndStop(1);
_root.tutorial.gotoAndStop(1);
gotoAndPlay ("playtutorial");
}
Symbol 3749 Button
on (release) {
_root.jewelslot.gotoAndStop(1);
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 0;
_root.jewwil = 0;
_root.jewarm = 0;
_root.bdy = 1;
_root.arm = 0;
_root.rep = 50;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.armarm = 1;
_root.blockrating = 0;
_root.armorslot.gotoAndStop(5);
_root.headslot.gotoAndStop(1);
_root.head = 1;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 0;
_root.headwil = 0;
_root.headarm = 0;
_root.wpnslot.gotoAndStop(4);
_root.dmgmin = 1;
_root.dmgmax = 3;
_root.dmgtype = 2;
_root.critical = 0;
_root.criticalhitting = false;
_root.dmgrangemin = 0;
_root.dmgrangemax = 0;
_root.dmgrangetype = 0;
_root.strdmg = 0;
_root.attspeed = 15;
_root.magattspeed = 5;
_root.wpn = 1;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.wpnrange = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.rangeammo = " ";
_root.shislot.gotoAndStop(13);
_root.shi = 1;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 5;
_root.shiblock = 1;
_root.movespd = 6;
_root.moving = false;
_root.attacking = false;
_root.defending = false;
_root.dir = "L";
_root.str = 5;
_root.agi = 5;
_root.bg.gotoAndStop(61);
_root.end = 5;
_root.wil = 5;
_root.gold = 10;
_root.hpmax = ((((_root.end + _root.armend) + _root.headend) + _root.wpnend) + _root.jewend) * 2;
_root.hp = _root.hpmax;
_root.lvl = 1;
_root.spnt = 3;
_root.xpneed = 200;
_root.xp = 0;
var timer = 0;
var sectimer = 0;
var tiptimer = 0;
_root.maintip._visible = false;
_root.journal.journal._visible = false;
_root.chatperson = 0;
_root.shop = false;
_root.shoptab._visible = false;
_root.shoptab.stop();
_root.help._visible = false;
_root.chat._visible = false;
_root.hudeverything._visible = false;
_root.main.tip._visible = false;
_root.quest1 = 13;
_root.quest2 = 1;
_root.quest3 = 1;
_root.quest4 = 1;
_root.quest5 = 1;
_root.quest6 = 1;
_root.quest7 = 1;
_root.quest8 = 1;
_root.quest9 = 1;
_root.quest10 = 1;
_root.quest11 = 1;
_root.quest12 = 1;
_root.crate0 = false;
_root.keg0 = false;
_root.chest0 = false;
_root.chest1 = false;
_root.chest2 = false;
_root.chest3 = false;
_root.chest4 = false;
_root.chest5 = false;
_root.chest6 = false;
_root.chest7 = false;
_root.foodheal = 0;
_root.foodtimer = 0;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 0;
_root.savechat = false;
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.hudeverything.s1.gotoAndStop(16);
_root.hudeverything.s1.stacknum = 5;
_root.hudeverything.s2.gotoAndStop(1);
_root.hudeverything.s3.gotoAndStop(1);
_root.hudeverything.s4.gotoAndStop(1);
_root.hudeverything.s5.gotoAndStop(1);
_root.hudeverything.s6.gotoAndStop(1);
_root.hudeverything.s7.gotoAndStop(1);
_root.hudeverything.s8.gotoAndStop(1);
_root.hudeverything.s9.gotoAndStop(1);
_root.hudeverything.s10.gotoAndStop(1);
_root.hudeverything.s11.gotoAndStop(1);
_root.hudeverything.s12.gotoAndStop(1);
_root.hudeverything.s13.gotoAndStop(1);
_root.hudeverything.s14.gotoAndStop(1);
_root.hudeverything.s15.gotoAndStop(1);
_root.hudeverything.s16.gotoAndStop(1);
_root.hudeverything.s17.gotoAndStop(1);
_root.hudeverything.s18.gotoAndStop(1);
_root.hudeverything.s19.gotoAndStop(1);
_root.hudeverything.s20.gotoAndStop(1);
_root.tutorial.gotoAndStop(60);
gotoAndPlay ("skiptutorial");
}
Symbol 3750 MovieClip Frame 45
stop();
Symbol 3750 MovieClip Frame 78
_root.menuon = false;
Symbol 3750 MovieClip Frame 84
_root.menuon = true;
Symbol 3750 MovieClip Frame 94
this._parent.gotoAndStop(4);
Symbol 3750 MovieClip Frame 119
_root.jewelslot.gotoAndStop(1);
_root.jewstr = 0;
_root.jewagi = 0;
_root.jewend = 0;
_root.jewwil = 0;
_root.jewarm = 0;
_root.bdy = 1;
_root.arm = 0;
_root.rep = 50;
_root.armstr = 0;
_root.armagi = 0;
_root.armend = 0;
_root.armwil = 0;
_root.armarm = 1;
_root.blockrating = 0;
_root.armorslot.gotoAndStop(5);
_root.headslot.gotoAndStop(1);
_root.head = 1;
_root.headstr = 0;
_root.headagi = 0;
_root.headend = 0;
_root.headwil = 0;
_root.headarm = 0;
_root.wpnslot.gotoAndStop(4);
_root.dmgmin = 1;
_root.dmgmax = 3;
_root.dmgtype = 2;
_root.critical = 0;
_root.criticalhitting = false;
_root.dmgrangemin = 0;
_root.dmgrangemax = 0;
_root.dmgrangetype = 0;
_root.strdmg = 0;
_root.attspeed = 15;
_root.magattspeed = 5;
_root.wpn = 1;
_root.wpnstr = 0;
_root.wpnagi = 0;
_root.wpnend = 0;
_root.wpnwil = 0;
_root.wpnarm = 0;
_root.wpnrange = 1;
_root.wpnrangestr = 0;
_root.wpnrangeagi = 0;
_root.wpnrangeend = 0;
_root.wpnrangewil = 0;
_root.wpnrangearm = 0;
_root.rangeammo = " ";
_root.shislot.gotoAndStop(13);
_root.shi = 1;
_root.shistr = 0;
_root.shiagi = 0;
_root.shiend = 0;
_root.shiwil = 0;
_root.shiarm = 5;
_root.shiblock = 1;
_root.movespd = 6;
_root.moving = false;
_root.attacking = false;
_root.defending = false;
_root.dir = "L";
_root.str = 5;
_root.agi = 5;
_root.bg.gotoAndStop(61);
_root.end = 5;
_root.wil = 5;
_root.gold = 10;
_root.hpmax = ((((_root.end + _root.armend) + _root.headend) + _root.wpnend) + _root.jewend) * 2;
_root.hp = _root.hpmax;
_root.lvl = 1;
_root.spnt = 3;
_root.xpneed = 200;
_root.xp = 0;
var timer = 0;
var sectimer = 0;
var tiptimer = 0;
_root.maintip._visible = false;
_root.journal.journal._visible = false;
_root.chatperson = 0;
_root.shop = false;
_root.shoptab._visible = false;
_root.shoptab.stop();
_root.help._visible = false;
_root.chat._visible = false;
_root.hudeverything._visible = false;
_root.main.tip._visible = false;
_root.quest1 = 13;
_root.quest2 = 1;
_root.quest3 = 1;
_root.quest4 = 1;
_root.quest5 = 1;
_root.quest6 = 1;
_root.quest7 = 1;
_root.quest8 = 1;
_root.quest9 = 1;
_root.quest10 = 1;
_root.quest11 = 1;
_root.quest12 = 1;
_root.crate0 = false;
_root.keg0 = false;
_root.chest0 = false;
_root.chest1 = false;
_root.chest2 = false;
_root.chest3 = false;
_root.chest4 = false;
_root.chest5 = false;
_root.chest6 = false;
_root.chest7 = false;
_root.foodheal = 0;
_root.foodtimer = 0;
_root.buffstr = 0;
_root.buffagi = 0;
_root.buffend = 0;
_root.buffwil = 0;
_root.buffarm = 0;
_root.buffatrtimer = 0;
_root.savechat = false;
_root.areaswitch = "travel";
_root.trackswitch = 100;
_root.hudeverything.s1.gotoAndStop(16);
_root.hudeverything.s1.stacknum = 5;
_root.hudeverything.s2.gotoAndStop(1);
_root.hudeverything.s3.gotoAndStop(1);
_root.hudeverything.s4.gotoAndStop(1);
_root.hudeverything.s5.gotoAndStop(1);
_root.hudeverything.s6.gotoAndStop(1);
_root.hudeverything.s7.gotoAndStop(1);
_root.hudeverything.s8.gotoAndStop(1);
_root.hudeverything.s9.gotoAndStop(1);
_root.hudeverything.s10.gotoAndStop(1);
_root.hudeverything.s11.gotoAndStop(1);
_root.hudeverything.s12.gotoAndStop(1);
_root.hudeverything.s13.gotoAndStop(1);
_root.hudeverything.s14.gotoAndStop(1);
_root.hudeverything.s15.gotoAndStop(1);
_root.hudeverything.s16.gotoAndStop(1);
_root.hudeverything.s17.gotoAndStop(1);
_root.hudeverything.s18.gotoAndStop(1);
_root.hudeverything.s19.gotoAndStop(1);
_root.hudeverything.s20.gotoAndStop(1);
_root.tutorial.gotoAndStop(55);
gotoAndPlay (151);
Symbol 3750 MovieClip Frame 152
_root.menuon = false;
Symbol 3750 MovieClip Frame 168
this._parent.gotoAndStop(4);
Symbol 3754 Button
on (release) {
gotoAndStop (11);
}
Symbol 3757 Button
on (release) {
gotoAndStop (12);
}
Symbol 3763 Button
on (release) {
var i = 0;
while (i < 10) {
var enm = ("enemy" + i);
_root.bg.enemylayer[enm].removeMovieClip();
enemyCount = 0;
i++;
}
_root.gold = Math.round(_root.gold / 2);
_root.hp = _root.hpmax;
_root.xp = Math.round(_root.xp / 2);
_root.hero._x = 275;
_root.hero._y = 200;
if (_root.quest11 > 3) {
_root.bg.gotoAndStop(56);
} else {
_root.bg.gotoAndStop(62);
}
_root.menuon = false;
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " has been returned to life. You lose some experience and gold.";
_root.maintip._visible = true;
_root.mainmenu.gotoAndStop(4);
}
Symbol 3764 Button
on (release) {
_root.areaswitch = "menu";
_root.trackswitch = 100;
_root.mainmenu.gotoAndStop(1);
}
Symbol 3767 Button
on (release) {
var i = 0;
while (i < 10) {
var enm = ("enemy" + i);
_root.bg.enemylayer[enm].removeMovieClip();
enemyCount = 0;
i++;
}
_root.loadtab._visible = true;
playerSO = SharedObject.getLocal("playerInfo");
player = new Object();
_root.savename1 = playerSO.data.playerDat.charname;
_root.loadtab.name1 = playerSO.data.playerDat.charname;
playerSO2 = SharedObject.getLocal("playerInfo");
player2 = new Object();
_root.savename2 = playerSO2.data.playerDat2.charname;
_root.loadtab.name2 = playerSO2.data.playerDat2.charname;
}
Symbol 3768 MovieClip Frame 30
stop();
Symbol 3810 MovieClip Frame 250
_root.bg.gotoAndStop(56);
_root.hero._x = 410;
_root.hero._y = 235;
_root.menuon = false;
_root.quest11 = 4;
_root.hudeverything.journa = "A dragon has just kidnapped my wife and scorched my home. I am going to hunt him down and get my wife back. But I need to prepare for my journey should I stand any chance at all. Close this tab to continue this quest.";
_root.hudeverything.gotoAndStop("journal");
_root.hudeverything._visible = true;
_root.hudeverything.questupdate._x = _root.hudeverything.q1._x;
_root.hudeverything.questupdate._y = _root.hudeverything.q1._y;
_root.tiptimer = 15;
_root.maintip.tipvar = "You got a new quest";
_root.maintip._visible = true;
_root.quest1 = 2;
this._parent.gotoAndStop(4);
Symbol 3813 Button
on (release) {
gotoAndStop (13);
}
Symbol 3824 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 3828 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 3830 Button
on (release) {
gotoAndStop (1);
}
Symbol 3835 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 3851 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 3852 MovieClip Frame 15
_parent.gotoAndStop(2);
Symbol 3853 MovieClip Frame 15
_parent.gotoAndStop(5);
Symbol 3854 MovieClip Frame 15
_parent.gotoAndStop(6);
Symbol 3855 MovieClip Frame 15
_parent.gotoAndStop(9);
Symbol 3856 MovieClip Frame 1
stop();
Symbol 3856 MovieClip Frame 6
sound.onEnterFrame = function () {
if (_root.soundoff == true) {
_root.mainmenu.sound.gotoAndStop(2);
} else {
_root.mainmenu.sound.gotoAndStop(1);
}
};
qualitymc.onEnterFrame = function () {
if (_quality == "LOW") {
_root.mainmenu.qualitymc.gotoAndStop(2);
} else if (_quality == "MEDIUM") {
_root.mainmenu.qualitymc.gotoAndStop(1);
} else if (_quality == "HIGH") {
_root.mainmenu.qualitymc.gotoAndStop(4);
} else if (_quality == "BEST") {
_root.mainmenu.qualitymc.gotoAndStop(3);
}
};
Symbol 3865 MovieClip Frame 1
savebtn1.onRelease = function () {
_root.setPlayerInfo1();
_root.savePlayer1();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " saved to Slot 1";
_root.maintip._visible = true;
};
savebtn2.onRelease = function () {
_root.setPlayerInfo2();
_root.savePlayer2();
_root.tiptimer = 15;
_root.maintip.tipvar = _root.charname + " saved to Slot 2";
_root.maintip._visible = true;
};