Frame 2
var dirtyc101 = false;
var continues = 5;
var gunh = ((gunhmax = 0));
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
stop();
Frame 3
var camzoom = 0.75;
var player = 0;
var bodrace = ((sptrace = 0));
var bodclass = ((sptclass = 0));
var body = ((spirit = 1));
var health = ((maxhealth = 100));
var wpn = ((wpndmgphy = (wpndmgmag = 1)));
var armor = 31;
var armorhmax = ((armorh = 100));
var acc = 1;
var held = 0;
var grapple = ((gcontrol = (gbararrowcheck = 0)));
var escherovar = ((escbgvar = 0));
var cumchest = ((cumface = 5));
var poisonlevel = 0;
var quest_shippower = 0;
var quest_armdoor = 0;
var quest_fireout = false;
var quest_getmedkit = 0;
var quest_zombiecount = 10;
var quest_pirateboss = 0;
var quest_savemage = 0;
var gohere = ((gox = 0));
var doorrightgo = ((doorrightgox = (doorleftgo = (doorleftgox = 0))));
var xstart = ((xfinish = (xsprite = 0)));
var maxitems = 0;
var choicetext = ((choiceA = (choiceS = (choiceD = (choiceF = "")))));
var activeobject = 0;
var weapon = new Array();
weapon.push([0, "spaceholder", 1, 1, 1, 0, ""]);
weapon.push([1, "fists", 2, 2, 2.5, 0, "Bare Fists. The basic weapons for martial artists everywhere. Note that Space Marshals are specialized in bare fists, and will recieve additional attacks when unarmmed."]);
weapon.push([2, "reserved", 1, 1, 1, 0, ""]);
weapon.push([3, "reserved", 1, 1, 1, 0, ""]);
weapon.push([4, "reserved", 1, 1, 1, 0, ""]);
weapon.push([5, "reserved", 1, 1, 1, 0, ""]);
weapon.push([6, "reserved", 1, 1, 1, 0, ""]);
weapon.push([7, "reserved", 1, 1, 1, 0, ""]);
weapon.push([8, "reserved", 1, 1, 1, 0, ""]);
weapon.push([9, "reserved", 1, 1, 1, 0, ""]);
weapon.push([10, "reserved", 1, 1, 1, 0, ""]);
weapon.push([11, "wand", 2, 5, 4, 0, "Magic Wand. Basic starting weapon for Wizards. Conjures multiple tiny balls of magical force."]);
weapon.push([12, "reserved", 1, 1, 1, 0, ""]);
weapon.push([13, "reserved", 1, 1, 1, 0, ""]);
weapon.push([14, "reserved", 1, 1, 1, 0, ""]);
weapon.push([15, "reserved", 1, 1, 1, 0, ""]);
weapon.push([16, "reserved", 1, 1, 1, 0, ""]);
weapon.push([17, "reserved", 1, 1, 1, 0, ""]);
weapon.push([18, "reserved", 1, 1, 1, 0, ""]);
weapon.push([19, "reserved", 1, 1, 1, 0, ""]);
weapon.push([20, "reserved", 1, 1, 1, 0, ""]);
weapon.push([21, "longsword", 4, 0, 3, 0, "Longsword. Good basic starting weapon for warriors. It has a pointy end & a non-pointy end. I recommend holding it by the non-pointy one."]);
weapon.push([22, "reserved", 1, 1, 1, 0, ""]);
weapon.push([23, "reserved", 1, 1, 1, 0, ""]);
weapon.push([24, "reserved", 1, 1, 1, 0, ""]);
weapon.push([25, "reserved", 1, 1, 1, 0, ""]);
weapon.push([26, "reserved", 1, 1, 1, 0, ""]);
weapon.push([27, "reserved", 1, 1, 1, 0, ""]);
weapon.push([28, "reserved", 1, 1, 1, 0, ""]);
weapon.push([29, "reserved", 1, 1, 1, 0, ""]);
weapon.push([30, "reserved", 1, 1, 1, 0, ""]);
weapon.push([31, "firemansaxe", 7, 0, 4.5, 50, "Fireman's Axe. This axe is too off balance to be a great weapon, but it will work in a pinch. Also great for destroying anything on fire. (Heavy weapons may not be equiped by Wizards)."]);
weapon.push([32, "reserved", 1, 1, 1, 0, ""]);
weapon.push([33, "reserved", 1, 1, 1, 0, ""]);
weapon.push([34, "reserved", 1, 1, 1, 0, ""]);
weapon.push([35, "reserved", 1, 1, 1, 0, ""]);
weapon.push([36, "reserved", 1, 1, 1, 0, ""]);
weapon.push([37, "reserved", 1, 1, 1, 0, ""]);
weapon.push([38, "reserved", 1, 1, 1, 0, ""]);
weapon.push([39, "reserved", 1, 1, 1, 0, ""]);
weapon.push([40, "reserved", 1, 1, 1, 0, ""]);
weapon.push([41, "mop", 3, 5, 3.25, 50, "Elemental Staff of Water. An advanced weapon for wizards. Can be used to summon large storms which attack all nearby enemies (Hold S, but watch your health). Apparently it can also be used to clean floors & toilets. (Magical Staves may not be equiped by Warriors)."]);
weapon.push([42, "reserved", 1, 1, 1, 0, ""]);
weapon.push([43, "reserved", 1, 1, 1, 0, ""]);
weapon.push([44, "reserved", 1, 1, 1, 0, ""]);
weapon.push([45, "reserved", 1, 1, 1, 0, ""]);
weapon.push([46, "reserved", 1, 1, 1, 0, ""]);
weapon.push([47, "reserved", 1, 1, 1, 0, ""]);
weapon.push([48, "reserved", 1, 1, 1, 0, ""]);
weapon.push([49, "reserved", 1, 1, 1, 0, ""]);
var armorarray = new Array();
armorarray.push([1, "naked", 0, 0, ""]);
armorarray.push([11, "Traveling Robes", 100, 0, "Travelling Robes. These Wizard robs have been hemmed a bit higher to allow easy movement over rough or muddy terain."]);
armorarray.push([21, "Starter Plate", 150, 0, "Journeyman's Armor. A heavy armor made primarily from hardened leather & hides. Often comes with some metal pieces as well. (Heavy armors may not be equipped by Wizards)"]);
armorarray.push([31, "Jumpsuit", 100, 0, "Space Marshall's Jumpsuit. A form fitting suit designed to offer some protection while maximizing flexibility. Standard issue for Space Marshalls."]);
armorarray.push([41, "Ballistic Armor", 150, 0, "Military grade padded armor. Offers a combination of moderate protection with little encumberance."]);
armorarray.push([51, "Sorceror's Robes", 125, 22, "Magically Enchanted Wizard Robes. These robes offer a moderate bonus to sexual attacks & defenses."]);
armorarray.push([61, "Ruby Plate", 200, 2, "Magical Plate Mail. This set of heavy armor offers an additional moderate bonus to sexual defenses. (Heavy armors may not be equipped by Wizards)"]);
armorarray.push([71, "Chain Mail Bikini", 50, 20, "The chain mail bikini is a very unusual set of armor. Although indestructable, it offers very little protection for the wearer (no armor save). Confer a moderate bonus to sexual attack damage."]);
var accessory = new Array();
accessory.push([0, "spaceholder", 0, 0, 0, ""]);
accessory.push([1, "empty", 0, 0, 0, ""]);
accessory.push([2, "Floppy Wizard Hat", 0, 1, 0, "Starter Wizard Hat. Offers a Minor boost to your Spirit stat."]);
accessory.push([3, "One Tooth Necklace", 1, 0, 0, "One Tooth Necklace. Offers a Minor boost to your Body stat."]);
accessory.push([4, "Medical Kit", 0, 0, 0.1, "Med Kit. Increases regeneration rate while equiped."]);
accessory.push([5, "Long Purple Pipe", 0, 0, 0, "Long Purple Pipe. Can be used to patch a single large section of broken pipe, which may help restore power to the ship."]);
accessory.push([6, "Medium Yellow Pipe", 0, 0, 0, "Medium Yellow Pipe. Can be used to patch a single medium section of broken pipe, which may help restore power to the ship."]);
accessory.push([7, "Short Green Pipe", 0, 0, 0, "Short Green Pipe. Can be used to patch a single small section of broken pipe, which may help restore power to the ship."]);
accessory.push([8, "Combo Pipe", 0, 0, 0, "Long Combination Pipe. Can be used to patch a single large section of broken pipe, which may help restore power to the ship."]);
accessory.push([9, "spaceholder", 0, 0, 0, ""]);
accessory.push([10, "cheattowin", 3, 3, 0, ""]);
var backpack1 = 1;
var backpack2 = ((backpack3 = (backpack4 = -1)));
var backpack1h = ((backpack2h = (backpack3h = (backpack4h = 301))));
var itemselect = ((itemnew = (itemnewh = 0)));
var itemdescription = "";
var BGtype = new Array();
BGtype.push(["trashwall", 10, 10, 0, 50, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 1, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 2, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 3, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 4, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 5, 1, 1000]);
BGtype.push(["zombiedoor", 4, 1, 0, 1, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 7, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 8, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 9, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 10, 1, 1000]);
BGtype.push(["slimetentacle", 8, 4, 0, 2, 0.975, 950]);
BGtype.push(["reserved", 5, 1, 0, 12, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 13, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 14, 1, 1000]);
BGtype.push(["reserved", 5, 1, 0, 15, 1, 1000]);
BGtype.push(["wolfman", 4, 2.5, 2, 2, 0.995, 950]);
BGtype.push(["catguy", 4, 2, 2.5, 2, 0.995, 950]);
BGtype.push(["reserved", 5, 1, 0, 18, 1, 1000]);
BGtype.push(["pirate", 6, 3, 4, 0, 0.975, 980]);
BGtype.push(["pirateboss", 6, 6, 3.5, 0, 0.95, 970]);
BGtype.push(["reserved", 5, 1, 0, 18, 1, 1000]);
BGtype.push(["slime", 8, 4, 1, 2, 1, 1000]);
var BGA = new Array();
var pnum = 0;
var proj = new Array();
var mpnum = 0;
var monatt = new Array();
Frame 5
var codemsg = "enter codes";
codes.text = "";
stage.focus = codes;
stop();
Instance of Symbol 727 MovieClip in Frame 5
on (keyPress "<Enter>") {
switch (_parent.codes.text) {
case "dirtyc101" :
if (_root.dirtyc101 == false) {
_parent.codemsg = "code dirtyc101 accepted";
_root.dirtyc101 = true;
} else {
_parent.codemsg = "code dirtyc101 already entered";
}
break;
case "nottothirty" :
if (!(_root.continues === 30)) {
_root.continues = 30;
_parent.codemsg = "code nottothirty accepted";
} else {
_parent.codemsg = "code nottothirty already entered";
}
break;
default :
_parent.codemsg = "invalid code";
}
_parent.codes.text = "";
}
Frame 9
stop();
Frame 20
_root.maxitems = 3;
if (_root.dirtyc101 == true) {
_root.leftwall._y = 1000;
}
_root.doorrightgo = 26;
_root.doorrightgox = -1750;
_root.doorleftgo = 50;
_root.doorleftgox = 100;
if (_root.quest_fireout == false) {
i = 0;
b = 0;
_root.attachMovie("trashwall", "bg" + i, i);
_root["bg" + i]._x = 7500;
_root["bg" + i]._y = 575 + (4 * i);
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("firepile", "bghb" + i, i + 100);
_root["bghb" + i]._x = 7000;
_root["bghb" + i]._y = 550;
_root["bghb" + i]._xscale = _root.BGA[i][4];
}
stop();
Frame 22
_root.maxitems = 4;
Frame 24
_root.maxitems = 5;
Frame 25
_root.maxitems = 5;
Frame 26
_root.maxitems = 0;
_root.doorrightgo = 50;
_root.doorrightgox = 100;
_root.doorleftgo = 20;
_root.doorleftgox = 8500;
Frame 30
_root.maxitems = 4;
if ((_root.quest_shippower < 7) and (_root.quest_zombiecount > 4)) {
i = 0;
b = 6;
_root.attachMovie("zombiedoor", "bg" + i, i);
_root.bg0._x = 2288;
_root.bg0._y = 275;
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = 2305;
_root["bghb" + i]._y = 550;
_root["bghb" + i]._xscale = _root.BGA[i][4];
}
Frame 32
_root.maxitems = 1;
_root.doorrightgo = 30;
_root.doorrightgox = -1500;
Frame 34
_root.maxitems = 7;
_root.doorleftgo = 30;
_root.doorleftgox = 2000;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 2)) {
var b = (Math.floor(Math.random() * 2) + 16);
if (b > 17) {
b = 17;
}
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
var a = (Math.round(Math.random() * 4500) - 1250);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + (4 * i);
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a;
_root["bghb" + i]._y = 550 + (4 * i);
_root["bghb" + i]._xscale = _root.BGA[i][4];
i++;
}
Frame 36
_root.maxitems = 3;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 3)) {
var b = (Math.floor(Math.random() * 2) + 16);
if (b > 17) {
b = 17;
}
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
var a = (Math.round(Math.random() * 2500) - 2000);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + (4 * i);
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a;
_root["bghb" + i]._y = 550 + (4 * i);
_root["bghb" + i]._xscale = _root.BGA[i][4];
i++;
}
Frame 37
_root.maxitems = 3;
if ((!(_root.player === 11)) and (_root.quest_savemage <= 1)) {
_root.attachMovie("magerescue", "obj3", 303);
_root.obj3._x = 1350;
_root.obj3._y = 250;
}
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 4)) {
var b = (Math.floor(Math.random() * 2) + 16);
if (b > 17) {
b = 17;
}
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
var a = (Math.round(Math.random() * 1200) - 1500);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + (4 * i);
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a;
_root["bghb" + i]._y = 550 + (4 * i);
_root["bghb" + i]._xscale = _root.BGA[i][4];
i++;
}
Frame 38
_root.maxitems = 5;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 3)) {
var b = (Math.floor(Math.random() * 2) + 16);
if (b > 17) {
b = 17;
}
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
var a = (Math.round(Math.random() * 1000) - 2000);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + (4 * i);
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a;
_root["bghb" + i]._y = 550 + (4 * i);
_root["bghb" + i]._xscale = _root.BGA[i][4];
i++;
}
Frame 39
_root.maxitems = 5;
Frame 40
_root.maxitems = 3;
_root.doorrightgo = 44;
_root.doorrightgox = -1250;
removeMovieClip(_root.crate1);
removeMovieClip(_root.crate2);
_root.maxitems = 7;
_root.doorleftgo = 30;
_root.doorleftgox = 2000;
if (_root.quest_pirateboss < 30) {
var a = 0;
i = 40;
while (i < 43) {
_root.attachMovie("M19loader", "bg" + i, i);
a = Math.round(Math.random() * 1000) + 500;
if ((a % 3) >= 2) {
a = a * -1;
}
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + i;
i++;
}
}
Frame 42
_root.maxitems = 2;
_root.doorrightgo = 40;
_root.doorrightgox = -1750;
Frame 44
_root.maxitems = 1;
_root.doorleftgo = 40;
_root.doorleftgox = 1750;
_root.doorrightgo = 46;
_root.doorrightgox = -2000;
if (_root.quest_pirateboss < 30) {
_root.attachMovie("M20loader", "bg49", 49);
_root.bg49._x = 250;
_root.bg49._y = 575;
} else {
_root.crate1.gotoAndStop(11);
_root.crate2.gotoAndStop(11);
_root.attachMovie("heightbox", "topbox1201", 1201);
_root.crate1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
_root.attachMovie("heightbox", "topbox1202", 1202);
_root.crate2.swapDepths(_root.topbox1202);
_root.topbox1202.unloadMovie();
}
Frame 46
_root.maxitems = 3;
_root.doorleftgo = 44;
_root.doorleftgox = 2500;
removeMovieClip(_root.crate1);
removeMovieClip(_root.crate2);
var a = 0;
var b = 11;
var i = 0;
if ((_root.quest_shippower % 2) < 1) {
a = -825;
i = 0;
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575;
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a - 50;
_root["bghb" + i]._y = 200;
_root["bghb" + i]._xscale = _root.BGA[i][4];
}
if ((_root.quest_shippower % 4) < 2) {
a = 75;
i = 1;
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575;
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a - 50;
_root["bghb" + i]._y = 200;
_root["bghb" + i]._xscale = _root.BGA[i][4];
}
if (_root.quest_shippower < 4) {
a = 1750;
i = 2;
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575;
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = a - 50;
_root["bghb" + i]._y = 200;
_root["bghb" + i]._xscale = _root.BGA[i][4];
}
Frame 50
_root.camframe.dark.gotoAndStop(1);
_root.quest_pirateboss = 30;
stop();
Instance of Symbol 92 MovieClip in Frame 50
onClipEvent (load) {
var mcount = 6;
var a = ((b = (i = 0)));
}
onClipEvent (enterFrame) {
if (_root.BGA.length < 20) {
if (_root.BGA.length < (mcount / 3)) {
mcount++;
i = mcount % 50;
b = Math.floor(Math.random() * 6) + 15;
if (b > 20) {
b = 20;
}
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
a = (Math.random() * 1500) + 500;
if ((a % 2) > 1) {
a = a * -1;
}
_root["bg" + i]._x = _root.camframe._x + a;
_root["bg" + i]._y = 575 + i;
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = _root.camframe._x + a;
_root["bghb" + i]._y = 550 + i;
_root["bghb" + i]._xscale = _root.BGA[i][4];
}
}
}
Symbol 64 MovieClip [M19loader] Frame 1
blackout._alpha = 50;
Symbol 64 MovieClip [M19loader] Frame 2
if (_root.camframe._x > this._x) {
this._xscale = -100;
}
if (_root._currentframe == 40) {
if (Math.abs(_root.camframe._x - this._x) > 500) {
gotoAndPlay (1);
}
}
Symbol 64 MovieClip [M19loader] Frame 3
blackout._alpha = 75;
Symbol 64 MovieClip [M19loader] Frame 4
blackout._alpha = 100;
Symbol 64 MovieClip [M19loader] Frame 8
blackout._alpha = 75;
Symbol 64 MovieClip [M19loader] Frame 10
blackout._alpha = 50;
Symbol 64 MovieClip [M19loader] Frame 12
blackout._alpha = 25;
Symbol 64 MovieClip [M19loader] Frame 30
var i = _root.quest_pirateboss;
_root.quest_pirateboss++;
var b = 19;
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
_root["bg" + i]._x = this._x;
_root["bg" + i]._y = 575 + i;
if (_root["bg" + i]._x > _root.camframe._x) {
_root["bg" + i]._xscale = -100;
}
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = this._x;
_root["bghb" + i]._y = 550 + i;
_root["bghb" + i]._xscale = _root.BGA[i][4];
unloadMovie (this);
Symbol 74 MovieClip [trashwall] Frame 1
stop();
Symbol 74 MovieClip [trashwall] Frame 21
_root.quest_fireout = true;
unloadMovie (this);
Symbol 99 MovieClip Frame 1
if (_root.player > 20) {
gotoAndPlay (41);
} else if (_root.player > 10) {
gotoAndPlay (21);
}
Symbol 103 MovieClip Frame 1
if (_root.player > 20) {
gotoAndPlay (41);
} else if (_root.player > 10) {
gotoAndPlay (21);
}
Symbol 132 MovieClip [item_symbol_drop] Frame 1
stop();
Symbol 135 MovieClip [item_drop] Frame 2
_root.choicetext = "Pick up this item?";
_root.choiceA = "yes";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 135 MovieClip [item_drop] Frame 51
_root.held = 901;
_root.camframe.box.gotoAndPlay(2);
if (this.item_symbol._currentframe > 600) {
_root.itemnew = this.item_symbol._currentframe - 600;
_root.itemnewh = 601;
_root.itemselect = 3;
} else if (this.item_symbol._currentframe > 300) {
_root.itemnew = this.item_symbol._currentframe - 300;
_root.itemnewh = 301;
_root.itemselect = 1;
} else {
_root.itemnew = 1 + (Math.floor((this.item_symbol._currentframe - 1) / 10) * 10);
_root.itemnewh = (this.item_symbol._currentframe - _root.itemnew) * 25;
_root.itemselect = 2;
}
Symbol 135 MovieClip [item_drop] Frame 52
unloadMovie (this);
Symbol 152 MovieClip [item_symbol] Frame 1
stop();
Symbol 153 MovieClip [item_drop_ani] Frame 1
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 2
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 3
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 4
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 5
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 6
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 7
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 8
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 9
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 10
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 11
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 12
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 13
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 25;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 25;
}
Symbol 153 MovieClip [item_drop_ani] Frame 14
if (this.hitTest(_root.rightwall)) {
this._x = this._x - 50;
}
if (this.hitTest(_root.leftwall)) {
this._x = this._x + 50;
}
Symbol 153 MovieClip [item_drop_ani] Frame 15
_root.attachMovie("item_drop", "obj" + _root.maxitems, 1001 + _root.maxitems);
_root["obj" + _root.maxitems]._x = this._x + (3.75 * this._xscale);
_root["obj" + _root.maxitems]._y = 550;
_root["obj" + _root.maxitems].item_symbol.gotoAndStop(this.item_symbol._currentframe);
unloadMovie (this);
stop();
Symbol 169 MovieClip Frame 11
unloadMovie (this);
Symbol 170 MovieClip [zombiedoor] Frame 1
stop();
Symbol 218 MovieClip Frame 1
var unloadcounter = 0;
Symbol 218 MovieClip Frame 21
unloadcounter++;
if (unloadcounter < 240) {
gotoAndPlay (16);
}
Symbol 218 MovieClip Frame 23
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 24
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 25
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 26
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 27
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 28
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 29
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 30
this._parent._alpha = this._parent._alpha - 10;
Symbol 218 MovieClip Frame 31
this._parent.unloadMovie();
Symbol 233 MovieClip Frame 24
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 25
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 26
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 27
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 28
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 29
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 30
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 31
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 32
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 33
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 34
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 35
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 36
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 37
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 38
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 39
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 40
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 41
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 42
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 43
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 44
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 45
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 46
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 47
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 48
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 49
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 50
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 51
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 52
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 53
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 54
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 55
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 56
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 57
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 58
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 59
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 60
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 61
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 62
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 63
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 64
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 65
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 66
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 67
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 68
this._parent._x = this._parent._x + (this._parent._xscale / 2);
Symbol 233 MovieClip Frame 69
unloadMovie (this._parent);
Symbol 282 MovieClip Frame 1
var unloadcounter = 0;
Symbol 282 MovieClip Frame 21
unloadcounter++;
if (unloadcounter < 240) {
gotoAndPlay (16);
}
Symbol 282 MovieClip Frame 23
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 24
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 25
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 26
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 27
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 28
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 29
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 30
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 31
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 32
this._parent._alpha = this._parent._alpha - 10;
Symbol 282 MovieClip Frame 33
this._parent.unloadMovie();
Symbol 292 MovieClip Frame 31
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 32
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 33
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 34
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 35
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 36
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 37
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 38
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 39
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 40
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 41
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 42
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 43
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 44
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 45
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 46
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 47
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 48
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 49
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 50
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 51
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 52
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 53
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 54
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 55
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 56
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 57
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 58
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 59
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 60
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 61
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 62
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 63
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 64
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 65
this._parent._x = this._parent._x - (this._parent._xscale / 2);
Symbol 292 MovieClip Frame 66
unloadMovie (this._parent);
Symbol 303 MovieClip [gbararrow_r] Frame 1
stop();
Symbol 303 MovieClip [gbararrow_r] Frame 2
Symbol 303 MovieClip [gbararrow_r] Frame 11
stop();
Symbol 344 MovieClip Frame 17
gotoAndPlay (1);
Symbol 347 MovieClip Frame 9
var a = _root.monatt.length;
_root.mpnum++;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie("m19_punchbox", "mp" + _root.mpnum, 250 + _root.mpnum);
_root.monatt.push([0, ["mp" + _root.mpnum], 8, 1, 75]);
if (_parent._xscale == -100) {
_root.monatt[a][3] = -1;
_root["mp" + _root.mpnum]._x = _parent._x - 200;
} else {
_root["mp" + _root.mpnum]._x = _parent._x + 200;
}
_root["mp" + _root.mpnum]._y = 200;
Symbol 347 MovieClip Frame 20
stop();
Symbol 354 MovieClip Frame 3
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 5
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 7
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 9
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 11
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 13
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 15
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 17
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 19
this._parent._alpha = this._parent._alpha - 10;
Symbol 354 MovieClip Frame 21
this._parent.unloadMovie();
Symbol 377 MovieClip Frame 56
gotoAndPlay (6);
Symbol 399 MovieClip Frame 54
gotoAndPlay (3);
Symbol 408 MovieClip Frame 6
this._parent.unloadMovie();
Symbol 409 MovieClip [slimetentacle] Frame 1
stop();
Symbol 413 MovieClip [symbol_poison] Frame 1
var loopcount = 0;
Symbol 413 MovieClip [symbol_poison] Frame 5
this._y = this._y - 5;
loopcount++;
if (loopcount < 30) {
gotoAndPlay (2);
} else {
this.unloadMovie();
}
Symbol 433 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 465 MovieClip [M20loader] Frame 2
if (Math.abs(_root.camframe._x - this._x) > 400) {
gotoAndPlay (1);
}
Symbol 465 MovieClip [M20loader] Frame 3
_root.held = 990;
_root.xstart = -125;
_root.xfinish = -124;
_root.xsprite = M20loader;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(1);
Symbol 465 MovieClip [M20loader] Frame 12
if (!(_root.held === 0)) {
gotoAndPlay (11);
}
Symbol 465 MovieClip [M20loader] Frame 13
_root.quest_pirateboss = 1;
var a = 0;
i = 40;
while (i < 44) {
_root.attachMovie("M19loader", "bg" + i, i);
a = Math.round(Math.random() * 3000) - 1000;
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + i;
i++;
}
_root.crate1.gotoAndStop(6);
_root.crate2.gotoAndStop(6);
_root.leftwall._y = 0;
_root.rightwall._y = 0;
Symbol 465 MovieClip [M20loader] Frame 14
_root.attachMovie("pirateboss", "bg50", 50);
_root.bg50._x = this._x;
_root.bg50._y = 575;
_root.BGA.push([20, _root.BGtype[20][1], _root.BGtype[20][2], _root.BGtype[20][3], 220, "bg50", "bghb50", 0, 2, _root.BGtype[20][5], _root.BGtype[20][6]]);
_root.attachMovie("bosshealthbarorange", "bghb50", 100);
_root.bghb50._x = this._x;
_root.bghb50._y = 550;
_root.bghb50._xscale = _root.BGA[0][4];
unloadMovie (this);
Symbol 471 MovieClip Frame 21
gotoAndPlay (1);
Symbol 500 MovieClip Frame 1
if (((20 - _root.quest_pirateboss) / 2) > _root.BGA.length) {
gotoAndPlay ("addBGs");
}
Symbol 500 MovieClip Frame 14
var a = _root.monatt.length;
_root.mpnum++;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie("m20whiphitbox", "mp" + _root.mpnum, 250 + _root.mpnum);
_root.monatt.push([0, ["mp" + _root.mpnum], 6, 1, 75]);
if (_parent._xscale == -100) {
_root.monatt[a][3] = -1;
_root["mp" + _root.mpnum]._x = _parent._x - 250;
} else {
_root["mp" + _root.mpnum]._x = _parent._x + 250;
}
_root["mp" + _root.mpnum]._y = 200;
Symbol 500 MovieClip Frame 20
stop();
Symbol 500 MovieClip Frame 31
var a = 0;
i = _root.quest_pirateboss + 10;
while (i < (_root.quest_pirateboss + 12)) {
_root.attachMovie("M19loader", "bg" + i, i);
a = Math.round(Math.random() * 3000) - 1000;
_root["bg" + i]._x = a;
_root["bg" + i]._y = 575 + i;
i++;
}
_root.quest_pirateboss = _root.quest_pirateboss + 3;
Symbol 500 MovieClip Frame 41
stop();
Symbol 506 MovieClip Frame 3
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 5
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 7
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 9
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 11
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 13
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 15
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 17
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 19
this._parent._alpha = this._parent._alpha - 10;
Symbol 506 MovieClip Frame 21
if (_root._currentframe == 44) {
_root.quest_pirateboss = 30;
_root.crate1.gotoAndStop(11);
_root.crate2.gotoAndStop(11);
_root.attachMovie("heightbox", "topbox1201", 1201);
_root.crate1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
_root.attachMovie("heightbox", "topbox1202", 1202);
_root.crate2.swapDepths(_root.topbox1202);
_root.topbox1202.unloadMovie();
_root.leftwall._y = 1000;
_root.rightwall._y = 1000;
}
this._parent.unloadMovie();
Symbol 529 MovieClip [staffwaterspecial] Frame 16
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 21
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 26
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 31
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 36
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 41
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 46
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_root.BGA[0][4] = _root.BGA[0][4] - (_root.spirit + _root.wpndmgmag);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._yscale = _root.BGA[0][4];
}
}
Symbol 529 MovieClip [staffwaterspecial] Frame 51
var damage = (_root.spirit + _root.wpndmgmag);
var i = 0;
i = _root.BGA.length - 1;
while (i >= 0) {
if (this.hitTest(_root[_root.BGA[i][5]].bghitbox)) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
_root.BGA[i][7] = _root.BGA[i][7] + damage;
_root[_root.BGA[i][6]]._xscale = _root.BGA[i][4];
}
i--;
}
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
if (this._xscale <= 40) {
unloadMovie (this);
} else {
gotoAndPlay(10 + Math.ceil(Math.random() * 20));
}
Symbol 578 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 1
if (_root.quest_savemage == 6) {
gotoAndStop (2);
} else if (_root.quest_savemage == 5) {
stop();
} else {
var b = 16;
var i = 40;
_root.attachMovie(_root.BGtype[b][0], "bg" + i, i);
_root["bg" + i]._x = 1250;
_root["bg" + i]._y = 1575;
_root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], 0, 50 + (_root.BGtype[b][1] * 10), "bg" + i, "bghb" + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie("badguyhealthbar", "bghb" + i, i + 100);
_root["bghb" + i]._x = 1250;
_root["bghb" + i]._y = 600;
_root["bghb" + i]._xscale = _root.BGA[i][4];
var llhbb = 20;
BGjumpcheck = setInterval(function () {
if (Math.abs(_root.camframe._x - _root.obj3._x) < 400) {
_root.bg40._x = _root.bg40._x - 100;
_root.bg40._y = 575;
_root.BGA[_root.BGA.length - 1][3] = _root.BGtype[16][3];
if (llhbb < 100) {
_root.quest_savemage = 5;
gotoAndStop (1);
} else {
_root.quest_savemage = 10;
gotoAndPlay (51);
}
clearInterval(BGjumpcheck);
}
if (!(_root._currentframe === 37)) {
clearInterval(BGjumpcheck);
}
}, 10);
}
Symbol 583 MovieClip Frame 10
if (llhbb < 100) {
llhbb++;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] = _root.BGA[_root.BGA.length - 1][4] - 1;
} else {
leileieye.gotoAndStop(6);
}
Symbol 583 MovieClip Frame 17
if (llhbb < 100) {
llhbb++;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] = _root.BGA[_root.BGA.length - 1][4] - 1;
} else {
leileieye.gotoAndStop(6);
}
Symbol 583 MovieClip Frame 24
if (llhbb < 100) {
llhbb++;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] = _root.BGA[_root.BGA.length - 1][4] - 1;
} else {
leileieye.gotoAndStop(6);
}
Symbol 583 MovieClip Frame 31
if (llhbb < 100) {
llhbb++;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] = _root.BGA[_root.BGA.length - 1][4] - 1;
} else {
leileieye.gotoAndStop(6);
}
gotoAndPlay (3);
Symbol 583 MovieClip Frame 52
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 53
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 54
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 55
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 56
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 57
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 58
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 59
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 60
this._alpha = this._alpha - 10;
Symbol 583 MovieClip Frame 61
removeMovieClip(_root.obj3);
Symbol 594 MovieClip [magerescue] Frame 1
if (_root.quest_savemage == 0) {
_root.held = 988;
_root.xfinish = 1350;
_root.xsprite = obj3;
_root.camframe.box.gotoAndPlay(61);
_root.quest_savemage = 1;
gotoAndPlay (301);
} else {
stop();
}
Symbol 594 MovieClip [magerescue] Frame 2
if (_root.quest_savemage > 5) {
gotoAndStop (11);
}
_root.choicetext = "This wizard is offering you her magical hat as a reward for saving her life.";
_root.choiceA = "(accept starter wizard hat)";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "(body/say) What are you doing up here?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = "(spirit/say) Anything else I should know about this area?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 594 MovieClip [magerescue] Frame 10
stop();
Symbol 594 MovieClip [magerescue] Frame 11
_root.choicetext = "Speak with the wizard Lei-Lei";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "(body/say) What are you doing up here?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = "(spirit/say) Anything else I should know about this area?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 594 MovieClip [magerescue] Frame 20
stop();
Symbol 594 MovieClip [magerescue] Frame 55
_root.quest_savemage = 6;
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 2;
_root.itemnewh = 601;
stop();
Symbol 594 MovieClip [magerescue] Frame 101
if (_root.quest_savemage > 5) {
gotoAndPlay (106);
}
Symbol 594 MovieClip [magerescue] Frame 105
_root.held = 0;
stop();
Symbol 594 MovieClip [magerescue] Frame 111
_root.held = 0;
stop();
Symbol 594 MovieClip [magerescue] Frame 151
if (_root.quest_savemage > 5) {
gotoAndPlay (156);
}
Symbol 594 MovieClip [magerescue] Frame 155
_root.held = 0;
stop();
Symbol 594 MovieClip [magerescue] Frame 161
_root.held = 0;
stop();
Symbol 594 MovieClip [magerescue] Frame 306
stop();
Symbol 616 MovieClip [roc] Frame 1
stop();
Symbol 616 MovieClip [roc] Frame 2
if (_root.quest_shippower < 7) {
gotoAndStop (11);
}
_root.choicetext = "Talk to Rock?";
_root.choiceA = "(say): What are you planning to do now?";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
switch (_root.quest_armdoor) {
case 0 :
_root.choiceS = "(body / say): As a reward for defeating the pirates, how about a better weapon?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
break;
case 1 :
_root.choiceS = "(body / say): The Armory is locked. Any idea how to open it?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
break;
case 3 :
_root.choiceS = "(body / say): All the guns in the armory are empty!";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
break;
default :
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
if ((_root.quest_getmedkit > 0) and (_root.quest_getmedkit < 3)) {
_root.choiceD = "(spirit / say): The captain is badly hurt & needs a medkit.";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else if (_root.quest_fireout == false) {
_root.choiceD = "Any idea how I could put out that fire blocking the Cargo Bay?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 616 MovieClip [roc] Frame 11
_root.choicetext = "Talk to Rock?";
_root.choiceA = "(say): What happened? How did you end up locked in here?";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
switch (_root.quest_armdoor) {
case 0 :
_root.choiceS = "(body / say): I'll help you fight the pirates. Is there anything I can use here?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
break;
case 1 :
_root.choiceS = "(body / say): The Armory is locked. Any idea how to open it?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
break;
case 3 :
_root.choiceS = "(body / say): All the guns in the armory are empty!";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
break;
default :
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
if ((_root.quest_getmedkit > 0) and (_root.quest_getmedkit < 3)) {
_root.choiceD = "(spirit / say): The captain is badly hurt & needs a medkit.";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 616 MovieClip [roc] Frame 51
if (_root.quest_shippower < 7) {
gotoAndPlay (61);
}
Symbol 616 MovieClip [roc] Frame 55
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 65
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 101
switch (_root.quest_armdoor) {
case 0 :
gotoAndPlay (111);
break;
case 1 :
gotoAndPlay (121);
break;
case 3 :
gotoAndPlay (141);
break;
default :
stop();
}
Symbol 616 MovieClip [roc] Frame 105
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 115
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 125
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 145
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 151
if ((_root.quest_getmedkit == 0) or (_root.quest_getmedkit > 2)) {
gotoAndPlay (171);
} else {
if (_root.acc == 4) {
gotoAndPlay (161);
}
if ((_root.backpack1 == 4) and (_root.backpack1h == 601)) {
gotoAndPlay (161);
}
if ((_root.backpack2 == 4) and (_root.backpack2h == 601)) {
gotoAndPlay (161);
}
if ((_root.backpack3 == 4) and (_root.backpack3h == 601)) {
gotoAndPlay (161);
}
if ((_root.backpack4 == 4) and (_root.backpack4h == 601)) {
gotoAndPlay (161);
}
}
Symbol 616 MovieClip [roc] Frame 156
if (_root.backpack2 == -1) {
_root.camframe.box.invbox.gotoAndPlay(2);
}
_root.backpack2 = 4;
_root.backpack2h = 601;
if (_root.quest_getmedkit < 2) {
_root.quest_getmedkit = 2;
}
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 166
_root.held = 0;
stop();
Symbol 616 MovieClip [roc] Frame 176
_root.held = 0;
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 632 MovieClip [ShipBckGrnd_Elev_Broke] Frame 1
stop();
Symbol 632 MovieClip [ShipBckGrnd_Elev_Broke] Frame 2
if (_root.quest_shippower < 7) {
gotoAndPlay (201);
}
_root.choicetext = "The doors to this elevator have been forced open. You could probably reach the other decks by climbing these cables.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
if (!(_root._currentframe === 30)) {
_root.choiceS = "(Body Check) Climb up the cables.";
if (_root.body > 4) {
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
} else {
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
if (!(_root._currentframe === 40)) {
_root.choiceD = "Slide down the cables.";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 632 MovieClip [ShipBckGrnd_Elev_Broke] Frame 56
_root.held = 0;
stop();
Symbol 632 MovieClip [ShipBckGrnd_Elev_Broke] Frame 102
if (_root._currentframe == 20) {
_root.gohere = 30;
_root.gox = 0;
} else {
_root.gohere = 20;
_root.gox = 5500;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 632 MovieClip [ShipBckGrnd_Elev_Broke] Frame 151
if (_root._currentframe == 20) {
_root.gohere = 40;
_root.gox = 0;
} else {
_root.gohere = 20;
_root.gox = 5500;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 636 MovieClip Frame 41
stop();
Symbol 637 MovieClip [ShipBckGrnd_Elev] Frame 2
if (_root.quest_shippower < 7) {
gotoAndPlay (11);
}
_root.choicetext = "The elevator seems to be working now that the power has been restored.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
if (!(_root._currentframe === 30)) {
_root.choiceS = "Ride the Elevator Up?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
if (!(_root._currentframe === 40)) {
_root.choiceD = "Ride the Elevator Down?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 637 MovieClip [ShipBckGrnd_Elev] Frame 11
_root.choicetext = "This elevator is useless as long as the power is out.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 637 MovieClip [ShipBckGrnd_Elev] Frame 56
_root.held = 0;
stop();
Symbol 637 MovieClip [ShipBckGrnd_Elev] Frame 131
if (_root._currentframe == 20) {
_root.gohere = 30;
_root.gox = 0;
} else {
_root.gohere = 20;
_root.gox = 5500;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 637 MovieClip [ShipBckGrnd_Elev] Frame 181
if (_root._currentframe == 20) {
_root.gohere = 40;
_root.gox = 0;
} else {
_root.gohere = 20;
_root.gox = 5500;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 643 MovieClip Frame 1
if (_root._currentframe > 39) {
gotoAndStop (21);
} else if (_root._currentframe > 29) {
gotoAndStop (11);
}
stop();
Symbol 648 MovieClip Frame 1
if (_root._currentframe > 39) {
gotoAndStop (21);
} else if (_root._currentframe > 29) {
gotoAndStop (11);
}
stop();
Symbol 649 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 41
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 1
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 2
if (_root.quest_shippower < 7) {
if (_root._currentframe == 20) {
gotoAndStop (16);
} else {
gotoAndStop (11);
}
} else {
_root.box3.gotoAndStop(1);
gotoAndPlay (51);
}
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 11
_root.choicetext = "This door is locked.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "(Body Check) Try to Force Door";
if (_root.body >= 7) {
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 16
_root.choicetext = "This door is locked, and there appear to be people on the other side.";
_root.choiceA = "(Say) Pirates? Don't Worry, I know how to handle pirates.";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "(Body Check) Try to Force Door";
if (_root.body >= 7) {
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
_root.choiceD = "(Spirit Check / Say) Let me in, I'm here to help.";
if (_root.spirit > 3) {
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 51
if (_root.quest_shippower < 7) {
gotoAndPlay (91);
}
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 80
if (_root._currentframe == 20) {
_root.gohere = 22;
_root.gox = 500;
} else {
_root.gohere = 20;
_root.gox = 3000;
}
_root.held = 0;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 95
_root.held = 0;
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 131
if (_root._currentframe == 20) {
_root.gohere = 22;
_root.gox = 500;
} else {
_root.gohere = 20;
_root.gox = 3000;
}
_root.held = 0;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 666 MovieClip [Ship_RecAreaDoubleDoors] Frame 156
_root.held = 0;
stop();
Symbol 680 MovieClip Frame 1
if (_root.player > 20) {
gotoAndStop (101);
} else if (_root.player > 10) {
gotoAndStop (51);
}
stop();
Symbol 680 MovieClip Frame 2
if (_root.player > 20) {
gotoAndPlay (102);
} else if (_root.player > 10) {
gotoAndPlay (52);
}
Symbol 680 MovieClip Frame 20
gotoAndStop (1);
Symbol 680 MovieClip Frame 70
gotoAndStop (51);
Symbol 680 MovieClip Frame 120
gotoAndStop (101);
Symbol 685 MovieClip Frame 1
if ((_root.armorh <= 0) or (_root.armor == 71)) {
gotoAndStop (2);
}
if ((_root.camframe.hero._currentframe == 106) or (_root.camframe.hero._currentframe == 107)) {
this._x = 0;
} else {
this._x = 200;
}
stop();
Symbol 685 MovieClip Frame 18
gotoAndStop (1);
Symbol 694 MovieClip Frame 1
if (_root.player > 20) {
gotoAndStop (11);
} else if (_root.player > 10) {
gotoAndStop (6);
}
stop();
Symbol 698 MovieClip [grapplebar] Frame 1
stop();
Symbol 698 MovieClip [grapplebar] Frame 20
stop();
Symbol 698 MovieClip [grapplebar] Frame 41
stop();
Symbol 713 Button
on (release) {
_root.play();
}
Symbol 715 MovieClip Frame 1
stop();
Instance of Symbol 705 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = 100 - (100 * (_root.getBytesLoaded() / _root.getBytesTotal()));
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_parent.play();
unloadMovie (this);
}
}
Symbol 715 MovieClip Frame 6
stop();
Symbol 721 Button
on (release) {
gotoAndStop ("charselect");
}
Symbol 722 Button
on (release) {
gotoAndStop((_root._currentframe = _root._currentframe + 3));
}
Symbol 723 Button
on (release) {
gotoAndStop((_root._currentframe = _root._currentframe + 1));
}
Symbol 734 Button
on (release) {
gotoAndStop ("mainmenu");
}
Symbol 735 Button
on (release) {
gotoAndStop(_root._currentframe + 1);
}
Symbol 739 Button
on (release) {
gotoAndStop(_root._currentframe - 1);
}
Symbol 749 MovieClip Frame 300
gotoAndPlay (1);
Symbol 754 Button
on (release) {
_root.player = 21;
_root.bodrace = 5;
_root.sptrace = 3;
}
Symbol 756 Button
on (release) {
_root.player = 1;
_root.bodrace = 4;
_root.sptrace = 4;
}
Symbol 758 Button
on (release) {
_root.player = 11;
_root.bodrace = 3;
_root.sptrace = 5;
}
Symbol 771 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 837 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 866 MovieClip Frame 5
switch (_root.player) {
case 0 :
gotoAndPlay (1);
break;
case 1 :
gotoAndStop (11);
break;
case 11 :
gotoAndStop (16);
break;
case 21 :
gotoAndStop (6);
}
Symbol 875 Button
on (release) {
_root.player = 0;
_root.selectplayer.gotoAndPlay(1);
gotoAndPlay (1);
}
Symbol 879 Button
on (release) {
_root.player = _root.player + 2;
_root.bodclass = 2;
_root.sptclass = 0;
_root.wpn = 21;
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][3];
_root.armor = 21;
_root.armorh = (_root.armorhmax = 150);
_root.acc = 1;
_root.body = (_root.bodrace + _root.bodclass) + _root.accessory[_root.acc][2];
_root.spirit = (_root.sptrace + _root.sptclass) + _root.accessory[_root.acc][3];
_root.health = (_root.maxhealth = 50 + (_root.body * 10));
_root.gotoAndStop("game");
}
Symbol 889 Button
on (release) {
_root.player = _root.player + 1;
_root.bodclass = 1;
_root.sptclass = 1;
_root.wpn = 1;
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][3];
_root.armor = 31;
_root.armorh = (_root.armorhmax = 100);
_root.acc = 1;
_root.body = (_root.bodrace + _root.bodclass) + _root.accessory[_root.acc][2];
_root.spirit = (_root.sptrace + _root.sptclass) + _root.accessory[_root.acc][3];
_root.health = (_root.maxhealth = 50 + (_root.body * 10));
_root.gotoAndStop("game");
}
Symbol 897 Button
on (release) {
_root.bodclass = 0;
_root.sptclass = 2;
_root.wpn = 11;
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][3];
_root.armor = 11;
_root.armorh = (_root.armorhmax = 100);
_root.acc = 2;
_root.body = (_root.bodrace + _root.bodclass) + _root.accessory[_root.acc][2];
_root.spirit = (_root.sptrace + _root.sptclass) + _root.accessory[_root.acc][3];
_root.health = (_root.maxhealth = 50 + (_root.body * 10));
_root.gotoAndStop("game");
}
Symbol 903 MovieClip Frame 5
switch (_root.player) {
case 0 :
gotoAndPlay (1);
break;
case 1 :
gotoAndStop (11);
break;
case 11 :
gotoAndStop (16);
break;
case 21 :
gotoAndStop (6);
}
Symbol 903 MovieClip Frame 6
if (_root.bluevalkyrie == true) {
gotoAndStop(_root._currentframe + 1);
}
if (_root.yellowwizard == true) {
gotoAndStop(_root._currentframe + 2);
}
if ((_root.bluevalkyrie == true) and (_root.yellowwizard == true)) {
gotoAndStop(_root._currentframe + 3);
}
Symbol 903 MovieClip Frame 11
Symbol 903 MovieClip Frame 16
Symbol 906 MovieClip Frame 1
if (_root._currentframe < 50) {
if ((_root.quest_shippower == 7) or (_root.quest_shippower == 11)) {
stop();
} else {
gotoAndStop (2);
}
}
stop();
Symbol 906 MovieClip Frame 2
stop();
Symbol 914 MovieClip Frame 1
if (_root.player > 20) {
gotoAndStop (111);
} else if (_root.player > 10) {
gotoAndStop (101);
}
Symbol 914 MovieClip Frame 100
if (_root.health > 0) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 921 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 927 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 930 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 936 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 939 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 946 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 951 MovieClip Frame 1
gotoAndStop(_root.cumchest);
Symbol 954 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 961 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 964 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 968 MovieClip Frame 1
gotoAndStop(_root.acc);
Symbol 976 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 979 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 983 MovieClip Frame 1
gotoAndStop(_root.cumchest);
Symbol 988 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 993 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 998 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1006 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1009 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1017 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1020 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1030 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1035 MovieClip Frame 1
gotoAndStop(_root.cumface);
Symbol 1039 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1045 MovieClip Frame 1
gotoAndStop(_root.cumface);
Symbol 1047 MovieClip Frame 1
gotoAndStop(_root.acc);
Symbol 1050 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1056 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1060 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1066 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1072 MovieClip Frame 1
gotoAndStop(_root.wpn + 1);
Symbol 1078 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1081 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1088 MovieClip Frame 1
if (_root.wpn > 10) {
gotoAndStop(_root.player + 5);
} else {
gotoAndStop(_root.player);
}
Symbol 1095 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1098 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1102 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1109 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1110 MovieClip Frame 1
gotoAndStop(Math.ceil(_root.wpn / 10));
Symbol 1112 MovieClip Frame 32
gotoAndPlay (1);
Symbol 1113 MovieClip Frame 1
if (_root.wpn > 30) {
gotoAndPlay (31);
}
Symbol 1113 MovieClip Frame 21
gotoAndPlay (1);
Symbol 1113 MovieClip Frame 51
gotoAndPlay (31);
Symbol 1114 MovieClip Frame 1
if (_root.wpn > 30) {
gotoAndPlay (31);
}
Symbol 1114 MovieClip Frame 13
gotoAndPlay (1);
Symbol 1114 MovieClip Frame 43
gotoAndPlay (1);
Symbol 1124 MovieClip Frame 1
if (_root.player > 20) {
gotoAndPlay (41);
} else if (_root.player > 10) {
gotoAndPlay (21);
}
Symbol 1124 MovieClip Frame 11
gotoAndPlay (1);
Symbol 1124 MovieClip Frame 31
gotoAndPlay (21);
Symbol 1124 MovieClip Frame 51
gotoAndPlay (41);
Symbol 1125 MovieClip Frame 1
_root.held = 50;
Symbol 1125 MovieClip Frame 2
_root.held = 50;
Symbol 1125 MovieClip Frame 3
_root.held = 40;
Symbol 1125 MovieClip Frame 5
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
Symbol 1126 MovieClip Frame 1
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
Symbol 1130 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1134 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1138 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1148 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1149 MovieClip Frame 5
if (_root.held == 1000) {
_root.camframe.gameover.gotoAndPlay(2);
}
Symbol 1149 MovieClip Frame 43
stop();
Symbol 1150 MovieClip Frame 1
var chaincost = (10 * _root.weapon[_root.wpn][4]);
if ((_root.player < 10) and (_root.wpn < 11)) {
chaincost = chaincost - 10;
}
var scale = (100 + (10 * _root.body));
Symbol 1150 MovieClip Frame 2
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1150 MovieClip Frame 3
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1150 MovieClip Frame 4
_root.held++;
scale = scale - chaincost;
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1150 MovieClip Frame 6
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A2");
}
}
}
Symbol 1150 MovieClip Frame 8
if (_root.held <= 10) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A2");
}
}
}
Symbol 1150 MovieClip Frame 12
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1150 MovieClip Frame 22
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1150 MovieClip Frame 23
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1150 MovieClip Frame 24
if (_root.held <= 25) {
_root.held = 15;
}
scale = scale - chaincost;
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1150 MovieClip Frame 26
if (_root.held == 14) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A3");
}
}
}
Symbol 1150 MovieClip Frame 28
if (_root.held <= 15) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A3");
}
}
}
Symbol 1150 MovieClip Frame 32
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1150 MovieClip Frame 42
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1150 MovieClip Frame 43
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1150 MovieClip Frame 44
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1150 MovieClip Frame 46
if (_root.held <= 25) {
_root.held = 20;
}
scale = scale - chaincost;
Symbol 1150 MovieClip Frame 48
if (_root.held == 19) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A4");
}
}
}
Symbol 1150 MovieClip Frame 50
if (_root.held <= 20) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A4");
}
}
}
Symbol 1150 MovieClip Frame 55
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1150 MovieClip Frame 64
if (_root.held <= 25) {
_root.held = 10;
}
scale = scale - chaincost;
Symbol 1150 MovieClip Frame 66
if (_root.held <= 25) {
_root.held = 10;
}
Symbol 1150 MovieClip Frame 71
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
if (_root.wpn < 11) {
gotoAndPlay ("A5");
}
}
}
}
Symbol 1150 MovieClip Frame 74
if (_root.held <= 10) {
if (Key.isDown(65)) {
if (scale >= 100) {
if (_root.wpn < 11) {
gotoAndPlay ("A5");
}
}
}
}
Symbol 1150 MovieClip Frame 80
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1150 MovieClip Frame 91
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1150 MovieClip Frame 92
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 40;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 40;
}
Symbol 1150 MovieClip Frame 93
if (_root.held <= 25) {
_root.held = 10;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 40;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 40;
}
Symbol 1150 MovieClip Frame 94
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1150 MovieClip Frame 97
if (_root.held <= 25) {
_root.held = 25;
}
Symbol 1150 MovieClip Frame 105
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1151 MovieClip Frame 1
var chaincost = (10 * _root.weapon[_root.wpn][4]);
var scale = (100 + (10 * _root.spirit));
var a = 0;
Symbol 1151 MovieClip Frame 13
a = _root.proj.length;
_root.pnum++;
if (_root.pnum > 10) {
_root.pnum = 1;
}
_root.attachMovie("energyball", "p" + _root.pnum, 200 + _root.pnum);
_root.proj.push([0, ["p" + _root.pnum], 5, 20, scale]);
if (_root.camframe.hero._xscale == -100) {
_root.proj[a][3] = -25;
_root["p" + _root.pnum]._x = _root.camframe._x - 150;
} else {
_root["p" + _root.pnum]._x = _root.camframe._x + 150;
}
_root["p" + _root.pnum]._y = 220;
_root["p" + _root.pnum]._xscale = scale;
_root["p" + _root.pnum]._yscale = scale;
Symbol 1151 MovieClip Frame 18
if (_root.held <= 10) {
scale = scale - chaincost;
if (scale >= 100) {
gotoAndPlay ("A1");
}
}
Symbol 1151 MovieClip Frame 26
if (_root.held <= 10) {
_root.held = 0;
_root.camframe.hero.gotoAndPlay(1);
}
Symbol 1155 MovieClip Frame 1
if (_root.player > 20) {
gotoAndPlay (41);
} else if (_root.player > 10) {
gotoAndPlay (21);
}
Symbol 1156 MovieClip Frame 1
var chaincost = (10 * _root.weapon[_root.wpn][4]);
var scale = (100 + (10 * _root.body));
Symbol 1156 MovieClip Frame 4
_root.held++;
scale = scale - chaincost;
Symbol 1156 MovieClip Frame 6
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A2");
}
}
}
Symbol 1156 MovieClip Frame 8
if (_root.held <= 10) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A2");
}
}
}
Symbol 1156 MovieClip Frame 13
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1156 MovieClip Frame 22
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1156 MovieClip Frame 23
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1156 MovieClip Frame 24
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1156 MovieClip Frame 26
if (_root.held <= 25) {
_root.held = 10;
}
scale = scale - chaincost;
Symbol 1156 MovieClip Frame 31
if (_root.held <= 10) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A3");
}
}
}
Symbol 1156 MovieClip Frame 40
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1156 MovieClip Frame 52
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1156 MovieClip Frame 53
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1156 MovieClip Frame 54
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1156 MovieClip Frame 55
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1156 MovieClip Frame 56
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1156 MovieClip Frame 57
if (_root.held <= 25) {
_root.held = 20;
}
scale = scale - chaincost;
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1156 MovieClip Frame 58
if (_root.held == 19) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A4");
}
}
}
Symbol 1156 MovieClip Frame 60
if (_root.held <= 20) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A4");
}
}
}
Symbol 1156 MovieClip Frame 67
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1156 MovieClip Frame 85
if (_root.held <= 25) {
_root.held = 10;
}
Symbol 1156 MovieClip Frame 87
if (_root.held <= 25) {
_root.held = 25;
}
Symbol 1156 MovieClip Frame 96
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1166 MovieClip Frame 1
var chaincost = (10 * _root.weapon[_root.wpn][4]);
var scale = (100 + (10 * _root.body));
Symbol 1166 MovieClip Frame 3
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1166 MovieClip Frame 4
_root.held++;
scale = scale - chaincost;
Symbol 1166 MovieClip Frame 10
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A2");
}
}
}
Symbol 1166 MovieClip Frame 12
if (_root.held <= 10) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A2");
}
}
}
Symbol 1166 MovieClip Frame 23
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1166 MovieClip Frame 33
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1166 MovieClip Frame 34
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1166 MovieClip Frame 35
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1166 MovieClip Frame 36
if (_root.held <= 25) {
_root.held = 10;
}
scale = scale - chaincost;
Symbol 1166 MovieClip Frame 39
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A3");
}
}
}
Symbol 1166 MovieClip Frame 41
if (_root.held <= 10) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A3");
}
}
}
Symbol 1166 MovieClip Frame 61
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1166 MovieClip Frame 73
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1166 MovieClip Frame 74
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1166 MovieClip Frame 75
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 40;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 40;
}
Symbol 1166 MovieClip Frame 76
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 80;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 80;
}
Symbol 1166 MovieClip Frame 77
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 80;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 80;
}
Symbol 1166 MovieClip Frame 78
if (_root.held <= 25) {
_root.held = 20;
}
scale = scale - chaincost;
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 80;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 80;
}
Symbol 1166 MovieClip Frame 79
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 80;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 80;
}
Symbol 1166 MovieClip Frame 80
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 80;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 80;
}
Symbol 1166 MovieClip Frame 81
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 40;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 40;
}
Symbol 1166 MovieClip Frame 82
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1166 MovieClip Frame 83
if (_root.held <= 20) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay ("A4");
}
}
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1166 MovieClip Frame 88
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1166 MovieClip Frame 103
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1166 MovieClip Frame 104
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1166 MovieClip Frame 105
if (_root.held <= 25) {
_root.held = 25;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1166 MovieClip Frame 107
if (_root.held <= 25) {
_root.held = 25;
}
Symbol 1166 MovieClip Frame 116
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1167 MovieClip Frame 1
var chaincost = (10 * _root.weapon[_root.wpn][4]);
var scale = (100 + (10 * _root.spirit));
Symbol 1167 MovieClip Frame 3
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1167 MovieClip Frame 4
_root.held++;
scale = scale - chaincost;
Symbol 1167 MovieClip Frame 5
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1167 MovieClip Frame 6
var a = _root.proj.length;
_root.pnum++;
if (_root.pnum > 10) {
_root.pnum = 1;
}
_root.attachMovie("wave", "p" + _root.pnum, 200 + _root.pnum);
_root["p" + _root.pnum]._y = 575;
if (_root.camframe.hero._xscale == -100) {
_root["p" + _root.pnum]._x = _root.camframe._x - 150;
_root.proj.push([0, ["p" + _root.pnum], 5, -25, scale]);
} else {
_root["p" + _root.pnum]._x = _root.camframe._x + 150;
_root.proj.push([0, ["p" + _root.pnum], 5, 25, scale]);
}
Symbol 1167 MovieClip Frame 7
Symbol 1167 MovieClip Frame 8
Symbol 1167 MovieClip Frame 16
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1167 MovieClip Frame 31
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 5;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 5;
}
Symbol 1168 MovieClip Frame 2
if (_root.held <= 60) {
_root.held = 50;
}
Symbol 1168 MovieClip Frame 4
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1168 MovieClip Frame 5
if (_root.held <= 60) {
_root.held = 55;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 6
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 7
if (_root.held <= 60) {
_root.held = 55;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 8
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 9
if (_root.held <= 60) {
_root.held = 55;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 10
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 11
if (_root.held <= 60) {
_root.held = 55;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 12
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1168 MovieClip Frame 13
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1168 MovieClip Frame 15
if (_root.held <= 60) {
_root.held = 60;
}
Symbol 1168 MovieClip Frame 17
if (_root.held <= 60) {
_root.held = 60;
}
Symbol 1168 MovieClip Frame 19
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 1);
Symbol 1168 MovieClip Frame 24
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1169 MovieClip Frame 6
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1170 MovieClip Frame 1
var chaincost = 10;
var scale = (100 + (10 * (_root.spirit - 2)));
var a = 0;
Symbol 1170 MovieClip Frame 2
if (_root.held <= 60) {
_root.held = 50;
}
Symbol 1170 MovieClip Frame 7
a = _root.proj.length;
_root.pnum++;
if (_root.pnum > 10) {
_root.pnum = 1;
}
_root.attachMovie("energyball", "p" + _root.pnum, 200 + _root.pnum);
_root.proj.push([0, ["p" + _root.pnum], 5, 25, scale]);
if (_root.camframe.hero._xscale == -100) {
_root.proj[a][3] = -25;
_root["p" + _root.pnum]._x = _root.camframe._x - 150;
} else {
_root["p" + _root.pnum]._x = _root.camframe._x + 150;
}
if ((scale % 20) == 10) {
_root["p" + _root.pnum]._y = 210;
} else {
_root["p" + _root.pnum]._y = 230;
}
_root["p" + _root.pnum]._xscale = scale;
_root["p" + _root.pnum]._yscale = scale;
Symbol 1170 MovieClip Frame 9
if (_root.held <= 50) {
scale = scale - chaincost;
if (scale >= 100) {
gotoAndPlay ("A1");
}
}
Symbol 1170 MovieClip Frame 20
if (_root.held <= 50) {
_root.held = 0;
_root.camframe.hero.gotoAndPlay(1);
}
Symbol 1171 MovieClip Frame 2
if (_root.held <= 60) {
_root.held = 50;
}
Symbol 1171 MovieClip Frame 4
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w2._alpha = 0;
_root.camframe.hero.herospecialattack.w3._alpha = 0;
_root.camframe.hero.herospecialattack.w4._alpha = 0;
_root.camframe.hero.herospecialattack.w5._alpha = 0;
_root.camframe.hero.herospecialattack.w6._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
_root.camframe.hero.herospecialattack.w8._alpha = 0;
_root.camframe.hero.herospecialattack.w9._alpha = 0;
_root.camframe.hero.herospecialattack.w10._alpha = 0;
Symbol 1171 MovieClip Frame 5
_root.camframe.hero.herospecialattack.w6._alpha = 75;
Symbol 1171 MovieClip Frame 6
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w5._alpha = 75;
_root.camframe.hero.herospecialattack.w6._alpha = 100;
_root.camframe.hero.herospecialattack.w7._alpha = 75;
Symbol 1171 MovieClip Frame 7
_root.camframe.hero.herospecialattack.w8._alpha = 75;
_root.camframe.hero.herospecialattack.w7._alpha = 50;
_root.camframe.hero.herospecialattack.w6._alpha = 25;
_root.camframe.hero.herospecialattack.w4._alpha = 75;
_root.camframe.hero.herospecialattack.w5._alpha = 50;
Symbol 1171 MovieClip Frame 8
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w9._alpha = 75;
_root.camframe.hero.herospecialattack.w8._alpha = 50;
_root.camframe.hero.herospecialattack.w7._alpha = 25;
_root.camframe.hero.herospecialattack.w6._alpha = 0;
_root.camframe.hero.herospecialattack.w3._alpha = 75;
_root.camframe.hero.herospecialattack.w4._alpha = 50;
_root.camframe.hero.herospecialattack.w5._alpha = 25;
Symbol 1171 MovieClip Frame 9
_root.camframe.hero.herospecialattack.w10._alpha = 75;
_root.camframe.hero.herospecialattack.w8._alpha = 25;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
_root.camframe.hero.herospecialattack.w2._alpha = 75;
_root.camframe.hero.herospecialattack.w4._alpha = 25;
_root.camframe.hero.herospecialattack.w5._alpha = 0;
Symbol 1171 MovieClip Frame 10
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w9._alpha = 75;
_root.camframe.hero.herospecialattack.w10._alpha = 50;
_root.camframe.hero.herospecialattack.w3._alpha = 75;
_root.camframe.hero.herospecialattack.w2._alpha = 50;
Symbol 1171 MovieClip Frame 11
_root.camframe.hero.herospecialattack.w9._alpha = 50;
_root.camframe.hero.herospecialattack.w10._alpha = 25;
_root.camframe.hero.herospecialattack.w3._alpha = 50;
_root.camframe.hero.herospecialattack.w2._alpha = 25;
Symbol 1171 MovieClip Frame 12
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w7._alpha = 75;
_root.camframe.hero.herospecialattack.w8._alpha = 50;
_root.camframe.hero.herospecialattack.w9._alpha = 25;
_root.camframe.hero.herospecialattack.w10._alpha = 0;
_root.camframe.hero.herospecialattack.w5._alpha = 75;
_root.camframe.hero.herospecialattack.w4._alpha = 50;
_root.camframe.hero.herospecialattack.w3._alpha = 25;
_root.camframe.hero.herospecialattack.w2._alpha = 0;
Symbol 1171 MovieClip Frame 13
_root.camframe.hero.herospecialattack.w6._alpha = 75;
_root.camframe.hero.herospecialattack.w7._alpha = 50;
_root.camframe.hero.herospecialattack.w8._alpha = 25;
_root.camframe.hero.herospecialattack.w9._alpha = 0;
_root.camframe.hero.herospecialattack.w5._alpha = 50;
_root.camframe.hero.herospecialattack.w4._alpha = 25;
_root.camframe.hero.herospecialattack.w3._alpha = 0;
Symbol 1171 MovieClip Frame 14
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w8._alpha = 0;
_root.camframe.hero.herospecialattack.w4._alpha = 0;
_root.camframe.hero.herospecialattack.w5._alpha = 75;
_root.camframe.hero.herospecialattack.w6._alpha = 100;
_root.camframe.hero.herospecialattack.w7._alpha = 75;
Symbol 1171 MovieClip Frame 15
_root.camframe.hero.herospecialattack.w4._alpha = 75;
_root.camframe.hero.herospecialattack.w5._alpha = 50;
_root.camframe.hero.herospecialattack.w8._alpha = 75;
_root.camframe.hero.herospecialattack.w7._alpha = 50;
_root.camframe.hero.herospecialattack.w6._alpha = 50;
Symbol 1171 MovieClip Frame 16
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w3._alpha = 75;
_root.camframe.hero.herospecialattack.w4._alpha = 50;
_root.camframe.hero.herospecialattack.w5._alpha = 25;
_root.camframe.hero.herospecialattack.w6._alpha = 0;
_root.camframe.hero.herospecialattack.w9._alpha = 75;
_root.camframe.hero.herospecialattack.w8._alpha = 50;
_root.camframe.hero.herospecialattack.w7._alpha = 25;
Symbol 1171 MovieClip Frame 17
_root.camframe.hero.herospecialattack.w2._alpha = 75;
_root.camframe.hero.herospecialattack.w3._alpha = 50;
_root.camframe.hero.herospecialattack.w4._alpha = 25;
_root.camframe.hero.herospecialattack.w5._alpha = 0;
_root.camframe.hero.herospecialattack.w10._alpha = 75;
_root.camframe.hero.herospecialattack.w9._alpha = 50;
_root.camframe.hero.herospecialattack.w8._alpha = 25;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
Symbol 1171 MovieClip Frame 18
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w3._alpha = 75;
_root.camframe.hero.herospecialattack.w2._alpha = 50;
_root.camframe.hero.herospecialattack.w9._alpha = 75;
_root.camframe.hero.herospecialattack.w10._alpha = 50;
Symbol 1171 MovieClip Frame 19
_root.camframe.hero.herospecialattack.w4._alpha = 75;
_root.camframe.hero.herospecialattack.w3._alpha = 50;
_root.camframe.hero.herospecialattack.w2._alpha = 25;
_root.camframe.hero.herospecialattack.w8._alpha = 75;
_root.camframe.hero.herospecialattack.w9._alpha = 50;
_root.camframe.hero.herospecialattack.w10._alpha = 25;
Symbol 1171 MovieClip Frame 20
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w5._alpha = 75;
_root.camframe.hero.herospecialattack.w4._alpha = 50;
_root.camframe.hero.herospecialattack.w3._alpha = 25;
_root.camframe.hero.herospecialattack.w2._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 75;
_root.camframe.hero.herospecialattack.w8._alpha = 50;
_root.camframe.hero.herospecialattack.w9._alpha = 25;
_root.camframe.hero.herospecialattack.w10._alpha = 0;
Symbol 1171 MovieClip Frame 21
_root.camframe.hero.herospecialattack.w5._alpha = 50;
_root.camframe.hero.herospecialattack.w4._alpha = 25;
_root.camframe.hero.herospecialattack.w3._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 50;
_root.camframe.hero.herospecialattack.w8._alpha = 25;
_root.camframe.hero.herospecialattack.w9._alpha = 0;
Symbol 1171 MovieClip Frame 22
_root.camframe.hero.herospecialattack.w5._alpha = 25;
_root.camframe.hero.herospecialattack.w4._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 25;
_root.camframe.hero.herospecialattack.w8._alpha = 0;
Symbol 1171 MovieClip Frame 23
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 1);
_root.camframe.hero.herospecialattack.w5._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
Symbol 1171 MovieClip Frame 30
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1172 MovieClip Frame 1
if (_root.held <= 60) {
_root.held = 55;
}
_root.camframe.hero.herospecialattack.w5._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
Symbol 1172 MovieClip Frame 8
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1191 MovieClip Frame 2
if (_root.held <= 60) {
_root.held = 50;
}
Symbol 1191 MovieClip Frame 4
if (_root.held <= 60) {
_root.held = 55;
}
Symbol 1191 MovieClip Frame 7
_root.camframe.hero._xscale = _root.camframe.hero._xscale * -1;
this._xscale = this._xscale * -1;
Symbol 1191 MovieClip Frame 8
if (_root.held <= 60) {
_root.held = 55;
}
Symbol 1191 MovieClip Frame 11
_root.camframe.hero._xscale = _root.camframe.hero._xscale * -1;
this._xscale = this._xscale * -1;
Symbol 1191 MovieClip Frame 12
if (_root.held <= 60) {
_root.held = 55;
}
Symbol 1191 MovieClip Frame 15
_root.camframe.hero._xscale = _root.camframe.hero._xscale * -1;
this._xscale = this._xscale * -1;
Symbol 1191 MovieClip Frame 16
if (_root.held <= 60) {
_root.held = 55;
}
Symbol 1191 MovieClip Frame 19
_root.camframe.hero._xscale = _root.camframe.hero._xscale * -1;
this._xscale = this._xscale * -1;
Symbol 1191 MovieClip Frame 20
if (_root.held <= 60) {
_root.held = 55;
}
Symbol 1191 MovieClip Frame 23
_root.camframe.hero._xscale = _root.camframe.hero._xscale * -1;
this._xscale = this._xscale * -1;
Symbol 1191 MovieClip Frame 24
if (_root.held <= 60) {
_root.held = 55;
}
Symbol 1191 MovieClip Frame 27
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 1);
_root.camframe.hero._xscale = _root.camframe.hero._xscale * -1;
this._xscale = this._xscale * -1;
Symbol 1191 MovieClip Frame 45
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1192 MovieClip Frame 23
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1193 MovieClip Frame 2
if (_root.held <= 60) {
_root.held = 50;
}
Symbol 1193 MovieClip Frame 3
_root.attachMovie("staffwaterspecial", "ss", 249);
var scale = 20;
var maxscale = (100 * _root.spirit);
var chargecount = 0;
_root.ss._x = _root.camframe._x;
_root.ss._y = 100;
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 4
var scale = 40;
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 5
var scale = 60;
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 6
if (scale < maxscale) {
scale = scale + _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 8
if (scale < maxscale) {
scale = scale + _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 10
if (scale < maxscale) {
scale = scale + _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 12
if (scale < maxscale) {
scale = scale + _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 14
if (scale < maxscale) {
scale = scale + _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
Symbol 1193 MovieClip Frame 15
chargecount++;
if (chargecount <= 5) {
if (Key.isDown(83)) {
_root.health = _root.health - 5;
gotoAndPlay ("L1");
}
}
Symbol 1193 MovieClip Frame 24
if (chargecount <= 1) {
gotoAndPlay (56);
}
Symbol 1193 MovieClip Frame 40
if (chargecount <= 3) {
gotoAndPlay (56);
}
Symbol 1193 MovieClip Frame 60
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
Symbol 1194 MovieClip Frame 2
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1194 MovieClip Frame 3
if (_root.held == 41) {
_root.held = 40;
}
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1194 MovieClip Frame 4
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 40;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 40;
}
Symbol 1194 MovieClip Frame 5
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 40;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 40;
}
Symbol 1194 MovieClip Frame 6
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 20;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 20;
}
Symbol 1194 MovieClip Frame 7
if (_root.camframe.hero._xscale == 100) {
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
_root.camframe._x = _root.camframe._x + 10;
}
} else if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
_root.camframe._x = _root.camframe._x - 10;
}
Symbol 1194 MovieClip Frame 9
if (_root.held <= 41) {
_root.held = 39;
}
Symbol 1194 MovieClip Frame 15
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
Symbol 1195 MovieClip Frame 1
var monsterdamage = _root.monatt[0][2];
if (isNaN(monsterdamage)) {
monsterdamage = 5;
}
if (_root.monatt[0][3] > 0) {
_root.camframe._x = _root.camframe._x + (20 * monsterdamage);
} else {
_root.camframe._x = _root.camframe._x - (20 * monsterdamage);
}
if (_root.armorh > 0) {
_root.health = _root.health - (monsterdamage / 2);
_root.armorh = _root.armorh - (monsterdamage / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
}
} else {
_root.health = _root.health - monsterdamage;
}
Symbol 1195 MovieClip Frame 5
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
Symbol 1196 MovieClip Frame 1
var monsterdamage = _root.BGA[0][1];
_root.camframe._x = _root.camframe._x + ((_root[_root.BGA[0][5]]._xscale * monsterdamage) / 5);
if (_root.armorh > 0) {
_root.health = _root.health - (monsterdamage / 2);
_root.armorh = _root.armorh - (monsterdamage / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
}
} else {
_root.health = _root.health - monsterdamage;
}
Symbol 1196 MovieClip Frame 5
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
Symbol 1201 MovieClip Frame 1
if (_root.grapple > 0) {
if ((_root.grapple % 50) < 25) {
if (_root.player > 20) {
gotoAndStop (5);
} else if (_root.player > 10) {
gotoAndStop (4);
} else {
gotoAndStop (3);
}
}
} else if ((_root.grapple % 50) < -25) {
if (_root.player > 20) {
gotoAndStop (5);
} else if (_root.player > 10) {
gotoAndStop (4);
} else {
gotoAndStop (3);
}
}
Symbol 1201 MovieClip Frame 2
stop();
Symbol 1202 MovieClip Frame 1
stop();
Symbol 1205 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1212 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1245 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1598 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 3) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 100;
_root["arrow" + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 2) {
j = 2;
}
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + (180 * j);
i++;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 1598 MovieClip Frame 7
if (_root.grapple > 0) {
var strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] * 0.75) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] * 0.75)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = ((_root.BGA[0][2] - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
gotoAndPlay ("BGgrab1");
}
Symbol 1598 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (_root.BGA[0][2] - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1598 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1598 MovieClip Frame 40
if (_root.cumface > 1) {
_root.cumface--;
}
_root.poisonlevel = _root.poisonlevel + 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie("symbol_poison", "symbol_poison", 1301);
_root.symbol_poison._y = 100;
_root.symbol_poison._x = _root.camframe._x;
Symbol 1598 MovieClip Frame 75
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1598 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1598 MovieClip Frame 121
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1598 MovieClip Frame 127
if (_root.cumface > 1) {
_root.cumface--;
}
_root.poisonlevel = _root.poisonlevel + 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie("symbol_poison", "symbol_poison", 1301);
_root.symbol_poison._y = 100;
_root.symbol_poison._x = _root.camframe._x;
Symbol 1598 MovieClip Frame 131
if (_root.cumchest > 1) {
_root.cumchest--;
}
_root.poisonlevel = _root.poisonlevel + 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie("symbol_poison", "symbol_poison2", 1302);
_root.symbol_poison2._y = 125;
_root.symbol_poison2._x = _root.camframe._x + 25;
Symbol 1598 MovieClip Frame 180
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1598 MovieClip Frame 181
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.75) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = ((_root.BGA[0][2] * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 186
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 191
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 196
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 200
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
_root.grapple = -75;
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1598 MovieClip Frame 201
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1598 MovieClip Frame 210
if (_root.cumface > 1) {
_root.cumface--;
}
_root.poisonlevel = _root.poisonlevel + 25;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie("symbol_poison", "symbol_poison", 1301);
_root.symbol_poison._y = 100;
_root.symbol_poison._x = _root.camframe._x;
Symbol 1598 MovieClip Frame 240
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1598 MovieClip Frame 241
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.5) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 246
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 251
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 256
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root.held < 1000) {
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
}
Symbol 1598 MovieClip Frame 261
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1598 MovieClip Frame 262
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1598 MovieClip Frame 268
Symbol 1598 MovieClip Frame 314
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1598 MovieClip Frame 315
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.camframe._x = _root.camframe._x - _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
_root.camframe.box.gotoAndPlay(42);
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
Symbol 1598 MovieClip Frame 316
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 1598 MovieClip Frame 326
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.camframe._x = _root.camframe._x - _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
_root.BGA[0][7] = 950;
_root[_root.BGA[0][5]].gotoAndStop(11);
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._y = 200;
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
Symbol 1696 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 2) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 75;
_root["arrow" + i]._y = 100;
i++;
}
_root.gbararrowcheck = 2;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 1696 MovieClip Frame 7
if (_root.grapple > 0) {
var strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] * 0.75) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] * 0.75)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = ((_root.BGA[0][2] - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
gotoAndPlay ("BGgrab1");
}
Symbol 1696 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (_root.BGA[0][2] - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1696 MovieClip Frame 33
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1696 MovieClip Frame 90
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1696 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 121
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 126
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 131
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 136
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 140
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
if (Math.random() > 0.33) {
gotoAndPlay ("BGgrab2Loop");
}
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 141
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 146
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 151
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 156
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 160
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 161
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1696 MovieClip Frame 162
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1696 MovieClip Frame 220
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1696 MovieClip Frame 221
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.75) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = ((_root.BGA[0][2] * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 226
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 231
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 236
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 240
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 241
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1696 MovieClip Frame 280
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1696 MovieClip Frame 281
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.5) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 286
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 291
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 293
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 296
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 301
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1696 MovieClip Frame 306
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1696 MovieClip Frame 307
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1696 MovieClip Frame 311
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1696 MovieClip Frame 354
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1696 MovieClip Frame 355
if (_root.gbararrowcheck > 0) {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
}
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root.camframe.box.gotoAndPlay(42);
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
Symbol 1696 MovieClip Frame 356
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 1696 MovieClip Frame 366
if (_root.gbararrowcheck > 0) {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
}
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
Symbol 1769 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 2) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 75;
_root["arrow" + i]._y = 100;
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + 180;
i++;
}
_root.gbararrowcheck = 2;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 1769 MovieClip Frame 7
if (_root.grapple > 0) {
var strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] * 0.75) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] * 0.75)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = ((_root.BGA[0][2] - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
gotoAndPlay ("BGgrab1");
}
Symbol 1769 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (_root.BGA[0][2] - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1769 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1769 MovieClip Frame 35
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1769 MovieClip Frame 90
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1769 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 107
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 113
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1769 MovieClip Frame 116
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 125
if (Math.random() > 0.33) {
gotoAndPlay ("BGCum2Loop");
}
Symbol 1769 MovieClip Frame 130
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1769 MovieClip Frame 182
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1769 MovieClip Frame 183
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.75) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = ((_root.BGA[0][2] * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 188
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 193
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 198
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 202
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1769 MovieClip Frame 203
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1769 MovieClip Frame 242
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1769 MovieClip Frame 243
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.5) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 248
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 253
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 255
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1769 MovieClip Frame 258
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 263
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1769 MovieClip Frame 268
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1769 MovieClip Frame 269
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1769 MovieClip Frame 273
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 1769 MovieClip Frame 311
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1769 MovieClip Frame 317
if (_root.gbararrowcheck > 0) {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
}
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root.camframe.box.gotoAndPlay(42);
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
Symbol 1769 MovieClip Frame 318
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 1769 MovieClip Frame 328
if (_root.gbararrowcheck > 0) {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
}
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
Symbol 1800 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1820 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1823 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1835 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 2) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 75;
_root["arrow" + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 1) {
j = 1;
}
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + (180 * j);
i++;
}
_root.gbararrowcheck = 2;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 1835 MovieClip Frame 10
if (_root.grapple > 0) {
var strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] * 0.75) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] * 0.75)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = ((_root.BGA[0][2] - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
gotoAndPlay ("BGgrab1");
}
Symbol 1835 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (_root.BGA[0][2] - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 16
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 26
if (Math.random() > 0.25) {
gotoAndPlay ("BGgrab1loop");
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1835 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1835 MovieClip Frame 40
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 1835 MovieClip Frame 70
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1835 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 110
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1835 MovieClip Frame 111
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 121
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 126
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 130
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2Loop");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1835 MovieClip Frame 131
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1835 MovieClip Frame 181
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1835 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.75) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = ((_root.BGA[0][2] * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 211
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 220
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1835 MovieClip Frame 221
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1835 MovieClip Frame 270
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1835 MovieClip Frame 281
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.5) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = ((_root.spirit * 1.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 286
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 290
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1835 MovieClip Frame 291
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 296
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 301
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = ((_root.spirit * 2) + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 1835 MovieClip Frame 310
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2loop");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1835 MovieClip Frame 311
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1835 MovieClip Frame 354
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1835 MovieClip Frame 355
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root.camframe.box.gotoAndPlay(42);
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
Symbol 1835 MovieClip Frame 356
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 1835 MovieClip Frame 366
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
Symbol 1877 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1889 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1899 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1904 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1908 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1915 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 1924 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 4) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 125;
_root["arrow" + i]._y = 100;
j = Math.floor(Math.random() * 3);
if (j > 2) {
j = 2;
}
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + (90 * j);
i++;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
m20thigh.spankred._alpha = 0;
Symbol 1924 MovieClip Frame 20
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x = _root.camframe._x - 10;
} else {
_root.camframe._x = _root.camframe._x + 10;
}
Symbol 1924 MovieClip Frame 21
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x = _root.camframe._x - 10;
} else {
_root.camframe._x = _root.camframe._x + 10;
}
Symbol 1924 MovieClip Frame 22
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x = _root.camframe._x - 10;
} else {
_root.camframe._x = _root.camframe._x + 10;
}
Symbol 1924 MovieClip Frame 23
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x = _root.camframe._x - 10;
} else {
_root.camframe._x = _root.camframe._x + 10;
}
Symbol 1924 MovieClip Frame 24
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x = _root.camframe._x - 10;
} else {
_root.camframe._x = _root.camframe._x + 10;
}
Symbol 1924 MovieClip Frame 25
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x = _root.camframe._x - 10;
} else {
_root.camframe._x = _root.camframe._x + 10;
}
Symbol 1924 MovieClip Frame 30
if (_root.grapple > 0) {
var strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] * 0.75) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] * 0.75)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = ((_root.BGA[0][2] - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
gotoAndPlay ("BGgrab1");
}
Symbol 1924 MovieClip Frame 36
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (_root.BGA[0][2] - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 43
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 51
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 58
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 66
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1924 MovieClip Frame 67
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1924 MovieClip Frame 68
m20thigh.spankred._alpha = 0;
Symbol 1924 MovieClip Frame 120
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1924 MovieClip Frame 121
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - (_root.BGA[0][1] * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 125
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 129
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 133
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
Symbol 1924 MovieClip Frame 137
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = ((_root.BGA[0][2] * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("BGgrab2");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1924 MovieClip Frame 138
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1924 MovieClip Frame 139
m20thigh.spankred._alpha = 0;
Symbol 1924 MovieClip Frame 144
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 1924 MovieClip Frame 175
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1924 MovieClip Frame 176
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.75) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = ((_root.BGA[0][2] * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 1924 MovieClip Frame 182
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 1924 MovieClip Frame 188
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 1924 MovieClip Frame 194
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 1924 MovieClip Frame 200
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1924 MovieClip Frame 201
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1924 MovieClip Frame 203
m20thigh.spankred._alpha = 0;
Symbol 1924 MovieClip Frame 241
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1924 MovieClip Frame 251
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = ((_root.body * 0.5) - _root.BGA[0][1]) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
Symbol 1924 MovieClip Frame 256
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
if (m20thigh.spankred._alpha < 75) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha + 25;
} else {
m20thigh.spankred._alpha = 100;
}
Symbol 1924 MovieClip Frame 258
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1924 MovieClip Frame 261
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha = m20thigh.spankred._alpha - 5;
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
Symbol 1924 MovieClip Frame 265
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if (_root.BGA[0][4] <= 0) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
gotoAndPlay ("heroesc");
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
gotoAndPlay ("heroesc");
}
}
Symbol 1924 MovieClip Frame 266
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 1924 MovieClip Frame 295
if (_root.held < 1000) {
gotoAndPlay ("mondead");
} else {
stop();
}
Symbol 1924 MovieClip Frame 301
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root.camframe.box.gotoAndPlay(42);
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
Symbol 1924 MovieClip Frame 302
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 1924 MovieClip Frame 312
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
Symbol 1990 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 1998 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2001 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2003 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2011 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2014 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2018 MovieClip Frame 1
gotoAndStop(_root.acc);
Symbol 2024 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2027 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2032 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2034 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2039 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2046 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2049 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2059 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2127 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 3) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 100;
_root["arrow" + i]._y = 100;
i++;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.BGA[0][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[1][1] = 0;
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
} else {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[1][4];
_root[_root.BGA[1][6]]._x = _root[_root.BGA[1][6]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 2127 MovieClip Frame 2
if (_root.grapple > 0) {
var strdiff = ((((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] + ((_root.BGA[1][2] / 2) * 0.75)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] + ((_root.BGA[1][1] / 2) * 0.75))) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
}
Symbol 2127 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2127 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2127 MovieClip Frame 35
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2127 MovieClip Frame 49
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2127 MovieClip Frame 90
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2127 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2127 MovieClip Frame 121
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2127 MovieClip Frame 131
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2127 MovieClip Frame 139
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2127 MovieClip Frame 181
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2127 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 211
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 220
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2127 MovieClip Frame 221
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 226
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 231
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1Loop");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 236
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 240
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2127 MovieClip Frame 241
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2127 MovieClip Frame 251
if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1cum");
}
Symbol 2127 MovieClip Frame 254
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2127 MovieClip Frame 257
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2127 MovieClip Frame 300
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2127 MovieClip Frame 301
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.5) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 311
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 316
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2127 MovieClip Frame 320
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2127 MovieClip Frame 321
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2127 MovieClip Frame 360
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2127 MovieClip Frame 361
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 2127 MovieClip Frame 371
heroesc();
stop();
Symbol 2210 MovieClip Frame 1
function attacharrows() {
j = 0;
if (Math.random() > 0.7) {
j = 180;
}
i = 1;
while (i <= 3) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 100;
_root["arrow" + i]._y = 100;
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + j;
i++;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.BGA[0][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[1][1] = 0;
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
} else {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[1][4];
_root[_root.BGA[1][6]]._x = _root[_root.BGA[1][6]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.BGA[0][0] == 17) {
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 2);
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 2210 MovieClip Frame 2
if (_root.grapple > 0) {
var strdiff = ((((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] + ((_root.BGA[1][2] / 2) * 0.75)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] + ((_root.BGA[1][1] / 2) * 0.75))) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
}
Symbol 2210 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2210 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2210 MovieClip Frame 35
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2210 MovieClip Frame 49
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2210 MovieClip Frame 90
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2210 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2210 MovieClip Frame 121
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2210 MovieClip Frame 131
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2210 MovieClip Frame 139
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2210 MovieClip Frame 181
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2210 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 211
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 220
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2210 MovieClip Frame 221
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 226
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 231
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1Loop");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 236
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 240
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2210 MovieClip Frame 241
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2210 MovieClip Frame 251
if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1cum");
}
Symbol 2210 MovieClip Frame 254
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2210 MovieClip Frame 257
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2210 MovieClip Frame 300
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2210 MovieClip Frame 301
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.5) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 311
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 316
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2210 MovieClip Frame 320
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2210 MovieClip Frame 321
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2210 MovieClip Frame 360
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2210 MovieClip Frame 361
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 2210 MovieClip Frame 371
heroesc();
Symbol 2289 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 3) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 100;
_root["arrow" + i]._y = 100;
_root["arrow" + i]._rotation = 180;
i++;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.BGA[0][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[1][1] = 0;
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
} else {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[1][4];
_root[_root.BGA[1][6]]._x = _root[_root.BGA[1][6]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 2289 MovieClip Frame 2
if (_root.grapple > 0) {
var strdiff = ((((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] + ((_root.BGA[1][2] / 2) * 0.75)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] + ((_root.BGA[1][1] / 2) * 0.75))) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
}
Symbol 2289 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2289 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2289 MovieClip Frame 35
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2289 MovieClip Frame 49
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2289 MovieClip Frame 90
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2289 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2289 MovieClip Frame 121
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2289 MovieClip Frame 131
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2289 MovieClip Frame 139
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2289 MovieClip Frame 181
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2289 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 211
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 220
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2289 MovieClip Frame 221
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 226
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 231
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1Loop");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 236
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 240
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2289 MovieClip Frame 241
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2289 MovieClip Frame 251
if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1cum");
}
Symbol 2289 MovieClip Frame 254
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2289 MovieClip Frame 257
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2289 MovieClip Frame 300
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2289 MovieClip Frame 301
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.5) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 311
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 316
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2289 MovieClip Frame 320
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2289 MovieClip Frame 321
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2289 MovieClip Frame 360
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2289 MovieClip Frame 361
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 2289 MovieClip Frame 371
heroesc();
Symbol 2368 MovieClip Frame 1
function attacharrows() {
j = 0;
if (Math.random() > 0.3) {
j = 180;
}
i = 1;
while (i <= 3) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 100;
_root["arrow" + i]._y = 100;
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + j;
i++;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.BGA[0][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
if (_root.quest_zombiecount > 0) {
_root.quest_zombiecount--;
}
_root.BGA[1][1] = 0;
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
} else {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[1][4];
_root[_root.BGA[1][6]]._x = _root[_root.BGA[1][6]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 2368 MovieClip Frame 2
if (_root.grapple > 0) {
var strdiff = ((((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] + ((_root.BGA[1][2] / 2) * 0.75)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] + ((_root.BGA[1][1] / 2) * 0.75))) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
}
Symbol 2368 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2368 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2368 MovieClip Frame 35
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2368 MovieClip Frame 49
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2368 MovieClip Frame 90
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2368 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2368 MovieClip Frame 121
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2368 MovieClip Frame 131
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2368 MovieClip Frame 139
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2368 MovieClip Frame 181
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2368 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 211
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 220
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2368 MovieClip Frame 221
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 226
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 231
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1Loop");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 236
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 240
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2368 MovieClip Frame 241
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2368 MovieClip Frame 251
if (Math.random() < 0.7) {
gotoAndPlay ("HeroGrab1cum");
}
Symbol 2368 MovieClip Frame 254
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2368 MovieClip Frame 257
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2368 MovieClip Frame 300
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2368 MovieClip Frame 301
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.5) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 311
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 316
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2368 MovieClip Frame 320
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2368 MovieClip Frame 321
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2368 MovieClip Frame 360
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2368 MovieClip Frame 361
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 2368 MovieClip Frame 371
heroesc();
stop();
Symbol 2374 MovieClip Frame 1
gotoAndStop(_root.wpn + 1);
Symbol 2422 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2431 MovieClip Frame 1
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
Symbol 2434 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2448 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 3) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 100;
_root["arrow" + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 1) {
j = 1;
}
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + (180 * j);
i++;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.BGA[0][4] <= 0) {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
} else {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[1][4];
_root[_root.BGA[1][6]]._x = _root[_root.BGA[1][6]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 2448 MovieClip Frame 10
var strdiff = ((((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] + ((_root.BGA[1][2] / 2) * 0.75)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
Symbol 2448 MovieClip Frame 11
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 22
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
Symbol 2448 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 31
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 36
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 39
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 41
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 47
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1B");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 48
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2448 MovieClip Frame 50
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2448 MovieClip Frame 55
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2448 MovieClip Frame 71
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2448 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 110
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1B");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 111
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1B");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 121
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 126
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 131
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2B");
} else {
gotoAndPlay ("BGgrab1B");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 132
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2448 MovieClip Frame 144
if (Math.random() < 0.5) {
gotoAndPlay ("BGgrab2cum");
}
Symbol 2448 MovieClip Frame 149
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2448 MovieClip Frame 155
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2448 MovieClip Frame 186
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2448 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 211
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 221
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 226
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 230
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 231
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2448 MovieClip Frame 271
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2448 MovieClip Frame 301
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.5) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 311
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 316
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2448 MovieClip Frame 320
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
Symbol 2448 MovieClip Frame 321
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2448 MovieClip Frame 360
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2448 MovieClip Frame 361
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 2448 MovieClip Frame 376
heroesc();
stop();
Symbol 2503 MovieClip Frame 1
function attacharrows() {
i = 1;
while (i <= 4) {
_root.attachMovie("gbararrow_r", "arrow" + i, 1800 + i);
_root["arrow" + i]._x = (_root.camframe._x - (50 * i)) + 125;
_root["arrow" + i]._y = 100;
j = Math.floor(Math.random() * 3);
if (j > 2) {
j = 2;
}
_root["arrow" + i]._rotation = _root["arrow" + i]._rotation + (90 * j);
i++;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
i = 1;
while (i < 10) {
_root["arrow" + i].unloadMovie();
i++;
}
_root.gbararrowcheck = -3;
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
if (_root.BGA[0][4] <= 0) {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
} else {
_root[_root.BGA[1][5]]._x = _root[_root.BGA[1][5]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[1][4];
_root[_root.BGA[1][6]]._x = _root[_root.BGA[1][6]]._x + (2.5 * _root.camframe.hero._xscale);
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escherovar = (_root.escbgvar = 0);
var i = ((j = 0));
var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10);
var herobonusdmg = (_root.armorarray[Math.floor(_root.armor / 10)][3] % 10);
Symbol 2503 MovieClip Frame 2
if (_root.grapple > 0) {
var strdiff = ((((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
var mondmg = (((_root.BGA[0][2] + ((_root.BGA[1][2] / 2) * 0.75)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + herobonusdmg) / 4);
gotoAndPlay ("HeroGrab1");
} else {
var strdiff = ((_root.body - (_root.BGA[0][1] + ((_root.BGA[1][1] / 2) * 0.75))) / 4);
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
var mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4);
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.spirit * 0.75) + herobonusdmg) / 4);
gotoAndPlay ("BGgrab1");
}
Symbol 2503 MovieClip Frame 11
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (!(_root.gcontrol === -1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.75)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = ((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.75) + herobonusdmg) / 4;
if (_root.gcontrol == -2) {
_root.grapple = _root.grapple + 10;
} else {
_root.grapple = _root.grapple - 10;
}
_root.gcontrol = -1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 16
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 21
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 26
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 30
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
Symbol 2503 MovieClip Frame 31
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2503 MovieClip Frame 32
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2503 MovieClip Frame 41
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2503 MovieClip Frame 76
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2503 MovieClip Frame 101
if ((_root.armorh > 0) and (!(_root.armor === 71))) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh = _root.armorh - 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay ("clothestear");
}
if (_root.gcontrol > -2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (_root.body - ((_root.BGA[0][1] + (_root.BGA[1][1] / 2)) * 0.5)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = 0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 1.5) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.5) + herobonusdmg) / 4;
_root.grapple = _root.grapple - 10;
_root.gcontrol = -2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 106
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 111
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 116
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
Symbol 2503 MovieClip Frame 120
if (_root.grapple < -100) {
_root.grapple = -100;
_root.gcontrol = -3;
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 2) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit * 0.25) + herobonusdmg) / 4;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("BGgrab2cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
Symbol 2503 MovieClip Frame 121
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2503 MovieClip Frame 131
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2503 MovieClip Frame 136
if (_root.cumchest > 1) {
_root.cumchest--;
}
Symbol 2503 MovieClip Frame 166
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2503 MovieClip Frame 201
if (!(_root.gcontrol === 1)) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.75) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = (((_root.BGA[0][2] + (_root.BGA[1][2] / 2)) * 0.75) - herodr) / 4;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (_root.spirit + herobonusdmg) / 4;
if (_root.gcontrol == 2) {
_root.grapple = _root.grapple - 10;
} else {
_root.grapple = _root.grapple + 10;
}
_root.gcontrol = 1;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 2503 MovieClip Frame 206
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 2503 MovieClip Frame 211
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 2503 MovieClip Frame 216
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 3;
}
Symbol 2503 MovieClip Frame 220
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab1cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
Symbol 2503 MovieClip Frame 221
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2503 MovieClip Frame 231
if (_root.cumface > 1) {
_root.cumface--;
}
Symbol 2503 MovieClip Frame 275
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2503 MovieClip Frame 301
if (_root.gcontrol < 2) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
splash.gotoAndPlay(2);
strdiff = (((_root.body * 0.5) - _root.BGA[0][1]) - (_root.BGA[1][1] / 2)) / 4;
if (Math.abs(strdiff) < 0.125) {
strdiff = -0.125;
}
mondmg = 0;
herodmg = (_root.spirit + herobonusdmg) / 4;
_root.grapple = _root.grapple + 10;
_root.gcontrol = 2;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck == -1.5) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
Symbol 2503 MovieClip Frame 306
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
Symbol 2503 MovieClip Frame 311
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
Symbol 2503 MovieClip Frame 316
if (_root.held < 1000) {
_root.grapple = _root.grapple + strdiff;
_root.BGA[0][4] = _root.BGA[0][4] - herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] = _root.BGA[1][4] - herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh = _root.armorh - (mondmg / 2);
_root.health = _root.health - (mondmg / 2);
if (_root.armorh < 0) {
_root.armorh = 0;
if (!(_root.armor === 71)) {
gotoAndPlay ("clothestear");
}
}
} else {
_root.health = _root.health - mondmg;
}
} else if (_root.grapple > -100) {
_root.grapple = _root.grapple - _root.BGA[0][1];
}
if (_root._currentframe == 44) {
_root.escbgvar = _root.escbgvar - 6;
}
Symbol 2503 MovieClip Frame 320
if (_root.grapple > 100) {
_root.grapple = 100;
_root.gcontrol = 3;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
strdiff = 0;
_root.held = 99;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1001;
_root.camframe.gameover.gotoAndPlay(2);
unloadarrows();
}
}
if ((_root.BGA[0][4] <= 0) and (_root.BGA[1][4] <= 0)) {
gotoAndPlay ("HeroGrab2Cum");
} else if (_root.grapple > 0) {
if (_root.grapple > 50) {
gotoAndPlay ("HeroGrab2");
} else {
gotoAndPlay ("HeroGrab1");
}
} else if (_root.grapple < -50) {
gotoAndPlay ("BGgrab2");
} else {
gotoAndPlay ("BGgrab1");
}
if (_root.escherovar > 0) {
if (((_root.escherovar * -1) + 100) < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (((_root.escbgvar * -1) - 100) > _root.grapple) {
heroesc();
}
}
Symbol 2503 MovieClip Frame 321
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -3;
Symbol 2503 MovieClip Frame 330
Symbol 2503 MovieClip Frame 360
if (_root.held < 1000) {
heroesc();
} else {
stop();
}
Symbol 2503 MovieClip Frame 361
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
Symbol 2503 MovieClip Frame 371
heroesc();
stop();
Symbol 2504 MovieClip Frame 1
stop();
Symbol 2509 MovieClip Frame 1
if (_root.player > 20) {
gotoAndStop (3);
} else if (_root.player > 10) {
gotoAndStop (2);
}
stop();
Symbol 2515 MovieClip Frame 1
if (_root.gunhmax > 0) {
gotoAndStop (2);
}
stop();
Symbol 2537 MovieClip Frame 1
stop();
Symbol 2539 MovieClip Frame 2
if (_root.backpack4h > 300) {
this.item_symbol.gotoAndStop((_root.backpack4 + _root.backpack4h) - 1);
} else {
this.item_symbol.gotoAndStop(_root.backpack4);
}
if (_root.backpack4 < 0) {
gotoAndStop (11);
}
stop();
Symbol 2540 MovieClip Frame 2
if (_root.backpack3h > 300) {
this.item_symbol.gotoAndStop((_root.backpack3 + _root.backpack3h) - 1);
} else {
this.item_symbol.gotoAndStop(_root.backpack3);
}
if (_root.backpack3 < 0) {
gotoAndStop (11);
}
stop();
Symbol 2541 MovieClip Frame 2
if (_root.backpack2h > 300) {
this.item_symbol.gotoAndStop((_root.backpack2 + _root.backpack2h) - 1);
} else {
this.item_symbol.gotoAndStop(_root.backpack2);
}
if (_root.backpack2 < 0) {
gotoAndStop (11);
}
stop();
Symbol 2542 MovieClip Frame 2
if (_root.backpack1h > 300) {
this.item_symbol.gotoAndStop((_root.backpack1 + _root.backpack1h) - 1);
} else {
this.item_symbol.gotoAndStop(_root.backpack1);
}
stop();
Symbol 2549 MovieClip Frame 1
if (_root.backpack2 >= 0) {
gotoAndStop (21);
}
if (_root.backpack3 >= 0) {
gotoAndPlay (31);
}
if (_root.backpack4 >= 0) {
gotoAndStop (41);
}
Symbol 2549 MovieClip Frame 2
if (_root.backpack2 >= 0) {
gotoAndPlay (12);
}
if (_root.backpack3 >= 0) {
gotoAndPlay (22);
}
if (_root.backpack4 >= 0) {
gotoAndStop (32);
}
Symbol 2549 MovieClip Frame 11
stop();
Symbol 2549 MovieClip Frame 21
_root.camframe.box.invb2.gotoAndPlay(1);
stop();
Symbol 2549 MovieClip Frame 31
_root.camframe.box.invb3.gotoAndPlay(1);
stop();
Symbol 2549 MovieClip Frame 40
_root.camframe.box.invb4.gotoAndPlay(1);
stop();
Symbol 2552 MovieClip Frame 2
this.item_symbol.gotoAndStop(_root.acc + 600);
stop();
Symbol 2554 MovieClip Frame 2
this.item_symbol.gotoAndStop(_root.armor);
stop();
Symbol 2556 MovieClip Frame 2
this.item_symbol.gotoAndStop(_root.wpn + 300);
stop();
Symbol 2567 MovieClip Frame 1
if (_root.player > 20) {
gotoAndPlay (22);
} else if (_root.player > 10) {
gotoAndPlay (12);
}
Symbol 2567 MovieClip Frame 2
if (_root.poisonlevel > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
Symbol 2567 MovieClip Frame 12
if (_root.poisonlevel > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
Symbol 2567 MovieClip Frame 22
if (_root.poisonlevel > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
Symbol 2583 MovieClip Frame 16
stop();
Symbol 2583 MovieClip Frame 26
stop();
Symbol 2583 MovieClip Frame 36
stop();
Symbol 2685 MovieClip Frame 1
if (_root.itemnewh > 300) {
this.item_symbol.gotoAndStop((_root.itemnew + _root.itemnewh) - 1);
} else {
this.item_symbol.gotoAndStop(_root.itemnew);
}
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 5
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 10
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 15
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 20
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 25
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 30
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 35
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 40
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 55
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 60
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 65
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 70
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 75
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 80
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 85
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2685 MovieClip Frame 90
if (_root.itemnew < 1) {
gotoAndPlay((_root.itemselect * 5) + 46);
} else {
gotoAndPlay((_root.itemselect * 5) - 4);
}
Symbol 2695 MovieClip Frame 1
if (!(_root.held === 910)) {
gotoAndStop (2);
}
stop();
Symbol 2696 MovieClip Frame 1
_root.camframe.box.healthbar._xscale = _root.maxhealth;
_root.camframe.box.armorbar._xscale = _root.armorhmax;
_root.camframe.box.gunbar._xscale = _root.gunhmax;
if (!(_parent._parent._y === 100)) {
_root.camzoom = 0.75;
_parent._parent._y = 100;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
stop();
Instance of Symbol 2560 MovieClip "armorbar" in Symbol 2696 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2567 MovieClip "healthbar" in Symbol 2696 MovieClip Frame 1
/* no clip actions */
Symbol 2696 MovieClip Frame 11
stop();
Instance of Symbol 2685 MovieClip "invbox" in Symbol 2696 MovieClip Frame 11
onClipEvent (load) {
var delay2 = 0;
var a = ((b = 0));
}
onClipEvent (enterFrame) {
if (_root.held == 901) {
if (delay2 == 0) {
if (Key.isDown(37) or Key.isDown(81)) {
delay2 = 3;
_root.itemselect--;
if (_root.itemselect < 1) {
_root.itemselect = 1;
}
if ((_root.itemselect == 7) and (_root.backpack4 < 0)) {
_root.itemselect = 6;
}
if ((_root.itemselect == 6) and (_root.backpack3 < 0)) {
_root.itemselect = 5;
}
if ((_root.itemselect == 5) and (_root.backpack2 < 0)) {
_root.itemselect = 4;
}
if (_root.itemnew > 0) {
if (_root.itemselect <= 3) {
if (_root.itemnewh > 600) {
_root.itemselect = 3;
} else if (_root.itemnewh > 300) {
_root.itemselect = 1;
} else {
_root.itemselect = 2;
}
}
}
}
if (Key.isDown(39) or Key.isDown(69)) {
delay2 = 3;
_root.itemselect++;
if (_root.itemselect > 8) {
_root.itemselect = 8;
}
if ((_root.itemselect == 5) and (_root.backpack2 < 0)) {
_root.itemselect = 8;
}
if ((_root.itemselect == 6) and (_root.backpack3 < 0)) {
_root.itemselect = 8;
}
if ((_root.itemselect == 7) and (_root.backpack4 < 0)) {
_root.itemselect = 8;
}
if (_root.itemnew > 0) {
if (_root.itemselect <= 3) {
_root.itemselect = 4;
}
}
}
if (Key.isDown(65)) {
delay2 = 5;
if (_root.itemnew < 1) {
switch (_root.itemselect) {
case 1 :
_root.itemnew = _root.wpn;
_root.itemnewh = 301;
_root.wpn = 1;
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][3];
_root.camframe.box.invwpn.gotoAndPlay(1);
break;
case 2 :
_root.itemnew = _root.armor;
_root.itemnewh = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
break;
case 3 :
_root.itemnew = _root.acc;
_root.itemnewh = 601;
_root.acc = 1;
_root.body = (_root.bodrace + _root.bodclass) + _root.accessory[_root.acc][2];
_root.spirit = (_root.sptrace + _root.sptclass) + _root.accessory[_root.acc][3];
_root.maxhealth = 50 + (_root.body * 10);
if (_root.health > _root.maxhealth) {
_root.health = _root.maxhealth;
}
_root.camframe.box.invacc.gotoAndPlay(1);
break;
case 4 :
_root.itemnew = _root.backpack1;
_root.itemnewh = _root.backpack1h;
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
break;
case 5 :
_root.itemnew = _root.backpack2;
_root.itemnewh = _root.backpack2h;
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
break;
case 6 :
_root.itemnew = _root.backpack3;
_root.itemnewh = _root.backpack3h;
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
break;
case 7 :
_root.itemnew = _root.backpack4;
_root.itemnewh = _root.backpack4h;
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
break;
case 8 :
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
_root.itemselect = (_root.itemnew = (_root.itemnewh = 0));
_root.camframe.box.gotoAndPlay(12);
}
if (_root.itemnewh > 300) {
_root.camframe.box.invbox.item_symbol.gotoAndStop((_root.itemnew + _root.itemnewh) - 1);
} else {
_root.camframe.box.invbox.item_symbol.gotoAndStop(_root.itemnew);
}
if (_root.itemselect < 4) {
_root.itemselect = 4;
} else if (_root.itemselect < 8) {
if (_root.itemnewh > 600) {
_root.itemselect = 3;
} else if (_root.itemnewh > 300) {
_root.itemselect = 1;
} else {
_root.itemselect = 2;
}
}
} else {
a = 0;
b = 0;
switch (_root.itemselect) {
case 1 :
if (_root.wpn > 1) {
a = _root.wpn;
b = 301;
}
_root.wpn = _root.itemnew;
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][3];
_root.camframe.box.invwpn.gotoAndPlay(1);
break;
case 2 :
if (_root.armor > 1) {
a = _root.armor;
b = _root.armorh;
}
_root.armor = _root.itemnew;
_root.armorhmax = _root.armorarray[Math.floor(_root.itemnew / 10)][2];
_root.armorh = _root.itemnewh;
_root.camframe.box.invarm.gotoAndPlay(1);
break;
case 3 :
if (_root.acc > 1) {
a = _root.acc;
b = 601;
}
_root.acc = _root.itemnew;
_root.body = (_root.bodrace + _root.bodclass) + _root.accessory[_root.acc][2];
_root.spirit = (_root.sptrace + _root.sptclass) + _root.accessory[_root.acc][3];
_root.maxhealth = 50 + (_root.body * 10);
if (_root.health > _root.maxhealth) {
_root.health = _root.maxhealth;
}
_root.camframe.box.invacc.gotoAndPlay(1);
break;
case 4 :
if (_root.backpack1 > 1) {
a = _root.backpack1;
b = _root.backpack1h;
}
_root.backpack1 = _root.itemnew;
_root.backpack1h = _root.itemnewh;
if (_root.backpack1 == 1) {
_root.backpack1h = 301;
}
_root.camframe.box.invb1.gotoAndPlay(1);
break;
case 5 :
if (_root.backpack2 > 1) {
a = _root.backpack2;
b = _root.backpack2h;
}
_root.backpack2 = _root.itemnew;
_root.backpack2h = _root.itemnewh;
if (_root.backpack2 == 1) {
_root.backpack2h = 301;
}
_root.camframe.box.invb2.gotoAndPlay(1);
break;
case 6 :
if (_root.backpack3 > 1) {
a = _root.backpack3;
b = _root.backpack3h;
}
_root.backpack3 = _root.itemnew;
_root.backpack3h = _root.itemnewh;
if (_root.backpack3 == 1) {
_root.backpack3h = 301;
}
_root.camframe.box.invb3.gotoAndPlay(1);
break;
case 7 :
if (_root.backpack4 > 1) {
a = _root.backpack4;
b = _root.backpack4h;
}
_root.backpack4 = _root.itemnew;
_root.backpack4h = _root.itemnewh;
if (_root.backpack4 == 1) {
_root.backpack4h = 301;
}
_root.camframe.box.invb4.gotoAndPlay(1);
break;
case 8 :
if (_root.itemnew <= 1) {
break;
}
if (_root.itemnewh > 300) {
_root.itemnew = _root.itemnew + (_root.itemnewh - 1);
} else {
_root.itemnew = _root.itemnew + Math.ceil(_root.itemnewh / 25);
}
_root.maxitems++;
_root.attachMovie("item_drop_ani", "obj_drop_ani" + _root.maxitems, 300 + _root.maxitems);
_root["obj_drop_ani" + _root.maxitems]._x = _root.camframe._x;
_root["obj_drop_ani" + _root.maxitems]._y = 300;
_root["obj_drop_ani" + _root.maxitems]._xscale = _root.camframe.hero._xscale;
_root["obj_drop_ani" + _root.maxitems].item_symbol.gotoAndStop(_root.itemnew);
}
if (a > 1) {
if ((_root.backpack1 == 1) and (_root.backpack1h == 301)) {
_root.backpack1 = a;
_root.backpack1h = b;
if (_root.backpack1 == 1) {
_root.backpack1h = 301;
}
_root.camframe.box.invb1.gotoAndPlay(1);
} else if ((_root.backpack2 == 1) and (_root.backpack2h == 301)) {
_root.backpack2 = a;
_root.backpack2h = b;
if (_root.backpack2 == 1) {
_root.backpack2h = 301;
}
_root.camframe.box.invb2.gotoAndPlay(1);
} else if ((_root.backpack3 == 1) and (_root.backpack3h == 301)) {
_root.backpack3 = a;
_root.backpack3h = b;
if (_root.backpack3 == 1) {
_root.backpack3h = 301;
}
_root.camframe.box.invb3.gotoAndPlay(1);
} else if ((_root.backpack4 == 1) and (_root.backpack4h == 301)) {
_root.backpack4 = a;
_root.backpack4h = b;
if (_root.backpack4 == 1) {
_root.backpack4h = 301;
}
_root.camframe.box.invb4.gotoAndPlay(1);
} else {
if (b > 300) {
a = a + (b - 1);
} else {
a = a + Math.ceil(b / 25);
}
_root.maxitems++;
_root.attachMovie("item_drop_ani", "obj_drop_ani" + _root.maxitems, 300 + _root.maxitems);
_root["obj_drop_ani" + _root.maxitems]._x = _root.camframe._x;
_root["obj_drop_ani" + _root.maxitems]._y = 300;
_root["obj_drop_ani" + _root.maxitems]._xscale = _root.camframe.hero._xscale;
_root["obj_drop_ani" + _root.maxitems].item_symbol.gotoAndStop(a);
}
a = 0;
b = 0;
}
_root.camframe.hero.gotoAndStop(9);
_root.itemselect = (_root.itemnew = (_root.itemnewh = 0));
_root.camframe.box.gotoAndPlay(12);
}
}
if (Key.isDown(70) or Key.isDown(73)) {
delay2 = 5;
if (_root.itemnew > 0) {
if ((!(_root.itemnew === 1)) and (!(_rootitemnewh === 301))) {
if (_root.itemnewh > 300) {
_root.itemnew = _root.itemnew + (_root.itemnewh - 1);
} else {
_root.itemnew = _root.itemnew + Math.ceil(_root.itemnewh / 25);
}
_root.maxitems++;
_root.attachMovie("item_drop_ani", "obj_drop_ani" + _root.maxitems, 300 + _root.maxitems);
_root["obj_drop_ani" + _root.maxitems]._x = _root.camframe._x;
_root["obj_drop_ani" + _root.maxitems]._y = 300;
_root["obj_drop_ani" + _root.maxitems]._xscale = _root.camframe.hero._xscale;
_root["obj_drop_ani" + _root.maxitems].item_symbol.gotoAndStop(_root.itemnew);
}
}
_root.camframe.hero.gotoAndStop(9);
_root.itemselect = (_root.itemnew = (_root.itemnewh = 0));
_root.camframe.box.gotoAndPlay(12);
}
}
}
if (delay2 > 0) {
delay2--;
}
if (_root.itemnew < 1) {
_root.itemdescription = "";
_parent.inv_desc.gotoAndStop(1);
} else if (_root.itemnewh > 600) {
_root.itemdescription = _root.accessory[_root.itemnew][5];
_parent.inv_desc.gotoAndStop(36);
} else if (_root.itemnewh > 300) {
_root.itemdescription = _root.weapon[_root.itemnew][6];
_root.itemv1 = _root.weapon[_root.itemnew][2];
_root.itemv2 = _root.weapon[_root.itemnew][3];
_parent.inv_desc.gotoAndStop(16);
} else {
_root.itemdescription = _root.armorarray[Math.floor(_root.itemnew / 10)][4];
_root.itemv1 = _root.armorarray[Math.floor(_root.itemnew / 10)][2];
_parent.inv_desc.gotoAndStop(26);
}
}
Symbol 2696 MovieClip Frame 21
gotoAndStop (1);
Symbol 2696 MovieClip Frame 31
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 32
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 33
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 34
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 35
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 36
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 37
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 38
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 39
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 40
_root.camzoom = _root.camzoom + 0.025;
_parent._parent._y = _parent._parent._y - 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 41
_root.camzoom = 1;
_parent._parent._y = 0;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
stop();
Instance of Symbol 698 MovieClip [grapplebar] "grapplebar" in Symbol 2696 MovieClip Frame 41
onClipEvent (load) {
_root.camframe.box.healthbar._xscale = _root.maxhealth;
_root.camframe.box.armorbar._xscale = _root.armorhmax;
var monscale = (50 + (_root.BGA[0][1] * 10));
if (_root.BGA[0][4] > monscale) {
monscale = _root.BGA[0][4];
}
_parent.monsterhealthbar._xscale = monscale;
if (_root.camframe.hero._currentframe > 99) {
var monscale2 = (50 + (_root.BGA[1][1] * 10));
if (_root.BGA[1][4] > monscale2) {
monscale2 = _root.BGA[1][4];
}
_parent.monsterhealthbar2._xscale = monscale2;
} else {
unloadMovie (_parent.monsterhealthbar2);
}
var arrowread = ((keyread = (escattempt = 0)));
eschero._x = -400;
escbg._x = 400;
gbarmark._alpha = 100;
}
onClipEvent (keyDown) {
keyread = Key.getCode();
if (keyread == 83) {
if (_root.gbararrowcheck > -3) {
_root.health--;
_root.escherovar = _root.escherovar + ((_root.body + _root.spirit) / 2);
}
} else if (_root.gbararrowcheck > 0) {
arrowread = getProperty(_root["arrow" + _root.gbararrowcheck], _rotation);
switch (keyread) {
case 37 :
if (arrowread == 180) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 81 :
if (arrowread == 180) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 38 :
if (arrowread == -90) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 82 :
if (arrowread == -90) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 39 :
if (arrowread == 0) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 69 :
if (arrowread == 0) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 40 :
if (arrowread == 90) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
break;
case 87 :
if (arrowread == 90) {
_root["arrow" + _root.gbararrowcheck].gotoAndPlay(2);
_root.gbararrowcheck--;
} else {
_root.grapple = _root.grapple - 2;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.escherovar > 0) {
_root.escherovar = _root.escherovar - 0.25;
eschero._x = -400 + (_root.escherovar * 4);
}
if (_root.escbgvar < 0) {
_root.escbgvar = _root.escbgvar + 0.25;
escbg._x = 400 + (_root.escbgvar * 4);
}
if (_root.gbararrowcheck > -3) {
gbarmark._x = -4 * _root.grapple;
} else {
gbarmark._alpha = 0;
}
_parent.monsterhealthbar.monsterhealthbarblock._xscale = (100 * (monscale - _root.BGA[0][4])) / monscale;
if (_root.camframe.hero._currentframe > 99) {
_parent.monsterhealthbar2.monsterhealthbarblock._xscale = (100 * (monscale2 - _root.BGA[1][4])) / monscale2;
}
if (_root.gbararrowcheck == 0) {
_root.gbararrowcheck = -2;
_root.grapple = _root.grapple + ((5 + _root.body) + _root.spirit);
cleararrows = setInterval(function () {
var _local2 = 0;
_local2 = 1;
while (_local2 < 10) {
_root["arrow" + _local2].unloadMovie();
_local2++;
}
if (_root.held >= 100) {
_root.gbararrowcheck = _root.gbararrowcheck + 0.5;
} else {
_root.gbararrowcheck = -3;
}
clearInterval(cleararrows);
}, 500);
}
}
Symbol 2696 MovieClip Frame 42
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 43
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 44
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 45
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 46
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 47
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 48
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 49
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 50
_root.camzoom = _root.camzoom - 0.025;
_parent._parent._y = _parent._parent._y + 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
Symbol 2696 MovieClip Frame 51
_root.camzoom = 0.75;
_parent._parent._y = 100;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
gotoAndStop (1);
Instance of Symbol 2560 MovieClip "armorbar" in Symbol 2696 MovieClip Frame 51
/* no clip actions */
Instance of Symbol 2567 MovieClip "healthbar" in Symbol 2696 MovieClip Frame 51
/* no clip actions */
Symbol 2696 MovieClip Frame 61
var xshift = ((_root.xfinish - _root.xstart) / 50);
if ((xshift > 0) and (xshift < 10)) {
xshift = 10;
}
if ((xshift < 0) and (xshift > -10)) {
xshift = -10;
}
boxslide = setInterval(function () {
_root.camframe._x = _root.camframe._x + xshift;
_root.camframe.hero._x = _root.camframe.hero._x - xshift;
if (xshift > 0) {
if (_root.camframe._x >= _root.xfinish) {
clearInterval(boxslide);
}
} else if (_root.camframe._x <= _root.xfinish) {
clearInterval(boxslide);
}
}, 25);
Symbol 2696 MovieClip Frame 101
if (_root.held == 910) {
stop();
} else if (_root.held < 990) {
_root.held++;
gotoAndPlay (81);
}
Instance of Symbol 2695 MovieClip in Symbol 2696 MovieClip Frame 101
onClipEvent (enterFrame) {
if ((_root.held == 910) and Key.isDown(65)) {
clearInterval(_parent.boxslide);
_parent.play();
}
}
Symbol 2696 MovieClip Frame 102
xshift = (_root.xstart - _root.xfinish) / 10;
if ((xshift > 0) and (xshift < 10)) {
xshift = 10;
}
if ((xshift < 0) and (xshift > -10)) {
xshift = -10;
}
boxslide2 = setInterval(function () {
_root.camframe._x = _root.camframe._x + xshift;
_root.camframe.hero._x = _root.camframe.hero._x - xshift;
if (xshift > 0) {
if (_root.camframe._x >= _root.xstart) {
_root.camframe._x = _root.xstart;
_root.camframe.hero._x = 0;
clearInterval(boxslide2);
}
} else if (_root.camframe._x <= _root.xstart) {
_root.camframe._x = _root.xstart;
_root.camframe.hero._x = 0;
clearInterval(boxslide2);
}
}, 25);
Symbol 2696 MovieClip Frame 121
_root.held = 0;
gotoAndPlay (1);
Symbol 2701 MovieClip Frame 1
this._alpha = 10;
if (_root.player > 20) {
gotoAndPlay (21);
} else if (_root.player > 10) {
gotoAndPlay (11);
}
Symbol 2701 MovieClip Frame 3
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
}
gotoAndPlay (2);
Symbol 2701 MovieClip Frame 13
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
}
gotoAndPlay (12);
Symbol 2701 MovieClip Frame 23
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
}
gotoAndPlay (22);
Symbol 2706 MovieClip Frame 1
if (_root.player > 20) {
gotoAndStop (21);
} else if (_root.player > 10) {
gotoAndStop (11);
}
stop();
Symbol 2707 Button
on (release) {
var i = ((j = 0));
i = 50;
while (i >= 0) {
_root["bg" + i].removeMovieClip();
_root["bghb" + i].removeMovieClip();
_root.BGA.splice([i][0], 1);
i--;
}
j = _root.maxitems;
while (j > 0) {
_root["obj" + j].removeMovieClip();
j--;
}
_root.doorleft.removeMovieClip();
_root.doorright.removeMovieClip();
_root.doorrightgo = (_root.doorrightgox = (_root.doorleftgo = (_root.doorleftgox = 0)));
_root.gotoAndPlay(2);
_parent._parent._x = 0;
_parent._parent._y = 0;
_parent._parent._xscale = 100;
_parent._parent._yscale = 100;
_root.camframe.removeMovieClip();
}
Symbol 2715 MovieClip Frame 1
if (_root.player > 20) {
gotoAndPlay (21);
} else if (_root.player > 10) {
gotoAndPlay (11);
}
stop();
Symbol 2725 MovieClip Frame 1
if (_root.player > 20) {
gotoAndStop (21);
} else if (_root.player > 10) {
gotoAndStop (11);
}
stop();
Symbol 2726 Button
on (release) {
_root.health = _root.maxhealth;
_root.poisonlevel = 0;
_root.camframe.box.healthbar.gotoAndPlay(1);
if (_root.armor < 10) {
var a = (_root.player % 10);
if (a == 1) {
_root.armor = 11;
_root.armorhmax = 100;
}
if (a == 2) {
_root.armor = 31;
_root.armorhmax = 100;
}
if (a == 3) {
_root.armor = 21;
_root.armorhmax = 150;
}
}
_root.armorh = _root.armorhmax;
_root.camframe.box.invarm.gotoAndPlay(1);
if (_root.held == 1001) {
_root[_root.BGA[0][5]]._x = _root[_root.BGA[0][5]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][5]]._y = 575;
_root[_root.BGA[0][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[0][6]]._x = _root[_root.BGA[0][6]]._x + (2 * _root.camframe.hero._xscale);
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
}
_root.held = 49;
_root.continues--;
_root.camframe.hero.gotoAndStop(6);
this.gotoAndStop(1);
}
Symbol 2727 MovieClip Frame 1
stop();
Symbol 2727 MovieClip Frame 42
if (_root.continues > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
Instance of Symbol 2504 MovieClip "hero" in Symbol 2728 MovieClip Frame 1
onClipEvent (load) {
var runcheck = 0;
runspeed = 1;
var a = ((b = (i = (j = (k = 0)))));
var hityes = false;
var bg = ((bghb = (damage = (dr = 0))));
var hitsound = new Sound();
var hitsound2 = new Sound();
var hitsound3 = new Sound();
var hitsound4 = new Sound();
this._x = 0;
this._y = 50;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
Stage.scaleMode = oldMode;
_parent._parent._x = 400 - (_root.camframe._x * _root.camzoom);
_parent._parent._y = 100;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
_root.attachMovie("heightbox", "topbox2", 1000);
_root.camframe.swapDepths(_root.topbox2);
_root.topbox2.unloadMovie();
_root.attachMovie("heightbox", "topbox3", 1900);
_root.box3.swapDepths(_root.topbox3);
_root.topbox3.unloadMovie();
_root.attachMovie("heightbox", "topbox4", 2000);
_root.fadeout.swapDepths(_root.topbox4);
_root.topbox4.unloadMovie();
if (_root.fadeout._currentframe < 10) {
_root.fadeout.gotoAndStop(21);
}
}
onClipEvent (enterFrame) {
_parent._parent._x = 400 - (_root.camframe._x * _root.camzoom);
if (_root.health < 0) {
_root.health = 0;
}
_root.camframe.box.healthbar.healthbarblock._xscale = (100 * (_root.maxhealth - _root.health)) / _root.maxhealth;
_root.camframe.box.armorbar.armorbarblock._xscale = (100 * (_root.armorhmax - _root.armorh)) / _root.armorhmax;
if (_root.poisonlevel > 0) {
_root.poisonlevel = _root.poisonlevel - (_root.body * 0.02);
_root.camframe.box.healthbar.poisonbar._y = 17 - Math.round(_root.poisonlevel / 6);
if (_root.poisonlevel <= 0) {
_root.poisonlevel = 0;
_root.camframe.box.healthbar.gotoAndPlay(1);
} else if (_root.poisonlevel > 200) {
_root.held = 90;
} else if (_root.poisonlevel > 100) {
if (_root.held == 90) {
_root.held = 0;
}
_root.health = _root.health - (Math.ceil(_root.poisonlevel / 100) * 0.01);
}
}
if (_root.held < 100) {
if (_root.health <= 0) {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
} else {
if (_root.health < _root.maxhealth) {
if (_root.poisonlevel == 0) {
_root.health = _root.health + (_root.spirit * 0.01);
if (_root.acc == 4) {
_root.health = _root.health + _root.accessory[4][4];
}
}
}
if (_root.armor == 71) {
if (_root.armorh < _root.armorhmax) {
_root.armorh + 0.05;
}
}
}
}
if (_root.held < 99) {
if (_root.gunhmax > 0) {
_root.camframe.box.gunbar.gunbarblock._xscale = (100 * (_root.gunhmax - _root.gunh)) / _root.gunhmax;
}
if (_root.held <= 40) {
if (Key.isDown(83)) {
if (_root.health > 10) {
_root.held = 50;
_root.health = _root.health - 10;
this.gotoAndStop(21 + (Math.floor((_root.wpn - 1) / 10) * 2));
}
}
}
if (_root.held <= 30) {
if (Key.isDown(68)) {
this.gotoAndStop(41);
_root.held = 41;
}
}
if (_root.held == 0) {
if (Key.isDown(65)) {
_root.held = 9;
this.gotoAndStop(11 + Math.floor((_root.wpn - 1) / 10));
}
}
if (_root.held <= 2) {
if (Key.isDown(37) or Key.isDown(81)) {
if (_root.held > 0) {
runcheck = 1;
runspeed = 0.5;
_root.held = 2;
} else if ((runcheck > 1) and (runcheck < 4)) {
if (_root.poisonlevel == 0) {
runcheck = 3;
runspeed = 2.5;
}
} else {
runcheck = 5;
runspeed = 1;
}
if (this._xscale == 100) {
this._xscale = -100;
runcheck = 5;
runspeed = 1;
}
this.gotoAndStop(3 + Math.floor(runspeed));
if (!_root.camframe.hero.movebox.hitTest(_root.leftwall)) {
if (_root.poisonlevel < 200) {
if (_root.poisonlevel < 100) {
_root.camframe._x = _root.camframe._x - (10 * runspeed);
} else {
_root.camframe._x = _root.camframe._x - (5 * runspeed);
}
}
}
} else if (Key.isDown(39) or Key.isDown(69)) {
if (_root.held > 0) {
runcheck = 1;
runspeed = 0.5;
_root.held = 2;
} else if ((runcheck > 1) and (runcheck < 4)) {
if (_root.poisonlevel == 0) {
runcheck = 3;
runspeed = 2.5;
}
} else {
runcheck = 5;
runspeed = 1;
}
if (this._xscale == -100) {
this._xscale = 100;
runcheck = 5;
runspeed = 1;
}
this.gotoAndStop(3 + Math.floor(runspeed));
if (!_root.camframe.hero.movebox.hitTest(_root.rightwall)) {
if (_root.poisonlevel < 200) {
if (_root.poisonlevel < 100) {
_root.camframe._x = _root.camframe._x + (10 * runspeed);
} else {
_root.camframe._x = _root.camframe._x + (5 * runspeed);
}
}
}
} else if (Key.isDown(40) or Key.isDown(87)) {
if (_root.held <= 1) {
_root.held = 1;
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
if (_root.held <= 2) {
_root.held = 0;
}
}
}
if (runcheck > 0) {
runcheck--;
}
if (_root.doorrightgo > 0) {
if (_root.camframe.hero.movebox.hitTest(_root.doorright)) {
_root.held = 900;
_root.gohere = _root.doorrightgo;
_root.gox = _root.doorrightgox;
_root.fadeout.gotoAndPlay(1);
}
}
if (_root.doorleftgo > 0) {
if (_root.camframe.hero.movebox.hitTest(_root.doorleft)) {
_root.held = 900;
_root.gohere = _root.doorleftgo;
_root.gox = _root.doorleftgox;
_root.fadeout.gotoAndPlay(1);
}
}
if (_root.held == 0) {
k = _root.maxitems;
while (k > 0) {
if (_root.camframe.hero.chesthitbox.hitTest(_root["obj" + k].objecthitbox)) {
_root["obj" + k]._xscale = 110;
_root["obj" + k]._yscale = 110;
if (Key.isDown(32) and (_root.held == 0)) {
_root.held = 900;
this.gotoAndStop(1);
_root["obj" + k].gotoAndStop(2);
_root.box3.gotoAndPlay(2);
_root.box3._x = _root.camframe._x;
_root.activeobject = k;
}
} else {
_root["obj" + k]._xscale = 100;
_root["obj" + k]._yscale = 100;
_root["obj" + k].gotoAndStop(1);
}
k--;
}
}
if (_root.held == 0) {
if (_root.camframe.box._currentframe == 1) {
if (Key.isDown(73)) {
_root.held = 901;
this.gotoAndStop(1);
_root.itemselect = 4;
_root.camframe.box.gotoAndPlay(2);
}
}
}
}
if (_root.held < 500) {
j = _root.proj.length - 1;
while (j >= 0) {
_root[_root.proj[j][1]]._x = _root[_root.proj[j][1]]._x + _root.proj[j][3];
_root.proj[j][4] = _root.proj[j][4] - 5;
if (_root.proj[j][3] > 0) {
_root[_root.proj[j][1]]._xscale = _root.proj[j][4];
} else {
_root[_root.proj[j][1]]._xscale = -1 * _root.proj[j][4];
}
_root[_root.proj[j][1]]._yscale = _root.proj[j][4];
if (Math.abs(_root.proj[j][4]) < 50) {
unloadMovie (_root[_root.proj[j][1]]);
_root.proj.splice([j][0], 1);
}
j--;
}
j = _root.monatt.length - 1;
while (j >= 0) {
_root.monatt[j][4] = _root.monatt[j][4] - 5;
if (Math.abs(_root.monatt[j][4]) > 60) {
if (_root.camframe.hero.chesthitbox.hitTest(_root[_root.monatt[j][1]])) {
_root.held = 100;
_root.monatt.unshift([_root.monatt[j][0], _root.monatt[j][1], _root.monatt[j][2], _root.monatt[j][3], _root.monatt[j][4]]);
_root.monatt.splice([j + 1][0], 1);
this.gotoAndStop(50);
}
} else if (Math.abs(_root.monatt[j][4]) < 50) {
unloadMovie (_root[_root.monatt[j][1]]);
_root.monatt.splice([j][0], 1);
}
j--;
}
i = _root.BGA.length - 1;
while (i >= 0) {
bg = _root.BGA[i][5];
bghb = _root.BGA[i][6];
dr = _root.BGA[i][8] - _root.weapon[_root.wpn][5];
if (dr < 0) {
dr = 0;
}
j = _root.proj.length - 1;
while (j >= 0) {
if (_root[bg].bghitbox.hitTest(_root[_root.proj[j][1]])) {
damage = _root.spirit + _root.wpndmgmag;
if (damage > dr) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + damage;
} else {
_root.BGA[i][7] = damage;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
_root.proj[j][4] = 25;
}
}
j--;
}
if (!(this._xscale === _root[bg]._xscale)) {
switch (_root.held) {
case 10 :
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.wpnhitbox)) {
damage = (_root.body + _root.wpndmgphy) - dr;
if (damage > 0) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + damage;
} else {
_root.BGA[i][7] = damage;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
hitsound.attachSound("hit1");
hitsound.start(0, 1);
}
}
break;
case 15 :
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.bfisthitbox)) {
damage = (_root.body + 2) - dr;
if (damage > 0) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + damage;
} else {
_root.BGA[i][7] = damage;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
hitsound.attachSound("hit1");
hitsound.start(0, 1);
}
}
break;
case 20 :
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.foothitbox)) {
damage = (_root.body + 3) - dr;
if (damage > 0) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + (damage * 2);
} else {
_root.BGA[i][7] = damage * 2;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
hitsound.attachSound("hit1");
hitsound.start(0, 1);
}
}
break;
case 25 :
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.wpnhitbox)) {
damage = ((_root.body + _root.spirit) + _root.wpndmgphy) - dr;
if (damage > 0) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + (damage * 2);
} else {
_root.BGA[i][7] = damage * 2;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
hitsound.attachSound("hit1");
hitsound.start(0, 1);
}
}
break;
case 40 :
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattacksex.bfisthitbox)) {
_root.held = 100;
if (i > 0) {
_root.BGA.unshift([_root.BGA[i][0], _root.BGA[i][1], _root.BGA[i][2], _root.BGA[i][3], _root.BGA[i][4], _root.BGA[i][5], _root.BGA[i][6], _root.BGA[i][7], _root.BGA[i][8], _root.BGA[i][9], _root.BGA[i][10]]);
_root.BGA.splice([i + 1][0], 1);
}
if (_root[bg]._x > _root.camframe._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (_root.BGA[i][0] < 11) {
this.gotoAndStop(51);
} else {
this.gotoAndStop(41 + _root.BGA[0][0]);
_root[bg]._y = _root[bg]._y + 2000;
_root[bghb]._y = _root[bghb]._y + 2000;
_root.grapple = 25 + ((_root.health - _root.BGA[0][4]) * 0.25);
_root.gcontrol = 1;
_root.camframe.box.gotoAndPlay(31);
}
}
break;
case 55 :
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.wpnhitbox)) {
damage = (_root.body + _root.wpndmgphy) - dr;
if (damage > 0) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + damage;
} else {
_root.BGA[i][7] = damage;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
}
}
break;
case 60 :
if (!_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.wpnhitbox)) {
break;
}
damage = ((_root.body + _root.spirit) + _root.wpndmgphy) - dr;
if (damage > 0) {
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + damage;
} else {
_root.BGA[i][7] = damage;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
}
hityes = true;
}
}
if (_root.held == 50) {
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.splashhitbox)) {
damage = _root.spirit - dr;
if (damage < 0) {
damage = 1;
}
_root.BGA[i][4] = _root.BGA[i][4] - damage;
if (_root.BGA[i][7] < 100) {
_root.BGA[i][7] = _root.BGA[i][7] + 10;
} else {
_root.BGA[i][7] = 10;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
}
}
if (_root.BGA[i][7] == 0) {
if (Math.abs(_root[bg]._x - _root.camframe._x) > 150) {
_root[bg].gotoAndStop(6);
if (_root[bg]._x < _root.camframe._x) {
_root[bg]._x = _root[bg]._x + _root.BGA[i][3];
_root[bg]._xscale = 100;
_root[bghb]._x = _root[bghb]._x + _root.BGA[i][3];
} else {
_root[bg]._x = _root[bg]._x - _root.BGA[i][3];
_root[bg]._xscale = -100;
_root[bghb]._x = _root[bghb]._x - _root.BGA[i][3];
}
} else {
_root[bg].gotoAndStop(1);
}
if (_root.held == 100) {
if (Math.abs(_root.BGA[0][0] - _root.BGA[i][0]) <= 1) {
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.doublehitbox)) {
_root.held = 110;
clearInterval(_root.camframe.box.grapplebar.cleararrows);
_root.gbararrowcheck = -2;
j = 1;
while (j < 10) {
_root["arrow" + j].unloadMovie();
j++;
}
if (i > 1) {
_root.BGA.splice([1][0], 0, [_root.BGA[i][0], _root.BGA[i][1], _root.BGA[i][2], _root.BGA[i][3], _root.BGA[i][4], _root.BGA[i][5], _root.BGA[i][6], _root.BGA[i][7], _root.BGA[i][8], _root.BGA[i][9], _root.BGA[i][10]]);
_root.BGA.splice([i + 1][0], 1);
}
this.gotoAndStop((68 + _root.BGA[0][0]) + _root.BGA[1][0]);
_root[bg]._y = _root[bg]._y + 2000;
_root[bghb]._y = _root[bghb]._y + 2000;
_root.grapple = _root.grapple - (0.25 * _root.BGA[i][4]);
_root.camframe.box.gotoAndPlay(40);
}
}
}
if (_root.held < 99) {
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.chesthitbox)) {
_root.held = 100;
if (i > 0) {
_root.BGA.unshift([_root.BGA[i][0], _root.BGA[i][1], _root.BGA[i][2], _root.BGA[i][3], _root.BGA[i][4], _root.BGA[i][5], _root.BGA[i][6], _root.BGA[i][7], _root.BGA[i][8], _root.BGA[i][9], _root.BGA[i][10]]);
_root.BGA.splice([i + 1][0], 1);
}
if (_root[bg]._x > _root.camframe._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (_root.BGA[i][0] < 11) {
this.gotoAndStop(51);
} else {
this.gotoAndStop(41 + _root.BGA[0][0]);
_root[bg]._y = _root[bg]._y + 2000;
_root[bghb]._y = _root[bghb]._y + 2000;
_root.grapple = -25 + ((_root.health - _root.BGA[0][4]) * 0.25);
_root.gcontrol = -1;
_root.camframe.box.gotoAndPlay(31);
}
} else if (Math.random() > _root.BGA[i][9]) {
_root.BGA[i][7] = _root.BGA[i][10];
_root[bg].gotoAndStop(11);
}
}
} else if (_root.BGA[i][7] >= 100) {
_root.BGA[i][7]++;
if (_root.BGA[i][7] >= 1000) {
_root.BGA[i][7] = 0;
}
} else if (_root.BGA[i][7] >= 10) {
if (_root.BGA[i][0] > 15) {
_root[bg]._x = _root[bg]._x - _root[bg]._xscale;
_root[bghb]._x = _root[bghb]._x - _root[bg]._xscale;
}
_root.BGA[i][7] = _root.BGA[i][7] - 10;
_root[bg].gotoAndStop(16);
} else {
if (_root.BGA[i][0] > 15) {
_root[bg]._x = _root[bg]._x - ((0.05 * _root.BGA[i][7]) * _root[bg]._xscale);
_root[bghb]._x = _root[bghb]._x - ((0.05 * _root.BGA[i][7]) * _root[bg]._xscale);
}
_root.BGA[i][7] = 0;
_root[bg].gotoAndStop(16);
}
if (_root.held < 99) {
if (_root.BGA[i][4] <= 0) {
if (_root.BGA[i][1] > 0) {
_root[bg].gotoAndStop(21);
} else {
_root[bg].gotoAndStop(22);
}
unloadMovie (_root[bghb]);
_root.BGA.splice([i][0], 1);
}
}
i--;
}
if (hityes == true) {
_root.held--;
hityes = false;
}
}
if (_root.held == 900) {
if (Key.isDown(65)) {
if (_root.box3.choicebox.choicebuttonA._currentframe < 6) {
_root["obj" + _root.activeobject].gotoAndPlay(51);
_root.box3.gotoAndPlay(12);
}
}
if (Key.isDown(83)) {
if (_root.box3.choicebox.choicebuttonS._currentframe < 6) {
_root["obj" + _root.activeobject].gotoAndPlay(101);
_root.box3.gotoAndPlay(12);
}
}
if (Key.isDown(68)) {
if (_root.box3.choicebox.choicebuttonD._currentframe < 6) {
_root["obj" + _root.activeobject].gotoAndPlay(151);
_root.box3.gotoAndPlay(12);
}
}
if (Key.isDown(70)) {
_root.held = 0;
_root.box3.gotoAndPlay(12);
}
}
}
Symbol 2733 MovieClip Frame 1
this._x = _root.camframe._x;
var facing = _root.camframe.hero._xscale;
Symbol 2733 MovieClip Frame 9
var i = ((j = 0));
i = 50;
while (i >= 0) {
_root["bg" + i].removeMovieClip();
_root["bghb" + i].removeMovieClip();
_root.BGA.splice([i][0], 1);
i--;
}
j = _root.maxitems;
while (j > 0) {
_root["obj" + j].removeMovieClip();
j--;
}
_root.doorleft.removeMovieClip();
_root.doorright.removeMovieClip();
_root.doorrightgo = (_root.doorrightgox = (_root.doorleftgo = (_root.doorleftgox = 0)));
_root.ss.removeMovieClip();
Symbol 2733 MovieClip Frame 13
_root.gotoAndStop(_root.gohere);
this._x = (_root.camframe._x = _root.gox);
_root.camframe.hero._xscale = facing;
_root.held = 0;
Symbol 2733 MovieClip Frame 21
stop();
Symbol 2740 MovieClip Frame 21
stop();
Symbol 2745 MovieClip Frame 21
stop();
Symbol 2750 MovieClip Frame 21
stop();
Symbol 2755 MovieClip Frame 21
stop();
Symbol 2757 MovieClip Frame 1
stop();
Symbol 2757 MovieClip Frame 11
stop();
Symbol 2781 MovieClip Frame 1
if (_root._currentframe > 39) {
gotoAndStop (21);
} else if (_root._currentframe > 29) {
gotoAndStop (11);
}
stop();
Symbol 2812 MovieClip Frame 1
if (_root._currentframe > 39) {
gotoAndStop (21);
} else if (_root._currentframe > 29) {
gotoAndStop (11);
}
stop();
Symbol 2821 MovieClip Frame 1
stop();
Symbol 2821 MovieClip Frame 2
_root.box3.gotoAndStop(1);
gotoAndPlay (51);
Symbol 2821 MovieClip Frame 80
_root.gohere = 20;
_root.gox = 3000;
_root.held = 0;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2827 MovieClip Frame 1
stop();
Symbol 2827 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 2827 MovieClip Frame 20
_root.gohere = 24;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2832 MovieClip Frame 1
stop();
Symbol 2832 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 2832 MovieClip Frame 20
_root.gohere = 25;
_root.gox = -2200;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2834 MovieClip Frame 2
stop();
Symbol 2853 MovieClip Frame 1
stop();
Symbol 2853 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 2853 MovieClip Frame 20
_root.gohere = 22;
if (_root._currentframe == 24) {
_root.gox = -1250;
} else {
_root.gox = 2100;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2859 MovieClip Frame 1
stop();
Symbol 2859 MovieClip Frame 2
_root.choicetext = "A sink. You could wash your face here if you wanted.";
_root.choiceA = "Wash up";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2859 MovieClip Frame 65
if (_root.cumface < 5) {
_root.cumface = 5;
_root.camframe.hero.gotoAndPlay(8);
}
_root.held = 0;
gotoAndPlay ("Use");
Symbol 2865 MovieClip Frame 1
stop();
Symbol 2865 MovieClip Frame 2
_root.choicetext = "A shower. You could fully clean yourself here, but it would take a little while.";
if (_root.BGA.length == 0) {
_root.choiceA = "Wash up";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = "(Cancel) You really need to secure this room first!";
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
}
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2865 MovieClip Frame 65
if ((_root.cumface < 5) or (_root.cumchest < 5)) {
_root.cumface = 5;
_root.cumchest = 5;
_root.camframe.hero.gotoAndPlay(8);
}
_root.held = 0;
gotoAndPlay ("Use");
Symbol 2869 MovieClip Frame 1
stop();
Symbol 2869 MovieClip Frame 2
_root.choicetext = "A toilet stall. The door is currently closed.";
_root.choiceA = "Open Door";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2869 MovieClip Frame 55
_root.held = 0;
stop();
Symbol 2883 MovieClip Frame 1
if (_root._currentframe > 39) {
gotoAndStop (21);
} else if (_root._currentframe > 29) {
gotoAndStop (11);
}
stop();
Symbol 2888 MovieClip Frame 1
if (_root._currentframe > 39) {
gotoAndStop (21);
} else if (_root._currentframe > 29) {
gotoAndStop (11);
}
stop();
Symbol 2890 MovieClip Frame 1
stop();
Symbol 2890 MovieClip Frame 2
if (_root.quest_shippower >= 7) {
_root.box3.gotoAndStop(1);
gotoAndPlay (51);
} else {
_root.choicetext = "This door leads to the bridge. It doesn't appear locked, but with the power out, there doesn't appear to be an easy way to open it either.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "(Body Check) Try to Force Door";
if (_root.body >= 5) {
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
Symbol 2890 MovieClip Frame 81
_root.gohere = 32;
_root.gox = 0;
_root.fadeout.gotoAndPlay(1);
_root.held = 0;
stop();
Symbol 2890 MovieClip Frame 131
_root.gohere = 32;
_root.gox = 0;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2892 MovieClip Frame 1
stop();
Symbol 2892 MovieClip Frame 2
if (_root.quest_shippower >= 7) {
_root.box3.gotoAndStop(1);
gotoAndPlay (51);
} else {
_root.choicetext = "This door should lead to the crew quarters. With the power out, you'll have to force it open if you want to get through.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "(Body Check) Try to Force Door";
if (_root.body >= 7) {
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
Symbol 2892 MovieClip Frame 51
if (_root.quest_shippower < 7) {
gotoAndPlay (91);
}
Symbol 2892 MovieClip Frame 81
_root.gohere = 34;
_root.gox = -2000;
_root.fadeout.gotoAndPlay(1);
_root.held = 0;
stop();
Symbol 2892 MovieClip Frame 131
_root.gohere = 34;
_root.gox = -2000;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2942 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2946 MovieClip Frame 1
gotoAndStop(_root.player);
Symbol 2958 MovieClip Frame 1
if (_root.quest_getmedkit == 3) {
gotoAndStop (6);
}
stop();
Symbol 2966 MovieClip Frame 1
_root.camframe.hero.gotoAndStop(1);
Symbol 2990 MovieClip Frame 1
if (_root.quest_getmedkit == 0) {
_root.held = 910;
_root.xstart = 0;
_root.xfinish = -1000;
_root.xsprite = obj1;
_root.camframe.box.gotoAndPlay(61);
this.gotoAndStop(201);
_root.quest_getmedkit = 1;
} else {
stop();
}
Symbol 2990 MovieClip Frame 2
if (_root.quest_getmedkit == 3) {
gotoAndStop (21);
} else {
if (_root.acc == 4) {
gotoAndStop (11);
}
if ((_root.backpack1 == 4) and (_root.backpack1h == 601)) {
gotoAndStop (11);
}
if ((_root.backpack2 == 4) and (_root.backpack2h == 601)) {
gotoAndStop (11);
}
if ((_root.backpack3 == 4) and (_root.backpack3h == 601)) {
gotoAndStop (11);
}
if ((_root.backpack4 == 4) and (_root.backpack4h == 601)) {
gotoAndStop (11);
}
}
_root.choicetext = "The captain appears to be unconcious & badly hurt. The first mate is hoping you have a medkit, or can find one.";
_root.choiceA = "(say): Ok, I'll try & find a medkit for you.";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
if (_root.quest_armdoor == 1) {
_root.choiceS = "(body / say): Do you know the passcode to the Armory door?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
if (_root.spirit > 3) {
_root.choiceD = "(spirit / say): Uhm... Why is she drenched?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "(spirit / say): Uhm... Why is she drenched?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2990 MovieClip Frame 11
_root.choicetext = "Let the first officer use your medkit? (Yes, you get it back).";
_root.choiceA = "Hand it to him.";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
if (_root.quest_armdoor == 1) {
_root.choiceS = "(body / say): Do you know the passcode to the Armory door?";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2990 MovieClip Frame 21
if (_root.quest_zombiecount >= 0) {
if (!(_root.acc === 3)) {
gotoAndStop (31);
}
if ((!(_root.backpack1 === 3)) and (!(_root.backpack1h === 601))) {
gotoAndStop (31);
}
if ((!(_root.backpack2 === 3)) and (!(_root.backpack2h === 601))) {
gotoAndStop (31);
}
if ((!(_root.backpack3 === 4)) and (!(_root.backpack3h === 601))) {
gotoAndStop (31);
}
if ((!(_root.backpack4 === 4)) and (!(_root.backpack4h === 601))) {
gotoAndStop (31);
}
}
_root.choicetext = "The captain looks much better now, thanks to you.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2990 MovieClip Frame 31
if (_root.quest_zombiecount == 0) {
gotoAndStop (36);
}
_root.choicetext = "According to the first officer, bringing a deranged crew member to orgasm should restore them to normal. He'd like you to save all the crew members in the Crew quarters.";
_root.choiceA = "(Say): I'll see what I can do.";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "(Say): No thanks, I'll pass.";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2990 MovieClip Frame 36
_root.choicetext = "The first officer is offering you a small necklace as a reward.";
_root.choiceA = "(Accept)";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 2990 MovieClip Frame 51
if (_root.quest_getmedkit == 3) {
gotoAndPlay (71);
}
if (_root.quest_getmedkit == 2) {
gotoAndPlay (61);
}
Symbol 2990 MovieClip Frame 55
_root.held = 0;
stop();
Symbol 2990 MovieClip Frame 65
_root.quest_getmedkit = 3;
_root.quest_armdoor = 2;
this.captain.eye.gotoAndStop(6);
_root.held = 0;
stop();
Symbol 2990 MovieClip Frame 71
if (_root.quest_zombiecount == 0) {
gotoAndPlay (76);
}
Symbol 2990 MovieClip Frame 75
_root.held = 0;
stop();
Symbol 2990 MovieClip Frame 80
_root.quest_zombiecount = -1;
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 3;
_root.itemnewh = 601;
stop();
Symbol 2990 MovieClip Frame 101
if (_root.quest_getmedkit == 3) {
gotoAndPlay (111);
}
Symbol 2990 MovieClip Frame 105
_root.held = 0;
stop();
Symbol 2990 MovieClip Frame 115
_root.held = 0;
stop();
Symbol 2990 MovieClip Frame 155
_root.held = 0;
stop();
Symbol 2990 MovieClip Frame 201
Symbol 2996 MovieClip Frame 1
stop();
Symbol 2996 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 2996 MovieClip Frame 30
if (_root.camframe._x > 1000) {
_root.gohere = 37;
_root.xstart = (_root.gox = _root.camframe._x - 4000);
} else {
_root.gohere = 36;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2997 MovieClip Frame 1
stop();
Symbol 2997 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 2997 MovieClip Frame 30
_root.gohere = 38;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 2998 MovieClip Frame 1
stop();
Symbol 2998 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 2998 MovieClip Frame 30
_root.gohere = 39;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 3008 MovieClip Frame 1
stop();
Symbol 3008 MovieClip Frame 2
if (_root.wpn == 41) {
gotoAndStop (21);
}
if ((_root.backpack1 == 41) and (_root.backpack1h == 301)) {
gotoAndStop (21);
}
if ((_root.backpack2 == 41) and (_root.backpack2h == 301)) {
gotoAndStop (21);
}
if ((_root.backpack3 == 41) and (_root.backpack3h == 301)) {
gotoAndStop (21);
}
if ((_root.backpack4 == 41) and (_root.backpack4h == 301)) {
gotoAndStop (21);
}
stop();
_root.choicetext = "Janitor's Closet. Nothing here but cleaning supplies.";
_root.choiceA = "Look for something to put out the fire.";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "(Spirit Check) Search for Magical Auras.";
if ((!((_root.player % 10) === 3)) and ((_root.spirit > 5) or (_root.acc == 2))) {
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3008 MovieClip Frame 21
_root.choicetext = "Janitor's Closet. Nothing here but cleaning supplies.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3008 MovieClip Frame 55
_root.held = 0;
stop();
Symbol 3008 MovieClip Frame 156
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 41;
_root.itemnewh = 301;
stop();
Symbol 3011 MovieClip Frame 1
stop();
Symbol 3011 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 3011 MovieClip Frame 30
_root.gohere = 34;
if (_root._currentframe == 37) {
_root.gox = _root.camframe._x + 4000;
} else {
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 3012 MovieClip Frame 1
if ((_root.quest_shippower % 8) > 3) {
gotoAndStop (21);
}
if (_root.acc == 5) {
gotoAndStop (21);
}
if ((_root.backpack1 == 5) and (_root.backpack1h == 601)) {
gotoAndStop (21);
}
if ((_root.backpack2 == 5) and (_root.backpack2h == 601)) {
gotoAndStop (21);
}
if ((_root.backpack3 == 5) and (_root.backpack3h == 601)) {
gotoAndStop (21);
}
if ((_root.backpack4 == 5) and (_root.backpack4h == 601)) {
gotoAndStop (21);
}
stop();
Symbol 3012 MovieClip Frame 2
if (_root.quest_shippower >= 7) {
gotoAndStop (11);
}
if ((_root.quest_shippower % 8) > 3) {
gotoAndStop (21);
}
if (_root.acc == 5) {
gotoAndStop (21);
}
if ((_root.backpack1 == 5) and (_root.backpack1h == 601)) {
gotoAndStop (21);
}
if ((_root.backpack2 == 5) and (_root.backpack2h == 601)) {
gotoAndStop (21);
}
if ((_root.backpack3 == 5) and (_root.backpack3h == 601)) {
gotoAndStop (21);
}
if ((_root.backpack4 == 5) and (_root.backpack4h == 601)) {
gotoAndStop (21);
}
stop();
_root.choicetext = "This large pipe appears to have been knocked loose in the explosion. It might be useful for repairing the back up generator.";
_root.choiceA = "Get Pipe";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3012 MovieClip Frame 11
_root.choicetext = "This large pipe appears to have been knocked loose in the explosion. It would have been great for fixing the power, but you've already done that.";
_root.choiceA = "Get Pipe Anyway";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3012 MovieClip Frame 56
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 5;
_root.itemnewh = 601;
stop();
Symbol 3015 MovieClip Frame 1
stop();
Symbol 3015 MovieClip Frame 2
_root.box3.gotoAndStop(1);
play();
Symbol 3015 MovieClip Frame 20
_root.gohere = 34;
if (_root._currentframe == 38) {
_root.gox = 1000;
} else {
_root.gox = 1600;
}
_root.fadeout.gotoAndPlay(1);
stop();
Symbol 3027 MovieClip Frame 1
stop();
Symbol 3027 MovieClip Frame 2
if (_root.quest_armdoor <= 1) {
gotoAndStop (11);
}
_root.choicetext = "This door looks much more solid than the others on this ship. A nearby terminal glows dimly requesting a password.";
_root.choiceA = "(Enter Armory): Input Passcode: 1-2-3-4-5";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3027 MovieClip Frame 11
if (_root.quest_armdoor == 0) {
_root.quest_armdoor = 1;
}
_root.choicetext = "This door looks much more solid than the others on this ship. A nearby terminal glows dimly requesting a password.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3027 MovieClip Frame 51
_root.quest_armdoor = 3;
Symbol 3027 MovieClip Frame 81
_root.gohere = 42;
_root.gox = 2250;
_root.fadeout.gotoAndPlay(1);
Symbol 3034 MovieClip Frame 1
if (_root.wpn == 31) {
gotoAndStop (60);
}
if ((_root.backpack1 == 31) and (_root.backpack1h == 301)) {
gotoAndStop (60);
}
if ((_root.backpack2 == 31) and (_root.backpack2h == 301)) {
gotoAndStop (60);
}
if ((_root.backpack3 == 31) and (_root.backpack3h == 301)) {
gotoAndStop (60);
}
if ((_root.backpack4 == 31) and (_root.backpack4h == 301)) {
gotoAndStop (60);
}
stop();
Symbol 3034 MovieClip Frame 2
if (Math.floor(_root.player / 10) == 1) {
gotoAndStop (11);
}
if (_root.wpn == 31) {
gotoAndStop (21);
}
if ((_root.backpack1 == 31) and (_root.backpack1h == 301)) {
gotoAndStop (21);
}
if ((_root.backpack2 == 31) and (_root.backpack2h == 301)) {
gotoAndStop (21);
}
if ((_root.backpack3 == 31) and (_root.backpack3h == 301)) {
gotoAndStop (21);
}
if ((_root.backpack4 == 31) and (_root.backpack4h == 301)) {
gotoAndStop (21);
}
_root.choicetext = "You see a fireaxe behind the glass. A small sign says: 'break glass in emergency'.";
_root.choiceA = "Get Axe";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3034 MovieClip Frame 11
_root.choicetext = "You see a fireaxe behind the glass. With years of training, you might be able to use it as a weapon. But you're a little short on time today.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3034 MovieClip Frame 21
_root.choicetext = "An empty box.";
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3034 MovieClip Frame 56
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 31;
_root.itemnewh = 301;
stop();
Symbol 3038 MovieClip Frame 1
stop();
Symbol 3038 MovieClip Frame 2
_root.choicetext = "These lockers are full of military clothing. You could make a set of armor from what is here.";
_root.choiceA = "Get ballistic armor";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3038 MovieClip Frame 56
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 41;
_root.itemnewh = 150;
stop();
Symbol 3046 MovieClip Frame 1
stop();
Symbol 3046 MovieClip Frame 2
_root.choicetext = "This box contains a pile of pipes. They look could probably be used to restore the backup generator.";
_root.choiceA = "Get Short Green Pipe";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = "Get Medium Yellow Pipe";
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
if (_root.quest_shippower == 0) {
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
} else if (_root.spirit >= 5) {
_root.choiceD = "(Spirit check) Try & combine two pipes into a large one.";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "(Spirit check) Try & combine two pipes into a large one.";
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3046 MovieClip Frame 56
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 7;
_root.itemnewh = 601;
stop();
Symbol 3046 MovieClip Frame 106
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 6;
_root.itemnewh = 601;
stop();
Symbol 3046 MovieClip Frame 155
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 8;
_root.itemnewh = 601;
stop();
Symbol 3050 MovieClip Frame 1
stop();
Symbol 3074 MovieClip Frame 1
if ((_root.quest_shippower % 2) == 1) {
gotoAndStop (11);
}
stop();
Symbol 3074 MovieClip Frame 2
var havepipe = false;
if (_root.acc == 7) {
var havepipe = true;
}
if ((_root.backpack1 == 7) and (_root.backpack1h == 601)) {
var havepipe = true;
}
if ((_root.backpack2 == 7) and (_root.backpack2h == 601)) {
var havepipe = true;
}
if ((_root.backpack3 == 7) and (_root.backpack3h == 601)) {
var havepipe = true;
}
if ((_root.backpack4 == 7) and (_root.backpack4h == 601)) {
var havepipe = true;
}
_root.choicetext = "It looks like a short piece of pipe is missing from this section. Perhaps replacing it would restore power.";
if (havepipe == true) {
_root.choiceA = "Install a short green pipe here?";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3074 MovieClip Frame 11
stop();
Symbol 3074 MovieClip Frame 56
if (_root.acc == 7) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else if ((_root.backpack1 == 7) and (_root.backpack1h == 601)) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else if ((_root.backpack2 == 7) and (_root.backpack2h == 601)) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else if ((_root.backpack3 == 7) and (_root.backpack3h == 601)) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else if ((_root.backpack4 == 7) and (_root.backpack4h == 601)) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
_root.quest_shippower = _root.quest_shippower + 1;
_root.camframe.dark.gotoAndStop(1);
_root.bg0.removeMovieClip();
_root.bghb0.removeMovieClip();
_root.held = 0;
stop();
Symbol 3075 MovieClip Frame 1
if ((_root.quest_shippower % 4) >= 2) {
gotoAndStop (11);
}
stop();
Symbol 3075 MovieClip Frame 2
var havepipe = false;
if (_root.acc == 6) {
var havepipe = true;
}
if ((_root.backpack1 == 6) and (_root.backpack1h == 601)) {
var havepipe = true;
}
if ((_root.backpack2 == 6) and (_root.backpack2h == 601)) {
var havepipe = true;
}
if ((_root.backpack3 == 6) and (_root.backpack3h == 601)) {
var havepipe = true;
}
if ((_root.backpack4 == 6) and (_root.backpack4h == 601)) {
var havepipe = true;
}
_root.choicetext = "It looks like a piece of pipe is missing from this section. Perhaps replacing it would restore power.";
if (havepipe == true) {
_root.choiceA = "Install a medium yellow pipe here?";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3075 MovieClip Frame 11
stop();
Symbol 3075 MovieClip Frame 56
if (_root.acc == 6) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else if ((_root.backpack1 == 6) and (_root.backpack1h == 601)) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else if ((_root.backpack2 == 6) and (_root.backpack2h == 601)) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else if ((_root.backpack3 == 6) and (_root.backpack3h == 601)) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else if ((_root.backpack4 == 6) and (_root.backpack4h == 601)) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
_root.quest_shippower = _root.quest_shippower + 2;
_root.camframe.dark.gotoAndStop(1);
_root.bg1.removeMovieClip();
_root.bghb1.removeMovieClip();
_root.held = 0;
stop();
Symbol 3076 MovieClip Frame 1
if ((_root.quest_shippower % 8) > 3) {
gotoAndStop (11);
}
if ((_root.quest_shippower % 16) > 7) {
gotoAndStop (21);
}
stop();
Symbol 3076 MovieClip Frame 2
var havepipe = false;
if (_root.acc == 5) {
var havepipe = true;
}
if ((_root.backpack1 == 5) and (_root.backpack1h == 601)) {
var havepipe = true;
}
if ((_root.backpack2 == 5) and (_root.backpack2h == 601)) {
var havepipe = true;
}
if ((_root.backpack3 == 5) and (_root.backpack3h == 601)) {
var havepipe = true;
}
if ((_root.backpack4 == 5) and (_root.backpack4h == 601)) {
var havepipe = true;
}
_root.choicetext = "It looks like a large piece of pipe is missing from this section. Perhaps replacing it would restore power.";
if (havepipe == true) {
_root.choiceA = "Install a large purple pipe here?";
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = "";
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = "";
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
var havepipe2 = false;
if (_root.acc == 8) {
var havepipe2 = true;
}
if ((_root.backpack1 == 8) and (_root.backpack1h == 601)) {
var havepipe2 = true;
}
if ((_root.backpack2 == 8) and (_root.backpack2h == 601)) {
var havepipe2 = true;
}
if ((_root.backpack3 == 8) and (_root.backpack3h == 601)) {
var havepipe2 = true;
}
if ((_root.backpack4 == 8) and (_root.backpack4h == 601)) {
var havepipe2 = true;
}
if (havepipe2 == true) {
_root.choiceD = "Install a combined pipe here?";
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = "";
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
}
_root.choiceF = "(Cancel)";
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
Symbol 3076 MovieClip Frame 11
stop();
Symbol 3076 MovieClip Frame 56
if (_root.acc == 5) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else if ((_root.backpack1 == 5) and (_root.backpack1h == 601)) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else if ((_root.backpack2 == 5) and (_root.backpack2h == 601)) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else if ((_root.backpack3 == 5) and (_root.backpack3h == 601)) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else if ((_root.backpack4 == 5) and (_root.backpack4h == 601)) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
_root.quest_shippower = _root.quest_shippower + 4;
_root.camframe.dark.gotoAndStop(1);
_root.bg2.removeMovieClip();
_root.bghb2.removeMovieClip();
_root.held = 0;
stop();
Symbol 3076 MovieClip Frame 156
if (_root.acc == 8) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else if ((_root.backpack1 == 8) and (_root.backpack1h == 601)) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else if ((_root.backpack2 == 8) and (_root.backpack2h == 601)) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else if ((_root.backpack3 == 8) and (_root.backpack3h == 601)) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else if ((_root.backpack4 == 8) and (_root.backpack4h == 601)) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
_root.quest_shippower = _root.quest_shippower + 8;
_root.camframe.dark.gotoAndStop(1);
_root.bg2.removeMovieClip();
_root.bghb2.removeMovieClip();
_root.held = 0;
stop();